@frontegg/rest-api 2.10.90 → 3.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 (457) hide show
  1. package/{dist/ContextHolder.d.ts → ContextHolder.d.ts} +0 -0
  2. package/ContextHolder.js +114 -0
  3. package/{dist/account-settings → account-settings}/index.d.ts +0 -0
  4. package/account-settings/index.js +47 -0
  5. package/{dist/account-settings → account-settings}/interfaces.d.ts +0 -0
  6. package/account-settings/interfaces.js +1 -0
  7. package/account-settings/package.json +6 -0
  8. package/{dist/audits → audits}/index.d.ts +0 -0
  9. package/audits/index.js +74 -0
  10. package/{dist/audits → audits}/interfaces.d.ts +0 -0
  11. package/audits/interfaces.js +1 -0
  12. package/audits/package.json +6 -0
  13. package/{dist/auth → auth}/enums.d.ts +0 -0
  14. package/auth/enums.js +18 -0
  15. package/{dist/auth → auth}/index.d.ts +0 -0
  16. package/auth/index.js +2102 -0
  17. package/{dist/auth → auth}/interfaces.d.ts +0 -0
  18. package/auth/interfaces.js +16 -0
  19. package/auth/package.json +6 -0
  20. package/{dist/auth → auth}/secutiry-poilicy/index.d.ts +0 -0
  21. package/auth/secutiry-poilicy/index.js +257 -0
  22. package/{dist/auth → auth}/secutiry-poilicy/interfaces.d.ts +0 -0
  23. package/auth/secutiry-poilicy/interfaces.js +1 -0
  24. package/{dist/connectivity → connectivity}/index.d.ts +0 -0
  25. package/connectivity/index.js +114 -0
  26. package/{dist/connectivity → connectivity}/interfaces.d.ts +0 -0
  27. package/connectivity/interfaces.js +1 -0
  28. package/connectivity/package.json +6 -0
  29. package/{dist/constants.d.ts → constants.d.ts} +0 -0
  30. package/{src/constants.ts → constants.js} +13 -13
  31. package/{dist/error.d.ts → error.d.ts} +0 -0
  32. package/error.js +36 -0
  33. package/fetch.d.ts +19 -0
  34. package/fetch.js +557 -0
  35. package/{dist/es2015/index.d.ts → index.d.ts} +0 -0
  36. package/{dist/es2015/index.js → index.js} +32 -28
  37. package/{dist/es2015/interfaces.d.ts → interfaces.d.ts} +0 -0
  38. package/interfaces.js +1 -0
  39. package/{dist/es2015/jwt.d.ts → jwt.d.ts} +0 -0
  40. package/jwt.js +105 -0
  41. package/{dist/es2015/metadata → metadata}/index.d.ts +0 -0
  42. package/metadata/index.js +166 -0
  43. package/{dist/es2015/metadata → metadata}/interfaces.d.ts +0 -0
  44. package/metadata/interfaces.js +1 -0
  45. package/metadata/package.json +6 -0
  46. package/node/ContextHolder.js +126 -0
  47. package/node/account-settings/index.js +61 -0
  48. package/node/account-settings/interfaces.js +5 -0
  49. package/node/audits/index.js +90 -0
  50. package/node/audits/interfaces.js +5 -0
  51. package/node/auth/enums.js +26 -0
  52. package/node/auth/index.js +2327 -0
  53. package/node/auth/interfaces.js +39 -0
  54. package/node/auth/secutiry-poilicy/index.js +279 -0
  55. package/node/auth/secutiry-poilicy/interfaces.js +5 -0
  56. package/node/connectivity/index.js +201 -0
  57. package/node/connectivity/interfaces.js +5 -0
  58. package/node/constants.js +177 -0
  59. package/node/error.js +50 -0
  60. package/node/fetch.js +589 -0
  61. package/node/index.js +359 -0
  62. package/node/interfaces.js +5 -0
  63. package/node/jwt.js +125 -0
  64. package/node/metadata/index.js +188 -0
  65. package/node/metadata/interfaces.js +5 -0
  66. package/node/notifications/index.js +115 -0
  67. package/node/notifications/interfaces.js +5 -0
  68. package/node/reports/index.js +205 -0
  69. package/node/reports/interfaces.js +5 -0
  70. package/node/roles/index.js +209 -0
  71. package/node/roles/interfaces.js +5 -0
  72. package/node/routers.js +13 -0
  73. package/node/sub-tenants/index.js +153 -0
  74. package/node/sub-tenants/interfaces.js +5 -0
  75. package/node/subscriptions/enums.js +39 -0
  76. package/node/subscriptions/index.js +135 -0
  77. package/node/subscriptions/interfaces.js +18 -0
  78. package/node/subscriptions/invoices.js +88 -0
  79. package/node/subscriptions/managedSubscriptions.js +135 -0
  80. package/node/subscriptions/paymentMethods.js +91 -0
  81. package/node/subscriptions/paymentProviders.js +38 -0
  82. package/node/subscriptions/plans.js +61 -0
  83. package/node/subscriptions/providers/index.js +18 -0
  84. package/node/subscriptions/providers/stripe/index.js +130 -0
  85. package/node/subscriptions/providers/stripe/interfaces.js +5 -0
  86. package/node/subscriptions/subscriptions.js +135 -0
  87. package/node/subscriptions/summaries.js +38 -0
  88. package/node/subscriptions/tenantConfiguration.js +61 -0
  89. package/node/teams/index.js +478 -0
  90. package/node/teams/interfaces.js +5 -0
  91. package/node/tenants/index.js +107 -0
  92. package/node/tenants/interfaces.js +5 -0
  93. package/node/vendor/index.js +40 -0
  94. package/node/vendor/interfaces.js +5 -0
  95. package/{dist/es2015/notifications → notifications}/index.d.ts +0 -0
  96. package/notifications/index.js +99 -0
  97. package/{dist/es2015/notifications → notifications}/interfaces.d.ts +0 -0
  98. package/notifications/interfaces.js +1 -0
  99. package/notifications/package.json +6 -0
  100. package/package.json +9 -32
  101. package/{dist/es2015/reports → reports}/index.d.ts +0 -0
  102. package/reports/index.js +185 -0
  103. package/{dist/es2015/reports → reports}/interfaces.d.ts +0 -0
  104. package/reports/interfaces.js +1 -0
  105. package/reports/package.json +6 -0
  106. package/{dist/es2015/roles → roles}/index.d.ts +0 -0
  107. package/roles/index.js +188 -0
  108. package/{dist/es2015/roles → roles}/interfaces.d.ts +0 -0
  109. package/roles/interfaces.js +1 -0
  110. package/roles/package.json +6 -0
  111. package/{dist/es2015/routers.d.ts → routers.d.ts} +0 -0
  112. package/routers.js +3 -0
  113. package/{dist/es2015/sub-tenants → sub-tenants}/index.d.ts +0 -0
  114. package/sub-tenants/index.js +135 -0
  115. package/{dist/es2015/sub-tenants → sub-tenants}/interfaces.d.ts +0 -0
  116. package/sub-tenants/interfaces.js +1 -0
  117. package/sub-tenants/package.json +6 -0
  118. package/{dist/es2015/subscriptions → subscriptions}/enums.d.ts +0 -0
  119. package/subscriptions/enums.js +29 -0
  120. package/{dist/es2015/subscriptions → subscriptions}/index.d.ts +0 -0
  121. package/{dist/subscriptions/index.d.ts → subscriptions/index.js} +1 -1
  122. package/{dist/es2015/subscriptions → subscriptions}/interfaces.d.ts +0 -0
  123. package/{dist/es2015/subscriptions → subscriptions}/interfaces.js +1 -1
  124. package/{dist/es2015/subscriptions → subscriptions}/invoices.d.ts +0 -0
  125. package/subscriptions/invoices.js +73 -0
  126. package/{dist/es2015/subscriptions → subscriptions}/managedSubscriptions.d.ts +0 -0
  127. package/subscriptions/managedSubscriptions.js +118 -0
  128. package/subscriptions/package.json +6 -0
  129. package/{dist/es2015/subscriptions → subscriptions}/paymentMethods.d.ts +0 -0
  130. package/subscriptions/paymentMethods.js +75 -0
  131. package/{dist/es2015/subscriptions → subscriptions}/paymentProviders.d.ts +0 -0
  132. package/subscriptions/paymentProviders.js +25 -0
  133. package/{dist/es2015/subscriptions → subscriptions}/plans.d.ts +0 -0
  134. package/subscriptions/plans.js +47 -0
  135. package/{dist/es2015/subscriptions → subscriptions}/providers/index.d.ts +0 -0
  136. package/subscriptions/providers/index.js +1 -0
  137. package/{dist/es2015/subscriptions → subscriptions}/providers/stripe/index.d.ts +0 -0
  138. package/subscriptions/providers/stripe/index.js +113 -0
  139. package/{dist/es2015/subscriptions → subscriptions}/providers/stripe/interfaces.d.ts +0 -0
  140. package/subscriptions/providers/stripe/interfaces.js +1 -0
  141. package/{dist/es2015/subscriptions → subscriptions}/subscriptions.d.ts +0 -0
  142. package/subscriptions/subscriptions.js +118 -0
  143. package/{dist/es2015/subscriptions → subscriptions}/summaries.d.ts +0 -0
  144. package/subscriptions/summaries.js +25 -0
  145. package/{dist/es2015/subscriptions → subscriptions}/tenantConfiguration.d.ts +0 -0
  146. package/subscriptions/tenantConfiguration.js +47 -0
  147. package/{dist/es2015/teams → teams}/index.d.ts +0 -0
  148. package/teams/index.js +445 -0
  149. package/{dist/es2015/teams → teams}/interfaces.d.ts +0 -0
  150. package/teams/interfaces.js +1 -0
  151. package/teams/package.json +6 -0
  152. package/{dist/es2015/tenants → tenants}/index.d.ts +0 -0
  153. package/tenants/index.js +91 -0
  154. package/{dist/es2015/tenants → tenants}/interfaces.d.ts +0 -0
  155. package/tenants/interfaces.js +1 -0
  156. package/tenants/package.json +6 -0
  157. package/{dist/es2015/vendor → vendor}/index.d.ts +0 -0
  158. package/vendor/index.js +27 -0
  159. package/{dist/es2015/vendor → vendor}/interfaces.d.ts +0 -0
  160. package/vendor/interfaces.js +1 -0
  161. package/vendor/package.json +6 -0
  162. package/CHANGELOG.md +0 -211
  163. package/README.md +0 -139
  164. package/SECURITY.md +0 -13
  165. package/dist/ContextHolder.js +0 -69
  166. package/dist/ContextHolder.js.map +0 -1
  167. package/dist/account-settings/index.js +0 -33
  168. package/dist/account-settings/index.js.map +0 -1
  169. package/dist/account-settings/interfaces.js +0 -3
  170. package/dist/account-settings/interfaces.js.map +0 -1
  171. package/dist/audits/index.js +0 -59
  172. package/dist/audits/index.js.map +0 -1
  173. package/dist/audits/interfaces.js +0 -3
  174. package/dist/audits/interfaces.js.map +0 -1
  175. package/dist/auth/enums.js +0 -19
  176. package/dist/auth/enums.js.map +0 -1
  177. package/dist/auth/index.js +0 -1042
  178. package/dist/auth/index.js.map +0 -1
  179. package/dist/auth/interfaces.js +0 -29
  180. package/dist/auth/interfaces.js.map +0 -1
  181. package/dist/auth/secutiry-poilicy/index.js +0 -134
  182. package/dist/auth/secutiry-poilicy/index.js.map +0 -1
  183. package/dist/auth/secutiry-poilicy/interfaces.js +0 -3
  184. package/dist/auth/secutiry-poilicy/interfaces.js.map +0 -1
  185. package/dist/connectivity/index.js +0 -158
  186. package/dist/connectivity/index.js.map +0 -1
  187. package/dist/connectivity/interfaces.js +0 -3
  188. package/dist/connectivity/interfaces.js.map +0 -1
  189. package/dist/constants.js +0 -174
  190. package/dist/constants.js.map +0 -1
  191. package/dist/error.js +0 -14
  192. package/dist/error.js.map +0 -1
  193. package/dist/es2015/ContextHolder.d.ts +0 -29
  194. package/dist/es2015/ContextHolder.js +0 -65
  195. package/dist/es2015/ContextHolder.js.map +0 -1
  196. package/dist/es2015/account-settings/index.d.ts +0 -7
  197. package/dist/es2015/account-settings/index.js +0 -28
  198. package/dist/es2015/account-settings/index.js.map +0 -1
  199. package/dist/es2015/account-settings/interfaces.d.ts +0 -9
  200. package/dist/es2015/account-settings/interfaces.js +0 -2
  201. package/dist/es2015/account-settings/interfaces.js.map +0 -1
  202. package/dist/es2015/audits/index.d.ts +0 -16
  203. package/dist/es2015/audits/index.js +0 -53
  204. package/dist/es2015/audits/index.js.map +0 -1
  205. package/dist/es2015/audits/interfaces.d.ts +0 -61
  206. package/dist/es2015/audits/interfaces.js +0 -2
  207. package/dist/es2015/audits/interfaces.js.map +0 -1
  208. package/dist/es2015/auth/enums.d.ts +0 -13
  209. package/dist/es2015/auth/enums.js +0 -16
  210. package/dist/es2015/auth/enums.js.map +0 -1
  211. package/dist/es2015/auth/index.d.ts +0 -447
  212. package/dist/es2015/auth/index.js +0 -943
  213. package/dist/es2015/auth/index.js.map +0 -1
  214. package/dist/es2015/auth/interfaces.d.ts +0 -430
  215. package/dist/es2015/auth/interfaces.js +0 -16
  216. package/dist/es2015/auth/interfaces.js.map +0 -1
  217. package/dist/es2015/auth/secutiry-poilicy/index.d.ts +0 -41
  218. package/dist/es2015/auth/secutiry-poilicy/index.js +0 -121
  219. package/dist/es2015/auth/secutiry-poilicy/index.js.map +0 -1
  220. package/dist/es2015/auth/secutiry-poilicy/interfaces.d.ts +0 -70
  221. package/dist/es2015/auth/secutiry-poilicy/interfaces.js +0 -2
  222. package/dist/es2015/auth/secutiry-poilicy/interfaces.js.map +0 -1
  223. package/dist/es2015/connectivity/index.d.ts +0 -27
  224. package/dist/es2015/connectivity/index.js +0 -129
  225. package/dist/es2015/connectivity/index.js.map +0 -1
  226. package/dist/es2015/connectivity/interfaces.d.ts +0 -95
  227. package/dist/es2015/connectivity/interfaces.js +0 -2
  228. package/dist/es2015/connectivity/interfaces.js.map +0 -1
  229. package/dist/es2015/constants.d.ts +0 -170
  230. package/dist/es2015/constants.js +0 -171
  231. package/dist/es2015/constants.js.map +0 -1
  232. package/dist/es2015/error.d.ts +0 -5
  233. package/dist/es2015/error.js +0 -10
  234. package/dist/es2015/error.js.map +0 -1
  235. package/dist/es2015/fetch.d.ts +0 -19
  236. package/dist/es2015/fetch.js +0 -177
  237. package/dist/es2015/fetch.js.map +0 -1
  238. package/dist/es2015/index.js.map +0 -1
  239. package/dist/es2015/interfaces.js +0 -2
  240. package/dist/es2015/interfaces.js.map +0 -1
  241. package/dist/es2015/jwt.js +0 -83
  242. package/dist/es2015/jwt.js.map +0 -1
  243. package/dist/es2015/metadata/index.js +0 -32
  244. package/dist/es2015/metadata/index.js.map +0 -1
  245. package/dist/es2015/metadata/interfaces.js +0 -2
  246. package/dist/es2015/metadata/interfaces.js.map +0 -1
  247. package/dist/es2015/notifications/index.js +0 -49
  248. package/dist/es2015/notifications/index.js.map +0 -1
  249. package/dist/es2015/notifications/interfaces.js +0 -2
  250. package/dist/es2015/notifications/interfaces.js.map +0 -1
  251. package/dist/es2015/reports/index.js +0 -118
  252. package/dist/es2015/reports/index.js.map +0 -1
  253. package/dist/es2015/reports/interfaces.js +0 -2
  254. package/dist/es2015/reports/interfaces.js.map +0 -1
  255. package/dist/es2015/roles/index.js +0 -99
  256. package/dist/es2015/roles/index.js.map +0 -1
  257. package/dist/es2015/roles/interfaces.js +0 -2
  258. package/dist/es2015/roles/interfaces.js.map +0 -1
  259. package/dist/es2015/routers.js +0 -17
  260. package/dist/es2015/routers.js.map +0 -1
  261. package/dist/es2015/sub-tenants/index.js +0 -42
  262. package/dist/es2015/sub-tenants/index.js.map +0 -1
  263. package/dist/es2015/sub-tenants/interfaces.js +0 -2
  264. package/dist/es2015/sub-tenants/interfaces.js.map +0 -1
  265. package/dist/es2015/subscriptions/enums.js +0 -23
  266. package/dist/es2015/subscriptions/enums.js.map +0 -1
  267. package/dist/es2015/subscriptions/index.js +0 -11
  268. package/dist/es2015/subscriptions/index.js.map +0 -1
  269. package/dist/es2015/subscriptions/interfaces.js.map +0 -1
  270. package/dist/es2015/subscriptions/invoices.js +0 -43
  271. package/dist/es2015/subscriptions/invoices.js.map +0 -1
  272. package/dist/es2015/subscriptions/managedSubscriptions.js +0 -51
  273. package/dist/es2015/subscriptions/managedSubscriptions.js.map +0 -1
  274. package/dist/es2015/subscriptions/paymentMethods.js +0 -55
  275. package/dist/es2015/subscriptions/paymentMethods.js.map +0 -1
  276. package/dist/es2015/subscriptions/paymentProviders.js +0 -21
  277. package/dist/es2015/subscriptions/paymentProviders.js.map +0 -1
  278. package/dist/es2015/subscriptions/plans.js +0 -30
  279. package/dist/es2015/subscriptions/plans.js.map +0 -1
  280. package/dist/es2015/subscriptions/providers/index.js +0 -2
  281. package/dist/es2015/subscriptions/providers/index.js.map +0 -1
  282. package/dist/es2015/subscriptions/providers/stripe/index.js +0 -57
  283. package/dist/es2015/subscriptions/providers/stripe/index.js.map +0 -1
  284. package/dist/es2015/subscriptions/providers/stripe/interfaces.js +0 -2
  285. package/dist/es2015/subscriptions/providers/stripe/interfaces.js.map +0 -1
  286. package/dist/es2015/subscriptions/subscriptions.js +0 -57
  287. package/dist/es2015/subscriptions/subscriptions.js.map +0 -1
  288. package/dist/es2015/subscriptions/summaries.js +0 -21
  289. package/dist/es2015/subscriptions/summaries.js.map +0 -1
  290. package/dist/es2015/subscriptions/tenantConfiguration.js +0 -24
  291. package/dist/es2015/subscriptions/tenantConfiguration.js.map +0 -1
  292. package/dist/es2015/teams/index.js +0 -228
  293. package/dist/es2015/teams/index.js.map +0 -1
  294. package/dist/es2015/teams/interfaces.js +0 -2
  295. package/dist/es2015/teams/interfaces.js.map +0 -1
  296. package/dist/es2015/tenants/index.js +0 -57
  297. package/dist/es2015/tenants/index.js.map +0 -1
  298. package/dist/es2015/tenants/interfaces.js +0 -2
  299. package/dist/es2015/tenants/interfaces.js.map +0 -1
  300. package/dist/es2015/vendor/index.js +0 -23
  301. package/dist/es2015/vendor/index.js.map +0 -1
  302. package/dist/es2015/vendor/interfaces.js +0 -2
  303. package/dist/es2015/vendor/interfaces.js.map +0 -1
  304. package/dist/fetch.d.ts +0 -19
  305. package/dist/fetch.js +0 -187
  306. package/dist/fetch.js.map +0 -1
  307. package/dist/index.d.ts +0 -83
  308. package/dist/index.js +0 -98
  309. package/dist/index.js.map +0 -1
  310. package/dist/interfaces.d.ts +0 -40
  311. package/dist/interfaces.js +0 -3
  312. package/dist/interfaces.js.map +0 -1
  313. package/dist/jwt.d.ts +0 -13
  314. package/dist/jwt.js +0 -89
  315. package/dist/jwt.js.map +0 -1
  316. package/dist/metadata/index.d.ts +0 -5
  317. package/dist/metadata/index.js +0 -39
  318. package/dist/metadata/index.js.map +0 -1
  319. package/dist/metadata/interfaces.d.ts +0 -46
  320. package/dist/metadata/interfaces.js +0 -3
  321. package/dist/metadata/interfaces.js.map +0 -1
  322. package/dist/notifications/index.d.ts +0 -17
  323. package/dist/notifications/index.js +0 -56
  324. package/dist/notifications/index.js.map +0 -1
  325. package/dist/notifications/interfaces.d.ts +0 -40
  326. package/dist/notifications/interfaces.js +0 -3
  327. package/dist/notifications/interfaces.js.map +0 -1
  328. package/dist/reports/index.d.ts +0 -45
  329. package/dist/reports/index.js +0 -127
  330. package/dist/reports/index.js.map +0 -1
  331. package/dist/reports/interfaces.d.ts +0 -146
  332. package/dist/reports/interfaces.js +0 -3
  333. package/dist/reports/interfaces.js.map +0 -1
  334. package/dist/roles/index.d.ts +0 -34
  335. package/dist/roles/index.js +0 -110
  336. package/dist/roles/index.js.map +0 -1
  337. package/dist/roles/interfaces.d.ts +0 -58
  338. package/dist/roles/interfaces.js +0 -3
  339. package/dist/roles/interfaces.js.map +0 -1
  340. package/dist/routers.d.ts +0 -2
  341. package/dist/routers.js +0 -20
  342. package/dist/routers.js.map +0 -1
  343. package/dist/sub-tenants/index.d.ts +0 -8
  344. package/dist/sub-tenants/index.js +0 -51
  345. package/dist/sub-tenants/index.js.map +0 -1
  346. package/dist/sub-tenants/interfaces.d.ts +0 -87
  347. package/dist/sub-tenants/interfaces.js +0 -3
  348. package/dist/sub-tenants/interfaces.js.map +0 -1
  349. package/dist/subscriptions/enums.d.ts +0 -18
  350. package/dist/subscriptions/enums.js +0 -26
  351. package/dist/subscriptions/enums.js.map +0 -1
  352. package/dist/subscriptions/index.js +0 -23
  353. package/dist/subscriptions/index.js.map +0 -1
  354. package/dist/subscriptions/interfaces.d.ts +0 -117
  355. package/dist/subscriptions/interfaces.js +0 -14
  356. package/dist/subscriptions/interfaces.js.map +0 -1
  357. package/dist/subscriptions/invoices.d.ts +0 -13
  358. package/dist/subscriptions/invoices.js +0 -49
  359. package/dist/subscriptions/invoices.js.map +0 -1
  360. package/dist/subscriptions/managedSubscriptions.d.ts +0 -15
  361. package/dist/subscriptions/managedSubscriptions.js +0 -59
  362. package/dist/subscriptions/managedSubscriptions.js.map +0 -1
  363. package/dist/subscriptions/paymentMethods.d.ts +0 -13
  364. package/dist/subscriptions/paymentMethods.js +0 -61
  365. package/dist/subscriptions/paymentMethods.js.map +0 -1
  366. package/dist/subscriptions/paymentProviders.d.ts +0 -5
  367. package/dist/subscriptions/paymentProviders.js +0 -25
  368. package/dist/subscriptions/paymentProviders.js.map +0 -1
  369. package/dist/subscriptions/plans.d.ts +0 -9
  370. package/dist/subscriptions/plans.js +0 -35
  371. package/dist/subscriptions/plans.js.map +0 -1
  372. package/dist/subscriptions/providers/index.d.ts +0 -1
  373. package/dist/subscriptions/providers/index.js +0 -14
  374. package/dist/subscriptions/providers/index.js.map +0 -1
  375. package/dist/subscriptions/providers/stripe/index.d.ts +0 -21
  376. package/dist/subscriptions/providers/stripe/index.js +0 -65
  377. package/dist/subscriptions/providers/stripe/index.js.map +0 -1
  378. package/dist/subscriptions/providers/stripe/interfaces.d.ts +0 -32
  379. package/dist/subscriptions/providers/stripe/interfaces.js +0 -3
  380. package/dist/subscriptions/providers/stripe/interfaces.js.map +0 -1
  381. package/dist/subscriptions/subscriptions.d.ts +0 -21
  382. package/dist/subscriptions/subscriptions.js +0 -65
  383. package/dist/subscriptions/subscriptions.js.map +0 -1
  384. package/dist/subscriptions/summaries.d.ts +0 -5
  385. package/dist/subscriptions/summaries.js +0 -25
  386. package/dist/subscriptions/summaries.js.map +0 -1
  387. package/dist/subscriptions/tenantConfiguration.d.ts +0 -3
  388. package/dist/subscriptions/tenantConfiguration.js +0 -29
  389. package/dist/subscriptions/tenantConfiguration.js.map +0 -1
  390. package/dist/teams/index.d.ts +0 -116
  391. package/dist/teams/index.js +0 -250
  392. package/dist/teams/index.js.map +0 -1
  393. package/dist/teams/interfaces.d.ts +0 -136
  394. package/dist/teams/interfaces.js +0 -3
  395. package/dist/teams/interfaces.js.map +0 -1
  396. package/dist/tenants/index.d.ts +0 -26
  397. package/dist/tenants/index.js +0 -64
  398. package/dist/tenants/index.js.map +0 -1
  399. package/dist/tenants/interfaces.d.ts +0 -30
  400. package/dist/tenants/interfaces.js +0 -3
  401. package/dist/tenants/interfaces.js.map +0 -1
  402. package/dist/umd/index.js +0 -2891
  403. package/dist/vendor/index.d.ts +0 -6
  404. package/dist/vendor/index.js +0 -27
  405. package/dist/vendor/index.js.map +0 -1
  406. package/dist/vendor/interfaces.d.ts +0 -6
  407. package/dist/vendor/interfaces.js +0 -3
  408. package/dist/vendor/interfaces.js.map +0 -1
  409. package/src/ContextHolder.ts +0 -81
  410. package/src/account-settings/index.ts +0 -18
  411. package/src/account-settings/interfaces.ts +0 -10
  412. package/src/audits/index.ts +0 -35
  413. package/src/audits/interfaces.ts +0 -70
  414. package/src/auth/enums.ts +0 -17
  415. package/src/auth/index.ts +0 -935
  416. package/src/auth/interfaces.ts +0 -488
  417. package/src/auth/secutiry-poilicy/index.ts +0 -109
  418. package/src/auth/secutiry-poilicy/interfaces.ts +0 -81
  419. package/src/connectivity/index.ts +0 -160
  420. package/src/connectivity/interfaces.ts +0 -106
  421. package/src/error.ts +0 -13
  422. package/src/fetch.ts +0 -220
  423. package/src/index.ts +0 -86
  424. package/src/interfaces.ts +0 -47
  425. package/src/jwt.ts +0 -92
  426. package/src/metadata/index.ts +0 -24
  427. package/src/metadata/interfaces.ts +0 -51
  428. package/src/notifications/index.ts +0 -40
  429. package/src/notifications/interfaces.ts +0 -45
  430. package/src/reports/index.ts +0 -116
  431. package/src/reports/interfaces.ts +0 -167
  432. package/src/roles/index.ts +0 -80
  433. package/src/roles/interfaces.ts +0 -64
  434. package/src/routers.ts +0 -18
  435. package/src/sub-tenants/index.ts +0 -49
  436. package/src/sub-tenants/interfaces.ts +0 -100
  437. package/src/subscriptions/enums.ts +0 -22
  438. package/src/subscriptions/index.ts +0 -10
  439. package/src/subscriptions/interfaces.ts +0 -144
  440. package/src/subscriptions/invoices.ts +0 -42
  441. package/src/subscriptions/managedSubscriptions.ts +0 -53
  442. package/src/subscriptions/paymentMethods.ts +0 -47
  443. package/src/subscriptions/paymentProviders.ts +0 -13
  444. package/src/subscriptions/plans.ts +0 -19
  445. package/src/subscriptions/providers/index.ts +0 -1
  446. package/src/subscriptions/providers/stripe/index.ts +0 -56
  447. package/src/subscriptions/providers/stripe/interfaces.ts +0 -39
  448. package/src/subscriptions/subscriptions.ts +0 -63
  449. package/src/subscriptions/summaries.ts +0 -11
  450. package/src/subscriptions/tenantConfiguration.ts +0 -23
  451. package/src/teams/index.ts +0 -224
  452. package/src/teams/interfaces.ts +0 -163
  453. package/src/tenants/index.ts +0 -46
  454. package/src/tenants/interfaces.ts +0 -33
  455. package/src/vendor/index.ts +0 -12
  456. package/src/vendor/interfaces.ts +0 -6
  457. package/yarn-error.log +0 -518
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,118 @@
1
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
+ import { Get, Put } from "../fetch";
4
+ import { urls } from "../constants";
5
+ export function getSubscriptions() {
6
+ return _getSubscriptions.apply(this, arguments);
7
+ }
8
+
9
+ function _getSubscriptions() {
10
+ _getSubscriptions = _asyncToGenerator(_regeneratorRuntime.mark(function _callee() {
11
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
12
+ while (1) {
13
+ switch (_context.prev = _context.next) {
14
+ case 0:
15
+ return _context.abrupt("return", Get(urls.subscriptions.billing.subscriptions.v1));
16
+
17
+ case 1:
18
+ case "end":
19
+ return _context.stop();
20
+ }
21
+ }
22
+ }, _callee);
23
+ }));
24
+ return _getSubscriptions.apply(this, arguments);
25
+ }
26
+
27
+ export function getSubscription(_x) {
28
+ return _getSubscription.apply(this, arguments);
29
+ }
30
+
31
+ function _getSubscription() {
32
+ _getSubscription = _asyncToGenerator(_regeneratorRuntime.mark(function _callee2(subscriptionId) {
33
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
34
+ while (1) {
35
+ switch (_context2.prev = _context2.next) {
36
+ case 0:
37
+ return _context2.abrupt("return", Get("".concat(urls.subscriptions.billing.subscriptions.v1, "/").concat(subscriptionId)));
38
+
39
+ case 1:
40
+ case "end":
41
+ return _context2.stop();
42
+ }
43
+ }
44
+ }, _callee2);
45
+ }));
46
+ return _getSubscription.apply(this, arguments);
47
+ }
48
+
49
+ export function cancelSubscription(_x2) {
50
+ return _cancelSubscription.apply(this, arguments);
51
+ }
52
+
53
+ function _cancelSubscription() {
54
+ _cancelSubscription = _asyncToGenerator(_regeneratorRuntime.mark(function _callee3(subscriptionId) {
55
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
56
+ while (1) {
57
+ switch (_context3.prev = _context3.next) {
58
+ case 0:
59
+ return _context3.abrupt("return", Put("".concat(urls.subscriptions.billing.subscriptions.v1, "/").concat(subscriptionId, "/cancellations/"), {}));
60
+
61
+ case 1:
62
+ case "end":
63
+ return _context3.stop();
64
+ }
65
+ }
66
+ }, _callee3);
67
+ }));
68
+ return _cancelSubscription.apply(this, arguments);
69
+ }
70
+
71
+ export function renewSubscription(_x3) {
72
+ return _renewSubscription.apply(this, arguments);
73
+ }
74
+
75
+ function _renewSubscription() {
76
+ _renewSubscription = _asyncToGenerator(_regeneratorRuntime.mark(function _callee4(subscriptionId) {
77
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
78
+ while (1) {
79
+ switch (_context4.prev = _context4.next) {
80
+ case 0:
81
+ return _context4.abrupt("return", Put("".concat(urls.subscriptions.billing.subscriptions.v1, "/").concat(subscriptionId, "/renewals/"), {}));
82
+
83
+ case 1:
84
+ case "end":
85
+ return _context4.stop();
86
+ }
87
+ }
88
+ }, _callee4);
89
+ }));
90
+ return _renewSubscription.apply(this, arguments);
91
+ }
92
+
93
+ export function updateSubscription(_x4, _x5) {
94
+ return _updateSubscription.apply(this, arguments);
95
+ }
96
+
97
+ function _updateSubscription() {
98
+ _updateSubscription = _asyncToGenerator(_regeneratorRuntime.mark(function _callee5(subscriptionId, _ref) {
99
+ var paymentMethodId, planId;
100
+ return _regeneratorRuntime.wrap(function _callee5$(_context5) {
101
+ while (1) {
102
+ switch (_context5.prev = _context5.next) {
103
+ case 0:
104
+ paymentMethodId = _ref.paymentMethodId, planId = _ref.planId;
105
+ return _context5.abrupt("return", Put("".concat(urls.subscriptions.billing.subscriptions.v1, "/").concat(subscriptionId), {
106
+ paymentMethodId: paymentMethodId,
107
+ planId: planId
108
+ }));
109
+
110
+ case 2:
111
+ case "end":
112
+ return _context5.stop();
113
+ }
114
+ }
115
+ }, _callee5);
116
+ }));
117
+ return _updateSubscription.apply(this, arguments);
118
+ }
@@ -0,0 +1,25 @@
1
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
+ import { Get } from '../fetch';
4
+ import { urls } from '../constants';
5
+ export function getSubscriptionSummaries(_x) {
6
+ return _getSubscriptionSummaries.apply(this, arguments);
7
+ }
8
+
9
+ function _getSubscriptionSummaries() {
10
+ _getSubscriptionSummaries = _asyncToGenerator(_regeneratorRuntime.mark(function _callee(tenantId) {
11
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
12
+ while (1) {
13
+ switch (_context.prev = _context.next) {
14
+ case 0:
15
+ return _context.abrupt("return", Get("".concat(urls.subscriptions.billing.summaries.v1, "/").concat(tenantId)));
16
+
17
+ case 1:
18
+ case "end":
19
+ return _context.stop();
20
+ }
21
+ }
22
+ }, _callee);
23
+ }));
24
+ return _getSubscriptionSummaries.apply(this, arguments);
25
+ }
@@ -0,0 +1,47 @@
1
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
+ import { Get, Post } from "../fetch";
4
+ import { urls } from "../constants";
5
+ export function getTenantConfiguration(_x) {
6
+ return _getTenantConfiguration.apply(this, arguments);
7
+ }
8
+
9
+ function _getTenantConfiguration() {
10
+ _getTenantConfiguration = _asyncToGenerator(_regeneratorRuntime.mark(function _callee(tenantId) {
11
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
12
+ while (1) {
13
+ switch (_context.prev = _context.next) {
14
+ case 0:
15
+ return _context.abrupt("return", Get("".concat(urls.subscriptions.billing.tenantConfiguration.v1, "/").concat(tenantId)));
16
+
17
+ case 1:
18
+ case "end":
19
+ return _context.stop();
20
+ }
21
+ }
22
+ }, _callee);
23
+ }));
24
+ return _getTenantConfiguration.apply(this, arguments);
25
+ }
26
+
27
+ export function createTenantConfiguration(_x2) {
28
+ return _createTenantConfiguration.apply(this, arguments);
29
+ }
30
+
31
+ function _createTenantConfiguration() {
32
+ _createTenantConfiguration = _asyncToGenerator(_regeneratorRuntime.mark(function _callee2(request) {
33
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
34
+ while (1) {
35
+ switch (_context2.prev = _context2.next) {
36
+ case 0:
37
+ return _context2.abrupt("return", Post("".concat(urls.subscriptions.billing.tenantConfiguration.v1), request));
38
+
39
+ case 1:
40
+ case "end":
41
+ return _context2.stop();
42
+ }
43
+ }
44
+ }, _callee2);
45
+ }));
46
+ return _createTenantConfiguration.apply(this, arguments);
47
+ }
File without changes
package/teams/index.js ADDED
@@ -0,0 +1,445 @@
1
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
+ import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
5
+ import { Get, Post, Put, Delete, Patch } from '../fetch';
6
+ import { urls } from '../constants';
7
+ export function getProfile(_x) {
8
+ return _getProfile.apply(this, arguments);
9
+ }
10
+
11
+ function _getProfile() {
12
+ _getProfile = _asyncToGenerator(_regeneratorRuntime.mark(function _callee(params) {
13
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
14
+ while (1) {
15
+ switch (_context.prev = _context.next) {
16
+ case 0:
17
+ return _context.abrupt("return", Get("".concat(urls.identity.users.v2, "/me"), params != null ? params : {
18
+ addRoles: true
19
+ }));
20
+
21
+ case 1:
22
+ case "end":
23
+ return _context.stop();
24
+ }
25
+ }
26
+ }, _callee);
27
+ }));
28
+ return _getProfile.apply(this, arguments);
29
+ }
30
+
31
+ export function updateProfile(_x2) {
32
+ return _updateProfile.apply(this, arguments);
33
+ }
34
+
35
+ function _updateProfile() {
36
+ _updateProfile = _asyncToGenerator(_regeneratorRuntime.mark(function _callee2(body) {
37
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
38
+ while (1) {
39
+ switch (_context2.prev = _context2.next) {
40
+ case 0:
41
+ return _context2.abrupt("return", Put("".concat(urls.identity.users.v2, "/me"), body));
42
+
43
+ case 1:
44
+ case "end":
45
+ return _context2.stop();
46
+ }
47
+ }
48
+ }, _callee2);
49
+ }));
50
+ return _updateProfile.apply(this, arguments);
51
+ }
52
+
53
+ export function updateProfileImage(_x3) {
54
+ return _updateProfileImage.apply(this, arguments);
55
+ }
56
+
57
+ function _updateProfileImage() {
58
+ _updateProfileImage = _asyncToGenerator(_regeneratorRuntime.mark(function _callee3(body) {
59
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
60
+ while (1) {
61
+ switch (_context3.prev = _context3.next) {
62
+ case 0:
63
+ return _context3.abrupt("return", Put("".concat(urls.team.profile.v1, "/me/image/v1"), body, {
64
+ responseType: 'plain',
65
+ contentType: undefined
66
+ }));
67
+
68
+ case 1:
69
+ case "end":
70
+ return _context3.stop();
71
+ }
72
+ }
73
+ }, _callee3);
74
+ }));
75
+ return _updateProfileImage.apply(this, arguments);
76
+ }
77
+
78
+ export function changePassword(_x4) {
79
+ return _changePassword.apply(this, arguments);
80
+ }
81
+
82
+ function _changePassword() {
83
+ _changePassword = _asyncToGenerator(_regeneratorRuntime.mark(function _callee4(body) {
84
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
85
+ while (1) {
86
+ switch (_context4.prev = _context4.next) {
87
+ case 0:
88
+ return _context4.abrupt("return", Post("".concat(urls.identity.users.v1, "/passwords/change"), body));
89
+
90
+ case 1:
91
+ case "end":
92
+ return _context4.stop();
93
+ }
94
+ }
95
+ }, _callee4);
96
+ }));
97
+ return _changePassword.apply(this, arguments);
98
+ }
99
+
100
+ export function loadUsers(_x5) {
101
+ return _loadUsers.apply(this, arguments);
102
+ }
103
+
104
+ function _loadUsers() {
105
+ _loadUsers = _asyncToGenerator(_regeneratorRuntime.mark(function _callee5(params) {
106
+ var _params$sort, _params$sort$0$id, _params$sort2, _params$sort2$, _params$sort3, _params$sort3$;
107
+
108
+ var filters, sorts;
109
+ return _regeneratorRuntime.wrap(function _callee5$(_context5) {
110
+ while (1) {
111
+ switch (_context5.prev = _context5.next) {
112
+ case 0:
113
+ filters = (params.filter || []).reduce(function (p, n) {
114
+ return _extends({}, p, _defineProperty({}, n.id, n.value));
115
+ }, {});
116
+ sorts = (_params$sort = params.sort) != null && _params$sort.length ? {
117
+ sortBy: (_params$sort$0$id = (_params$sort2 = params.sort) == null ? void 0 : (_params$sort2$ = _params$sort2[0]) == null ? void 0 : _params$sort2$.id) != null ? _params$sort$0$id : 'name',
118
+ sortDirection: (_params$sort3 = params.sort) != null && (_params$sort3$ = _params$sort3[0]) != null && _params$sort3$.desc ? 'desc' : 'asc'
119
+ } : null;
120
+ return _context5.abrupt("return", Get(urls.team.members.v1, _extends({
121
+ pageOffset: params.pageOffset,
122
+ pageSize: params.pageSize
123
+ }, filters, sorts)));
124
+
125
+ case 3:
126
+ case "end":
127
+ return _context5.stop();
128
+ }
129
+ }
130
+ }, _callee5);
131
+ }));
132
+ return _loadUsers.apply(this, arguments);
133
+ }
134
+
135
+ export function addUser(_x6) {
136
+ return _addUser.apply(this, arguments);
137
+ }
138
+
139
+ function _addUser() {
140
+ _addUser = _asyncToGenerator(_regeneratorRuntime.mark(function _callee6(body) {
141
+ return _regeneratorRuntime.wrap(function _callee6$(_context6) {
142
+ while (1) {
143
+ switch (_context6.prev = _context6.next) {
144
+ case 0:
145
+ return _context6.abrupt("return", Post(urls.identity.users.v2, _extends({}, body, {
146
+ provider: 'local'
147
+ })));
148
+
149
+ case 1:
150
+ case "end":
151
+ return _context6.stop();
152
+ }
153
+ }
154
+ }, _callee6);
155
+ }));
156
+ return _addUser.apply(this, arguments);
157
+ }
158
+
159
+ export function deleteUser(_x7) {
160
+ return _deleteUser.apply(this, arguments);
161
+ }
162
+
163
+ function _deleteUser() {
164
+ _deleteUser = _asyncToGenerator(_regeneratorRuntime.mark(function _callee7(body) {
165
+ return _regeneratorRuntime.wrap(function _callee7$(_context7) {
166
+ while (1) {
167
+ switch (_context7.prev = _context7.next) {
168
+ case 0:
169
+ return _context7.abrupt("return", Delete("".concat(urls.team.members.v1, "/").concat(body.userId)));
170
+
171
+ case 1:
172
+ case "end":
173
+ return _context7.stop();
174
+ }
175
+ }
176
+ }, _callee7);
177
+ }));
178
+ return _deleteUser.apply(this, arguments);
179
+ }
180
+
181
+ export function updateUser(_x8) {
182
+ return _updateUser.apply(this, arguments);
183
+ }
184
+
185
+ function _updateUser() {
186
+ _updateUser = _asyncToGenerator(_regeneratorRuntime.mark(function _callee8(body) {
187
+ return _regeneratorRuntime.wrap(function _callee8$(_context8) {
188
+ while (1) {
189
+ switch (_context8.prev = _context8.next) {
190
+ case 0:
191
+ return _context8.abrupt("return", Put(urls.team.members.v1, body));
192
+
193
+ case 1:
194
+ case "end":
195
+ return _context8.stop();
196
+ }
197
+ }
198
+ }, _callee8);
199
+ }));
200
+ return _updateUser.apply(this, arguments);
201
+ }
202
+
203
+ export function createInviteUserLink(_x9) {
204
+ return _createInviteUserLink.apply(this, arguments);
205
+ }
206
+
207
+ function _createInviteUserLink() {
208
+ _createInviteUserLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee9(body) {
209
+ return _regeneratorRuntime.wrap(function _callee9$(_context9) {
210
+ while (1) {
211
+ switch (_context9.prev = _context9.next) {
212
+ case 0:
213
+ return _context9.abrupt("return", Post(urls.identity.tenants.invites.user.v1, _extends({}, body)));
214
+
215
+ case 1:
216
+ case "end":
217
+ return _context9.stop();
218
+ }
219
+ }
220
+ }, _callee9);
221
+ }));
222
+ return _createInviteUserLink.apply(this, arguments);
223
+ }
224
+
225
+ export function updateInviteUserLink(_x10) {
226
+ return _updateInviteUserLink.apply(this, arguments);
227
+ }
228
+
229
+ function _updateInviteUserLink() {
230
+ _updateInviteUserLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee10(body) {
231
+ return _regeneratorRuntime.wrap(function _callee10$(_context10) {
232
+ while (1) {
233
+ switch (_context10.prev = _context10.next) {
234
+ case 0:
235
+ return _context10.abrupt("return", Patch(urls.identity.tenants.invites.user.v1, _extends({}, body)));
236
+
237
+ case 1:
238
+ case "end":
239
+ return _context10.stop();
240
+ }
241
+ }
242
+ }, _callee10);
243
+ }));
244
+ return _updateInviteUserLink.apply(this, arguments);
245
+ }
246
+
247
+ export function deleteInviteUserLink() {
248
+ return _deleteInviteUserLink.apply(this, arguments);
249
+ }
250
+
251
+ function _deleteInviteUserLink() {
252
+ _deleteInviteUserLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee11() {
253
+ return _regeneratorRuntime.wrap(function _callee11$(_context11) {
254
+ while (1) {
255
+ switch (_context11.prev = _context11.next) {
256
+ case 0:
257
+ return _context11.abrupt("return", Delete(urls.identity.tenants.invites.user.v1));
258
+
259
+ case 1:
260
+ case "end":
261
+ return _context11.stop();
262
+ }
263
+ }
264
+ }, _callee11);
265
+ }));
266
+ return _deleteInviteUserLink.apply(this, arguments);
267
+ }
268
+
269
+ export function getInviteUserLink() {
270
+ return _getInviteUserLink.apply(this, arguments);
271
+ }
272
+
273
+ function _getInviteUserLink() {
274
+ _getInviteUserLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee12() {
275
+ return _regeneratorRuntime.wrap(function _callee12$(_context12) {
276
+ while (1) {
277
+ switch (_context12.prev = _context12.next) {
278
+ case 0:
279
+ return _context12.abrupt("return", Get(urls.identity.tenants.invites.user.v1));
280
+
281
+ case 1:
282
+ case "end":
283
+ return _context12.stop();
284
+ }
285
+ }
286
+ }, _callee12);
287
+ }));
288
+ return _getInviteUserLink.apply(this, arguments);
289
+ }
290
+
291
+ export function getInviteLinkConfiguration() {
292
+ return _getInviteLinkConfiguration.apply(this, arguments);
293
+ }
294
+
295
+ function _getInviteLinkConfiguration() {
296
+ _getInviteLinkConfiguration = _asyncToGenerator(_regeneratorRuntime.mark(function _callee13() {
297
+ return _regeneratorRuntime.wrap(function _callee13$(_context13) {
298
+ while (1) {
299
+ switch (_context13.prev = _context13.next) {
300
+ case 0:
301
+ return _context13.abrupt("return", Get(urls.identity.tenants.invites.configuration.v1));
302
+
303
+ case 1:
304
+ case "end":
305
+ return _context13.stop();
306
+ }
307
+ }
308
+ }, _callee13);
309
+ }));
310
+ return _getInviteLinkConfiguration.apply(this, arguments);
311
+ }
312
+
313
+ export function loadAvailableRoles() {
314
+ return _loadAvailableRoles.apply(this, arguments);
315
+ }
316
+
317
+ function _loadAvailableRoles() {
318
+ _loadAvailableRoles = _asyncToGenerator(_regeneratorRuntime.mark(function _callee14() {
319
+ return _regeneratorRuntime.wrap(function _callee14$(_context14) {
320
+ while (1) {
321
+ switch (_context14.prev = _context14.next) {
322
+ case 0:
323
+ return _context14.abrupt("return", Get(urls.team.roles.v1));
324
+
325
+ case 1:
326
+ case "end":
327
+ return _context14.stop();
328
+ }
329
+ }
330
+ }, _callee14);
331
+ }));
332
+ return _loadAvailableRoles.apply(this, arguments);
333
+ }
334
+
335
+ export function loadAvailablePermissions() {
336
+ return _loadAvailablePermissions.apply(this, arguments);
337
+ }
338
+
339
+ function _loadAvailablePermissions() {
340
+ _loadAvailablePermissions = _asyncToGenerator(_regeneratorRuntime.mark(function _callee15() {
341
+ return _regeneratorRuntime.wrap(function _callee15$(_context15) {
342
+ while (1) {
343
+ switch (_context15.prev = _context15.next) {
344
+ case 0:
345
+ return _context15.abrupt("return", Get(urls.identity.permissions.v1));
346
+
347
+ case 1:
348
+ case "end":
349
+ return _context15.stop();
350
+ }
351
+ }
352
+ }, _callee15);
353
+ }));
354
+ return _loadAvailablePermissions.apply(this, arguments);
355
+ }
356
+
357
+ export function loadStats() {
358
+ return _loadStats.apply(this, arguments);
359
+ }
360
+
361
+ function _loadStats() {
362
+ _loadStats = _asyncToGenerator(_regeneratorRuntime.mark(function _callee16() {
363
+ return _regeneratorRuntime.wrap(function _callee16$(_context16) {
364
+ while (1) {
365
+ switch (_context16.prev = _context16.next) {
366
+ case 0:
367
+ return _context16.abrupt("return", Get("".concat(urls.team.stats.v1, "/members")));
368
+
369
+ case 1:
370
+ case "end":
371
+ return _context16.stop();
372
+ }
373
+ }
374
+ }, _callee16);
375
+ }));
376
+ return _loadStats.apply(this, arguments);
377
+ }
378
+
379
+ export function resendActivationLink(_x11) {
380
+ return _resendActivationLink.apply(this, arguments);
381
+ }
382
+
383
+ function _resendActivationLink() {
384
+ _resendActivationLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee17(body) {
385
+ return _regeneratorRuntime.wrap(function _callee17$(_context17) {
386
+ while (1) {
387
+ switch (_context17.prev = _context17.next) {
388
+ case 0:
389
+ return _context17.abrupt("return", Post("".concat(urls.team.members.v1, "/").concat(body.userId, "/resendActivationEmail"), {}));
390
+
391
+ case 1:
392
+ case "end":
393
+ return _context17.stop();
394
+ }
395
+ }
396
+ }, _callee17);
397
+ }));
398
+ return _resendActivationLink.apply(this, arguments);
399
+ }
400
+
401
+ export function resendInvitationLink(_x12) {
402
+ return _resendInvitationLink.apply(this, arguments);
403
+ }
404
+
405
+ function _resendInvitationLink() {
406
+ _resendInvitationLink = _asyncToGenerator(_regeneratorRuntime.mark(function _callee18(body) {
407
+ return _regeneratorRuntime.wrap(function _callee18$(_context18) {
408
+ while (1) {
409
+ switch (_context18.prev = _context18.next) {
410
+ case 0:
411
+ return _context18.abrupt("return", Post(urls.identity.users.v2, _extends({}, body, {
412
+ provider: 'local'
413
+ })));
414
+
415
+ case 1:
416
+ case "end":
417
+ return _context18.stop();
418
+ }
419
+ }
420
+ }, _callee18);
421
+ }));
422
+ return _resendInvitationLink.apply(this, arguments);
423
+ }
424
+
425
+ export function resendInvitationLinkToAllTenants(_x13) {
426
+ return _resendInvitationLinkToAllTenants.apply(this, arguments);
427
+ }
428
+
429
+ function _resendInvitationLinkToAllTenants() {
430
+ _resendInvitationLinkToAllTenants = _asyncToGenerator(_regeneratorRuntime.mark(function _callee19(body) {
431
+ return _regeneratorRuntime.wrap(function _callee19$(_context19) {
432
+ while (1) {
433
+ switch (_context19.prev = _context19.next) {
434
+ case 0:
435
+ return _context19.abrupt("return", Post(urls.identity.users.invitation.resendAll.v1, _extends({}, body)));
436
+
437
+ case 1:
438
+ case "end":
439
+ return _context19.stop();
440
+ }
441
+ }
442
+ }, _callee19);
443
+ }));
444
+ return _resendInvitationLinkToAllTenants.apply(this, arguments);
445
+ }
File without changes
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/teams/index.js",
5
+ "types": "./index.d.ts"
6
+ }
File without changes