@distilled.cloud/slack 1.0.0-rc.15 → 1.0.0-rc.16

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 (209) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +39 -34
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts +31 -31
  6. package/lib/errors.d.ts.map +1 -1
  7. package/lib/errors.js +41 -41
  8. package/lib/errors.js.map +1 -1
  9. package/lib/index.d.ts +1 -1
  10. package/lib/index.js +9 -9
  11. package/lib/pagination.d.ts +2 -2
  12. package/lib/pagination.js +28 -28
  13. package/lib/protocol.d.ts.map +1 -1
  14. package/lib/protocol.js +61 -59
  15. package/lib/protocol.js.map +1 -1
  16. package/lib/retry.d.ts +2 -2
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/retry.js +34 -33
  19. package/lib/retry.js.map +1 -1
  20. package/lib/services/admin.d.ts +123 -575
  21. package/lib/services/admin.d.ts.map +1 -1
  22. package/lib/services/admin.js +304 -2878
  23. package/lib/services/agents.d.ts +13 -55
  24. package/lib/services/agents.d.ts.map +1 -1
  25. package/lib/services/agents.js +48 -309
  26. package/lib/services/api.d.ts +0 -4
  27. package/lib/services/api.d.ts.map +1 -1
  28. package/lib/services/api.js +16 -18
  29. package/lib/services/apps.d.ts +25 -106
  30. package/lib/services/apps.d.ts.map +1 -1
  31. package/lib/services/apps.js +84 -509
  32. package/lib/services/assistant.d.ts +6 -40
  33. package/lib/services/assistant.d.ts.map +1 -1
  34. package/lib/services/assistant.js +33 -204
  35. package/lib/services/auth.d.ts +4 -15
  36. package/lib/services/auth.d.ts.map +1 -1
  37. package/lib/services/auth.js +22 -90
  38. package/lib/services/blocks.d.ts +1 -7
  39. package/lib/services/blocks.d.ts.map +1 -1
  40. package/lib/services/blocks.js +16 -21
  41. package/lib/services/bookmarks.d.ts +4 -15
  42. package/lib/services/bookmarks.d.ts.map +1 -1
  43. package/lib/services/bookmarks.js +27 -76
  44. package/lib/services/bots.d.ts +1 -9
  45. package/lib/services/bots.d.ts.map +1 -1
  46. package/lib/services/bots.js +17 -54
  47. package/lib/services/calls.d.ts +6 -22
  48. package/lib/services/calls.d.ts.map +1 -1
  49. package/lib/services/calls.js +35 -110
  50. package/lib/services/canvases.d.ts +7 -35
  51. package/lib/services/canvases.d.ts.map +1 -1
  52. package/lib/services/canvases.js +39 -135
  53. package/lib/services/chat.d.ts +14 -83
  54. package/lib/services/chat.d.ts.map +1 -1
  55. package/lib/services/chat.js +59 -381
  56. package/lib/services/conversations.d.ts +31 -116
  57. package/lib/services/conversations.d.ts.map +1 -1
  58. package/lib/services/conversations.js +94 -690
  59. package/lib/services/dialog.d.ts +1 -4
  60. package/lib/services/dialog.d.ts.map +1 -1
  61. package/lib/services/dialog.js +13 -17
  62. package/lib/services/dnd.d.ts +5 -17
  63. package/lib/services/dnd.d.ts.map +1 -1
  64. package/lib/services/dnd.js +26 -91
  65. package/lib/services/emoji.d.ts +1 -8
  66. package/lib/services/emoji.d.ts.map +1 -1
  67. package/lib/services/emoji.js +18 -29
  68. package/lib/services/entity.d.ts +4 -16
  69. package/lib/services/entity.d.ts.map +1 -1
  70. package/lib/services/entity.js +29 -71
  71. package/lib/services/files.d.ts +16 -80
  72. package/lib/services/files.d.ts.map +1 -1
  73. package/lib/services/files.js +75 -433
  74. package/lib/services/functions.d.ts +8 -49
  75. package/lib/services/functions.d.ts.map +1 -1
  76. package/lib/services/functions.js +45 -203
  77. package/lib/services/lists.d.ts +13 -55
  78. package/lib/services/lists.d.ts.map +1 -1
  79. package/lib/services/lists.js +53 -248
  80. package/lib/services/migration.d.ts +1 -7
  81. package/lib/services/migration.d.ts.map +1 -1
  82. package/lib/services/migration.js +18 -27
  83. package/lib/services/oauth.d.ts +7 -43
  84. package/lib/services/oauth.d.ts.map +1 -1
  85. package/lib/services/oauth.js +34 -289
  86. package/lib/services/openid.d.ts +3 -10
  87. package/lib/services/openid.d.ts.map +1 -1
  88. package/lib/services/openid.js +19 -79
  89. package/lib/services/pins.d.ts +3 -13
  90. package/lib/services/pins.d.ts.map +1 -1
  91. package/lib/services/pins.js +27 -61
  92. package/lib/services/reactions.d.ts +5 -17
  93. package/lib/services/reactions.d.ts.map +1 -1
  94. package/lib/services/reactions.js +30 -96
  95. package/lib/services/reminders.d.ts +5 -17
  96. package/lib/services/reminders.d.ts.map +1 -1
  97. package/lib/services/reminders.js +33 -83
  98. package/lib/services/rtm.d.ts +2 -11
  99. package/lib/services/rtm.d.ts.map +1 -1
  100. package/lib/services/rtm.js +22 -56
  101. package/lib/services/search.d.ts +4 -35
  102. package/lib/services/search.d.ts.map +1 -1
  103. package/lib/services/search.js +28 -167
  104. package/lib/services/stars.d.ts +4 -26
  105. package/lib/services/stars.d.ts.map +1 -1
  106. package/lib/services/stars.js +28 -128
  107. package/lib/services/team.d.ts +11 -63
  108. package/lib/services/team.d.ts.map +1 -1
  109. package/lib/services/team.js +45 -289
  110. package/lib/services/tooling.d.ts +2 -5
  111. package/lib/services/tooling.d.ts.map +1 -1
  112. package/lib/services/tooling.js +15 -28
  113. package/lib/services/usergroups.d.ts +7 -31
  114. package/lib/services/usergroups.d.ts.map +1 -1
  115. package/lib/services/usergroups.js +40 -146
  116. package/lib/services/users.d.ts +14 -48
  117. package/lib/services/users.d.ts.map +1 -1
  118. package/lib/services/users.js +54 -249
  119. package/lib/services/views.d.ts +4 -14
  120. package/lib/services/views.d.ts.map +1 -1
  121. package/lib/services/views.js +28 -73
  122. package/lib/services/workflows.d.ts +8 -51
  123. package/lib/services/workflows.d.ts.map +1 -1
  124. package/lib/services/workflows.js +37 -188
  125. package/lib/traits.d.ts +1 -1
  126. package/lib/traits.js +8 -8
  127. package/package.json +14 -10
  128. package/src/credentials.ts +20 -21
  129. package/src/errors.ts +31 -27
  130. package/src/index.ts +1 -1
  131. package/src/pagination.ts +2 -2
  132. package/src/protocol.ts +30 -29
  133. package/src/retry.ts +6 -6
  134. package/src/services/admin.ts +2717 -3451
  135. package/src/services/agents.ts +380 -370
  136. package/src/services/api.ts +31 -21
  137. package/src/services/apps.ts +569 -621
  138. package/src/services/assistant.ts +235 -270
  139. package/src/services/auth.ts +118 -100
  140. package/src/services/blocks.ts +33 -29
  141. package/src/services/bookmarks.ts +101 -83
  142. package/src/services/bots.ts +74 -67
  143. package/src/services/calls.ts +118 -124
  144. package/src/services/canvases.ts +171 -178
  145. package/src/services/chat.ts +428 -496
  146. package/src/services/conversations.ts +675 -761
  147. package/src/services/dialog.ts +30 -17
  148. package/src/services/dnd.ts +125 -99
  149. package/src/services/emoji.ts +46 -42
  150. package/src/services/entity.ts +94 -92
  151. package/src/services/files.ts +536 -531
  152. package/src/services/functions.ts +209 -274
  153. package/src/services/lists.ts +289 -304
  154. package/src/services/migration.ts +39 -37
  155. package/src/services/oauth.ts +345 -361
  156. package/src/services/openid.ts +137 -122
  157. package/src/services/pins.ts +83 -70
  158. package/src/services/reactions.ts +119 -103
  159. package/src/services/reminders.ts +112 -90
  160. package/src/services/rtm.ts +73 -65
  161. package/src/services/search.ts +193 -244
  162. package/src/services/stars.ts +101 -160
  163. package/src/services/team.ts +333 -369
  164. package/src/services/tooling.ts +43 -30
  165. package/src/services/usergroups.ts +175 -179
  166. package/src/services/users.ts +301 -268
  167. package/src/services/views.ts +85 -80
  168. package/src/services/workflows.ts +184 -269
  169. package/src/traits.ts +1 -1
  170. package/lib/protocol.test.d.ts +0 -2
  171. package/lib/protocol.test.d.ts.map +0 -1
  172. package/lib/protocol.test.js +0 -288
  173. package/lib/protocol.test.js.map +0 -1
  174. package/lib/services/admin.js.map +0 -1
  175. package/lib/services/agents.js.map +0 -1
  176. package/lib/services/api.js.map +0 -1
  177. package/lib/services/apps.js.map +0 -1
  178. package/lib/services/assistant.js.map +0 -1
  179. package/lib/services/auth.js.map +0 -1
  180. package/lib/services/blocks.js.map +0 -1
  181. package/lib/services/bookmarks.js.map +0 -1
  182. package/lib/services/bots.js.map +0 -1
  183. package/lib/services/calls.js.map +0 -1
  184. package/lib/services/canvases.js.map +0 -1
  185. package/lib/services/chat.js.map +0 -1
  186. package/lib/services/conversations.js.map +0 -1
  187. package/lib/services/dialog.js.map +0 -1
  188. package/lib/services/dnd.js.map +0 -1
  189. package/lib/services/emoji.js.map +0 -1
  190. package/lib/services/entity.js.map +0 -1
  191. package/lib/services/files.js.map +0 -1
  192. package/lib/services/functions.js.map +0 -1
  193. package/lib/services/lists.js.map +0 -1
  194. package/lib/services/migration.js.map +0 -1
  195. package/lib/services/oauth.js.map +0 -1
  196. package/lib/services/openid.js.map +0 -1
  197. package/lib/services/pins.js.map +0 -1
  198. package/lib/services/reactions.js.map +0 -1
  199. package/lib/services/reminders.js.map +0 -1
  200. package/lib/services/rtm.js.map +0 -1
  201. package/lib/services/search.js.map +0 -1
  202. package/lib/services/stars.js.map +0 -1
  203. package/lib/services/team.js.map +0 -1
  204. package/lib/services/tooling.js.map +0 -1
  205. package/lib/services/usergroups.js.map +0 -1
  206. package/lib/services/users.js.map +0 -1
  207. package/lib/services/views.js.map +0 -1
  208. package/lib/services/workflows.js.map +0 -1
  209. package/src/protocol.test.ts +0 -372
