@distilled.cloud/slack 1.0.0-rc.18 → 1.0.0-rc.20

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 (190) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/protocol.d.ts +2 -1
  4. package/lib/protocol.d.ts.map +1 -1
  5. package/lib/services/admin.d.ts +594 -356
  6. package/lib/services/admin.d.ts.map +1 -1
  7. package/lib/services/admin.js +149 -140
  8. package/lib/services/admin.js.map +1 -1
  9. package/lib/services/agents.d.ts +89 -97
  10. package/lib/services/agents.d.ts.map +1 -1
  11. package/lib/services/agents.js +1 -1
  12. package/lib/services/agents.js.map +1 -1
  13. package/lib/services/api.d.ts +2 -2
  14. package/lib/services/api.d.ts.map +1 -1
  15. package/lib/services/api.js +1 -1
  16. package/lib/services/api.js.map +1 -1
  17. package/lib/services/apps.d.ts +74 -74
  18. package/lib/services/apps.d.ts.map +1 -1
  19. package/lib/services/apps.js +32 -32
  20. package/lib/services/apps.js.map +1 -1
  21. package/lib/services/assistant.d.ts +55 -46
  22. package/lib/services/assistant.d.ts.map +1 -1
  23. package/lib/services/assistant.js +1 -1
  24. package/lib/services/assistant.js.map +1 -1
  25. package/lib/services/auth.d.ts +27 -27
  26. package/lib/services/auth.d.ts.map +1 -1
  27. package/lib/services/auth.js +1 -1
  28. package/lib/services/auth.js.map +1 -1
  29. package/lib/services/blocks.d.ts +3 -3
  30. package/lib/services/blocks.d.ts.map +1 -1
  31. package/lib/services/blocks.js +1 -1
  32. package/lib/services/blocks.js.map +1 -1
  33. package/lib/services/bookmarks.d.ts +19 -19
  34. package/lib/services/bookmarks.d.ts.map +1 -1
  35. package/lib/services/bookmarks.js +1 -1
  36. package/lib/services/bookmarks.js.map +1 -1
  37. package/lib/services/bots.d.ts +23 -23
  38. package/lib/services/bots.d.ts.map +1 -1
  39. package/lib/services/bots.js +1 -1
  40. package/lib/services/bots.js.map +1 -1
  41. package/lib/services/calls.d.ts +10 -10
  42. package/lib/services/calls.d.ts.map +1 -1
  43. package/lib/services/calls.js +1 -1
  44. package/lib/services/calls.js.map +1 -1
  45. package/lib/services/canvases.d.ts +18 -18
  46. package/lib/services/canvases.d.ts.map +1 -1
  47. package/lib/services/canvases.js +1 -1
  48. package/lib/services/canvases.js.map +1 -1
  49. package/lib/services/chat.d.ts +103 -103
  50. package/lib/services/chat.d.ts.map +1 -1
  51. package/lib/services/chat.js +1 -1
  52. package/lib/services/chat.js.map +1 -1
  53. package/lib/services/conversations.d.ts +109 -103
  54. package/lib/services/conversations.d.ts.map +1 -1
  55. package/lib/services/conversations.js +38 -38
  56. package/lib/services/conversations.js.map +1 -1
  57. package/lib/services/dialog.js +1 -1
  58. package/lib/services/dialog.js.map +1 -1
  59. package/lib/services/dnd.d.ts +14 -14
  60. package/lib/services/dnd.d.ts.map +1 -1
  61. package/lib/services/dnd.js +1 -1
  62. package/lib/services/dnd.js.map +1 -1
  63. package/lib/services/emoji.d.ts +6 -6
  64. package/lib/services/emoji.d.ts.map +1 -1
  65. package/lib/services/emoji.js +1 -1
  66. package/lib/services/emoji.js.map +1 -1
  67. package/lib/services/entity.d.ts +14 -14
  68. package/lib/services/entity.d.ts.map +1 -1
  69. package/lib/services/entity.js +1 -1
  70. package/lib/services/entity.js.map +1 -1
  71. package/lib/services/files.d.ts +106 -106
  72. package/lib/services/files.d.ts.map +1 -1
  73. package/lib/services/files.js +26 -26
  74. package/lib/services/files.js.map +1 -1
  75. package/lib/services/functions.d.ts +37 -37
  76. package/lib/services/functions.d.ts.map +1 -1
  77. package/lib/services/functions.js +1 -1
  78. package/lib/services/functions.js.map +1 -1
  79. package/lib/services/index.d.ts +1 -0
  80. package/lib/services/index.d.ts.map +1 -1
  81. package/lib/services/index.js +1 -0
  82. package/lib/services/lists.d.ts +47 -45
  83. package/lib/services/lists.d.ts.map +1 -1
  84. package/lib/services/lists.js +1 -1
  85. package/lib/services/lists.js.map +1 -1
  86. package/lib/services/migration.d.ts +3 -3
  87. package/lib/services/migration.d.ts.map +1 -1
  88. package/lib/services/migration.js +1 -1
  89. package/lib/services/migration.js.map +1 -1
  90. package/lib/services/oauth.d.ts +102 -102
  91. package/lib/services/oauth.d.ts.map +1 -1
  92. package/lib/services/oauth.js +1 -1
  93. package/lib/services/oauth.js.map +1 -1
  94. package/lib/services/openid.d.ts +40 -40
  95. package/lib/services/openid.d.ts.map +1 -1
  96. package/lib/services/openid.js +1 -1
  97. package/lib/services/openid.js.map +1 -1
  98. package/lib/services/pins.d.ts +9 -9
  99. package/lib/services/pins.d.ts.map +1 -1
  100. package/lib/services/pins.js +1 -1
  101. package/lib/services/pins.js.map +1 -1
  102. package/lib/services/reactions.d.ts +23 -23
  103. package/lib/services/reactions.d.ts.map +1 -1
  104. package/lib/services/reactions.js +1 -1
  105. package/lib/services/reactions.js.map +1 -1
  106. package/lib/services/reminders.d.ts +8 -8
  107. package/lib/services/reminders.d.ts.map +1 -1
  108. package/lib/services/reminders.js +1 -1
  109. package/lib/services/reminders.js.map +1 -1
  110. package/lib/services/rtm.d.ts +11 -11
  111. package/lib/services/rtm.d.ts.map +1 -1
  112. package/lib/services/rtm.js +1 -1
  113. package/lib/services/rtm.js.map +1 -1
  114. package/lib/services/search.d.ts +84 -80
  115. package/lib/services/search.d.ts.map +1 -1
  116. package/lib/services/search.js +1 -1
  117. package/lib/services/search.js.map +1 -1
  118. package/lib/services/slackbot.d.ts +366 -0
  119. package/lib/services/slackbot.d.ts.map +1 -0
  120. package/lib/services/slackbot.js +2 -0
  121. package/lib/services/slackbot.js.map +1 -0
  122. package/lib/services/stars.d.ts +16 -16
  123. package/lib/services/stars.d.ts.map +1 -1
  124. package/lib/services/stars.js +1 -1
  125. package/lib/services/stars.js.map +1 -1
  126. package/lib/services/team.d.ts +39 -37
  127. package/lib/services/team.d.ts.map +1 -1
  128. package/lib/services/team.js +1 -1
  129. package/lib/services/team.js.map +1 -1
  130. package/lib/services/tooling.js +1 -1
  131. package/lib/services/tooling.js.map +1 -1
  132. package/lib/services/usergroups.d.ts +30 -30
  133. package/lib/services/usergroups.d.ts.map +1 -1
  134. package/lib/services/usergroups.js +1 -1
  135. package/lib/services/usergroups.js.map +1 -1
  136. package/lib/services/users.d.ts +37 -37
  137. package/lib/services/users.d.ts.map +1 -1
  138. package/lib/services/users.js +1 -1
  139. package/lib/services/users.js.map +1 -1
  140. package/lib/services/views.d.ts +9 -9
  141. package/lib/services/views.d.ts.map +1 -1
  142. package/lib/services/views.js +1 -1
  143. package/lib/services/views.js.map +1 -1
  144. package/lib/services/workflows.d.ts +16 -16
  145. package/lib/services/workflows.d.ts.map +1 -1
  146. package/lib/services/workflows.js +1 -1
  147. package/lib/services/workflows.js.map +1 -1
  148. package/lib/services.lazy/admin.js +2 -2
  149. package/lib/services.lazy/apps.js +1 -1
  150. package/lib/services.lazy/conversations.js +1 -1
  151. package/lib/services.lazy/files.js +1 -1
  152. package/lib/services.lazy/index.js +2 -2
  153. package/lib/services.lazy/slackbot.js +1 -0
  154. package/package.json +6 -6
  155. package/src/protocol.ts +3 -5
  156. package/src/services/admin.ts +1609 -1016
  157. package/src/services/agents.ts +93 -103
  158. package/src/services/api.ts +2 -2
  159. package/src/services/apps.ts +74 -74
  160. package/src/services/assistant.ts +88 -56
  161. package/src/services/auth.ts +27 -27
  162. package/src/services/blocks.ts +3 -3
  163. package/src/services/bookmarks.ts +19 -19
  164. package/src/services/bots.ts +23 -23
  165. package/src/services/calls.ts +10 -10
  166. package/src/services/canvases.ts +50 -46
  167. package/src/services/chat.ts +103 -103
  168. package/src/services/conversations.ts +126 -115
  169. package/src/services/dnd.ts +14 -14
  170. package/src/services/emoji.ts +6 -6
  171. package/src/services/entity.ts +14 -14
  172. package/src/services/files.ts +106 -106
  173. package/src/services/functions.ts +37 -37
  174. package/src/services/index.ts +1 -0
  175. package/src/services/lists.ts +49 -46
  176. package/src/services/migration.ts +3 -3
  177. package/src/services/oauth.ts +102 -102
  178. package/src/services/openid.ts +40 -40
  179. package/src/services/pins.ts +9 -9
  180. package/src/services/reactions.ts +23 -23
  181. package/src/services/reminders.ts +8 -8
  182. package/src/services/rtm.ts +11 -11
  183. package/src/services/search.ts +123 -130
  184. package/src/services/slackbot.ts +766 -0
  185. package/src/services/stars.ts +16 -16
  186. package/src/services/team.ts +42 -37
  187. package/src/services/usergroups.ts +30 -30
  188. package/src/services/users.ts +37 -37
  189. package/src/services/views.ts +9 -9
  190. package/src/services/workflows.ts +16 -16
