loop-client 0.0.1

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 (351) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/README.md +3 -0
  3. package/build/const.d.ts +31 -0
  4. package/build/const.d.ts.map +1 -0
  5. package/build/const.js +40 -0
  6. package/build/const.js.map +1 -0
  7. package/build/errors.d.ts +621 -0
  8. package/build/errors.d.ts.map +1 -0
  9. package/build/errors.js +665 -0
  10. package/build/errors.js.map +1 -0
  11. package/build/index.d.ts +6 -0
  12. package/build/index.d.ts.map +1 -0
  13. package/build/index.js +27 -0
  14. package/build/index.js.map +1 -0
  15. package/build/instrument.d.ts +14 -0
  16. package/build/instrument.d.ts.map +1 -0
  17. package/build/instrument.js +75 -0
  18. package/build/instrument.js.map +1 -0
  19. package/build/logger.d.ts +6 -0
  20. package/build/logger.d.ts.map +1 -0
  21. package/build/logger.js +24 -0
  22. package/build/logger.js.map +1 -0
  23. package/build/methods.d.ts +1101 -0
  24. package/build/methods.d.ts.map +1 -0
  25. package/build/methods.js +2080 -0
  26. package/build/methods.js.map +1 -0
  27. package/build/types/admin.d.ts +56 -0
  28. package/build/types/admin.d.ts.map +1 -0
  29. package/build/types/admin.js +18 -0
  30. package/build/types/admin.js.map +1 -0
  31. package/build/types/apps.d.ts +214 -0
  32. package/build/types/apps.d.ts.map +1 -0
  33. package/build/types/apps.js +81 -0
  34. package/build/types/apps.js.map +1 -0
  35. package/build/types/audits.d.ts +10 -0
  36. package/build/types/audits.d.ts.map +1 -0
  37. package/build/types/audits.js +3 -0
  38. package/build/types/audits.js.map +1 -0
  39. package/build/types/autocomplete.d.ts +13 -0
  40. package/build/types/autocomplete.d.ts.map +1 -0
  41. package/build/types/autocomplete.js +3 -0
  42. package/build/types/autocomplete.js.map +1 -0
  43. package/build/types/boards.d.ts +57 -0
  44. package/build/types/boards.d.ts.map +1 -0
  45. package/build/types/boards.js +28 -0
  46. package/build/types/boards.js.map +1 -0
  47. package/build/types/bots.d.ts +16 -0
  48. package/build/types/bots.d.ts.map +1 -0
  49. package/build/types/bots.js +3 -0
  50. package/build/types/bots.js.map +1 -0
  51. package/build/types/channels.d.ts +279 -0
  52. package/build/types/channels.d.ts.map +1 -0
  53. package/build/types/channels.js +62 -0
  54. package/build/types/channels.js.map +1 -0
  55. package/build/types/cloud.d.ts +155 -0
  56. package/build/types/cloud.d.ts.map +1 -0
  57. package/build/types/cloud.js +12 -0
  58. package/build/types/cloud.js.map +1 -0
  59. package/build/types/common.d.ts +5 -0
  60. package/build/types/common.d.ts.map +1 -0
  61. package/build/types/common.js +3 -0
  62. package/build/types/common.js.map +1 -0
  63. package/build/types/compliance.d.ts +14 -0
  64. package/build/types/compliance.d.ts.map +1 -0
  65. package/build/types/compliance.js +3 -0
  66. package/build/types/compliance.js.map +1 -0
  67. package/build/types/config.d.ts +966 -0
  68. package/build/types/config.d.ts.map +1 -0
  69. package/build/types/config.js +17 -0
  70. package/build/types/config.js.map +1 -0
  71. package/build/types/data-retention.d.ts +31 -0
  72. package/build/types/data-retention.d.ts.map +1 -0
  73. package/build/types/data-retention.js +3 -0
  74. package/build/types/data-retention.js.map +1 -0
  75. package/build/types/dialog.d.ts +63 -0
  76. package/build/types/dialog.d.ts.map +1 -0
  77. package/build/types/dialog.js +26 -0
  78. package/build/types/dialog.js.map +1 -0
  79. package/build/types/drafts.d.ts +15 -0
  80. package/build/types/drafts.d.ts.map +1 -0
  81. package/build/types/drafts.js +3 -0
  82. package/build/types/drafts.js.map +1 -0
  83. package/build/types/emojis.d.ts +52 -0
  84. package/build/types/emojis.d.ts.map +1 -0
  85. package/build/types/emojis.js +19 -0
  86. package/build/types/emojis.js.map +1 -0
  87. package/build/types/files.d.ts +53 -0
  88. package/build/types/files.d.ts.map +1 -0
  89. package/build/types/files.js +3 -0
  90. package/build/types/files.js.map +1 -0
  91. package/build/types/groups.d.ts +143 -0
  92. package/build/types/groups.d.ts.map +1 -0
  93. package/build/types/groups.js +14 -0
  94. package/build/types/groups.js.map +1 -0
  95. package/build/types/index.d.ts +46 -0
  96. package/build/types/index.d.ts.map +1 -0
  97. package/build/types/index.js +62 -0
  98. package/build/types/index.js.map +1 -0
  99. package/build/types/integrations.d.ts +108 -0
  100. package/build/types/integrations.d.ts.map +1 -0
  101. package/build/types/integrations.js +15 -0
  102. package/build/types/integrations.js.map +1 -0
  103. package/build/types/jobs.d.ts +28 -0
  104. package/build/types/jobs.d.ts.map +1 -0
  105. package/build/types/jobs.js +22 -0
  106. package/build/types/jobs.js.map +1 -0
  107. package/build/types/limits.d.ts +5 -0
  108. package/build/types/limits.d.ts.map +1 -0
  109. package/build/types/limits.js +3 -0
  110. package/build/types/limits.js.map +1 -0
  111. package/build/types/marketplace.d.ts +43 -0
  112. package/build/types/marketplace.d.ts.map +1 -0
  113. package/build/types/marketplace.js +21 -0
  114. package/build/types/marketplace.js.map +1 -0
  115. package/build/types/metadata.d.ts +16 -0
  116. package/build/types/metadata.d.ts.map +1 -0
  117. package/build/types/metadata.js +3 -0
  118. package/build/types/metadata.js.map +1 -0
  119. package/build/types/methods/bots.methods.d.ts +77 -0
  120. package/build/types/methods/bots.methods.d.ts.map +1 -0
  121. package/build/types/methods/bots.methods.js +3 -0
  122. package/build/types/methods/bots.methods.js.map +1 -0
  123. package/build/types/methods/brand.methods.d.ts +15 -0
  124. package/build/types/methods/brand.methods.d.ts.map +1 -0
  125. package/build/types/methods/brand.methods.js +3 -0
  126. package/build/types/methods/brand.methods.js.map +1 -0
  127. package/build/types/methods/channels.methods.d.ts +473 -0
  128. package/build/types/methods/channels.methods.d.ts.map +1 -0
  129. package/build/types/methods/channels.methods.js +3 -0
  130. package/build/types/methods/channels.methods.js.map +1 -0
  131. package/build/types/methods/cloud.methods.d.ts +14 -0
  132. package/build/types/methods/cloud.methods.d.ts.map +1 -0
  133. package/build/types/methods/cloud.methods.js +3 -0
  134. package/build/types/methods/cloud.methods.js.map +1 -0
  135. package/build/types/methods/common.methods.d.ts +87 -0
  136. package/build/types/methods/common.methods.d.ts.map +1 -0
  137. package/build/types/methods/common.methods.js +4 -0
  138. package/build/types/methods/common.methods.js.map +1 -0
  139. package/build/types/methods/compliance.methods.d.ts +32 -0
  140. package/build/types/methods/compliance.methods.d.ts.map +1 -0
  141. package/build/types/methods/compliance.methods.js +3 -0
  142. package/build/types/methods/compliance.methods.js.map +1 -0
  143. package/build/types/methods/data-retention.methods.d.ts +67 -0
  144. package/build/types/methods/data-retention.methods.d.ts.map +1 -0
  145. package/build/types/methods/data-retention.methods.js +3 -0
  146. package/build/types/methods/data-retention.methods.js.map +1 -0
  147. package/build/types/methods/emojis.methods.d.ts +32 -0
  148. package/build/types/methods/emojis.methods.d.ts.map +1 -0
  149. package/build/types/methods/emojis.methods.js +3 -0
  150. package/build/types/methods/emojis.methods.js.map +1 -0
  151. package/build/types/methods/files.methods.d.ts +139 -0
  152. package/build/types/methods/files.methods.d.ts.map +1 -0
  153. package/build/types/methods/files.methods.js +3 -0
  154. package/build/types/methods/files.methods.js.map +1 -0
  155. package/build/types/methods/groups.methods.d.ts +113 -0
  156. package/build/types/methods/groups.methods.d.ts.map +1 -0
  157. package/build/types/methods/groups.methods.js +3 -0
  158. package/build/types/methods/groups.methods.js.map +1 -0
  159. package/build/types/methods/index.d.ts +28 -0
  160. package/build/types/methods/index.d.ts.map +1 -0
  161. package/build/types/methods/index.js +44 -0
  162. package/build/types/methods/index.js.map +1 -0
  163. package/build/types/methods/integrations.methods.d.ts +191 -0
  164. package/build/types/methods/integrations.methods.d.ts.map +1 -0
  165. package/build/types/methods/integrations.methods.js +3 -0
  166. package/build/types/methods/integrations.methods.js.map +1 -0
  167. package/build/types/methods/interactive.methods.d.ts +38 -0
  168. package/build/types/methods/interactive.methods.d.ts.map +1 -0
  169. package/build/types/methods/interactive.methods.js +3 -0
  170. package/build/types/methods/interactive.methods.js.map +1 -0
  171. package/build/types/methods/jobs.methods.d.ts +20 -0
  172. package/build/types/methods/jobs.methods.d.ts.map +1 -0
  173. package/build/types/methods/jobs.methods.js +3 -0
  174. package/build/types/methods/jobs.methods.js.map +1 -0
  175. package/build/types/methods/playbook-runs.methods.d.ts +89 -0
  176. package/build/types/methods/playbook-runs.methods.d.ts.map +1 -0
  177. package/build/types/methods/playbook-runs.methods.js +3 -0
  178. package/build/types/methods/playbook-runs.methods.js.map +1 -0
  179. package/build/types/methods/playbooks.methods.d.ts +156 -0
  180. package/build/types/methods/playbooks.methods.d.ts.map +1 -0
  181. package/build/types/methods/playbooks.methods.js +3 -0
  182. package/build/types/methods/playbooks.methods.js.map +1 -0
  183. package/build/types/methods/plugins.methods.d.ts +31 -0
  184. package/build/types/methods/plugins.methods.d.ts.map +1 -0
  185. package/build/types/methods/plugins.methods.js +3 -0
  186. package/build/types/methods/plugins.methods.js.map +1 -0
  187. package/build/types/methods/posts.methods.d.ts +216 -0
  188. package/build/types/methods/posts.methods.d.ts.map +1 -0
  189. package/build/types/methods/posts.methods.js +3 -0
  190. package/build/types/methods/posts.methods.js.map +1 -0
  191. package/build/types/methods/preferences.methods.d.ts +12 -0
  192. package/build/types/methods/preferences.methods.d.ts.map +1 -0
  193. package/build/types/methods/preferences.methods.js +3 -0
  194. package/build/types/methods/preferences.methods.js.map +1 -0
  195. package/build/types/methods/reactions.methods.d.ts +15 -0
  196. package/build/types/methods/reactions.methods.d.ts.map +1 -0
  197. package/build/types/methods/reactions.methods.js +3 -0
  198. package/build/types/methods/reactions.methods.js.map +1 -0
  199. package/build/types/methods/reports.methods.d.ts +4 -0
  200. package/build/types/methods/reports.methods.d.ts.map +1 -0
  201. package/build/types/methods/reports.methods.js +3 -0
  202. package/build/types/methods/reports.methods.js.map +1 -0
  203. package/build/types/methods/roles.methods.d.ts +14 -0
  204. package/build/types/methods/roles.methods.d.ts.map +1 -0
  205. package/build/types/methods/roles.methods.js +3 -0
  206. package/build/types/methods/roles.methods.js.map +1 -0
  207. package/build/types/methods/schemes.methods.d.ts +30 -0
  208. package/build/types/methods/schemes.methods.d.ts.map +1 -0
  209. package/build/types/methods/schemes.methods.js +3 -0
  210. package/build/types/methods/schemes.methods.js.map +1 -0
  211. package/build/types/methods/system.methods.d.ts +107 -0
  212. package/build/types/methods/system.methods.d.ts.map +1 -0
  213. package/build/types/methods/system.methods.js +3 -0
  214. package/build/types/methods/system.methods.js.map +1 -0
  215. package/build/types/methods/teams.methods.d.ts +161 -0
  216. package/build/types/methods/teams.methods.d.ts.map +1 -0
  217. package/build/types/methods/teams.methods.js +3 -0
  218. package/build/types/methods/teams.methods.js.map +1 -0
  219. package/build/types/methods/terms-of-service.methods.d.ts +24 -0
  220. package/build/types/methods/terms-of-service.methods.d.ts.map +1 -0
  221. package/build/types/methods/terms-of-service.methods.js +3 -0
  222. package/build/types/methods/terms-of-service.methods.js.map +1 -0
  223. package/build/types/methods/uploads.methods.d.ts +13 -0
  224. package/build/types/methods/uploads.methods.d.ts.map +1 -0
  225. package/build/types/methods/uploads.methods.js +3 -0
  226. package/build/types/methods/uploads.methods.js.map +1 -0
  227. package/build/types/methods/users.methods.d.ts +257 -0
  228. package/build/types/methods/users.methods.d.ts.map +1 -0
  229. package/build/types/methods/users.methods.js +3 -0
  230. package/build/types/methods/users.methods.js.map +1 -0
  231. package/build/types/mfa.d.ts +5 -0
  232. package/build/types/mfa.d.ts.map +1 -0
  233. package/build/types/mfa.js +3 -0
  234. package/build/types/mfa.js.map +1 -0
  235. package/build/types/playbooks.d.ts +221 -0
  236. package/build/types/playbooks.d.ts.map +1 -0
  237. package/build/types/playbooks.js +3 -0
  238. package/build/types/playbooks.js.map +1 -0
  239. package/build/types/plugins.d.ts +101 -0
  240. package/build/types/plugins.d.ts.map +1 -0
  241. package/build/types/plugins.js +3 -0
  242. package/build/types/plugins.js.map +1 -0
  243. package/build/types/posts.d.ts +290 -0
  244. package/build/types/posts.d.ts.map +1 -0
  245. package/build/types/posts.js +88 -0
  246. package/build/types/posts.js.map +1 -0
  247. package/build/types/preferences.d.ts +7 -0
  248. package/build/types/preferences.d.ts.map +1 -0
  249. package/build/types/preferences.js +3 -0
  250. package/build/types/preferences.js.map +1 -0
  251. package/build/types/product-notices.d.ts +27 -0
  252. package/build/types/product-notices.d.ts.map +1 -0
  253. package/build/types/product-notices.js +8 -0
  254. package/build/types/product-notices.js.map +1 -0
  255. package/build/types/products.d.ts +8 -0
  256. package/build/types/products.d.ts.map +1 -0
  257. package/build/types/products.js +3 -0
  258. package/build/types/products.js.map +1 -0
  259. package/build/types/reactions.d.ts +7 -0
  260. package/build/types/reactions.d.ts.map +1 -0
  261. package/build/types/reactions.js +3 -0
  262. package/build/types/reactions.js.map +1 -0
  263. package/build/types/reports.d.ts +66 -0
  264. package/build/types/reports.d.ts.map +1 -0
  265. package/build/types/reports.js +30 -0
  266. package/build/types/reports.js.map +1 -0
  267. package/build/types/requests.d.ts +61 -0
  268. package/build/types/requests.d.ts.map +1 -0
  269. package/build/types/requests.js +12 -0
  270. package/build/types/requests.js.map +1 -0
  271. package/build/types/responses/common.responses.d.ts +23 -0
  272. package/build/types/responses/common.responses.d.ts.map +1 -0
  273. package/build/types/responses/common.responses.js +3 -0
  274. package/build/types/responses/common.responses.js.map +1 -0
  275. package/build/types/responses/index.d.ts +5 -0
  276. package/build/types/responses/index.d.ts.map +1 -0
  277. package/build/types/responses/index.js +21 -0
  278. package/build/types/responses/index.js.map +1 -0
  279. package/build/types/responses/playbooks.responses.d.ts +19 -0
  280. package/build/types/responses/playbooks.responses.d.ts.map +1 -0
  281. package/build/types/responses/playbooks.responses.js +3 -0
  282. package/build/types/responses/playbooks.responses.js.map +1 -0
  283. package/build/types/responses/posts.responses.d.ts +32 -0
  284. package/build/types/responses/posts.responses.d.ts.map +1 -0
  285. package/build/types/responses/posts.responses.js +8 -0
  286. package/build/types/responses/posts.responses.js.map +1 -0
  287. package/build/types/responses/system.responses.d.ts +87 -0
  288. package/build/types/responses/system.responses.d.ts.map +1 -0
  289. package/build/types/responses/system.responses.js +3 -0
  290. package/build/types/responses/system.responses.js.map +1 -0
  291. package/build/types/roles.d.ts +41 -0
  292. package/build/types/roles.d.ts.map +1 -0
  293. package/build/types/roles.js +33 -0
  294. package/build/types/roles.js.map +1 -0
  295. package/build/types/saml.d.ts +11 -0
  296. package/build/types/saml.d.ts.map +1 -0
  297. package/build/types/saml.js +3 -0
  298. package/build/types/saml.js.map +1 -0
  299. package/build/types/schemes.d.ts +28 -0
  300. package/build/types/schemes.d.ts.map +1 -0
  301. package/build/types/schemes.js +9 -0
  302. package/build/types/schemes.js.map +1 -0
  303. package/build/types/search.d.ts +13 -0
  304. package/build/types/search.d.ts.map +1 -0
  305. package/build/types/search.js +3 -0
  306. package/build/types/search.js.map +1 -0
  307. package/build/types/setup.d.ts +5 -0
  308. package/build/types/setup.d.ts.map +1 -0
  309. package/build/types/setup.js +3 -0
  310. package/build/types/setup.js.map +1 -0
  311. package/build/types/state.d.ts +464 -0
  312. package/build/types/state.d.ts.map +1 -0
  313. package/build/types/state.js +3 -0
  314. package/build/types/state.js.map +1 -0
  315. package/build/types/store.d.ts +65 -0
  316. package/build/types/store.d.ts.map +1 -0
  317. package/build/types/store.js +3 -0
  318. package/build/types/store.js.map +1 -0
  319. package/build/types/teams.d.ts +94 -0
  320. package/build/types/teams.d.ts.map +1 -0
  321. package/build/types/teams.js +9 -0
  322. package/build/types/teams.js.map +1 -0
  323. package/build/types/terms-of-service.d.ts +7 -0
  324. package/build/types/terms-of-service.d.ts.map +1 -0
  325. package/build/types/terms-of-service.js +3 -0
  326. package/build/types/terms-of-service.js.map +1 -0
  327. package/build/types/threads.d.ts +40 -0
  328. package/build/types/threads.d.ts.map +1 -0
  329. package/build/types/threads.js +8 -0
  330. package/build/types/threads.js.map +1 -0
  331. package/build/types/typing.d.ts +6 -0
  332. package/build/types/typing.d.ts.map +1 -0
  333. package/build/types/typing.js +3 -0
  334. package/build/types/typing.js.map +1 -0
  335. package/build/types/users.d.ts +281 -0
  336. package/build/types/users.d.ts.map +1 -0
  337. package/build/types/users.js +42 -0
  338. package/build/types/users.js.map +1 -0
  339. package/build/types/web-client.d.ts +82 -0
  340. package/build/types/web-client.d.ts.map +1 -0
  341. package/build/types/web-client.js +17 -0
  342. package/build/types/web-client.js.map +1 -0
  343. package/build/utils.d.ts +24 -0
  344. package/build/utils.d.ts.map +1 -0
  345. package/build/utils.js +136 -0
  346. package/build/utils.js.map +1 -0
  347. package/build/web-client.d.ts +117 -0
  348. package/build/web-client.d.ts.map +1 -0
  349. package/build/web-client.js +421 -0
  350. package/build/web-client.js.map +1 -0
  351. package/package.json +74 -0