@@ -1,5 +1,4 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
- import * as S from "@distilled.cloud/core/schema";
3
2
  import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
4
3
  export type { SlackOpError, SlackOpContext };
5
4
  export interface PublishViewRequest {
@@ -11,13 +10,11 @@ export interface PublishViewRequest {
11
10
  hash?: string;
12
11
  interactivity_pointer?: string;
13
12
  }
14
- export declare const PublishViewRequest: S.Schema<PublishViewRequest>;
15
13
  export interface PublishViewResponse {
16
14
  /** Always `true` (a failed call raises a typed error instead). */
17
15
  ok: boolean;
18
16
  view: unknown;
19
17
  }
20
- export declare const PublishViewResponse: S.Schema<PublishViewResponse>;
21
18
  export interface UpdateViewRequest {
22
19
  /** A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. */
23
20
  view_id?: string;
@@ -28,17 +25,14 @@ export interface UpdateViewRequest {
28
25
  /** A string that represents view state to protect against possible race conditions. */
29
26
  hash?: string;
30
27
  }
31
- export declare const UpdateViewRequest: S.Schema<UpdateViewRequest>;
32
28
  export interface UpdateViewResponse {
33
29
  /** Always `true` (a failed call raises a typed error instead). */
34
30
  ok: boolean;
35
31
  view: unknown;
36
32
  }
37
- export declare const UpdateViewResponse: S.Schema<UpdateViewResponse>;
38
33
  export type ViewsOpenRequestViewMap = {
39
34
  [key: string]: unknown | undefined;
40
35
  };
41
- export declare const ViewsOpenRequestViewMap: S.Schema<ViewsOpenRequestViewMap>;
42
36
  export interface ViewsOpenRequest {
43
37
  /** Exchange a trigger to post to the user. */
44
38
  trigger_id?: string | null;
@@ -47,13 +41,11 @@ export interface ViewsOpenRequest {
47
41
  /** A [view payload](/reference/views). This must be a JSON-encoded string. */
48
42
  view: ViewsOpenRequestViewMap;
49
43
  }
50
- export declare const ViewsOpenRequest: S.Schema<ViewsOpenRequest>;
51
44
  export interface ViewsOpenResponse {
52
45
  /** Always `true` (a failed call raises a typed error instead). */
53
46
  ok: boolean;
54
47
  view: unknown;
55
48
  }
56
- export declare const ViewsOpenResponse: S.Schema<ViewsOpenResponse>;
57
49
  export interface ViewsPushRequest {
58
50
  /** Exchange a trigger to post to the user. */
59
51
  trigger_id?: string | null;
@@ -62,23 +54,21 @@ export interface ViewsPushRequest {
62
54
  /** A [view payload](/reference/views). This must be a JSON-encoded string. */
63
55
  view: unknown;
64
56
  }
65
- export declare const ViewsPushRequest: S.Schema<ViewsPushRequest>;
66
57
  export interface ViewsPushResponse {
67
58
  /** Always `true` (a failed call raises a typed error instead). */
68
59
  ok: boolean;
69
60
  view: unknown;
70
61
  }
71
- export declare const ViewsPushResponse: S.Schema<ViewsPushResponse>;
72
62
  export type PublishViewError = SlackOpError;
73
- /** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `missing_profile_id` — A profile id was not provided when trying to publish a view of type profile. - `not_allowed_token_type` — The type of token your app used when requesting this method is not allowed. - `not_enabled` — Error returned if a `home` view is published but the Home tab isn't enabled for the app. - `not_implemented` — The profile view experiment is not enabled for this user. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.publish */
63
+ /** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `hash_conflict` -- Error returned when the provided `hash` doesn't match the current stored value. - `missing_profile_id` -- A profile id was not provided when trying to publish a view of type profile. - `not_allowed_token_type` -- The type of token your app used when requesting this method is not allowed. - `not_enabled` -- Error returned if a `home` view is published but the Home tab isn't enabled for the app. - `not_implemented` -- The profile view experiment is not enabled for this user. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.publish */
74
64
  export declare const publishView: API.OperationMethod<PublishViewRequest, PublishViewResponse, PublishViewError, SlackOpContext>;
75
65
  export type UpdateViewError = SlackOpError;
76
- /** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `not_found` — Error returned when the given `view_id` or `external_id` doesn't exist. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.update */
66
+ /** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `hash_conflict` -- Error returned when the provided `hash` doesn't match the current stored value. - `not_found` -- Error returned when the given `view_id` or `external_id` doesn't exist. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.update */
77
67
  export declare const updateView: API.OperationMethod<UpdateViewRequest, UpdateViewResponse, UpdateViewError, SlackOpContext>;
78
68
  export type ViewsOpenError = SlackOpError;
79
- /** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.open */
69
+ /** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` -- The trigger_id was already exchanged in a previous call. - `expired_trigger_id` -- The trigger_id is expired. - `invalid_trigger_id` -- The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.open */
80
70
  export declare const viewsOpen: API.OperationMethod<ViewsOpenRequest, ViewsOpenResponse, ViewsOpenError, SlackOpContext>;
81
71
  export type ViewsPushError = SlackOpError;
82
- /** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `not_found` — Error returned when the requested view can't be found. - `push_limit_reached` — Error returned when the max push limit has been reached for views. Currently the limit is 3. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.push */
72
+ /** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` -- The trigger_id was already exchanged in a previous call. - `expired_trigger_id` -- The trigger_id is expired. - `invalid_trigger_id` -- The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `not_found` -- Error returned when the requested view can't be found. - `push_limit_reached` -- Error returned when the max push limit has been reached for views. Currently the limit is 3. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.push */
83
73
  export declare const viewsPush: API.OperationMethod<ViewsPushRequest, ViewsPushResponse, ViewsPushError, SlackOpContext>;
84
74
  //# sourceMappingURL=views.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../src/services/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,IAAI,EAAE,OAAO,CAAC;IACd,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AACD,eAAO,MAAM,kBAAkB,EAO4B,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;AAExF,MAAM,WAAW,mBAAmB;IAClC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AACD,eAAO,MAAM,mBAAmB,EAK4B,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAE1F,MAAM,WAAW,iBAAiB;IAChC,oGAAoG;IACpG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iLAAiL;IACjL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6EAA6E;IAC7E,IAAI,EAAE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WAAW,iBAAiB;IAChC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AACD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAC5C,q1BAAq1B;AACr1B,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC;AAC3C,shBAAshB;AACthB,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,gmBAAgmB;AAChmB,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,kzBAAkzB;AAClzB,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CAOb,CAAC"}
@@ -1,79 +1,34 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
2
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
3
- import * as S from "@distilled.cloud/core/schema";
3
+ import * as S from "@distilled.cloud/core/schema-lite";
4
+ import * as __L from "@distilled.cloud/core/schema-lite";
4
5
  import { SlackError, SlackRateLimited } from "../errors.js";
5
6
  import { SlackProtocol } from "../protocol.js";
6
7
  import * as Retry from "../retry.js";
7
8
  import * as T from "../traits.js";
8
- export const PublishViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
9
- user_id: S.String,
10
- view: S.Unknown,
11
- hash: S.optional(S.String),
12
- interactivity_pointer: S.optional(S.String),
13
- }).pipe(T.Http({ method: "POST", uri: "/views.publish", code: 200 }))).annotate({ identifier: "PublishViewRequest" });
14
- export const PublishViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
15
- ok: S.Boolean,
16
- view: S.Unknown,
17
- })).annotate({ identifier: "PublishViewResponse" });
18
- export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
19
- view_id: S.optional(S.String),
20
- external_id: S.optional(S.String),
21
- view: S.Unknown,
22
- hash: S.optional(S.String),
23
- }).pipe(T.Http({ method: "POST", uri: "/views.update", code: 200 }))).annotate({ identifier: "UpdateViewRequest" });
24
- export const UpdateViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
25
- ok: S.Boolean,
26
- view: S.Unknown,
27
- })).annotate({ identifier: "UpdateViewResponse" });
28
- export const ViewsOpenRequestViewMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
29
- export const ViewsOpenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
30
- trigger_id: S.optional(S.NullOr(S.String)),
31
- interactivity_pointer: S.optional(S.NullOr(S.String)),
32
- view: ViewsOpenRequestViewMap,
33
- }).pipe(T.Http({ method: "POST", uri: "/views.open", code: 200 }))).annotate({ identifier: "ViewsOpenRequest" });
34
- export const ViewsOpenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
35
- ok: S.Boolean,
36
- view: S.Unknown,
37
- })).annotate({ identifier: "ViewsOpenResponse" });
38
- export const ViewsPushRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
39
- trigger_id: S.optional(S.NullOr(S.String)),
40
- interactivity_pointer: S.optional(S.NullOr(S.String)),
41
- view: S.Unknown,
42
- }).pipe(T.Http({ method: "POST", uri: "/views.push", code: 200 }))).annotate({ identifier: "ViewsPushRequest" });
43
- export const ViewsPushResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
44
- ok: S.Boolean,
45
- view: S.Unknown,
46
- })).annotate({ identifier: "ViewsPushResponse" });
47
- /** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `missing_profile_id` — A profile id was not provided when trying to publish a view of type profile. - `not_allowed_token_type` — The type of token your app used when requesting this method is not allowed. - `not_enabled` — Error returned if a `home` view is published but the Home tab isn't enabled for the app. - `not_implemented` — The profile view experiment is not enabled for this user. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.publish */
48
- export const publishView = /*@__PURE__*/ API.make(() => ({
49
- input: PublishViewRequest,
50
- output: PublishViewResponse,
51
- errors: [SlackError, SlackRateLimited],
52
- protocol: SlackProtocol,
53
- retry: Retry.Retry,
54
- }));
55
- /** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `not_found` — Error returned when the given `view_id` or `external_id` doesn't exist. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.update */
56
- export const updateView = /*@__PURE__*/ API.make(() => ({
57
- input: UpdateViewRequest,
58
- output: UpdateViewResponse,
59
- errors: [SlackError, SlackRateLimited],
60
- protocol: SlackProtocol,
61
- retry: Retry.Retry,
62
- }));
63
- /** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.open */
64
- export const viewsOpen = /*@__PURE__*/ API.make(() => ({
65
- input: ViewsOpenRequest,
66
- output: ViewsOpenResponse,
67
- errors: [SlackError, SlackRateLimited],
68
- protocol: SlackProtocol,
69
- retry: Retry.Retry,
70
- }));
71
- /** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `not_found` — Error returned when the requested view can't be found. - `push_limit_reached` — Error returned when the max push limit has been reached for views. Currently the limit is 3. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.push */
72
- export const viewsPush = /*@__PURE__*/ API.make(() => ({
73
- input: ViewsPushRequest,
74
- output: ViewsPushResponse,
75
- errors: [SlackError, SlackRateLimited],
76
- protocol: SlackProtocol,
77
- retry: Retry.Retry,
78
- }));
79
- //# sourceMappingURL=views.js.map
9
+ const __0 = __L.at;
10
+ const __1 = T.Http;
11
+ const __2 = S.String;
12
+ const __3 = S.Unknown;
13
+ const __4 = S.optional;
14
+ const __5 = S.Struct;
15
+ const __6 = S.suspend;
16
+ const __7 = S.Boolean;
17
+ const __8 = S.Record;
18
+ const __9 = S.NullOr;
19
+
20
+ export const publishView = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"PublishViewRequest";$5({user_id:$2,view:$3,hash:$4($2),interactivity_pointer:$4($2)}).pipe($1({method:"POST",uri:"/views.publish",code:200}))', [__0, __1, __2, __3, __4, __5, __6, __d0, SlackError, SlackRateLimited, SlackProtocol, Retry.Retry]] : API.call(publishView, i));
21
+
22
+ export const updateView = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"UpdateViewRequest";$5({view_id:$3($2),external_id:$3($2),view:$4,hash:$3($2)}).pipe($1({method:"POST",uri:"/views.update",code:200}))', [__0, __1, __2, __4, __3, __5, __6, __d0, SlackError, SlackRateLimited, SlackProtocol, Retry.Retry]] : API.call(updateView, i));
23
+
24
+ export const viewsOpen = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#2,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$3($1,$2);$8(>3)@"ViewsOpenRequest";$7({trigger_id:$6($5($1)),interactivity_pointer:$6($5($1)),view:#1}).pipe($4({method:"POST",uri:"/views.open",code:200}))', [__0, __2, __3, __8, __1, __9, __4, __5, __6, __d0, SlackError, SlackRateLimited, SlackProtocol, Retry.Retry]] : API.call(viewsOpen, i));
25
+
26
+ export const viewsPush = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"ViewsPushRequest";$6({trigger_id:$4($3($2)),interactivity_pointer:$4($3($2)),view:$5}).pipe($1({method:"POST",uri:"/views.push",code:200}))', [__0, __1, __2, __9, __4, __3, __5, __6, __d0, SlackError, SlackRateLimited, SlackProtocol, Retry.Retry]] : API.call(viewsPush, i));
27
+ // Schema builders: each runs one schema initializer, on that schema's first use.
28
+ // Schema table: entry i is schema j of builder f, made on first reach.
29
+
30
+
31
+ // Shared schema data (see `op` in core/api).
32
+ function __d0() {
33
+ return ['$4(>1)@"PublishViewResponse";$3({ok:$1,view:$2})', [__0, __7, __3, __5, __6]];
34
+ }
@@ -1,34 +1,26 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
- import * as S from "@distilled.cloud/core/schema";
3
2
  import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