@@ -1,2 +1,2 @@
1
- import{Hc as e,Ic as t,Pc as n,Qc as r,Tc as i,Uc as a,a as o,ad as s,c,errors$SlackError as l,errors$SlackRateLimited as u,fd as d,gd as f,j as p,l as m,m as h,pagination$slackPaginate as g,protocol$SlackProtocol as _,retry$Retry as v,traits$Http as y,traits$Query as b}from"../_bundle/sdk.js";const x={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Auth`,propagate:`w3c`};const S=/*@__PURE__*/ h(n=>n===o?p(`ListTeamsResponse`,`{input:#1,output:#6,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"ListTeams",pagination:{mode:"cursor",inputToken:"cursor",outputToken:"response_metadata.next_cursor",items:"teams",pageSize:"limit"},strategy:$14};$7(>7)@"ListTeamsRequest";$7(>8)@"%TeamsItemIcon";$7(>9)@"%TeamsItem";$8(#3);$7(>10)@"%ResponseMetadata";$7(>11)@"%";$6({limit:$3($2),cursor:$3($4),include_icon:$3($5)}).pipe($1({method:"POST",uri:"/auth.teams.list",code:200,contentType:"form-urlencoded"}));$6({image_34:$3($4),image_44:$3($4),image_68:$3($4),image_88:$3($4),image_102:$3($4),image_132:$3($4),image_230:$3($4),image_default:$3($5)});$6({id:$3($4),name:$4,icon:$3(#2)});$6({next_cursor:$3($4)});$6({ok:$5,teams:#4,response_metadata:$3(#5)})`,[s,y,r,d,i,t,a,f,e,l,u,_,v,x,g]):c(S,n));const C=/*@__PURE__*/ m(e=>e===o?p(`RevokeAuth`,`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({test:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/auth.revoke",code:200}));$5({ok:$3,revoked:$3})`,[s,y,b,t,d,a,f,l,u,_,v,x]):c(C,e));const w=/*@__PURE__*/ m(e=>e===o?p(`TestAuth`,`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"POST",uri:"/auth.test",code:200}));$2({ok:$4,user_id:$6($5),url:$6($5),team_id:$6($5),user:$6($7($5)),team:$6($5),app_id:$6($5),app_name:$6($5),enterprise_id:$6($5),bot_id:$6($5),is_enterprise_install:$6($4),expires_in:$6($7($8))})`,[s,y,a,f,t,i,d,n,r,l,u,_,v,x]):c(w,e));export{S as listTeams,C as revokeAuth,w as testAuth};
1
+ import{Nc as e,Oc as t,Vc as n,Wc as r,Zc as i,_c as a,a as o,c as s,errors$SlackError as c,errors$SlackRateLimited as l,gd as u,k as d,ld as f,m as p,md as m,n as h,pagination$slackPaginate as g,protocol$SlackProtocol as _,retry$Retry as v,traits$Http as y,traits$Query as b}from"../_bundle/sdk.js";const x={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Auth`,propagate:`w3c`};const S=/*@__PURE__*/ h(n=>n===o?d(`ListTeamsResponse`,`{input:#1,output:#6,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"ListTeams",pagination:{mode:"cursor",inputToken:"cursor",outputToken:"response_metadata.next_cursor",items:"teams",pageSize:"limit"},strategy:$14};$7(>7)@"ListTeamsRequest";$7(>8)@"%TeamsItemIcon";$7(>9)@"%TeamsItem";$8(#3);$7(>10)@"%ResponseMetadata";$7(>11)@"%";$6({limit:$3($2),cursor:$3($4),include_icon:$3($5)}).pipe($1({method:"POST",uri:"/auth.teams.list",code:200,contentType:"form-urlencoded"}));$6({image_34:$3($4),image_44:$3($4),image_68:$3($4),image_88:$3($4),image_102:$3($4),image_132:$3($4),image_230:$3($4),image_default:$3($5)});$6({id:$3($4),name:$4,icon:$3(#2)});$6({next_cursor:$3($4)});$6({ok:$5,teams:#4,response_metadata:$3(#5)})`,[u,y,r,f,i,t,a,m,e,c,l,_,v,x,g]):s(S,n));const C=/*@__PURE__*/ p(e=>e===o?d(`RevokeAuth`,`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({test:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/auth.revoke",code:200}));$5({ok:$3,revoked:$3})`,[u,y,b,t,f,a,m,c,l,_,v,x]):s(C,e));const w=/*@__PURE__*/ p(e=>e===o?d(`TestAuth`,`{input:#1,output:#2,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"POST",uri:"/auth.test",code:200}));$2({ok:$4,user_id:$6($5),url:$6($5),team_id:$6($5),user:$6($7($5)),team:$6($5),app_id:$6($5),app_name:$6($5),enterprise_id:$6($5),bot_id:$6($5),is_enterprise_install:$6($4),expires_in:$6($7($8))})`,[u,y,a,m,t,i,f,n,r,c,l,_,v,x]):s(w,e));export{S as listTeams,C as revokeAuth,w as testAuth};
2
2
  //# sourceMappingURL=auth.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.js","names":["API.D","API.named","__L.at","T.Http","S.Number","S.optional","S.String","S.Boolean","S.Struct","S.suspend","S.Array","Retry.Retry","API.call","T.Query","S.NullOr","Array","Boolean","NullOr","Number","String","Struct","D","at","SlackError","SlackRateLimited","optional","suspend","named","op","opPaginated","slackPaginate","SlackProtocol","Retry","Http","Query","TELEMETRY","listTeams","i","call","revokeAuth","testAuth"],"sources":["../../src/services/auth.ts"],"mappings":"uSAaA,MAAMmC,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,OACT,UAAW,KACb,EAqEA,MAAaC,EAMK,gBAAiB,GAAgBC,IAAMrC,EAAQC,EAAU,oBAAqB,+tBAAguB,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAWC,EAASa,EAAYC,EAAkBO,EAAepB,EAAawB,EAAWL,CAAa,CAAC,EAAIlB,EAASwB,EAAWC,CAAC,CAAC,EAIvgC,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMrC,EAAQC,EAAU,aAAc,iOAAkO,CAACC,EAAQC,EAAQU,EAASN,EAAWF,EAAYG,EAAUC,EAAWc,EAAYC,EAAkBO,EAAepB,EAAawB,CAAS,CAAC,EAAIvB,EAAS2B,EAAYF,CAAC,CAAC,EAIvd,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMrC,EAAQC,EAAU,WAAY,0XAA2X,CAACC,EAAQC,EAAQK,EAAUC,EAAWF,EAAWD,EAAUD,EAAYS,EAAUV,EAAUmB,EAAYC,EAAkBO,EAAepB,EAAawB,CAAS,CAAC,EAAIvB,EAAS4B,EAAUH,CAAC,CAAC"}
1
+ {"version":3,"file":"auth.js","names":["API.D","API.named","__L.at","T.Http","S.Number","S.optional","S.String","S.Boolean","S.Struct","S.suspend","S.Array","Retry.Retry","API.call","T.Query","S.NullOr","Array","Boolean","NullOr","Number","String","Struct","D","call","SlackError","SlackRateLimited","at","named","optional","op","suspend","opPaginated","slackPaginate","SlackProtocol","Retry","Http","Query","TELEMETRY","listTeams","i","revokeAuth","testAuth"],"sources":["../../src/services/auth.ts"],"mappings":"4SAaA,MAAMoC,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,OACT,UAAW,KACb,EAqEA,MAAaC,EAMK,gBAAiB,GAAgBC,IAAMtC,EAAQC,EAAU,oBAAqB,+tBAAguB,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAWC,EAASa,EAAYC,EAAkBQ,EAAerB,EAAayB,EAAWL,CAAa,CAAC,EAAInB,EAASyB,EAAWC,CAAC,CAAC,EAIvgC,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMtC,EAAQC,EAAU,aAAc,iOAAkO,CAACC,EAAQC,EAAQU,EAASN,EAAWF,EAAYG,EAAUC,EAAWc,EAAYC,EAAkBQ,EAAerB,EAAayB,CAAS,CAAC,EAAIxB,EAAS2B,EAAYD,CAAC,CAAC,EAIvd,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMtC,EAAQC,EAAU,WAAY,0XAA2X,CAACC,EAAQC,EAAQK,EAAUC,EAAWF,EAAWD,EAAUD,EAAYS,EAAUV,EAAUmB,EAAYC,EAAkBQ,EAAerB,EAAayB,CAAS,CAAC,EAAIxB,EAAS4B,EAAUF,CAAC,CAAC"}
@@ -9,11 +9,11 @@ export type ValidateBlockRequestBlocksCase1List = Array<ValidateBlockRequestBloc
9
9
  export type ValidateBlockRequestBlocks = string | ValidateBlockRequestBlocksCase1List;
10
10
  export interface ValidateBlockRequest {
11
11
  /** A JSON-encoded array of [structured blocks](/reference/block-kit/blocks). Provide exactly one of `blocks`, `view`, or `message`. */
12
- blocks?: ValidateBlockRequestBlocks;
12
+ blocks?: ValidateBlockRequestBlocks | undefined;
13
13
  /** A JSON-encoded [message payload](/messaging/creating-interactive-messages) to validate. Provide exactly one of `blocks`, `view`, or `message`. */
14
- message?: string;
14
+ message?: string | undefined;
15
15
  /** A JSON-encoded [view payload](/reference/views) to validate. Provide exactly one of `blocks`, `view`, or `message`. */
16
- view?: string;
16
+ view?: string | undefined;
17
17
  }
18
18
  export interface ValidateBlockResponse {
19
19
  /** Always `true` (a failed call raises a typed error instead). */
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/services/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,MAAM,MAAM,sCAAsC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;CAAE,CAAC;AAC5F,MAAM,MAAM,mCAAmC,GAAG,KAAK,CAAC,sCAAsC,CAAC,CAAC;AAChG,uIAAuI;AACvI,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG,mCAAmC,CAAC;AACtF,MAAM,WAAW,oBAAoB;IACnC,uIAAuI;IACvI,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,qJAAqJ;IACrJ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0HAA0H;IAC1H,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,qBAAqB;IACpC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;CACb;AACD,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC9C,smCAAsmC;AACtmC,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,CASb,CAAC"}
1
+ {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/services/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,MAAM,MAAM,sCAAsC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAA;CAAE,CAAC;AAC5F,MAAM,MAAM,mCAAmC,GAAG,KAAK,CAAC,sCAAsC,CAAC,CAAC;AAChG,uIAAuI;AACvI,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG,mCAAmC,CAAC;AACtF,MAAM,WAAW,oBAAoB;IACnC,uIAAuI;IACvI,MAAM,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAChD,qJAAqJ;IACrJ,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,0HAA0H;IAC1H,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AACD,MAAM,WAAW,qBAAqB;IACpC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;CACb;AACD,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC9C,smCAAsmC;AACtmC,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,CASb,CAAC"}
@@ -1,2 +1,2 @@
1
- import{Ic as e,Tc as t,Uc as n,Zc as r,a as i,ad as a,c as o,errors$SlackError as s,errors$SlackRateLimited as c,fd as l,gd as u,j as d,l as f,protocol$SlackProtocol as p,retry$Retry as m,traits$Http as h,traits$UnionCases as g}from"../_bundle/sdk.js";const _={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Blocks`,propagate:`w3c`};const v=/*@__PURE__*/ f(f=>f===i?d(`ValidateBlock`,`{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$2.pipe($1([[],[]]));$7(>4)@"%Request";$7(>5)@"%Response";$6({blocks:$4(#1),message:$4($5),view:$4($5)}).pipe($3({method:"POST",uri:"/blocks.validate",code:200}));$6({ok:$8})`,[a,g,r,h,l,t,n,u,e,s,c,p,m,_]):o(v,f));export{v as validateBlock};
1
+ import{Oc as e,Zc as t,_c as n,a as r,c as i,ed as a,errors$SlackError as o,errors$SlackRateLimited as s,gd as c,k as l,ld as u,m as d,md as f,protocol$SlackProtocol as p,retry$Retry as m,traits$Http as h,traits$UnionCases as g}from"../_bundle/sdk.js";const _={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Blocks`,propagate:`w3c`};const v=/*@__PURE__*/ d(d=>d===r?l(`ValidateBlock`,`{input:#2,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$2.pipe($1([[],[]]));$7(>4)@"%Request";$7(>5)@"%Response";$6({blocks:$4(#1),message:$4($5),view:$4($5)}).pipe($3({method:"POST",uri:"/blocks.validate",code:200}));$6({ok:$8})`,[c,g,a,h,u,t,n,f,e,o,s,p,m,_]):i(v,d));export{v as validateBlock};
2
2
  //# sourceMappingURL=blocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.js","names":["API.D","API.named","__L.at","T.UnionCases","S.Unknown","T.Http","S.optional","S.String","S.Struct","S.suspend","S.Boolean","Retry.Retry","API.call","Boolean","String","Struct","Unknown","D","at","call","SlackError","SlackRateLimited","optional","suspend","named","op","SlackProtocol","Retry","Http","UnionCases","TELEMETRY","validateBlock","i"],"sources":["../../src/services/blocks.ts"],"mappings":"4PAYA,MAAM8B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,SACT,UAAW,KACb,EAoBA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMhC,EAAQC,EAAU,gBAAiB,oQAAqQ,CAACC,EAAQC,EAAcC,EAAWC,EAAQC,EAAYC,EAAUC,EAAUC,EAAWC,EAAWU,EAAYC,EAAkBK,EAAef,EAAamB,CAAS,CAAC,EAAIlB,EAASmB,EAAeC,CAAC,CAAC"}
1
+ {"version":3,"file":"blocks.js","names":["API.D","API.named","__L.at","T.UnionCases","S.Unknown","T.Http","S.optional","S.String","S.Struct","S.suspend","S.Boolean","Retry.Retry","API.call","Boolean","String","Struct","D","call","Unknown","SlackError","SlackRateLimited","at","named","optional","op","suspend","SlackProtocol","Retry","Http","UnionCases","TELEMETRY","validateBlock","i"],"sources":["../../src/services/blocks.ts"],"mappings":"4PAYA,MAAM8B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,SACT,UAAW,KACb,EAoBA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMhC,EAAQC,EAAU,gBAAiB,oQAAqQ,CAACC,EAAQC,EAAcC,EAAWC,EAAQC,EAAYC,EAAUC,EAAUC,EAAWC,EAAWS,EAAYC,EAAkBM,EAAef,EAAamB,CAAS,CAAC,EAAIlB,EAASmB,EAAeC,CAAC,CAAC"}
@@ -5,21 +5,21 @@ export type { SlackOpError, SlackOpContext };
5
5
  export type AddBookmarkRequestAccessLevel = "read" | "write";
6
6
  export interface AddBookmarkRequest {
7
7
  /** Channel to add bookmark in. Required for public channels. */
8
- channel_id?: string;
8
+ channel_id?: string | undefined;
9
9
  /** Title for the bookmark. */
10
10
  title: string;
11
11
  /** Link to bookmark. */
12
- link?: string;
12
+ link?: string | undefined;
13
13
  /** Type of the bookmark i.e link. */
14
14
  type: string;
15
15
  /** Emoji tag to apply to the link. */
16
- emoji?: string;
16
+ emoji?: string | undefined;
17
17
  /** ID of the entity being bookmarked. Only applies to message and file types. */
18
- entity_id?: string;
18
+ entity_id?: string | undefined;
19
19
  /** The level that we are setting the file's permission to (read or write) */
20
- access_level?: AddBookmarkRequestAccessLevel | (string & {});
20
+ access_level?: AddBookmarkRequestAccessLevel | (string & {}) | undefined;
21
21
  /** Id of this bookmark's parent */
22
- parent_id?: string;
22
+ parent_id?: string | undefined;
23
23
  }
24
24
  export interface AddBookmarkResponse {
25
25
  /** Always `true` (a failed call raises a typed error instead). */
@@ -28,15 +28,15 @@ export interface AddBookmarkResponse {
28
28
  }
29
29
  export interface EditBookmarkRequest {
30
30
  /** Channel to update bookmark in. Required for public channels. */
31
- channel_id?: string;
31
+ channel_id?: string | undefined;
32
32
  /** Bookmark to update. Required for public channels. */
33
- bookmark_id?: string;
33
+ bookmark_id?: string | undefined;
34
34
  /** Title for the bookmark. */
35
- title?: string;
35
+ title?: string | undefined;
36
36
  /** Link to bookmark. */
37
- link?: string;
37
+ link?: string | undefined;
38
38
  /** Emoji tag to apply to the link. */
39
- emoji?: string;
39
+ emoji?: string | undefined;
40
40
  }
41
41
  export interface EditBookmarkResponse {
42
42
  /** Always `true` (a failed call raises a typed error instead). */
@@ -45,7 +45,7 @@ export interface EditBookmarkResponse {
45
45
  }
46
46
  export interface ListBookmarksRequest {
47
47
  /** Channel to list bookmarks in. Required for public channels. */
48
- channel_id?: string;
48
+ channel_id?: string | undefined;
49
49
  }
50
50
  export type ListBookmarksResponseBookmarksList = Array<unknown>;
51
51
  export interface ListBookmarksResponse {
@@ -55,26 +55,26 @@ export interface ListBookmarksResponse {
55
55
  }
56
56
  export interface RemoveBookmarkRequest {
57
57
  /** Channel to remove bookmark. Required for public channels. */
58
- channel_id?: string;
58
+ channel_id?: string | undefined;
59
59
  /** Bookmark to remove. Required for public channels. */
60
- bookmark_id?: string;
60
+ bookmark_id?: string | undefined;
61
61
  /** Quip section ID to unbookmark */
62
- quip_section_id?: string;
62
+ quip_section_id?: string | undefined;
63
63
  }
64
64
  export interface RemoveBookmarkResponse {
65
65
  /** Always `true` (a failed call raises a typed error instead). */
66
66
  ok: boolean;
67
67
  }
68
68
  export type AddBookmarkError = SlackOpError;
69
- /** Add bookmark to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `cannot_bookmark_from_external_org` -- File is an external file and cannot be bookmarked. - `cannot_bookmark_restricted_sharing_enabled` -- File has restricted sharing enabled and cannot be bookmarked. - `channel_not_found` -- Channel cannot be found. - `file_already_added` -- The file has already been added to the folder. - `file_not_found` -- File cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `invalid_app_action_type` -- App action type is not valid. - `invalid_shortcut_type` -- Shortcut type is not valid. - `invalid_child_type` -- Child type is not valid. - `invalid_emoji` -- Invalid emoji, does not follow the pattern of a valid emoji name. - `invalid_entity_id` -- Invalid entity_id, file or message type bookmark should have original file or message ID. - `invalid_link` -- Invalid link, link should begin with either http:// or https://. - `invalid_parent_type` -- Parent type is not valid. - `not_implemented` -- bookmarking not available for the user. - `parent_bookmark_disabled` -- Parent bookmark feature flag is off. - `parent_with_link` -- Parent bookmark should not have link. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot add workflow bookmarks to this channel. - `slack_connect_file_upload_sharing_blocked` -- Admin has disabled File uploads in all Slack Connect communications - `slack_connect_clip_sharing_blocked` -- Admin has disabled Clip sharing in Slack Connect channels - `slack_connect_blocked_file_type` -- Files with certain extensions are blocked from being uploaded in all Slack Connect communications - `too_many_bookmarks` -- Bookmark limit reached for channel. - `too_many_tabs` -- tab limit reached for channel. - `too_many_requests` -- Too many concurrent requests. Please retry. See https://docs.slack.dev/reference/methods/bookmarks.add */
69
+ /** Add bookmark to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `cannot_bookmark_from_external_org` -- File is an external file and cannot be bookmarked. - `cannot_bookmark_restricted_sharing_enabled` -- File has restricted sharing enabled and cannot be bookmarked. - `channel_not_found` -- Channel cannot be found. - `file_already_added` -- The file has already been added to the folder. - `file_not_found` -- File cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `invalid_app_action_type` -- App action type is not valid. - `invalid_shortcut_type` -- Shortcut type is not valid. - `invalid_child_type` -- Child type is not valid. - `invalid_emoji` -- Invalid emoji, does not follow the pattern of a valid emoji name. - `invalid_entity_id` -- Invalid entity_id, file or message type bookmark should have original file or message ID. - `invalid_link` -- Invalid link, link should begin with either http:// or https://. - `invalid_parent_type` -- Parent type is not valid. - `parent_bookmark_disabled` -- Parent bookmark feature flag is off. - `parent_with_link` -- Parent bookmark should not have link. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot add workflow bookmarks to this channel. - `slack_connect_file_upload_sharing_blocked` -- Admin has disabled File uploads in all Slack Connect communications - `slack_connect_clip_sharing_blocked` -- Admin has disabled Clip sharing in Slack Connect channels - `slack_connect_blocked_file_type` -- Files with certain extensions are blocked from being uploaded in all Slack Connect communications - `too_many_bookmarks` -- Bookmark limit reached for channel. - `too_many_tabs` -- tab limit reached for channel. - `too_many_requests` -- Too many concurrent requests. Please retry. See https://docs.slack.dev/reference/methods/bookmarks.add */
70
70
  export declare const addBookmark: API.OperationMethod<AddBookmarkRequest, AddBookmarkResponse, AddBookmarkError, SlackOpContext>;
71
71
  export type EditBookmarkError = SlackOpError;
72
- /** Edit bookmark. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `invalid_emoji` -- Invalid emoji, does not follow the pattern of a valid emoji name. - `invalid_link` -- Invalid link, link should begin with either http:// or https://. - `not_found` -- Bookmark cannot be found. - `not_implemented` -- bookmarking not available for the user. - `parent_with_link` -- Parent bookmark should not have link. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot edit workflow bookmarks in this channel. - `slack_connect_file_upload_sharing_blocked` -- Admin has disabled File uploads in all Slack Connect communications - `slack_connect_clip_sharing_blocked` -- Admin has disabled Clip sharing in Slack Connect channels - `slack_connect_blocked_file_type` -- Files with certain extensions are blocked from being uploaded in all Slack Connect communications See https://docs.slack.dev/reference/methods/bookmarks.edit */
72
+ /** Edit bookmark. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `invalid_emoji` -- Invalid emoji, does not follow the pattern of a valid emoji name. - `invalid_link` -- Invalid link, link should begin with either http:// or https://. - `not_found` -- Bookmark cannot be found. - `parent_with_link` -- Parent bookmark should not have link. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot edit workflow bookmarks in this channel. - `slack_connect_file_upload_sharing_blocked` -- Admin has disabled File uploads in all Slack Connect communications - `slack_connect_clip_sharing_blocked` -- Admin has disabled Clip sharing in Slack Connect channels - `slack_connect_blocked_file_type` -- Files with certain extensions are blocked from being uploaded in all Slack Connect communications See https://docs.slack.dev/reference/methods/bookmarks.edit */
73
73
  export declare const editBookmark: API.OperationMethod<EditBookmarkRequest, EditBookmarkResponse, EditBookmarkError, SlackOpContext>;
74
74
  export type ListBookmarksError = SlackOpError;
75
- /** List bookmark for the channel. Required scopes -- bot: `bookmarks:read`; user: `bookmarks:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. - `not_implemented` -- bookmarking not available for the user. See https://docs.slack.dev/reference/methods/bookmarks.list */
75
+ /** List bookmark for the channel. Required scopes -- bot: `bookmarks:read`; user: `bookmarks:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. See https://docs.slack.dev/reference/methods/bookmarks.list */
76
76
  export declare const listBookmarks: API.OperationMethod<ListBookmarksRequest, ListBookmarksResponse, ListBookmarksError, SlackOpContext>;
77
77
  export type RemoveBookmarkError = SlackOpError;
78
- /** Remove bookmark from the channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. - `user_not_found` -- User cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `not_found` -- Bookmark cannot be found. - `not_implemented` -- bookmarking not available for the user. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot remove workflow bookmarks from this channel. See https://docs.slack.dev/reference/methods/bookmarks.remove */
78
+ /** Remove bookmark from the channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- Actor lacks access to the requested resource. - `channel_not_found` -- Channel cannot be found. - `user_not_found` -- User cannot be found. - `invalid_bookmark_type` -- Bookmark type is not valid. - `not_found` -- Bookmark cannot be found. - `permission_denied` -- No permission to perform this operation. - `restricted_action` -- Members from an external organization cannot remove workflow bookmarks from this channel. See https://docs.slack.dev/reference/methods/bookmarks.remove */
79
79
  export declare const removeBookmark: API.OperationMethod<RemoveBookmarkRequest, RemoveBookmarkResponse, RemoveBookmarkError, SlackOpContext>;
80
80
  //# sourceMappingURL=bookmarks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../src/services/bookmarks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,6EAA6E;AAC7E,MAAM,MAAM,6BAA6B,GAAG,MAAM,GAAG,OAAO,CAAC;AAC7D,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,6BAA6B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC7D,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,WAAW,mBAAmB;IAClC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,QAAQ,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AO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAC7C,0rCAA0rC;AAC1rC,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC9C,uWAAuW;AACvW,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,eAAe,CAC7C,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAC/C,mrBAAmrB;AACnrB,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,CASb,CAAC"}
@@ -1,2 +1,2 @@
1
- import{Hc as e,Ic as t,Tc as n,Uc as r,Zc as i,a,ad as o,c as s,errors$SlackError as c,errors$SlackRateLimited as l,fd as u,gd as d,j as f,l as p,protocol$SlackProtocol as m,retry$Retry as h,traits$Http as g}from"../_bundle/sdk.js";const _={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Bookmarks`,propagate:`w3c`};const v=/*@__PURE__*/ p(e=>e===a?f(`AddBookmark`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({channel_id:$3($2),title:$2,link:$3($2),type:$2,emoji:$3($2),entity_id:$3($2),access_level:$3($2),parent_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.add",code:200}))`,[o,g,n,u,r,d,__d0,c,l,m,h,_]):s(v,e));const y=/*@__PURE__*/ p(e=>e===a?f(`EditBookmark`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({channel_id:$3($2),bookmark_id:$3($2),title:$3($2),link:$3($2),emoji:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.edit",code:200}))`,[o,g,n,u,r,d,__d0,c,l,m,h,_]):s(y,e));const b=/*@__PURE__*/ p(p=>p===a?f(`ListBookmarks`,`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>4)@"%Request";$7($6);$5(>5)@"%Response";$4({channel_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.list",code:200}));$4({ok:$8,bookmarks:#2})`,[o,g,n,u,r,d,i,e,t,c,l,m,h,_]):s(b,p));const x=/*@__PURE__*/ p(e=>e===a?f(`RemoveBookmark`,`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({channel_id:$3($2),bookmark_id:$3($2),quip_section_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.remove",code:200}));$4({ok:$6})`,[o,g,n,u,r,d,t,c,l,m,h,_]):s(x,e));function __d0(){return[`$4(>1)@"AddBookmarkResponse";$3({ok:$1,bookmark:$2})`,[o,t,i,r,d]]}export{v as addBookmark,y as editBookmark,b as listBookmarks,x as removeBookmark};
1
+ import{Nc as e,Oc as t,Zc as n,_c as r,a as i,c as a,ed as o,errors$SlackError as s,errors$SlackRateLimited as c,gd as l,k as u,ld as d,m as f,md as p,protocol$SlackProtocol as m,retry$Retry as h,traits$Http as g}from"../_bundle/sdk.js";const _={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Bookmarks`,propagate:`w3c`};const v=/*@__PURE__*/ f(e=>e===i?u(`AddBookmark`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({channel_id:$3($2),title:$2,link:$3($2),type:$2,emoji:$3($2),entity_id:$3($2),access_level:$3($2),parent_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.add",code:200}))`,[l,g,n,d,r,p,__d0,s,c,m,h,_]):a(v,e));const y=/*@__PURE__*/ f(e=>e===i?u(`EditBookmark`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({channel_id:$3($2),bookmark_id:$3($2),title:$3($2),link:$3($2),emoji:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.edit",code:200}))`,[l,g,n,d,r,p,__d0,s,c,m,h,_]):a(y,e));const b=/*@__PURE__*/ f(f=>f===i?u(`ListBookmarks`,`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>4)@"%Request";$7($6);$5(>5)@"%Response";$4({channel_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.list",code:200}));$4({ok:$8,bookmarks:#2})`,[l,g,n,d,r,p,o,e,t,s,c,m,h,_]):a(b,f));const x=/*@__PURE__*/ f(e=>e===i?u(`RemoveBookmark`,`{input:#1,output:#2,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({channel_id:$3($2),bookmark_id:$3($2),quip_section_id:$3($2)}).pipe($1({method:"POST",uri:"/bookmarks.remove",code:200}));$4({ok:$6})`,[l,g,n,d,r,p,t,s,c,m,h,_]):a(x,e));function __d0(){return[`$4(>1)@"AddBookmarkResponse";$3({ok:$1,bookmark:$2})`,[l,t,o,r,p]]}export{v as addBookmark,y as editBookmark,b as listBookmarks,x as removeBookmark};
2
2
  //# sourceMappingURL=bookmarks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookmarks.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Unknown","S.Array","S.Boolean","Array","Boolean","String","Struct","Unknown","at","call","SlackError","SlackRateLimited","optional","suspend","named","op","SlackProtocol","Retry","Http","TELEMETRY","addBookmark","i","D","editBookmark","listBookmarks","removeBookmark"],"sources":["../../src/services/bookmarks.ts"],"mappings":"wOAYA,MAAM6B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,YACT,UAAW,KACb,EAoEA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAM/B,EAAQC,EAAU,cAAe,uRAAwR,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAYC,EAAkBK,EAAelB,EAAaqB,CAAS,CAAC,EAAIpB,EAASqB,EAAaC,CAAC,CAAC,EAI3gB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAM/B,EAAQC,EAAU,eAAgB,iPAAkP,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAYC,EAAkBK,EAAelB,EAAaqB,CAAS,CAAC,EAAIpB,EAASwB,EAAcF,CAAC,CAAC,EAIve,MAAaG,EAKK,gBAAQ,GAAgBH,IAAM/B,EAAQC,EAAU,gBAAiB,2OAA4O,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWG,EAAWC,EAASC,EAAWQ,EAAYC,EAAkBK,EAAelB,EAAaqB,CAAS,CAAC,EAAIpB,EAASyB,EAAeH,CAAC,CAAC,EAI5f,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAM/B,EAAQC,EAAU,iBAAkB,iQAAkQ,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWK,EAAWQ,EAAYC,EAAkBK,EAAelB,EAAaqB,CAAS,CAAC,EAAIpB,EAAS0B,EAAgBJ,CAAC,CAAC,EAMhgB,SAAS,MAAY,CACnB,MAAO,CAAC,uDAAwD,CAAC7B,EAAQU,EAAWF,EAAWJ,EAAUC,CAAS,CAAC,CACrH"}
1
+ {"version":3,"file":"bookmarks.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Unknown","S.Array","S.Boolean","Array","Boolean","String","Struct","D","call","Unknown","SlackError","SlackRateLimited","at","named","optional","op","suspend","SlackProtocol","Retry","Http","TELEMETRY","addBookmark","i","editBookmark","listBookmarks","removeBookmark"],"sources":["../../src/services/bookmarks.ts"],"mappings":"6OAYA,MAAM8B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,YACT,UAAW,KACb,EAoEA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMhC,EAAQC,EAAU,cAAe,uRAAwR,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAASsB,EAAaC,CAAC,CAAC,EAI3gB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMhC,EAAQC,EAAU,eAAgB,iPAAkP,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAASwB,EAAcD,CAAC,CAAC,EAIve,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMhC,EAAQC,EAAU,gBAAiB,2OAA4O,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWG,EAAWC,EAASC,EAAWQ,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAASyB,EAAeF,CAAC,CAAC,EAI5f,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMhC,EAAQC,EAAU,iBAAkB,iQAAkQ,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAUC,EAAWK,EAAWQ,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS0B,EAAgBH,CAAC,CAAC,EAMhgB,SAAS,MAAY,CACnB,MAAO,CAAC,uDAAwD,CAAC9B,EAAQU,EAAWF,EAAWJ,EAAUC,CAAS,CAAC,CACrH"}
@@ -3,48 +3,48 @@ import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
3
3
  export type { SlackOpError, SlackOpContext };
4
4
  export interface BotsInfoRequest {
5
5
  /** Bot user to get info on */
6
- bot?: string;
6
+ bot?: string | undefined;
7
7
  /** encoded team id or enterprise id where the bot exists, required if org token is used */
8
- team_id?: string;
8
+ team_id?: string | undefined;
9
9
  }
10
10
  export interface BotsInfoResponseBotsItemIcons {
11
- emoji?: string;
12
- image_36?: string;
13
- image_48?: string;
14
- image_64?: string;
15
- image_72?: string;
11
+ emoji?: string | undefined;
12
+ image_36?: string | undefined;
13
+ image_48?: string | undefined;
14
+ image_64?: string | undefined;
15
+ image_72?: string | undefined;
16
16
  }
17
17
  export interface BotsInfoResponseBotsItem {
18
18
  updated: number;
19
- name?: string;
20
- icons?: BotsInfoResponseBotsItemIcons;
19
+ name?: string | undefined;
20
+ icons?: BotsInfoResponseBotsItemIcons | undefined;
21
21
  deleted: boolean;
22
- app_id?: string;
22
+ app_id?: string | undefined;
23
23
  id: string;
24
- is_workflow_bot?: boolean;
25
- is_connector_bot?: boolean;
26
- is_legacy_workflow_bot?: boolean;
27
- user_id?: string;
24
+ is_workflow_bot?: boolean | undefined;
25
+ is_connector_bot?: boolean | undefined;
26
+ is_legacy_workflow_bot?: boolean | undefined;
27
+ user_id?: string | undefined;
28
28
  }
29
29
  export type BotsInfoResponseBotsList = Array<BotsInfoResponseBotsItem>;
30
30
  export type BotsInfoResponseBotIcons = BotsInfoResponseBotsItemIcons;
31
31
  export interface BotsInfoResponseBot {
32
32
  updated: number;
33
- user_id?: string;
34
- name?: string;
35
- icons?: BotsInfoResponseBotsItemIcons;
33
+ user_id?: string | undefined;
34
+ name?: string | undefined;
35
+ icons?: BotsInfoResponseBotsItemIcons | undefined;
36
36
  deleted: boolean;
37
- app_id?: string;
37
+ app_id?: string | undefined;
38
38
  id: string;
39
- is_workflow_bot?: boolean;
40
- is_connector_bot?: boolean;
41
- is_legacy_workflow_bot?: boolean;
39
+ is_workflow_bot?: boolean | undefined;
40
+ is_connector_bot?: boolean | undefined;
41
+ is_legacy_workflow_bot?: boolean | undefined;
42
42
  }
43
43
  export interface BotsInfoResponse {
44
44
  /** Always `true` (a failed call raises a typed error instead). */
45
45
  ok: boolean;
46
- bots?: BotsInfoResponseBotsList;
47
- bot?: BotsInfoResponseBot;
46
+ bots?: BotsInfoResponseBotsList | undefined;
47
+ bot?: BotsInfoResponseBot | undefined;
48
48
  }
49
49
  export type BotsInfoError = SlackOpError;
50
50
  /** Gets information about a bot user. Required scopes -- bot: `users:read`; user: `users:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `bot_not_found` -- Value passed for `bot` was invalid. - `bots_not_found` -- At least one value passed for `bots` was invalid. - `missing_argument` -- A required argument is missing. - `team_not_found` -- Value passed for `team_id` was invalid. See https://docs.slack.dev/reference/methods/bots.info */
@@ -1 +1 @@
1
- {"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../src/services/bots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2B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eAAe,CACxC,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,CASb,CAAC"}
@@ -1,2 +1,2 @@
1
- import{Hc as e,Ic as t,Qc as n,Tc as r,Uc as i,a,ad as o,c as s,errors$SlackError as c,errors$SlackRateLimited as l,fd as u,gd as d,j as f,l as p,protocol$SlackProtocol as m,retry$Retry as h,traits$Http as g,traits$Query as _}from"../_bundle/sdk.js";const v={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Bots`,propagate:`w3c`};const y=/*@__PURE__*/ p(p=>p===a?f(`BotsInfoResponse`,`{input:#1,output:#6,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"BotsInfo"};$6(>7)@"BotsInfoRequest";$6(>8)@"%BotsItemIcons";$6(>9)@"%BotsItem";$9(#3);$6(>10)@"%Bot";$6(>11)@"%";$5({bot:$4($3.pipe($2())),team_id:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/bots.info",code:200}));$5({emoji:$4($3),image_36:$4($3),image_48:$4($3),image_64:$4($3),image_72:$4($3)});$5({updated:$7,name:$4($3),icons:$4(#2),deleted:$8,app_id:$4($3),id:$3,is_workflow_bot:$4($8),is_connector_bot:$4($8),is_legacy_workflow_bot:$4($8),user_id:$4($3)});$5({updated:$7,user_id:$4($3),name:$4($3),icons:$4(#2),deleted:$8,app_id:$4($3),id:$3,is_workflow_bot:$4($8),is_connector_bot:$4($8),is_legacy_workflow_bot:$4($8)});$5({ok:$8,bots:$4(#4),bot:$4(#5)})`,[o,g,_,r,u,i,d,n,t,e,c,l,m,h,v]):s(y,p));export{y as botsInfo};
1
+ import{Nc as e,Oc as t,Wc as n,Zc as r,_c as i,a,c as o,errors$SlackError as s,errors$SlackRateLimited as c,gd as l,k as u,ld as d,m as f,md as p,protocol$SlackProtocol as m,retry$Retry as h,traits$Http as g,traits$Query as _}from"../_bundle/sdk.js";const v={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Bots`,propagate:`w3c`};const y=/*@__PURE__*/ f(f=>f===a?u(`BotsInfoResponse`,`{input:#1,output:#6,errors:[$10,$11],protocol:$12,retry:$13,telemetry:$14,span:"BotsInfo"};$6(>7)@"BotsInfoRequest";$6(>8)@"%BotsItemIcons";$6(>9)@"%BotsItem";$9(#3);$6(>10)@"%Bot";$6(>11)@"%";$5({bot:$4($3.pipe($2())),team_id:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/bots.info",code:200}));$5({emoji:$4($3),image_36:$4($3),image_48:$4($3),image_64:$4($3),image_72:$4($3)});$5({updated:$7,name:$4($3),icons:$4(#2),deleted:$8,app_id:$4($3),id:$3,is_workflow_bot:$4($8),is_connector_bot:$4($8),is_legacy_workflow_bot:$4($8),user_id:$4($3)});$5({updated:$7,user_id:$4($3),name:$4($3),icons:$4(#2),deleted:$8,app_id:$4($3),id:$3,is_workflow_bot:$4($8),is_connector_bot:$4($8),is_legacy_workflow_bot:$4($8)});$5({ok:$8,bots:$4(#4),bot:$4(#5)})`,[l,g,_,r,d,i,p,n,t,e,s,c,m,h,v]):o(y,f));export{y as botsInfo};
2
2
  //# sourceMappingURL=bots.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bots.js","names":["API.D","API.named","__L.at","T.Http","T.Query","S.String","S.optional","S.Struct","S.suspend","S.Number","S.Boolean","S.Array","Retry.Retry","API.call","Array","Boolean","Number","String","Struct","at","call","SlackError","SlackRateLimited","optional","suspend","named","op","SlackProtocol","Retry","Http","Query","TELEMETRY","botsInfo","i","D"],"sources":["../../src/services/bots.ts"],"mappings":"0PAYA,MAAM+B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,OACT,UAAW,KACb,EAiDA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMjC,EAAQC,EAAU,mBAAoB,4uBAA6uB,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAWC,EAASU,EAAYC,EAAkBK,EAAef,EAAamB,CAAS,CAAC,EAAIlB,EAASmB,EAAUC,CAAC,CAAC"}
1
+ {"version":3,"file":"bots.js","names":["API.D","API.named","__L.at","T.Http","T.Query","S.String","S.optional","S.Struct","S.suspend","S.Number","S.Boolean","S.Array","Retry.Retry","API.call","Array","Boolean","Number","String","Struct","call","SlackError","SlackRateLimited","at","named","optional","op","suspend","SlackProtocol","Retry","Http","Query","TELEMETRY","botsInfo","i","D"],"sources":["../../src/services/bots.ts"],"mappings":"0PAYA,MAAM+B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,OACT,UAAW,KACb,EAiDA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMjC,EAAQC,EAAU,mBAAoB,4uBAA6uB,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWC,EAAUC,EAAWC,EAASS,EAAYC,EAAkBM,EAAef,EAAamB,CAAS,CAAC,EAAIlB,EAASmB,EAAUC,CAAC,CAAC"}
@@ -7,19 +7,19 @@ export interface AddCallRequest {
7
7
  /** An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. */
8
8
  external_unique_id: string;
9
9
  /** An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. */
10
- external_display_id?: string;
10
+ external_display_id?: string | undefined;
11
11
  /** The URL required for a client to join the Call. */
12
12
  join_url: string;
13
13
  /** When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. */
14
- desktop_app_join_url?: string;
14
+ desktop_app_join_url?: string | undefined;
15
15
  /** Unix timestamp of the call start time */
16
- date_start?: number;
16
+ date_start?: number | undefined;
17
17
  /** The name of the Call. */
18
- title?: string;
18
+ title?: string | undefined;
19
19
  /** The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. */
20
- created_by?: string;
20
+ created_by?: string | undefined;
21
21
  /** The list of users to register as participants in the Call. [Read more on how to specify users here](/apis/web-api/using-the-calls-api#users). */
22
- users?: AddCallRequestUsersList;
22
+ users?: AddCallRequestUsersList | undefined;
23
23
  }
24
24
  export interface AddCallResponse {
25
25
  /** Always `true` (a failed call raises a typed error instead). */
@@ -43,7 +43,7 @@ export interface CallsEndRequest {
43
43
  /** `id` returned when registering the call using the [`calls.add`](/reference/methods/calls.add) method. */
44
44
  id: string;
45
45
  /** Call duration in seconds */
46
- duration?: number;
46
+ duration?: number | undefined;
47
47
  }
48
48
  export interface CallsEndResponse {
49
49
  /** Always `true` (a failed call raises a typed error instead). */
@@ -76,11 +76,11 @@ export interface UpdateCallRequest {
76
76
  /** `id` returned by the [`calls.add`](/reference/methods/calls.add) method. */
77
77
  id: string;
78
78
  /** The name of the Call. */
79
- title?: string;
79
+ title?: string | undefined;
80
80
  /** The URL required for a client to join the Call. */
81
- join_url?: string;
81
+ join_url?: string | undefined;
82
82
  /** When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. */
83
- desktop_app_join_url?: string;
83
+ desktop_app_join_url?: string | undefined;
84
84
  }
85
85
  export interface UpdateCallResponse {
86
86
  /** Always `true` (a failed call raises a typed error instead). */
@@ -1 +1 @@
1
- {"version":3,"file":"calls.d.ts","sourceRoot":"","sources":["../../src/services/calls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,oJAAoJ;AACpJ,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AACrD,MAAM,WAAW,cAAc;IAC7B,2GAA2G;IAC3G,kBAAkB,EAAE,MAAM,CAAC;IAC3B,yIAAyI;IACzI,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,+GAA+G;IAC/G,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kOAAkO;IAClO,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oJAAoJ;IACpJ,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC;AACD,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AACD,+IAA+I;AAC/I,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AAC5D,MAAM,WAAW,qBAAqB;IACpC,+EAA+E;IAC/E,EAAE,EAAE,MAAM,CAAC;IACX,+IAA+I;IAC/I,KAAK,EAAE,8BAA8B,CAAC;CACvC;AACD,MAAM,WAAW,sBAAsB;IACrC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AAC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eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,4XAA4X;AAC5X,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAClD,usBAAusB;AACvsB,eAAO,MAAM,iBAAiB,EAAE,GAAG,CAAC,eAAe,CACjD,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC;AAC3C,2aAA2a;AAC3a,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,CASb,CAAC"}
@@ -1,2 +1,2 @@
1
- import{Hc as e,Ic as t,Qc as n,Tc as r,Uc as i,Zc as a,a as o,ad as s,c,errors$SlackError as l,errors$SlackRateLimited as u,fd as d,gd as f,j as p,l as m,protocol$SlackProtocol as h,retry$Retry as g,traits$Http as _}from"../_bundle/sdk.js";const v={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Calls`,propagate:`w3c`};const y=/*@__PURE__*/ m(e=>e===o?p(`AddCall`,`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>2)@"%Request";$6({external_unique_id:$2,external_display_id:$3($2),join_url:$2,desktop_app_join_url:$3($2),date_start:$3($4),title:$3($2),created_by:$3($2),users:$3(#5:0)}).pipe($1({method:"POST",uri:"/calls.add",code:200}))`,[s,_,r,d,n,__d1,i,f,__d0,l,u,h,g,v]):c(y,e));const b=/*@__PURE__*/ m(e=>e===o?p(`AddParticipant`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,users:#3:0}).pipe($1({method:"POST",uri:"/calls.participants.add",code:200}))`,[s,_,r,__d1,i,f,__d0,l,u,h,g,v]):c(b,e));const x=/*@__PURE__*/ m(e=>e===o?p(`CallsEnd`,`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$6(>2)@"%Request";$5({id:$2,duration:$4($3)}).pipe($1({method:"POST",uri:"/calls.end",code:200}))`,[s,_,r,n,d,i,f,__d0,l,u,h,g,v]):c(x,e));const S=/*@__PURE__*/ m(e=>e===o?p(`CallsInfo`,`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$4(>2)@"%Request";$3({id:$2}).pipe($1({method:"POST",uri:"/calls.info",code:200}))`,[s,_,r,i,f,__d0,l,u,h,g,v]):c(S,e));const C=/*@__PURE__*/ m(e=>e===o?p(`RemoveParticipant`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,users:#3:0}).pipe($1({method:"POST",uri:"/calls.participants.remove",code:200}))`,[s,_,r,__d1,i,f,__d0,l,u,h,g,v]):c(C,e));const w=/*@__PURE__*/ m(e=>e===o?p(`UpdateCall`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,title:$3($2),join_url:$3($2),desktop_app_join_url:$3($2)}).pipe($1({method:"POST",uri:"/calls.update",code:200}))`,[s,_,r,d,i,f,__d0,l,u,h,g,v]):c(w,e));function __d0(){return[`$4(>1)@"AddCallResponse";$3({ok:$1,call:$2})`,[s,t,a,i,f]]}function __d1(){return[`$2($1)`,[s,a,e]]}export{y as addCall,b as addParticipant,x as callsEnd,S as callsInfo,C as removeParticipant,w as updateCall};
1
+ import{Nc as e,Oc as t,Wc as n,Zc as r,_c as i,a,c as o,ed as s,errors$SlackError as c,errors$SlackRateLimited as l,gd as u,k as d,ld as f,m as p,md as m,protocol$SlackProtocol as h,retry$Retry as g,traits$Http as _}from"../_bundle/sdk.js";const v={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Calls`,propagate:`w3c`};const y=/*@__PURE__*/ p(e=>e===a?d(`AddCall`,`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$7(>2)@"%Request";$6({external_unique_id:$2,external_display_id:$3($2),join_url:$2,desktop_app_join_url:$3($2),date_start:$3($4),title:$3($2),created_by:$3($2),users:$3(#5:0)}).pipe($1({method:"POST",uri:"/calls.add",code:200}))`,[u,_,r,f,n,__d1,i,m,__d0,c,l,h,g,v]):o(y,e));const b=/*@__PURE__*/ p(e=>e===a?d(`AddParticipant`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,users:#3:0}).pipe($1({method:"POST",uri:"/calls.participants.add",code:200}))`,[u,_,r,__d1,i,m,__d0,c,l,h,g,v]):o(b,e));const x=/*@__PURE__*/ p(e=>e===a?d(`CallsEnd`,`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$6(>2)@"%Request";$5({id:$2,duration:$4($3)}).pipe($1({method:"POST",uri:"/calls.end",code:200}))`,[u,_,r,n,f,i,m,__d0,c,l,h,g,v]):o(x,e));const S=/*@__PURE__*/ p(e=>e===a?d(`CallsInfo`,`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$4(>2)@"%Request";$3({id:$2}).pipe($1({method:"POST",uri:"/calls.info",code:200}))`,[u,_,r,i,m,__d0,c,l,h,g,v]):o(S,e));const C=/*@__PURE__*/ p(e=>e===a?d(`RemoveParticipant`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,users:#3:0}).pipe($1({method:"POST",uri:"/calls.participants.remove",code:200}))`,[u,_,r,__d1,i,m,__d0,c,l,h,g,v]):o(C,e));const w=/*@__PURE__*/ p(e=>e===a?d(`UpdateCall`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({id:$2,title:$3($2),join_url:$3($2),desktop_app_join_url:$3($2)}).pipe($1({method:"POST",uri:"/calls.update",code:200}))`,[u,_,r,f,i,m,__d0,c,l,h,g,v]):o(w,e));function __d0(){return[`$4(>1)@"AddCallResponse";$3({ok:$1,call:$2})`,[u,t,s,i,m]]}function __d1(){return[`$2($1)`,[u,s,e]]}export{y as addCall,b as addParticipant,x as callsEnd,S as callsInfo,C as removeParticipant,w as updateCall};
2
2
  //# sourceMappingURL=calls.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"calls.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Number","S.Struct","S.suspend","Retry.Retry","API.call","S.Boolean","S.Unknown","S.Array","Array","Boolean","Number","String","Struct","Unknown","D","at","SlackError","SlackRateLimited","optional","suspend","named","op","SlackProtocol","Retry","Http","TELEMETRY","addCall","i","call","addParticipant","callsEnd","callsInfo","removeParticipant","updateCall"],"sources":["../../src/services/calls.ts"],"mappings":"gPAYA,MAAM+B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7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AkBK,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS6B,EAAYN,CAAC,CAAC,EAMrd,SAAS,MAAY,CACnB,MAAO,CAAC,+CAAgD,CAAC/B,EAAQS,EAAWC,EAAWL,EAAUC,CAAS,CAAC,CAC7G,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,SAAU,CAACN,EAAQU,EAAWC,CAAO,CAAC,CAChD"}
1
+ {"version":3,"file":"calls.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Number","S.Struct","S.suspend","Retry.Retry","API.call","S.Boolean","S.Unknown","S.Array","Array","Boolean","Number","String","Struct","call","Unknown","SlackError","SlackRateLimited","at","named","optional","op","suspend","SlackProtocol","Retry","Http","TELEMETRY","addCall","i","D","addParticipant","callsEnd","callsInfo","removeParticipant","updateCall"],"sources":["../../src/services/calls.ts"],"mappings":"gPAYA,MAAM+B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,QACT,UAAW,KACb,EA0FA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMjC,EAAQC,EAAU,UAAW,4TAA6T,CAACC,EAAQC,EAAQC,EAAUC,EAAYC,EAAU,KAAMC,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAASsB,EAASC,CAAC,CAAC,EAIxjB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMjC,EAAQC,EAAU,iBAAkB,+LAAgM,CAACC,EAAQC,EAAQC,EAAU,KAAMG,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAASyB,EAAgBF,CAAC,CAAC,EAInb,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMjC,EAAQC,EAAU,WAAY,wLAAyL,CAACC,EAAQC,EAAQC,EAAUE,EAAUD,EAAYE,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS0B,EAAUH,CAAC,CAAC,EAIhb,MAAaI,EAKK,gBAAQ,GAAgBJ,IAAMjC,EAAQC,EAAU,YAAa,uKAAwK,CAACC,EAAQC,EAAQC,EAAUG,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS2B,EAAWJ,CAAC,CAAC,EAI3Y,MAAaK,EAKK,gBAAQ,GAAgBL,IAAMjC,EAAQC,EAAU,oBAAqB,kMAAmM,CAACC,EAAQC,EAAQC,EAAU,KAAMG,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS4B,EAAmBL,CAAC,CAAC,EAI5b,MAAaM,EAKK,gBAAQ,GAAgBN,IAAMjC,EAAQC,EAAU,aAAc,mOAAoO,CAACC,EAAQC,EAAQC,EAAUC,EAAYE,EAAUC,EAAW,KAAMa,EAAYC,EAAkBM,EAAenB,EAAasB,CAAS,CAAC,EAAIrB,EAAS6B,EAAYN,CAAC,CAAC,EAMrd,SAAS,MAAY,CACnB,MAAO,CAAC,+CAAgD,CAAC/B,EAAQS,EAAWC,EAAWL,EAAUC,CAAS,CAAC,CAC7G,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,SAAU,CAACN,EAAQU,EAAWC,CAAO,CAAC,CAChD"}
@@ -3,11 +3,11 @@ import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
3
3
  export type { SlackOpError, SlackOpContext };
4
4
  export interface CreateCanvaseRequest {
5
5
  /** Title of the newly created canvas */
6
- title?: string;
6
+ title?: string | undefined;
7
7
  /** Structure describing the type and value of the content to create. The markdown content is limited to 1 MiB (1,048,576 characters). */
8
- document_content?: unknown;
8
+ document_content?: unknown | undefined;
9
9
  /** Channel ID of the channel the canvas will be tabbed in. This is a required field for free teams. */
10
- channel_id?: string;
10
+ channel_id?: string | undefined;
11
11
  }
12
12
  export interface CreateCanvaseResponse {
13
13
  /** Always `true` (a failed call raises a typed error instead). */
@@ -16,16 +16,16 @@ export interface CreateCanvaseResponse {
16
16
  canvas_id: string;
17
17
  }
18
18
  /** List of channels you wish to update access for */
19
- export type DeleteAccessRequestChannelIdsList = Array<string>;
19
+ export type DeleteAccessRequestChannelIdsList = Array<unknown>;
20
20
  /** List of users you wish to update access for */
21
21
  export type DeleteAccessRequestUserIdsList = Array<string>;
22
22
  export interface DeleteAccessRequest {
23
23
  /** Encoded ID of the canvas */
24
24
  canvas_id: string;
25
25
  /** List of channels you wish to update access for */
26
- channel_ids?: DeleteAccessRequestChannelIdsList;
26
+ channel_ids?: DeleteAccessRequestChannelIdsList | undefined;
27
27
  /** List of users you wish to update access for */
28
- user_ids?: DeleteAccessRequestUserIdsList;
28
+ user_ids?: DeleteAccessRequestUserIdsList | undefined;
29
29
  }
30
30
  /** The channel IDs that could not be updated */
31
31
  export type DeleteAccessResponseFailedToUpdateChannelIdsList = Array<string>;
@@ -35,9 +35,9 @@ export interface DeleteAccessResponse {
35
35
  /** Always `true` (a failed call raises a typed error instead). */
36
36
  ok: boolean;
37
37
  /** The channel IDs that could not be updated */
38
- failed_to_update_channel_ids?: DeleteAccessResponseFailedToUpdateChannelIdsList;
38
+ failed_to_update_channel_ids?: DeleteAccessResponseFailedToUpdateChannelIdsList | undefined;
39
39
  /** The user IDs that could not be updated */
40
- failed_to_update_user_ids?: DeleteAccessResponseFailedToUpdateUserIdsList;
40
+ failed_to_update_user_ids?: DeleteAccessResponseFailedToUpdateUserIdsList | undefined;
41
41
  }
42
42
  export interface DeleteCanvaseRequest {
43
43
  /** Encoded ID of the canvas */
@@ -65,7 +65,7 @@ export interface GetContentRequest {
65
65
  /** Encoded ID of the canvas */
66
66
  canvas_id: string;
67
67
  /** Format in which to return the canvas content. Defaults to markdown. */
68
- content_type?: GetContentRequestContentType | (string & {});
68
+ content_type?: GetContentRequestContentType | (string & {}) | undefined;
69
69
  }
70
70
  export interface GetContentResponse {
71
71
  /** Always `true` (a failed call raises a typed error instead). */
@@ -84,7 +84,7 @@ export type LookupSectionResponseSectionsItemChildSectionIdsList = Array<string>
84
84
  export interface LookupSectionResponseSectionsItem {
85
85
  id: string;
86
86
  /** IDs of child sections within a layout container (blockquote, callout, flexbox, or table). */
87
- child_section_ids?: LookupSectionResponseSectionsItemChildSectionIdsList;
87
+ child_section_ids?: LookupSectionResponseSectionsItemChildSectionIdsList | undefined;
88
88
  }
89
89
  /** Sections in the canvas that match the provided criteria */
90
90
  export type LookupSectionResponseSectionsList = Array<LookupSectionResponseSectionsItem>;
@@ -95,7 +95,7 @@ export interface LookupSectionResponse {
95
95
  sections: LookupSectionResponseSectionsList;
96
96
  }
97
97
  /** List of channels you wish to update access for. Can only be used if user_ids is not provided. */
98
- export type SetAccessRequestChannelIdsList = Array<string>;
98
+ export type SetAccessRequestChannelIdsList = Array<unknown>;
99
99
  /** List of users you wish to update access for. Can only be used if channel_ids is not provided. */
100
100
  export type SetAccessRequestUserIdsList = Array<string>;
101
101
  export interface SetAccessRequest {
@@ -104,9 +104,9 @@ export interface SetAccessRequest {
104
104
  /** Desired level of access */
105
105
  access_level: string;
106
106
  /** List of channels you wish to update access for. Can only be used if user_ids is not provided. */
107
- channel_ids?: SetAccessRequestChannelIdsList;
107
+ channel_ids?: SetAccessRequestChannelIdsList | undefined;
108
108
  /** List of users you wish to update access for. Can only be used if channel_ids is not provided. */
109
- user_ids?: SetAccessRequestUserIdsList;
109
+ user_ids?: SetAccessRequestUserIdsList | undefined;
110
110
  }
111
111
  /** The channel IDs that could not be updated */
112
112
  export type SetAccessResponseFailedToUpdateChannelIdsList = Array<string>;
@@ -116,9 +116,9 @@ export interface SetAccessResponse {
116
116
  /** Always `true` (a failed call raises a typed error instead). */
117
117
  ok: boolean;
118
118
  /** The channel IDs that could not be updated */
119
- failed_to_update_channel_ids?: SetAccessResponseFailedToUpdateChannelIdsList;
119
+ failed_to_update_channel_ids?: SetAccessResponseFailedToUpdateChannelIdsList | undefined;
120
120
  /** The user IDs that could not be updated */
121
- failed_to_update_user_ids?: SetAccessResponseFailedToUpdateUserIdsList;
121
+ failed_to_update_user_ids?: SetAccessResponseFailedToUpdateUserIdsList | undefined;
122
122
  }
123
123
  export type CreateCanvaseError = SlackOpError;
124
124
  /** Create canvas for a user Required scopes -- bot: `canvases:write`; user: `canvases:write`; seamless_user: `seamless.user` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `canvas_disabled_user_team` -- Canvas is disabled on user's team - `restricted_action` -- User does not have permission to perform this action. - `canvas_creation_failed` -- Canvas was unable to be created. - `free_team_canvas_tab_already_exists` -- Free teams are limited to one canvas tab per channel - `free_teams_cannot_create_standalone_canvases` -- Free teams cannot create standalone canvases See https://docs.slack.dev/reference/methods/canvases.create */
@@ -127,13 +127,13 @@ export type DeleteAccessError = SlackOpError;
127
127
  /** Remove access to a canvas for specified entities Required scopes -- bot: `canvases:write`; user: `canvases:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_not_found` -- The canvas you wish to revoke permissions for is not available. - `restricted_action` -- User does not have permission to perform this action. - `canvas_disabled_user_team` -- Canvas is disabled on user's team. - `invalid_parameters` -- One of user_ids and channel_ids must be defined. - `channel_not_found` -- A channel could not be found. - `user_not_found` -- A user could not be found. See https://docs.slack.dev/reference/methods/canvases.access.delete */
128
128
  export declare const deleteAccess: API.OperationMethod<DeleteAccessRequest, DeleteAccessResponse, DeleteAccessError, SlackOpContext>;
129
129
  export type DeleteCanvaseError = SlackOpError;
130
- /** Deletes a canvas Required scopes -- bot: `canvases:write`; user: `canvases:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_deleting_disabled` -- This functionality is disabled. - `canvas_not_found` -- The canvas does not exist, or is not visible to the calling user. - `restricted_action` -- User does not have permission to perform this action. See https://docs.slack.dev/reference/methods/canvases.delete */
130
+ /** Deletes a canvas Required scopes -- bot: `canvases:write`; user: `canvases:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_deleting_disabled` -- This functionality is disabled. - `canvas_not_found` -- The canvas does not exist, or is not visible to the calling user. - `restricted_action` -- User does not have permission to perform this action. - `use_skills_api` -- When the Skills API is enabled for the caller, skill canvases must be deleted with slackbot.skills.delete using a user OAuth token with skills:write. Pass the canvas ID as skill_id. The success response remains ok: true. The skill and its canvas have not been deleted. See https://docs.slack.dev/reference/methods/canvases.delete */
131
131
  export declare const deleteCanvase: API.OperationMethod<DeleteCanvaseRequest, DeleteCanvaseResponse, DeleteCanvaseError, SlackOpContext>;
132
132
  export type EditCanvaseError = SlackOpError;
133
- /** Update an existing canvas Required scopes -- bot: `canvases:write`; user: `canvases:write`; seamless_user: `seamless.user` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_not_found` -- The canvas you wish to apply changes to is not available. - `canvas_disabled_user_team` -- Canvas is disabled on user's team - `free_teams_cannot_edit_standalone_canvases` -- Free teams cannot edit standalone canvases - `restricted_action` -- User does not have permission to perform this action. - `canvas_editing_failed` -- The changes to the canvas failed to be applied. - `canvas_editing_locked` -- Another edit to this canvas is currently in progress. Please retry after a short delay. - `canvas_too_large` -- The canvas is too large to apply the requested changes. Reduce the size of the canvas or the edit and try again. See https://docs.slack.dev/reference/methods/canvases.edit */
133
+ /** Update an existing canvas Required scopes -- bot: `canvases:write`; user: `canvases:write`; seamless_user: `seamless.user` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_not_found` -- The canvas you wish to apply changes to is not available. - `canvas_disabled_user_team` -- Canvas is disabled on user's team - `free_teams_cannot_edit_standalone_canvases` -- Free teams cannot edit standalone canvases - `restricted_action` -- User does not have permission to perform this action. - `canvas_editing_failed` -- The changes to the canvas failed to be applied. - `canvas_editing_locked` -- Another edit to this canvas is currently in progress. Please retry after a short delay. - `canvas_too_large` -- The canvas is too large to apply the requested changes. Reduce the size of the canvas or the edit and try again. - `use_skills_api` -- When the Skills API is enabled for the caller, skill canvases must be updated with slackbot.skills.update using a user OAuth token with skills:write. Pass the canvas ID as skill_id. The instructions input replaces the whole document; section edits are not supported. The response contains a skill object. No changes were made. See https://docs.slack.dev/reference/methods/canvases.edit */
134
134
  export declare const editCanvase: API.OperationMethod<EditCanvaseRequest, EditCanvaseResponse, EditCanvaseError, SlackOpContext>;
135
135
  export type GetContentError = SlackOpError;
136
- /** Get the content of a canvas as markdown (default) or HTML. Required scopes -- bot: `canvases:read`; user: `canvases:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_disabled_user_team` -- Canvas is disabled on user's team - `canvas_not_found` -- The canvas does not exist, or is not visible to the calling user. See https://docs.slack.dev/reference/methods/canvases.getContent */
136
+ /** Get the content of a canvas as markdown (default) or HTML. Required scopes -- bot: `canvases:read`; user: `canvases:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_disabled_user_team` -- Canvas is disabled on user's team - `canvas_not_found` -- The canvas does not exist, or is not visible to the calling user. - `internal_error` -- The server could not complete your operation(s) without encountering an error, likely due to a transient issue on our end. It's possible some aspect of the operation succeeded before the error was raised. See https://docs.slack.dev/reference/methods/canvases.getContent */
137
137
  export declare const getContent: API.OperationMethod<GetContentRequest, GetContentResponse, GetContentError, SlackOpContext>;
138
138
  export type LookupSectionError = SlackOpError;
139
139
  /** Find sections matching the provided criteria Required scopes -- bot: `canvases:read`; user: `canvases:read` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `canvas_deleted` -- The canvas you wish to search is not available. - `canvas_disabled_user_team` -- Canvas is disabled on user's team. - `canvas_not_found` -- The canvas you wish to search for is not available. - `internal_error` -- Something went wrong on our end, please try again. See https://docs.slack.dev/reference/methods/canvases.sections.lookup */
@@ -1 +1 @@
1
- {"version":3,"file":"canvases.d.ts","sourceRoot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