@@ -0,0 +1,66 @@
1
+ import type { UserProfile } from "./users";
2
+ export declare enum UserReportSortColumns {
3
+ username = "Username",
4
+ email = "Email",
5
+ createAt = "CreateAt",
6
+ firstName = "FirstName",
7
+ lastName = "LastName",
8
+ nickname = "Nickname"
9
+ }
10
+ export declare enum ReportSortDirection {
11
+ ascending = "asc",
12
+ descending = "desc"
13
+ }
14
+ export declare enum ReportDuration {
15
+ AllTime = "all_time",
16
+ Last30Days = "last_30_days",
17
+ PreviousMonth = "previous_month",
18
+ Last6Months = "last_6_months"
19
+ }
20
+ export declare enum CursorPaginationDirection {
21
+ prev = "prev",
22
+ next = "next"
23
+ }
24
+ export type UserReportFilter = {
25
+ role_filter?: string;
26
+ has_no_team?: boolean;
27
+ team_filter?: string;
28
+ hide_active?: boolean;
29
+ hide_inactive?: boolean;
30
+ search_term?: string;
31
+ };
32
+ export type UserReportOptions = UserReportFilter & {
33
+ page_size?: number;
34
+ /**
35
+ * The column to sort on. Provide the id of the column. Use the UserReportSortColumns enum.
36
+ */
37
+ sort_column?: UserReportSortColumns;
38
+ /**
39
+ * The sort direction to use. Either "asc" or "desc". Use the ReportSortDirection enum.
40
+ */
41
+ sort_direction?: ReportSortDirection;
42
+ /**
43
+ * The direction to paginate in. Either "up" or "down". Use the CursorPaginationDirection enum.
44
+ */
45
+ direction?: CursorPaginationDirection;
46
+ /**
47
+ * The cursor to paginate from.
48
+ */
49
+ from_column_value?: string;
50
+ /**
51
+ * The id of the user to paginate from.
52
+ */
53
+ from_id?: string;
54
+ /**
55
+ * The duration to filter by. Use the ReportDuration enum.
56
+ */
57
+ date_range?: ReportDuration;
58
+ };
59
+ export type UserReport = UserProfile & {
60
+ last_login_at: number;
61
+ last_status_at?: number;
62
+ last_post_date?: number;
63
+ days_active?: number;
64
+ total_posts?: number;
65
+ };
66
+ //# sourceMappingURL=reports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../../src/types/reports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,oBAAY,qBAAqB;IAChC,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACrB;AAED,oBAAY,mBAAmB;IAC9B,SAAS,QAAQ;IACjB,UAAU,SAAS;CACnB;AAED,oBAAY,cAAc;IACzB,OAAO,aAAa;IACpB,UAAU,iBAAiB;IAC3B,aAAa,mBAAmB;IAChC,WAAW,kBAAkB;CAC7B;AAED,oBAAY,yBAAyB;IACpC,IAAI,SAAS;IACb,IAAI,SAAS;CACb;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,GAAG;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB;;OAEG;IACH,WAAW,CAAC,EAAE,qBAAqB,CAAC;IAEpC;;OAEG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;IAGrC;;OAEG;IACH,SAAS,CAAC,EAAE,yBAAyB,CAAC;IAEtC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CursorPaginationDirection = exports.ReportDuration = exports.ReportSortDirection = exports.UserReportSortColumns = void 0;
4
+ var UserReportSortColumns;
5
+ (function (UserReportSortColumns) {
6
+ UserReportSortColumns["username"] = "Username";
7
+ UserReportSortColumns["email"] = "Email";
8
+ UserReportSortColumns["createAt"] = "CreateAt";
9
+ UserReportSortColumns["firstName"] = "FirstName";
10
+ UserReportSortColumns["lastName"] = "LastName";
11
+ UserReportSortColumns["nickname"] = "Nickname";
12
+ })(UserReportSortColumns || (exports.UserReportSortColumns = UserReportSortColumns = {}));
13
+ var ReportSortDirection;
14
+ (function (ReportSortDirection) {
15
+ ReportSortDirection["ascending"] = "asc";
16
+ ReportSortDirection["descending"] = "desc";
17
+ })(ReportSortDirection || (exports.ReportSortDirection = ReportSortDirection = {}));
18
+ var ReportDuration;
19
+ (function (ReportDuration) {
20
+ ReportDuration["AllTime"] = "all_time";
21
+ ReportDuration["Last30Days"] = "last_30_days";
22
+ ReportDuration["PreviousMonth"] = "previous_month";
23
+ ReportDuration["Last6Months"] = "last_6_months";
24
+ })(ReportDuration || (exports.ReportDuration = ReportDuration = {}));
25
+ var CursorPaginationDirection;
26
+ (function (CursorPaginationDirection) {
27
+ CursorPaginationDirection["prev"] = "prev";
28
+ CursorPaginationDirection["next"] = "next";
29
+ })(CursorPaginationDirection || (exports.CursorPaginationDirection = CursorPaginationDirection = {}));
30
+ //# sourceMappingURL=reports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.js","sourceRoot":"","sources":["../../src/types/reports.ts"],"names":[],"mappings":";;;AAEA,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAChC,8CAAqB,CAAA;IACrB,wCAAe,CAAA;IACf,8CAAqB,CAAA;IACrB,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EAPW,qBAAqB,qCAArB,qBAAqB,QAOhC;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;AACpB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,sCAAoB,CAAA;IACpB,6CAA2B,CAAA;IAC3B,kDAAgC,CAAA;IAChC,+CAA6B,CAAA;AAC9B,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,0CAAa,CAAA;IACb,0CAAa,CAAA;AACd,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC"}
@@ -0,0 +1,61 @@
1
+ export declare enum RequestStatusOption {
2
+ NOT_STARTED = "not_started",
3
+ STARTED = "started",
4
+ SUCCESS = "success",
5
+ FAILURE = "failure",
6
+ CANCELLED = "cancelled"
7
+ }
8
+ export type RequestStatusType = {
9
+ status: RequestStatusOption;
10
+ error: null | Record<string, unknown>;
11
+ };
12
+ export type ChannelsRequestsStatuses = {
13
+ getChannels: RequestStatusType;
14
+ getAllChannels: RequestStatusType;
15
+ myChannels: RequestStatusType;
16
+ createChannel: RequestStatusType;
17
+ };
18
+ export type GeneralRequestsStatuses = {
19
+ websocket: RequestStatusType;
20
+ };
21
+ export type PostsRequestsStatuses = {
22
+ createPost: RequestStatusType;
23
+ editPost: RequestStatusType;
24
+ getPostThread: RequestStatusType;
25
+ };
26
+ export type ThreadsRequestStatuses = {
27
+ getThreads: RequestStatusType;
28
+ };
29
+ export type TeamsRequestsStatuses = {
30
+ getMyTeams: RequestStatusType;
31
+ getTeams: RequestStatusType;
32
+ };
33
+ export type UsersRequestsStatuses = {
34
+ login: RequestStatusType;
35
+ logout: RequestStatusType;
36
+ autocompleteUsers: RequestStatusType;
37
+ updateMe: RequestStatusType;
38
+ };
39
+ export type AdminRequestsStatuses = {
40
+ createCompliance: RequestStatusType;
41
+ };
42
+ export type EmojisRequestsStatuses = {
43
+ createCustomEmoji: RequestStatusType;
44
+ getCustomEmojis: RequestStatusType;
45
+ deleteCustomEmoji: RequestStatusType;
46
+ getCustomEmoji: RequestStatusType;
47
+ };
48
+ export type FilesRequestsStatuses = {
49
+ uploadFiles: RequestStatusType;
50
+ };
51
+ export type RolesRequestsStatuses = {
52
+ getRolesByNames: RequestStatusType;
53
+ getRoleByName: RequestStatusType;
54
+ getRole: RequestStatusType;
55
+ editRole: RequestStatusType;
56
+ };
57
+ export type SearchRequestsStatuses = {
58
+ flaggedPosts: RequestStatusType;
59
+ pinnedPosts: RequestStatusType;
60
+ };
61
+ //# sourceMappingURL=requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../../src/types/requests.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC9B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;CACvB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACtC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,cAAc,EAAE,iBAAiB,CAAC;IAClC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,aAAa,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACrC,SAAS,EAAE,iBAAiB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,aAAa,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,UAAU,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,QAAQ,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE,iBAAiB,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,gBAAgB,EAAE,iBAAiB,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,eAAe,EAAE,iBAAiB,CAAC;IACnC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,iBAAiB,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,WAAW,EAAE,iBAAiB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,eAAe,EAAE,iBAAiB,CAAC;IACnC,aAAa,EAAE,iBAAiB,CAAC;IACjC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,QAAQ,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,iBAAiB,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RequestStatusOption = void 0;
4
+ var RequestStatusOption;
5
+ (function (RequestStatusOption) {
6
+ RequestStatusOption["NOT_STARTED"] = "not_started";
7
+ RequestStatusOption["STARTED"] = "started";
8
+ RequestStatusOption["SUCCESS"] = "success";
9
+ RequestStatusOption["FAILURE"] = "failure";
10
+ RequestStatusOption["CANCELLED"] = "cancelled";
11
+ })(RequestStatusOption || (exports.RequestStatusOption = RequestStatusOption = {}));
12
+ //# sourceMappingURL=requests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"requests.js","sourceRoot":"","sources":["../../src/types/requests.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;AACxB,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -0,0 +1,23 @@
1
+ export interface StatusOKResponse {
2
+ status: "OK";
3
+ }
4
+ export interface PaginatedListResponse<T> {
5
+ /**
6
+ * @description The total number of playbooks in the list, regardless of the paging.
7
+ */
8
+ total_count: number;
9
+ /**
10
+ * @description The total number of pages.
11
+ * This depends on the total number of playbooks in the database and the per_page parameter sent with the request.
12
+ */
13
+ page_count: number;
14
+ /**
15
+ * @description A boolean describing whether there are more pages after the currently returned.
16
+ */
17
+ has_more: boolean;
18
+ /**
19
+ * @description Items in this page
20
+ */
21
+ items: T[];
22
+ }
23
+ //# sourceMappingURL=common.responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.responses.d.ts","sourceRoot":"","sources":["../../../src/types/responses/common.responses.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAChC,MAAM,EAAE,IAAI,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,CAAC,EAAE,CAAC;CACX"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.responses.js","sourceRoot":"","sources":["../../../src/types/responses/common.responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./common.responses";
2
+ export * from "./playbooks.responses";
3
+ export * from "./posts.responses";
4
+ export * from "./system.responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/responses/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./common.responses"), exports);
18
+ __exportStar(require("./playbooks.responses"), exports);
19
+ __exportStar(require("./posts.responses"), exports);
20
+ __exportStar(require("./system.responses"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,oDAAkC;AAClC,qDAAmC"}
@@ -0,0 +1,19 @@
1
+ import type { Playbook, PlaybookRun } from "../playbooks";
2
+ import type { PaginatedListResponse } from "./common.responses";
3
+ export interface PlaybooksGetResponse extends Playbook {
4
+ }
5
+ export interface PlaybooksCreateResponse extends Playbook {
6
+ }
7
+ export interface PlaybooksUpdateResponse extends Playbook {
8
+ }
9
+ export interface PlaybookRunsGetResponse extends PlaybookRun {
10
+ }
11
+ export interface PlaybookRunsCreateResponse extends PlaybookRun {
12
+ }
13
+ export interface PlaybookRunsUpdateResponse extends PlaybookRun {
14
+ }
15
+ export interface PlaybooksListResponse extends PaginatedListResponse<Playbook> {
16
+ }
17
+ export interface PlaybooksRunsListResponse extends PaginatedListResponse<PlaybookRun> {
18
+ }
19
+ //# sourceMappingURL=playbooks.responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbooks.responses.d.ts","sourceRoot":"","sources":["../../../src/types/responses/playbooks.responses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,MAAM,WAAW,oBAAqB,SAAQ,QAAQ;CAAG;AACzD,MAAM,WAAW,uBAAwB,SAAQ,QAAQ;CAAG;AAC5D,MAAM,WAAW,uBAAwB,SAAQ,QAAQ;CAAG;AAE5D,MAAM,WAAW,uBAAwB,SAAQ,WAAW;CAAG;AAC/D,MAAM,WAAW,0BAA2B,SAAQ,WAAW;CAAG;AAClE,MAAM,WAAW,0BAA2B,SAAQ,WAAW;CAAG;AAElE,MAAM,WAAW,qBAChB,SAAQ,qBAAqB,CAAC,QAAQ,CAAC;CAAG;AAE3C,MAAM,WAAW,yBAChB,SAAQ,qBAAqB,CAAC,WAAW,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=playbooks.responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbooks.responses.js","sourceRoot":"","sources":["../../../src/types/responses/playbooks.responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * ===============================================
3
+ * @description Posts responses
4
+ * ===============================================
5
+ */
6
+ import type { Post } from "../posts";
7
+ export interface PostListResponse {
8
+ order: string[];
9
+ posts: {
10
+ [postId: string]: Post;
11
+ };
12
+ next_post_id: string;
13
+ prev_post_id: string;
14
+ first_inaccessible_post_time: number;
15
+ }
16
+ export interface PaginatedPostListResponse extends PostListResponse {
17
+ has_next: boolean;
18
+ }
19
+ export interface PostSearchResponse extends PostListResponse {
20
+ matches: {
21
+ [postId: string]: string[];
22
+ };
23
+ }
24
+ export interface PostsUsageResponse {
25
+ count: number;
26
+ }
27
+ export interface PostNotificationResponse {
28
+ status: "error" | "not_sent" | "unsupported" | "success";
29
+ reason?: string;
30
+ data?: string;
31
+ }
32
+ //# sourceMappingURL=posts.responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posts.responses.d.ts","sourceRoot":"","sources":["../../../src/types/responses/posts.responses.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,WAAW,gBAAgB;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE;QACN,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B,EAAE,MAAM,CAAC;CACrC;AAED,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IAClE,QAAQ,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC3D,OAAO,EAAE;QAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;CACxC;AAED,MAAM,WAAW,kBAAkB;IAClC,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACxC,MAAM,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * ===============================================
4
+ * @description Posts responses
5
+ * ===============================================
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=posts.responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posts.responses.js","sourceRoot":"","sources":["../../../src/types/responses/posts.responses.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -0,0 +1,87 @@
1
+ export interface SystemCheckHealthResponse {
2
+ /**
3
+ * @description Latest Android version supported
4
+ */
5
+ AndroidLatestVersion: string;
6
+ /**
7
+ * @description Minimum Android version supported
8
+ */
9
+ AndroidMinVersion: string;
10
+ /**
11
+ * @description Latest desktop version supported
12
+ */
13
+ DesktopLatestVersion: string;
14
+ /**
15
+ * @description Minimum desktop version supported
16
+ */
17
+ DesktopMinVersion: string;
18
+ /**
19
+ * @description Latest iOS version supported
20
+ */
21
+ IosLatestVersion: string;
22
+ /**
23
+ * @description Minimum iOS version supported
24
+ */
25
+ IosMinVersion: string;
26
+ /**
27
+ * @description Status of database ("OK" or "UNHEALTHY").
28
+ * Included when get_server_status parameter set.
29
+ */
30
+ database_status?: "OK" | "UNHEALTHY";
31
+ /**
32
+ * @description Status of filestore ("OK" or "UNHEALTHY").
33
+ * Included when get_server_status parameter set.
34
+ */
35
+ filestore_status?: "OK" | "UNHEALTHY";
36
+ /**
37
+ * @description Status of server ("OK" or "UNHEALTHY").
38
+ * Included when get_server_status parameter set.
39
+ */
40
+ status?: "OK" | "UNHEALTHY";
41
+ /**
42
+ * @description Whether the device id provided can receive notifications ("true", "false" or "unknown").
43
+ * Included when device_id parameter set.
44
+ */
45
+ CanReceiveNotifications?: string;
46
+ }
47
+ export interface SystemCheckDatabaseIntegrityResponse {
48
+ /**
49
+ * @description an object containing the results of a relational integrity check.
50
+ */
51
+ data: {
52
+ /**
53
+ * @description the name of the parent relation (table).
54
+ */
55
+ parent_name: string;
56
+ /**
57
+ * @description the name of the child relation (table).
58
+ */
59
+ child_name: string;
60
+ /**
61
+ * @description the name of the attribute (column) containing the parent id.
62
+ */
63
+ parent_id_attr: string;
64
+ /**
65
+ * @description the name of the attribute (column) containing the child id.
66
+ */
67
+ child_id_attr: string;
68
+ /**
69
+ * @description the list of orphaned records found.
70
+ */
71
+ records: {
72
+ /**
73
+ * @description the id of the parent relation (table) entry.
74
+ */
75
+ parent_id: string;
76
+ /**
77
+ * @description the id of the child relation (table) entry.
78
+ */
79
+ child_id: string;
80
+ }[];
81
+ };
82
+ /**
83
+ * @description a string value set in case of error.
84
+ */
85
+ err: string;
86
+ }
87
+ //# sourceMappingURL=system.responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.responses.d.ts","sourceRoot":"","sources":["../../../src/types/responses/system.responses.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACzC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC;IAErC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC;IAEtC;;;OAGG;IACH,MAAM,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC;IAE5B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,oCAAoC;IACpD;;OAEG;IACH,IAAI,EAAE;QACL;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,OAAO,EAAE;YACR;;eAEG;YACH,SAAS,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,QAAQ,EAAE,MAAM,CAAC;SACjB,EAAE,CAAC;KACJ,CAAC;IAEF;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=system.responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.responses.js","sourceRoot":"","sources":["../../../src/types/responses/system.responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ export declare enum RolePermission {
2
+ EDIT_BOOKMARK_PUBLIC_CHANNEL = "edit_bookmark_public_channel",
3
+ REMOVE_REACTION = "remove_reaction",
4
+ DELETE_PUBLIC_CHANNEL = "delete_public_channel",
5
+ CREATE_POST = "create_post",
6
+ MANAGE_PRIVATE_CHANNEL_PROPERTIES = "manage_private_channel_properties",
7
+ ORDER_BOOKMARK_PRIVATE_CHANNEL = "order_bookmark_private_channel",
8
+ USE_CHANNEL_MENTIONS = "use_channel_mentions",
9
+ DELETE_BOOKMARK_PUBLIC_CHANNEL = "delete_bookmark_public_channel",
10
+ GET_PUBLIC_LINK = "get_public_link",
11
+ EDIT_POST = "edit_post",
12
+ MANAGE_PUBLIC_CHANNEL_PROPERITES = "manage_public_channel_properties",
13
+ EDIT_BOOKMARK_PRIVATE_CHANNEL = "edit_bookmark_private_channel",
14
+ UPLOAD_FILE = "upload_file",
15
+ ADD_REACTION = "add_reaction",
16
+ MANAGE_PUBLIC_CHANNEL_MEMBERS = "manage_public_channel_members",
17
+ DELETE_BOOKMARK_PRIVATE_CHANNEL = "delete_bookmark_private_channel",
18
+ ADD_BOOKMARK_PRIVATE_CHANNEL = "add_bookmark_private_channel",
19
+ READ_PRIVATE_CHANNEL_GROUPS = "read_private_channel_groups",
20
+ MANAGE_PRIVATE_CHANNEL_MEMBERS = "manage_private_channel_members",
21
+ ORDER_BOOKMARK_PUBLIC_CHANNEL = "order_bookmark_public_channel",
22
+ READ_CHANNEL_CONTENT = "read_channel_content",
23
+ READ_PUBLIC_CHANNEL_GROUPS = "read_public_channel_groups",
24
+ READ_CHANNEL = "read_channel",
25
+ DELETE_POST = "delete_post",
26
+ USE_GROUP_MENTIONS = "use_group_mentions",
27
+ DELETE_PRIVATE_CHANNEL = "delete_private_channel"
28
+ }
29
+ export type Role = {
30
+ id: string;
31
+ name: string;
32
+ display_name: string;
33
+ description: string;
34
+ create_at: number;
35
+ update_at: number;
36
+ delete_at: number;
37
+ permissions: (RolePermission | string)[];
38
+ scheme_managed: boolean;
39
+ built_in: boolean;
40
+ };
41
+ //# sourceMappingURL=roles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../src/types/roles.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACzB,4BAA4B,iCAAiC;IAC7D,eAAe,oBAAoB;IACnC,qBAAqB,0BAA0B;IAC/C,WAAW,gBAAgB;IAC3B,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,oBAAoB,yBAAyB;IAC7C,8BAA8B,mCAAmC;IACjE,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,6BAA6B,kCAAkC;IAC/D,+BAA+B,oCAAoC;IACnE,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,oBAAoB,yBAAyB;IAC7C,0BAA0B,+BAA+B;IACzD,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;CACjD;AAED,MAAM,MAAM,IAAI,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,CAAC,cAAc,GAAG,MAAM,CAAC,EAAE,CAAC;IACzC,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CAClB,CAAC"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RolePermission = void 0;
4
+ var RolePermission;
5
+ (function (RolePermission) {
6
+ RolePermission["EDIT_BOOKMARK_PUBLIC_CHANNEL"] = "edit_bookmark_public_channel";
7
+ RolePermission["REMOVE_REACTION"] = "remove_reaction";
8
+ RolePermission["DELETE_PUBLIC_CHANNEL"] = "delete_public_channel";
9
+ RolePermission["CREATE_POST"] = "create_post";
10
+ RolePermission["MANAGE_PRIVATE_CHANNEL_PROPERTIES"] = "manage_private_channel_properties";
11
+ RolePermission["ORDER_BOOKMARK_PRIVATE_CHANNEL"] = "order_bookmark_private_channel";
12
+ RolePermission["USE_CHANNEL_MENTIONS"] = "use_channel_mentions";
13
+ RolePermission["DELETE_BOOKMARK_PUBLIC_CHANNEL"] = "delete_bookmark_public_channel";
14
+ RolePermission["GET_PUBLIC_LINK"] = "get_public_link";
15
+ RolePermission["EDIT_POST"] = "edit_post";
16
+ RolePermission["MANAGE_PUBLIC_CHANNEL_PROPERITES"] = "manage_public_channel_properties";
17
+ RolePermission["EDIT_BOOKMARK_PRIVATE_CHANNEL"] = "edit_bookmark_private_channel";
18
+ RolePermission["UPLOAD_FILE"] = "upload_file";
19
+ RolePermission["ADD_REACTION"] = "add_reaction";
20
+ RolePermission["MANAGE_PUBLIC_CHANNEL_MEMBERS"] = "manage_public_channel_members";
21
+ RolePermission["DELETE_BOOKMARK_PRIVATE_CHANNEL"] = "delete_bookmark_private_channel";
22
+ RolePermission["ADD_BOOKMARK_PRIVATE_CHANNEL"] = "add_bookmark_private_channel";
23
+ RolePermission["READ_PRIVATE_CHANNEL_GROUPS"] = "read_private_channel_groups";
24
+ RolePermission["MANAGE_PRIVATE_CHANNEL_MEMBERS"] = "manage_private_channel_members";
25
+ RolePermission["ORDER_BOOKMARK_PUBLIC_CHANNEL"] = "order_bookmark_public_channel";
26
+ RolePermission["READ_CHANNEL_CONTENT"] = "read_channel_content";
27
+ RolePermission["READ_PUBLIC_CHANNEL_GROUPS"] = "read_public_channel_groups";
28
+ RolePermission["READ_CHANNEL"] = "read_channel";
29
+ RolePermission["DELETE_POST"] = "delete_post";
30
+ RolePermission["USE_GROUP_MENTIONS"] = "use_group_mentions";
31
+ RolePermission["DELETE_PRIVATE_CHANNEL"] = "delete_private_channel";
32
+ })(RolePermission || (exports.RolePermission = RolePermission = {}));
33
+ //# sourceMappingURL=roles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roles.js","sourceRoot":"","sources":["../../src/types/roles.ts"],"names":[],"mappings":";;;AAAA,IAAY,cA2BX;AA3BD,WAAY,cAAc;IACzB,+EAA6D,CAAA;IAC7D,qDAAmC,CAAA;IACnC,iEAA+C,CAAA;IAC/C,6CAA2B,CAAA;IAC3B,yFAAuE,CAAA;IACvE,mFAAiE,CAAA;IACjE,+DAA6C,CAAA;IAC7C,mFAAiE,CAAA;IACjE,qDAAmC,CAAA;IACnC,yCAAuB,CAAA;IACvB,uFAAqE,CAAA;IACrE,iFAA+D,CAAA;IAC/D,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,iFAA+D,CAAA;IAC/D,qFAAmE,CAAA;IACnE,+EAA6D,CAAA;IAC7D,6EAA2D,CAAA;IAC3D,mFAAiE,CAAA;IACjE,iFAA+D,CAAA;IAC/D,+DAA6C,CAAA;IAC7C,2EAAyD,CAAA;IACzD,+CAA6B,CAAA;IAC7B,6CAA2B,CAAA;IAC3B,2DAAyC,CAAA;IACzC,mEAAiD,CAAA;AAClD,CAAC,EA3BW,cAAc,8BAAd,cAAc,QA2BzB"}
@@ -0,0 +1,11 @@
1
+ export type SamlCertificateStatus = {
2
+ idp_certificate_file: string;
3
+ private_key_file: string;
4
+ public_certificate_file: string;
5
+ };
6
+ export type SamlMetadataResponse = {
7
+ idp_descriptor_url: string;
8
+ idp_url: string;
9
+ idp_public_certificate: string;
10
+ };
11
+ //# sourceMappingURL=saml.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../src/types/saml.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IACnC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,uBAAuB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,MAAM,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=saml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saml.js","sourceRoot":"","sources":["../../src/types/saml.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ export declare enum SchemeScope {
2
+ TEAM = "team",
3
+ CHANNEL = "channel"
4
+ }
5
+ export type Scheme = {
6
+ id: string;
7
+ name: string;
8
+ description: string;
9
+ display_name: string;
10
+ create_at: number;
11
+ update_at: number;
12
+ delete_at: number;
13
+ scope: SchemeScope;
14
+ default_team_admin_role: string;
15
+ default_team_user_role: string;
16
+ default_team_guest_role: string;
17
+ default_channel_admin_role: string;
18
+ default_channel_user_role: string;
19
+ default_channel_guest_role: string;
20
+ default_playbook_admin_role: string;
21
+ default_playbook_member_role: string;
22
+ default_run_member_role: string;
23
+ };
24
+ export type SchemePatch = {
25
+ name?: string;
26
+ description?: string;
27
+ };
28
+ //# sourceMappingURL=schemes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemes.d.ts","sourceRoot":"","sources":["../../src/types/schemes.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACtB,IAAI,SAAS;IACb,OAAO,YAAY;CACnB;AAED,MAAM,MAAM,MAAM,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;IACnB,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,0BAA0B,EAAE,MAAM,CAAC;IACnC,yBAAyB,EAAE,MAAM,CAAC;IAClC,0BAA0B,EAAE,MAAM,CAAC;IACnC,2BAA2B,EAAE,MAAM,CAAC;IACpC,4BAA4B,EAAE,MAAM,CAAC;IACrC,uBAAuB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SchemeScope = void 0;
4
+ var SchemeScope;
5
+ (function (SchemeScope) {
6
+ SchemeScope["TEAM"] = "team";
7
+ SchemeScope["CHANNEL"] = "channel";
8
+ })(SchemeScope || (exports.SchemeScope = SchemeScope = {}));
9
+ //# sourceMappingURL=schemes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemes.js","sourceRoot":"","sources":["../../src/types/schemes.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,kCAAmB,CAAA;AACpB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
@@ -0,0 +1,13 @@
1
+ export type Search = {
2
+ terms: string;
3
+ isOrSearch: boolean;
4
+ };
5
+ export type SearchParameter = {
6
+ terms: string;
7
+ is_or_search: boolean;
8
+ time_zone_offset?: number;
9
+ page: number;
10
+ per_page: number;
11
+ include_deleted_channels: boolean;
12
+ };
13
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/types/search.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,wBAAwB,EAAE,OAAO,CAAC;CAClC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=search.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/types/search.ts"],"names":[],"mappings":""}