4
3
  export type { SlackOpError, SlackOpContext };
5
4
  /** Comma-separated array of trigger IDs to add; max 15 */
6
5
  export type AddFeaturedRequestTriggerIdsList = Array<string>;
7
- export declare const AddFeaturedRequestTriggerIdsList: S.Schema<AddFeaturedRequestTriggerIdsList>;
8
6
  export interface AddFeaturedRequest {
9
7
  /** Channel to add featured workflow in. */
10
8
  channel_id: string;
11
9
  /** Comma-separated array of trigger IDs to add; max 15 */
12
10
  trigger_ids: AddFeaturedRequestTriggerIdsList;
13
11
  }
14
- export declare const AddFeaturedRequest: S.Schema<AddFeaturedRequest>;
15
12
  export interface AddFeaturedResponse {
16
13
  /** Always `true` (a failed call raises a typed error instead). */
17
14
  ok: boolean;
18
15
  }
19
- export declare const AddFeaturedResponse: S.Schema<AddFeaturedResponse>;
20
16
  /** List of encoded user IDs */
21
17
  export type AddTriggersPermissionsRequestUserIdsList = Array<string>;
22
- export declare const AddTriggersPermissionsRequestUserIdsList: S.Schema<AddTriggersPermissionsRequestUserIdsList>;
23
18
  /** List of encoded channel IDs */
