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,5 @@
1
+ export type CompleteOnboardingRequest = {
2
+ organization: string;
3
+ install_plugins: string[];
4
+ };
5
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/types/setup.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/types/setup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,464 @@
1
+ import type { AnalyticsRow, ClusterInfo, LogObject } from "./admin";
2
+ import type { AppCallRequest, AppForm, BindingsInfo } from "./apps";
3
+ import type { Audit } from "./audits";
4
+ import type { Channel, ChannelBookmark, ChannelCategory, ChannelMemberCountByGroup, ChannelMembership, ChannelMessageCount, ChannelModeration, ChannelStats } from "./channels";
5
+ import type { CloudCustomer, CloudInvoice, CloudLimits, CloudProduct, CloudSubscription } from "./cloud";
6
+ import type { ComplianceReport } from "./compliance";
7
+ import type { AdminConfig, ClientConfig, ClientLicense, EnvironmentConfig } from "./config";
8
+ import type { DataRetentionCustomPolicies } from "./data-retention";
9
+ import type { Dialog } from "./dialog";
10
+ import type { CustomEmoji } from "./emojis";
11
+ import type { FileInfo, FileSearchResultItem } from "./files";
12
+ import type { Group, GroupChannel, GroupStats, GroupTeam, MixedUnlinkedGroupRedux } from "./groups";
13
+ import type { Command, IncomingWebhook, OAuthApp, OutgoingOAuthConnection, OutgoingWebhook } from "./integrations";
14
+ import type { Job, JobType } from "./jobs";
15
+ import type { ServerLimits } from "./limits";
16
+ import type { OpenGraphMetadata } from "./metadata";
17
+ import type { PluginRedux, PluginStatusRedux } from "./plugins";
18
+ import type { MessageHistory, Post, PostOrderBlock } from "./posts";
19
+ import type { Reaction } from "./reactions";
20
+ import type { SamlCertificateStatus, SamlMetadataResponse } from "./saml";
21
+ import type { Scheme } from "./schemes";
22
+ import type { Team, TeamMembership, TeamStats } from "./teams";
23
+ import type { UserThread } from "./threads";
24
+ import type { UserAccessToken, UserProfile, UserSession, UsersStats } from "./users";
25
+ /**
26
+ * =======================================
27
+ * @description General State Types
28
+ * =======================================
29
+ */
30
+ export interface GeneralState {
31
+ config: Partial<ClientConfig>;
32
+ firstAdminVisitMarketplaceStatus: boolean;
33
+ firstAdminCompleteSetup: boolean;
34
+ license: ClientLicense;
35
+ serverVersion: string;
36
+ }
37
+ /**
38
+ * =======================================
39
+ * @description Admin State Type
40
+ * =======================================
41
+ */
42
+ export interface AdminState {
43
+ logs: LogObject[];
44
+ plainLogs: string[];
45
+ audits: Record<string, Audit>;
46
+ config: Partial<AdminConfig>;
47
+ environmentConfig: Partial<EnvironmentConfig>;
48
+ complianceReports: Record<string, ComplianceReport>;
49
+ ldapGroups: Record<string, MixedUnlinkedGroupRedux>;
50
+ ldapGroupsCount: number;
51
+ userAccessTokens: Record<string, UserAccessToken>;
52
+ clusterInfo: ClusterInfo[];
53
+ samlCertStatus?: SamlCertificateStatus;
54
+ analytics: AnalyticsState;
55
+ teamAnalytics: {
56
+ [teamId: string]: AnalyticsState;
57
+ };
58
+ userAccessTokensByUser?: {
59
+ [userId: string]: Record<string, UserAccessToken>;
60
+ };
61
+ plugins?: Record<string, PluginRedux>;
62
+ pluginStatuses?: Record<string, PluginStatusRedux>;
63
+ samlMetadataResponse?: SamlMetadataResponse;
64
+ dataRetentionCustomPolicies: DataRetentionCustomPolicies;
65
+ dataRetentionCustomPoliciesCount: number;
66
+ prevTrialLicense: ClientLicense;
67
+ }
68
+ /**
69
+ * =======================================
70
+ * @description Analytics State Types
71
+ * =======================================
72
+ */
73
+ export interface AnalyticsState {
74
+ POST_PER_DAY?: AnalyticsRow[];
75
+ BOT_POST_PER_DAY?: AnalyticsRow[];
76
+ USERS_WITH_POSTS_PER_DAY?: AnalyticsRow[];
77
+ TOTAL_PUBLIC_CHANNELS?: number;
78
+ TOTAL_PRIVATE_GROUPS?: number;
79
+ TOTAL_POSTS?: number;
80
+ TOTAL_USERS?: number;
81
+ TOTAL_INACTIVE_USERS?: number;
82
+ TOTAL_TEAMS?: number;
83
+ TOTAL_WEBSOCKET_CONNECTIONS?: number;
84
+ TOTAL_MASTER_DB_CONNECTIONS?: number;
85
+ TOTAL_READ_DB_CONNECTIONS?: number;
86
+ DAILY_ACTIVE_USERS?: number;
87
+ MONTHLY_ACTIVE_USERS?: number;
88
+ TOTAL_FILE_POSTS?: number;
89
+ TOTAL_HASHTAG_POSTS?: number;
90
+ TOTAL_IHOOKS?: number;
91
+ TOTAL_OHOOKS?: number;
92
+ TOTAL_COMMANDS?: number;
93
+ TOTAL_SESSIONS?: number;
94
+ REGISTERED_USERS?: number;
95
+ }
96
+ /**
97
+ * =======================================
98
+ * @description App State Types
99
+ * =======================================
100
+ */
101
+ export interface AppModalState {
102
+ form: AppForm;
103
+ call: AppCallRequest;
104
+ }
105
+ export interface AppsState {
106
+ main: BindingsInfo;
107
+ rhs: BindingsInfo;
108
+ pluginEnabled: boolean;
109
+ }
110
+ /**
111
+ * =======================================
112
+ * @description Channels State Types
113
+ * =======================================
114
+ */
115
+ export interface ChannelBookmarksState {
116
+ byChannelId: {
117
+ [channelId: string]: {
118
+ [bookmarkId: string]: ChannelBookmark;
119
+ };
120
+ };
121
+ }
122
+ export interface ChannelCategoriesState {
123
+ byId: {
124
+ [channelCategoryId: string]: ChannelCategory;
125
+ };
126
+ orderByTeam: {
127
+ [teamId: string]: string[];
128
+ };
129
+ }
130
+ export interface ChannelsState {
131
+ currentChannelId: string;
132
+ channels: {
133
+ [channelId: string]: Channel;
134
+ };
135
+ channelsInTeam: {
136
+ [teamId: string]: Set<string>; /** channel id set */
137
+ };
138
+ myMembers: {
139
+ [channelId: string]: ChannelMembership;
140
+ };
141
+ roles: {
142
+ [channelId: string]: Set<string>; /** roles set */
143
+ };
144
+ membersInChannel: {
145
+ [channelId: string]: Record<string, ChannelMembership>;
146
+ };
147
+ stats: {
148
+ [channelId: string]: ChannelStats;
149
+ };
150
+ groupsAssociatedToChannel: unknown;
151
+ totalCount: number;
152
+ manuallyUnread: {
153
+ [channelId: string]: boolean;
154
+ };
155
+ channelModerations: {
156
+ [channelId: string]: ChannelModeration[];
157
+ };
158
+ channelMemberCountsByGroup: {
159
+ [channelId: string]: ChannelMemberCountByGroup;
160
+ };
161
+ messageCounts: {
162
+ [channelId: string]: ChannelMessageCount;
163
+ };
164
+ channelsMemberCount: Record<string, number>;
165
+ }
166
+ /**
167
+ * =======================================
168
+ * @description Cloud State Types
169
+ * =======================================
170
+ */
171
+ export interface CloudState {
172
+ subscription?: CloudSubscription;
173
+ products?: Record<string, CloudProduct>;
174
+ customer?: CloudCustomer;
175
+ invoices?: Record<string, CloudInvoice>;
176
+ limits: {
177
+ limitsLoaded: boolean;
178
+ limits: CloudLimits;
179
+ };
180
+ errors: {
181
+ subscription?: true;
182
+ products?: true;
183
+ customer?: true;
184
+ invoices?: true;
185
+ limits?: true;
186
+ trueUpReview?: true;
187
+ };
188
+ }
189
+ /**
190
+ * =======================================
191
+ * @description Emojis State Types
192
+ * =======================================
193
+ */
194
+ export interface EmojisState {
195
+ customEmoji: {
196
+ [emojiId: string]: CustomEmoji;
197
+ };
198
+ nonExistentEmoji: Set<string>;
199
+ }
200
+ /**
201
+ * =======================================
202
+ * @description Groups State Types
203
+ * =======================================
204
+ */
205
+ export interface GroupSyncablesState {
206
+ teams: GroupTeam[];
207
+ channels: GroupChannel[];
208
+ }
209
+ export interface GroupsState {
210
+ syncables: Record<string, GroupSyncablesState>;
211
+ stats: {
212
+ [groupId: string]: GroupStats;
213
+ };
214
+ groups: Record<string, Group>;
215
+ myGroups: string[];
216
+ }
217
+ /**
218
+ * =======================================
219
+ * @description Files State Types
220
+ * =======================================
221
+ */
222
+ export interface FilesState {
223
+ files: Record<string, FileInfo>;
224
+ filesFromSearch: Record<string, FileSearchResultItem>;
225
+ fileIdsByPostId: Record<string, string[]>;
226
+ filePublicLink?: {
227
+ link: string;
228
+ };
229
+ }
230
+ /**
231
+ * =======================================
232
+ * @description Hosted Customer State Types
233
+ * =======================================
234
+ */
235
+ export interface HostedCustomerState {
236
+ products: {
237
+ products: Record<string, CloudProduct>;
238
+ productsLoaded: boolean;
239
+ };
240
+ }
241
+ /**
242
+ * =======================================
243
+ * @description Integrations State Types
244
+ * =======================================
245
+ */
246
+ export interface IntegrationsState {
247
+ incomingHooks: {
248
+ [webhookId: string]: IncomingWebhook;
249
+ };
250
+ outgoingHooks: {
251
+ [webhookId: string]: OutgoingWebhook;
252
+ };
253
+ oauthApps: {
254
+ [appId: string]: OAuthApp;
255
+ };
256
+ outgoingOAuthConnections: {
257
+ [connetionId: string]: OutgoingOAuthConnection;
258
+ };
259
+ appsOAuthAppIDs: string[];
260
+ appsBotIDs: string[];
261
+ systemCommands: {
262
+ [commandId: string]: Command;
263
+ };
264
+ commands: {
265
+ [commandId: string]: Command;
266
+ };
267
+ dialog?: {
268
+ url: string;
269
+ dialog: Dialog;
270
+ };
271
+ }
272
+ /**
273
+ * =======================================
274
+ * @description Jobs State Types
275
+ * =======================================
276
+ */
277
+ export interface JobsState {
278
+ jobs: {
279
+ [jobId: string]: Job;
280
+ };
281
+ jobsByTypeList: {
282
+ [type in JobType]?: Job[];
283
+ };
284
+ }
285
+ /**
286
+ * =======================================
287
+ * @description Limits State Types
288
+ * =======================================
289
+ */
290
+ export interface LimitsState {
291
+ serverLimits: ServerLimits;
292
+ }
293
+ /**
294
+ * =======================================
295
+ * @description Posts State Types
296
+ * =======================================
297
+ */
298
+ export interface PostsState {
299
+ posts: {
300
+ [postId: string]: Post;
301
+ };
302
+ postsReplies: {
303
+ [postId: string]: number;
304
+ };
305
+ postsInChannel: Record<string, PostOrderBlock[]>;
306
+ postsInThread: {
307
+ [postId: string]: Post["id"][];
308
+ };
309
+ reactions: {
310
+ [postId: string]: {
311
+ [reactionId: string]: Reaction;
312
+ };
313
+ };
314
+ openGraph: {
315
+ [postId: string]: {
316
+ [metaId: string]: OpenGraphMetadata;
317
+ };
318
+ };
319
+ pendingPostIds: string[];
320
+ postEditHistory: Post[];
321
+ currentFocusedPostId: string;
322
+ messagesHistory: MessageHistory;
323
+ limitedViews: {
324
+ channels: {
325
+ [channelId: string]: number;
326
+ };
327
+ threads: {
328
+ [rootId: string]: number;
329
+ };
330
+ };
331
+ acknowledgements: {
332
+ [postId: string]: {
333
+ [userId: string]: number;
334
+ };
335
+ };
336
+ }
337
+ /**
338
+ * =======================================
339
+ * @description Scheme State Types
340
+ * =======================================
341
+ */
342
+ export interface SchemesState {
343
+ schemes: {
344
+ [schemeId: string]: Scheme;
345
+ };
346
+ }
347
+ /**
348
+ * =======================================
349
+ * @description Search State Types
350
+ * =======================================
351
+ */
352
+ export type SearchState = {
353
+ current: unknown;
354
+ results: string[];
355
+ fileResults: string[];
356
+ flagged: string[];
357
+ pinned: Record<string, string[]>;
358
+ isSearchingTerm: boolean;
359
+ isSearchGettingMore: boolean;
360
+ isLimitedResults: number;
361
+ matches: {
362
+ [x: string]: string[];
363
+ };
364
+ };
365
+ /**
366
+ * =======================================
367
+ * @description Teams State Types
368
+ * =======================================
369
+ */
370
+ export interface TeamsState {
371
+ currentTeamId: string;
372
+ teams: Record<string, Team>;
373
+ myMembers: Record<string, TeamMembership>;
374
+ membersInTeam: {
375
+ [teamId: string]: {
376
+ [userId: string]: TeamMembership;
377
+ };
378
+ };
379
+ stats: {
380
+ [teamId: string]: TeamStats;
381
+ };
382
+ groupsAssociatedToTeam: unknown;
383
+ totalCount: number;
384
+ }
385
+ /**
386
+ * =======================================
387
+ * @description Threads State Types
388
+ * =======================================
389
+ */
390
+ export type ThreadsState = {
391
+ threadsInTeam: {
392
+ [teamId: string]: string[];
393
+ };
394
+ unreadThreadsInTeam: {
395
+ [teamId: string]: string[];
396
+ };
397
+ threads: {
398
+ [rootId: string]: UserThread;
399
+ };
400
+ counts: {
401
+ [teamId: string]: {
402
+ total: number;
403
+ total_unread_threads: number;
404
+ total_unread_mentions: number;
405
+ total_unread_urgent_mentions?: number;
406
+ };
407
+ };
408
+ countsIncludingDirect: {
409
+ [teamId: string]: {
410
+ total: number;
411
+ total_unread_threads: number;
412
+ total_unread_mentions: number;
413
+ total_unread_urgent_mentions?: number;
414
+ };
415
+ };
416
+ };
417
+ /**
418
+ * =======================================
419
+ * @description Users State Types
420
+ * =======================================
421
+ */
422
+ export interface UsersState {
423
+ currentUserId: string;
424
+ isManualStatus: {
425
+ [userId: string]: boolean;
426
+ };
427
+ mySessions: UserSession[];
428
+ myAudits: Audit[];
429
+ profiles: {
430
+ [userId: string]: UserProfile;
431
+ };
432
+ profilesInTeam: {
433
+ [teamId: string]: Set<string>;
434
+ };
435
+ profilesNotInTeam: {
436
+ [teamId: string]: Set<string>;
437
+ };
438
+ profilesWithoutTeam: Set<string>;
439
+ profilesInChannel: {
440
+ [channelId: string]: Set<string>;
441
+ };
442
+ profilesNotInChannel: {
443
+ [channelId: string]: Set<string>;
444
+ };
445
+ profilesInGroup: {
446
+ [groupId: string]: Set<string>;
447
+ };
448
+ profilesNotInGroup: {
449
+ [groupId: string]: Set<string>;
450
+ };
451
+ statuses: {
452
+ [userId: string]: string;
453
+ };
454
+ stats: Partial<UsersStats>;
455
+ filteredStats: Partial<UsersStats>;
456
+ myUserAccessTokens: Record<string, UserAccessToken>;
457
+ lastActivity: {
458
+ [userId: string]: number;
459
+ };
460
+ dndEndTimes: {
461
+ [userId: string]: number;
462
+ };
463
+ }
464
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/types/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,KAAK,EACX,OAAO,EACP,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACX,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EACX,KAAK,EACL,YAAY,EACZ,UAAU,EACV,SAAS,EACT,uBAAuB,EACvB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EACX,O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AAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACvC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACnC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACpD,YAAY,EAAE;QAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC3C,WAAW,EAAE;QAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC1C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../src/types/state.ts"],"names":[],"mappings":""}
@@ -0,0 +1,65 @@
1
+ import type { Bot } from "./bots";
2
+ import type { CloudUsage } from "./cloud";
3
+ import type { Preference } from "./preferences";
4
+ import type { AdminRequestsStatuses, ChannelsRequestsStatuses, FilesRequestsStatuses, GeneralRequestsStatuses, PostsRequestsStatuses, RolesRequestsStatuses, TeamsRequestsStatuses, UsersRequestsStatuses } from "./requests";
5
+ import type { Role } from "./roles";
6
+ import type { AdminState, AppsState, ChannelBookmarksState, ChannelCategoriesState, ChannelsState, CloudState, EmojisState, FilesState, GeneralState, GroupsState, HostedCustomerState, IntegrationsState, JobsState, LimitsState, PostsState, SchemesState, SearchState, TeamsState, ThreadsState, UsersState } from "./state";
7
+ import type { Typing } from "./typing";
8
+ export type GlobalState = {
9
+ entities: {
10
+ general: GeneralState;
11
+ users: UsersState;
12
+ limits: LimitsState;
13
+ teams: TeamsState;
14
+ channels: ChannelsState;
15
+ channelBookmarks: ChannelBookmarksState;
16
+ posts: PostsState;
17
+ threads: ThreadsState;
18
+ bots: {
19
+ accounts: Record<string, Bot>;
20
+ };
21
+ preferences: {
22
+ myPreferences: {
23
+ [x: string]: Preference;
24
+ };
25
+ };
26
+ admin: AdminState;
27
+ jobs: JobsState;
28
+ search: SearchState;
29
+ integrations: IntegrationsState;
30
+ files: FilesState;
31
+ emojis: EmojisState;
32
+ typing: Typing;
33
+ roles: {
34
+ roles: {
35
+ [x: string]: Role;
36
+ };
37
+ pending: Set<string>;
38
+ };
39
+ schemes: SchemesState;
40
+ groups: GroupsState;
41
+ channelCategories: ChannelCategoriesState;
42
+ apps: AppsState;
43
+ cloud: CloudState;
44
+ hostedCustomer: HostedCustomerState;
45
+ usage: CloudUsage;
46
+ };
47
+ errors: unknown[];
48
+ requests: {
49
+ channels: ChannelsRequestsStatuses;
50
+ general: GeneralRequestsStatuses;
51
+ posts: PostsRequestsStatuses;
52
+ teams: TeamsRequestsStatuses;
53
+ users: UsersRequestsStatuses;
54
+ admin: AdminRequestsStatuses;
55
+ files: FilesRequestsStatuses;
56
+ roles: RolesRequestsStatuses;
57
+ };
58
+ websocket: {
59
+ connected: boolean;
60
+ lastConnectAt: number;
61
+ lastDisconnectAt: number;
62
+ connectionId: string;
63
+ };
64
+ };
65
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/types/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EACX,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,KAAK,EACX,UAAU,EACV,SAAS,EACT,qBAAqB,EACrB,sBAAsB,EACtB,a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CAAC;QAChB,KAAK,EAAE,UAAU,CAAC;QAClB,cAAc,EAAE,mBAAmB,CAAC;QACpC,KAAK,EAAE,UAAU,CAAC;KAClB,CAAC;IACF,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,QAAQ,EAAE;QACT,QAAQ,EAAE,wBAAwB,CAAC;QACnC,OAAO,EAAE,uBAAuB,CAAC;QACjC,KAAK,EAAE,qBAAqB,CAAC;QAC7B,KAAK,EAAE,qBAAqB,CAAC;QAC7B,KAAK,EAAE,qBAAqB,CAAC;QAC7B,KAAK,EAAE,qBAAqB,CAAC;QAC7B,KAAK,EAAE,qBAAqB,CAAC;QAC7B,KAAK,EAAE,qBAAqB,CAAC;KAC7B,CAAC;IACF,SAAS,EAAE;QACV,SAAS,EAAE,OAAO,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,gBAAgB,EAAE,MAAM,CAAC;QACzB,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/types/store.ts"],"names":[],"mappings":""}
@@ -0,0 +1,94 @@
1
+ export declare enum TeamType {
2
+ O = "O",
3
+ I = "I"
4
+ }
5
+ export interface TeamsUsageResponse {
6
+ active: number;
7
+ cloud_archived: number;
8
+ }
9
+ export interface TeamMembership extends TeamUnread {
10
+ user_id: string;
11
+ roles: string;
12
+ delete_at: number;
13
+ scheme_admin: boolean;
14
+ scheme_guest: boolean;
15
+ scheme_user: boolean;
16
+ }
17
+ export interface TeamMemberWithError {
18
+ member: TeamMembership;
19
+ user_id: string;
20
+ error: Error;
21
+ }
22
+ export interface Team {
23
+ id: string;
24
+ create_at: number;
25
+ update_at: number;
26
+ delete_at: number;
27
+ display_name: string;
28
+ name: string;
29
+ description: string;
30
+ email: string;
31
+ type: TeamType;
32
+ company_name: string;
33
+ allowed_domains: string;
34
+ invite_id: string;
35
+ allow_open_invite: boolean;
36
+ scheme_id: string;
37
+ group_constrained: boolean;
38
+ policy_id?: string | null;
39
+ last_team_icon_update?: number;
40
+ }
41
+ export interface TeamUnread {
42
+ team_id: string;
43
+ /** The number of unread mentions in channels on this team, not including DMs and GMs */
44
+ mention_count: number;
45
+ /** The number of unread mentions in root posts in channels on this team, not including DMs and GMs */
46
+ mention_count_root: number;
47
+ /**
48
+ * The number of unread posts in channels on this team, not including DMs and GMs
49
+ *
50
+ * @remarks Note that this differs from ChannelMembership.msg_count and ChannelUnread.msg_count since it tracks
51
+ * unread posts instead of read posts.
52
+ */
53
+ msg_count: number;
54
+ /**
55
+ * The number of unread root posts in channels on this team, not including DMs and GMs
56
+ *
57
+ * @remarks Note that this differs from ChannelMember.msg_count_root and ChannelUnread.msg_count_root since it
58
+ * tracks unread posts instead of read posts.
59
+ */
60
+ msg_count_root: number;
61
+ thread_count?: number;
62
+ thread_mention_count?: number;
63
+ thread_urgent_mention_count?: number;
64
+ }
65
+ export interface GetTeamMembersOpts {
66
+ sort?: "Username";
67
+ exclude_deleted_users?: boolean;
68
+ }
69
+ export interface TeamsWithCount {
70
+ teams: Team[];
71
+ total_count: number;
72
+ }
73
+ export interface TeamStats {
74
+ team_id: string;
75
+ total_member_count: number;
76
+ active_member_count: number;
77
+ }
78
+ export type TeamSearchOpts = PagedTeamSearchOpts | NotPagedTeamSearchOpts;
79
+ export interface PagedTeamSearchOpts extends NotPagedTeamSearchOpts {
80
+ page: number;
81
+ per_page: number;
82
+ }
83
+ export interface NotPagedTeamSearchOpts {
84
+ allow_open_invite?: boolean;
85
+ group_constrained?: boolean;
86
+ }
87
+ export interface TeamInviteWithError {
88
+ email: string;
89
+ error: {
90
+ id: string;
91
+ message: string;
92
+ };
93
+ }
94
+ //# sourceMappingURL=teams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["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