24
19
  export type AddTriggersPermissionsRequestChannelIdsList = Array<string>;
25
- export declare const AddTriggersPermissionsRequestChannelIdsList: S.Schema<AddTriggersPermissionsRequestChannelIdsList>;
26
20
  /** List of encoded workspace IDs */
27
21
  export type AddTriggersPermissionsRequestTeamIdsList = Array<string>;
28
- export declare const AddTriggersPermissionsRequestTeamIdsList: S.Schema<AddTriggersPermissionsRequestTeamIdsList>;
29
22
  /** List of encoded organization IDs */
30
23
  export type AddTriggersPermissionsRequestOrgIdsList = Array<string>;
31
- export declare const AddTriggersPermissionsRequestOrgIdsList: S.Schema<AddTriggersPermissionsRequestOrgIdsList>;
32
24
  export interface AddTriggersPermissionsRequest {
33
25
  /** Encoded ID of the trigger */
34
26
  trigger_id: string;
@@ -41,80 +33,62 @@ export interface AddTriggersPermissionsRequest {
41
33
  /** List of encoded organization IDs */
42
34
  org_ids?: AddTriggersPermissionsRequestOrgIdsList;
43
35
  }
44
- export declare const AddTriggersPermissionsRequest: S.Schema<AddTriggersPermissionsRequest>;
45
36
  export interface AddTriggersPermissionsResponse {
46
37
  /** Always `true` (a failed call raises a typed error instead). */
47
38
  ok: boolean;
48
39
  }
49
- export declare const AddTriggersPermissionsResponse: S.Schema<AddTriggersPermissionsResponse>;
50
40
  /** Comma-separated array of channel IDs to list featured workflows for. */
51
41
  export type ListFeaturedRequestChannelIdsList = Array<string>;
52
- export declare const ListFeaturedRequestChannelIdsList: S.Schema<ListFeaturedRequestChannelIdsList>;
53
42
  export interface ListFeaturedRequest {
54
43
  /** Comma-separated array of channel IDs to list featured workflows for. */
55
44
  channel_ids: ListFeaturedRequestChannelIdsList;
56
45
  }
57
- export declare const ListFeaturedRequest: S.Schema<ListFeaturedRequest>;
58
46
  export interface ListFeaturedResponseFeaturedWorkflowsItemTriggersItem {
59
47
  id: string;
60
48
  title: string;
61
49
  }
62
- export declare const ListFeaturedResponseFeaturedWorkflowsItemTriggersItem: S.Schema<ListFeaturedResponseFeaturedWorkflowsItemTriggersItem>;
63
50
  /** Array of triggers associated with channel */
64
51
  export type ListFeaturedResponseFeaturedWorkflowsItemTriggersList = Array<ListFeaturedResponseFeaturedWorkflowsItemTriggersItem>;
65
- export declare const ListFeaturedResponseFeaturedWorkflowsItemTriggersList: S.Schema<ListFeaturedResponseFeaturedWorkflowsItemTriggersList>;
66
52
  export interface ListFeaturedResponseFeaturedWorkflowsItem {
67
53
  /** Channel where workflows are featured */
68
54
  channel_id: string;
69
55
  /** Array of triggers associated with channel */
70
56
  triggers: ListFeaturedResponseFeaturedWorkflowsItemTriggersList;
71
57
  }
72
- export declare const ListFeaturedResponseFeaturedWorkflowsItem: S.Schema<ListFeaturedResponseFeaturedWorkflowsItem>;
73
58
  export type ListFeaturedResponseFeaturedWorkflowsList = Array<ListFeaturedResponseFeaturedWorkflowsItem>;
74
- export declare const ListFeaturedResponseFeaturedWorkflowsList: S.Schema<ListFeaturedResponseFeaturedWorkflowsList>;
75
59
  export interface ListFeaturedResponse {
76
60
  /** Always `true` (a failed call raises a typed error instead). */
77
61
  ok: boolean;
78
62
  featured_workflows: ListFeaturedResponseFeaturedWorkflowsList;
79
63
  }
80
- export declare const ListFeaturedResponse: S.Schema<ListFeaturedResponse>;
81
64
  export interface ListTriggersPermissionsRequest {
82
65
  /** Encoded ID of the trigger */
83
66
  trigger_id: string;
84
67
  }
85
- export declare const ListTriggersPermissionsRequest: S.Schema<ListTriggersPermissionsRequest>;
86
68
  export interface ListTriggersPermissionsResponse {
87
69
  /** Always `true` (a failed call raises a typed error instead). */
88
70
  ok: boolean;
89
71
  }
90
- export declare const ListTriggersPermissionsResponse: S.Schema<ListTriggersPermissionsResponse>;
91
72
  /** Comma-separated array of trigger IDs to remove; max 15 */
92
73
  export type RemoveFeaturedRequestTriggerIdsList = Array<string>;
93
- export declare const RemoveFeaturedRequestTriggerIdsList: S.Schema<RemoveFeaturedRequestTriggerIdsList>;
94
74
  export interface RemoveFeaturedRequest {
95
75
  /** Channel to remove featured workflow from. */
96
76
  channel_id: string;
97
77
  /** Comma-separated array of trigger IDs to remove; max 15 */
98
78
  trigger_ids: RemoveFeaturedRequestTriggerIdsList;
99
79
  }
100
- export declare const RemoveFeaturedRequest: S.Schema<RemoveFeaturedRequest>;
101
80
  export interface RemoveFeaturedResponse {
102
81
  /** Always `true` (a failed call raises a typed error instead). */
103
82
  ok: boolean;
104
83
  }
105
- export declare const RemoveFeaturedResponse: S.Schema<RemoveFeaturedResponse>;
106
84
  /** List of encoded user IDs */
107
85
  export type RemoveTriggersPermissionsRequestUserIdsList = Array<string>;
108
- export declare const RemoveTriggersPermissionsRequestUserIdsList: S.Schema<RemoveTriggersPermissionsRequestUserIdsList>;
109
86
  /** List of encoded channel IDs */
110
87
  export type RemoveTriggersPermissionsRequestChannelIdsList = Array<string>;
111
- export declare const RemoveTriggersPermissionsRequestChannelIdsList: S.Schema<RemoveTriggersPermissionsRequestChannelIdsList>;
112
88
  /** List of encoded workspace IDs */
113
89
  export type RemoveTriggersPermissionsRequestTeamIdsList = Array<string>;
114
- export declare const RemoveTriggersPermissionsRequestTeamIdsList: S.Schema<RemoveTriggersPermissionsRequestTeamIdsList>;
115
90
  /** List of encoded organization IDs */
116
91
  export type RemoveTriggersPermissionsRequestOrgIdsList = Array<string>;
117
- export declare const RemoveTriggersPermissionsRequestOrgIdsList: S.Schema<RemoveTriggersPermissionsRequestOrgIdsList>;
118
92
  export interface RemoveTriggersPermissionsRequest {
119
93
  /** Encoded ID of the trigger */
120
94
  trigger_id: string;
@@ -127,20 +101,14 @@ export interface RemoveTriggersPermissionsRequest {
127
101
  /** List of encoded organization IDs */
128
102
  org_ids?: RemoveTriggersPermissionsRequestOrgIdsList;
129
103
  }
130
- export declare const RemoveTriggersPermissionsRequest: S.Schema<RemoveTriggersPermissionsRequest>;
131
104
  export type RemoveTriggersPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities";
132
- export declare const RemoveTriggersPermissionsResponsePermissionType: any;
133
105
  /** A list of encoded user IDs. */
134
106
  export type RemoveTriggersPermissionsResponseUserIdsList = Array<string>;
135
- export declare const RemoveTriggersPermissionsResponseUserIdsList: S.Schema<RemoveTriggersPermissionsResponseUserIdsList>;
136
107
  /** A list of encoded channel IDs. */
137
108
  export type RemoveTriggersPermissionsResponseChannelIdsList = Array<string>;
138
- export declare const RemoveTriggersPermissionsResponseChannelIdsList: S.Schema<RemoveTriggersPermissionsResponseChannelIdsList>;
139
109
  /** Encoded workspace IDs. */
140
110
  export type RemoveTriggersPermissionsResponseTeamIdsList = Array<string>;
141
- export declare const RemoveTriggersPermissionsResponseTeamIdsList: S.Schema<RemoveTriggersPermissionsResponseTeamIdsList>;
142
111
  export type RemoveTriggersPermissionsResponseOrgIdsList = Array<string>;
143
- export declare const RemoveTriggersPermissionsResponseOrgIdsList: S.Schema<RemoveTriggersPermissionsResponseOrgIdsList>;
144
112
  export interface RemoveTriggersPermissionsResponse {
145
113
  /** Always `true` (a failed call raises a typed error instead). */
146
114
  ok: boolean;
@@ -153,37 +121,28 @@ export interface RemoveTriggersPermissionsResponse {
153
121
  team_ids?: RemoveTriggersPermissionsResponseTeamIdsList;
154
122
  org_ids?: RemoveTriggersPermissionsResponseOrgIdsList;
155
123
  }
156
- export declare const RemoveTriggersPermissionsResponse: S.Schema<RemoveTriggersPermissionsResponse>;
157
124
  /** Comma-separated array of trigger IDs that will replace any existing featured workflows in the channel; max 15 */
158
125
  export type SetFeaturedRequestTriggerIdsList = Array<string>;
159
- export declare const SetFeaturedRequestTriggerIdsList: S.Schema<SetFeaturedRequestTriggerIdsList>;
160
126
  export interface SetFeaturedRequest {
161
127
  /** Channel to set featured workflows in. */
162
128
  channel_id: string;
163
129
  /** Comma-separated array of trigger IDs that will replace any existing featured workflows in the channel; max 15 */
164
130
  trigger_ids: SetFeaturedRequestTriggerIdsList;
165
131
  }
166
- export declare const SetFeaturedRequest: S.Schema<SetFeaturedRequest>;
167
132
  export interface SetFeaturedResponse {
168
133
  /** Always `true` (a failed call raises a typed error instead). */
169
134
  ok: boolean;
170
135
  }
171
- export declare const SetFeaturedResponse: S.Schema<SetFeaturedResponse>;
172
136
  /** The type of permission that defines who can run a trigger */
173
137
  export type SetTriggersPermissionsRequestPermissionType = "everyone" | "app_collaborators" | "named_entities";
174
- export declare const SetTriggersPermissionsRequestPermissionType: any;
175
138
  /** List of encoded user IDs */
176
139
  export type SetTriggersPermissionsRequestUserIdsList = Array<string>;
177
- export declare const SetTriggersPermissionsRequestUserIdsList: S.Schema<SetTriggersPermissionsRequestUserIdsList>;
178
140
  /** List of encoded channel IDs */
179
141
  export type SetTriggersPermissionsRequestChannelIdsList = Array<string>;
180
- export declare const SetTriggersPermissionsRequestChannelIdsList: S.Schema<SetTriggersPermissionsRequestChannelIdsList>;
181
142
  /** List of encoded workspace IDs */
182
143
  export type SetTriggersPermissionsRequestTeamIdsList = Array<string>;
183
- export declare const SetTriggersPermissionsRequestTeamIdsList: S.Schema<SetTriggersPermissionsRequestTeamIdsList>;
184
144
  /** List of encoded organization IDs */
185
145
  export type SetTriggersPermissionsRequestOrgIdsList = Array<string>;
186
- export declare const SetTriggersPermissionsRequestOrgIdsList: S.Schema<SetTriggersPermissionsRequestOrgIdsList>;
187
146
  export interface SetTriggersPermissionsRequest {
188
147
  /** Encoded ID of the trigger */
189
148
  trigger_id: string;
@@ -198,34 +157,32 @@ export interface SetTriggersPermissionsRequest {
198
157
  /** List of encoded organization IDs */
199
158
  org_ids?: SetTriggersPermissionsRequestOrgIdsList;
200
159
  }
201
- export declare const SetTriggersPermissionsRequest: S.Schema<SetTriggersPermissionsRequest>;
202
160
  export interface SetTriggersPermissionsResponse {
203
161
  /** Always `true` (a failed call raises a typed error instead). */
204
162
  ok: boolean;
205
163
  }
206
- export declare const SetTriggersPermissionsResponse: S.Schema<SetTriggersPermissionsResponse>;
207
164
  export type AddFeaturedError = SlackOpError;
208
- /** Add featured workflows to a channel. Required scopes — bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` — Method not yet supported - `restricted_action` — User does not have access to this method. - `error_modifying_workflows` — Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.add */
165
+ /** Add featured workflows to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.add */
209
166
  export declare const addFeatured: API.OperationMethod<AddFeaturedRequest, AddFeaturedResponse, AddFeaturedError, SlackOpContext>;
210
167
  export type AddTriggersPermissionsError = SlackOpError;
211
- /** Allows users to run a trigger that has its permission type set to named_entities Required scopes — bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` — This actor does not have access to the permissions on this resource. - `channel_not_found` — One or more of the listed channels could not be found. - `connected_org_denied` — The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` — The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` — The workspace admin does not allow connected users to be named_entities. - `invalid_permission_type` — This trigger requires permission_type to be set as named_entities before adding users. - `no_valid_named_entities` — None of the provided named entities were valid - `org_not_connected` — One of more of the listed organizations were not connected. - `org_not_found` — One or more of the listed organizations could not be found. - `shared_channel_denied` — The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` — One of more of the listed teams were not connected by org. - `team_not_found` — One or more of the listed teams could not be found. - `too_many_named_entities` — Too many named entities passed into the trigger permissions setting. - `trigger_not_found` — This trigger does not exist. - `unknown_method` — This method does not exist. - `user_not_found` — One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.add */
168
+ /** Allows users to run a trigger that has its permission type set to named_entities Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `invalid_permission_type` -- This trigger requires permission_type to be set as named_entities before adding users. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_connected` -- One of more of the listed organizations were not connected. - `org_not_found` -- One or more of the listed organizations could not be found. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.add */
212
169
  export declare const addTriggersPermissions: API.OperationMethod<AddTriggersPermissionsRequest, AddTriggersPermissionsResponse, AddTriggersPermissionsError, SlackOpContext>;
213
170
  export type ListFeaturedError = SlackOpError;
214
- /** List the featured workflows for specified channels. Required scopes — bot: `bookmarks:read`; user: `bookmarks:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` — Method not yet supported - `restricted_action` — User does not have access to this method. - `channel_not_found` — Channel not found. - `error_invalid_channels` — Invalid channels provided. See https://docs.slack.dev/reference/methods/workflows.featured.list */
171
+ /** List the featured workflows for specified channels. Required scopes -- bot: `bookmarks:read`; user: `bookmarks:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `channel_not_found` -- Channel not found. - `error_invalid_channels` -- Invalid channels provided. See https://docs.slack.dev/reference/methods/workflows.featured.list */
215
172
  export declare const listFeatured: API.OperationMethod<ListFeaturedRequest, ListFeaturedResponse, ListFeaturedError, SlackOpContext>;
216
173
  export type ListTriggersPermissionsError = SlackOpError;
217
- /** Returns the permission type of a trigger and if applicable, includes the entities that have been granted access Required scopes — bot: `triggers:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` — This method does not exist. - `access_denied` — This actor does not have access to the permissions on this resource. - `trigger_not_found` — This trigger does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.list */
174
+ /** Returns the permission type of a trigger and if applicable, includes the entities that have been granted access Required scopes -- bot: `triggers:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `trigger_not_found` -- This trigger does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.list */
218
175
  export declare const listTriggersPermissions: API.OperationMethod<ListTriggersPermissionsRequest, ListTriggersPermissionsResponse, ListTriggersPermissionsError, SlackOpContext>;
219
176
  export type RemoveFeaturedError = SlackOpError;
220
- /** Remove featured workflows from a channel. Required scopes — bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` — Method not yet supported - `restricted_action` — User does not have access to this method. - `error_modifying_workflows` — Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.remove */
177
+ /** Remove featured workflows from a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.remove */
221
178
  export declare const removeFeatured: API.OperationMethod<RemoveFeaturedRequest, RemoveFeaturedResponse, RemoveFeaturedError, SlackOpContext>;
222
179
  export type RemoveTriggersPermissionsError = SlackOpError;
223
- /** Revoke an entity's access to a trigger that has its permission type set to named_entities Required scopes — bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` — This actor does not have access to the permissions on this resource. - `connected_org_denied` — The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` — The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` — The workspace admin does not allow connected users to be named_entities. - `named_entities_cannot_be_empty` — There must be at least one valid named entity - `org_not_connected` — One of more of the listed organizations were not connected. - `org_not_found` — One or more of the listed organizations could not be found. - `shared_channel_denied` — The workspace admin does not allow shared channels to be named_entities. - `trigger_not_found` — This trigger does not exist. - `invalid_permission_type` — This trigger requires permission_type to be set as named_entities before adding users. - `too_many_named_entities` — Too many named entities passed into the trigger permissions setting. - `unknown_method` — This method does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.remove */
180
+ /** Revoke an entity's access to a trigger that has its permission type set to named_entities Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `named_entities_cannot_be_empty` -- There must be at least one valid named entity - `org_not_connected` -- One of more of the listed organizations were not connected. - `org_not_found` -- One or more of the listed organizations could not be found. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `trigger_not_found` -- This trigger does not exist. - `invalid_permission_type` -- This trigger requires permission_type to be set as named_entities before adding users. - `too_many_named_entities` -- Too many named entities passed into the trigger permissions setting. - `unknown_method` -- This method does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.remove */
224
181
  export declare const removeTriggersPermissions: API.OperationMethod<RemoveTriggersPermissionsRequest, RemoveTriggersPermissionsResponse, RemoveTriggersPermissionsError, SlackOpContext>;
225
182
  export type SetFeaturedError = SlackOpError;
226
- /** Set featured workflows for a channel. Required scopes — bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` — Method not yet supported - `restricted_action` — User does not have access to this method. - `error_modifying_workflows` — Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.set */
183
+ /** Set featured workflows for a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.set */
227
184
  export declare const setFeatured: API.OperationMethod<SetFeaturedRequest, SetFeaturedResponse, SetFeaturedError, SlackOpContext>;
228
185
  export type SetTriggersPermissionsError = SlackOpError;
229
- /** Set the permission type for who can run a trigger Required scopes — bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` — This actor does not have access to the permissions on this resource. - `channel_not_found` — One or more of the listed channels could not be found. - `connected_org_denied` — The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` — The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` — The workspace admin does not allow connected users to be named_entities. - `external_workspace_denied` — The channel selected is not on the workflow team. - `invalid_permission_type` — This function requires permission_type to be set as named_entities before adding users. - `named_entities_cannot_be_empty` — Must pass at least one valid named entity. - `no_valid_named_entities` — None of the provided named entities were valid - `org_not_found` — One or more of the listed organizations could not be found. - `org_not_connected` — One of more of the listed organizations were not connected. - `shared_channel_denied` — The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` — One of more of the listed teams were not connected by org. - `team_not_found` — One or more of the listed teams could not be found. - `too_many_named_entities` — Too many named_entities passed into the trigger permissions setting. - `trigger_not_found` — This trigger does not exist. - `unknown_method` — This method does not exist. - `user_not_found` — One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.set */
186
+ /** Set the permission type for who can run a trigger Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `external_workspace_denied` -- The channel selected is not on the workflow team. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `named_entities_cannot_be_empty` -- Must pass at least one valid named entity. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_found` -- One or more of the listed organizations could not be found. - `org_not_connected` -- One of more of the listed organizations were not connected. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named_entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.set */
230
187
  export declare const setTriggersPermissions: API.OperationMethod<SetTriggersPermissionsRequest, SetTriggersPermissionsResponse, SetTriggersPermissionsError, SlackOpContext>;
231
188
  //# sourceMappingURL=workflows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/services/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAA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