@wireapp/api-client 20.2.1 → 20.3.0

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 (857) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +3 -3
  3. package/src/APIClient.d.ts +0 -126
  4. package/src/APIClient.js +0 -269
  5. package/src/APIClient.js.map +0 -1
  6. package/src/Config.d.ts +0 -4
  7. package/src/Config.js +0 -21
  8. package/src/Config.js.map +0 -1
  9. package/src/account/AccountAPI.d.ts +0 -69
  10. package/src/account/AccountAPI.js +0 -202
  11. package/src/account/AccountAPI.js.map +0 -1
  12. package/src/account/AccountError.d.ts +0 -7
  13. package/src/account/AccountError.js +0 -39
  14. package/src/account/AccountError.js.map +0 -1
  15. package/src/account/BackendConfigData.d.ts +0 -11
  16. package/src/account/BackendConfigData.js +0 -21
  17. package/src/account/BackendConfigData.js.map +0 -1
  18. package/src/account/CallConfigData.d.ts +0 -9
  19. package/src/account/CallConfigData.js +0 -21
  20. package/src/account/CallConfigData.js.map +0 -1
  21. package/src/account/DomainData.d.ts +0 -6
  22. package/src/account/DomainData.js +0 -21
  23. package/src/account/DomainData.js.map +0 -1
  24. package/src/account/SSOSettings.d.ts +0 -3
  25. package/src/account/SSOSettings.js +0 -21
  26. package/src/account/SSOSettings.js.map +0 -1
  27. package/src/account/index.d.ts +0 -3
  28. package/src/account/index.js +0 -34
  29. package/src/account/index.js.map +0 -1
  30. package/src/asset/AssetAPI.d.ts +0 -48
  31. package/src/asset/AssetAPI.js +0 -254
  32. package/src/asset/AssetAPI.js.map +0 -1
  33. package/src/asset/AssetRetentionPolicy.d.ts +0 -11
  34. package/src/asset/AssetRetentionPolicy.js +0 -34
  35. package/src/asset/AssetRetentionPolicy.js.map +0 -1
  36. package/src/asset/AssetUploadData.d.ts +0 -7
  37. package/src/asset/AssetUploadData.js +0 -21
  38. package/src/asset/AssetUploadData.js.map +0 -1
  39. package/src/asset/AssetUtil.d.ts +0 -2
  40. package/src/asset/AssetUtil.js +0 -26
  41. package/src/asset/AssetUtil.js.map +0 -1
  42. package/src/asset/index.d.ts +0 -4
  43. package/src/asset/index.js +0 -35
  44. package/src/asset/index.js.map +0 -1
  45. package/src/auth/AccessTokenData.d.ts +0 -8
  46. package/src/auth/AccessTokenData.js +0 -21
  47. package/src/auth/AccessTokenData.js.map +0 -1
  48. package/src/auth/AccessTokenStore.d.ts +0 -23
  49. package/src/auth/AccessTokenStore.js +0 -56
  50. package/src/auth/AccessTokenStore.js.map +0 -1
  51. package/src/auth/AuthAPI.d.ts +0 -40
  52. package/src/auth/AuthAPI.js +0 -164
  53. package/src/auth/AuthAPI.js.map +0 -1
  54. package/src/auth/AuthenticationError.d.ts +0 -34
  55. package/src/auth/AuthenticationError.js +0 -111
  56. package/src/auth/AuthenticationError.js.map +0 -1
  57. package/src/auth/ClientPreKey.d.ts +0 -6
  58. package/src/auth/ClientPreKey.js +0 -21
  59. package/src/auth/ClientPreKey.js.map +0 -1
  60. package/src/auth/Context.d.ts +0 -7
  61. package/src/auth/Context.js +0 -21
  62. package/src/auth/Context.js.map +0 -1
  63. package/src/auth/Cookie.d.ts +0 -6
  64. package/src/auth/Cookie.js +0 -34
  65. package/src/auth/Cookie.js.map +0 -1
  66. package/src/auth/CookieList.d.ts +0 -15
  67. package/src/auth/CookieList.js +0 -21
  68. package/src/auth/CookieList.js.map +0 -1
  69. package/src/auth/CookieStore.d.ts +0 -16
  70. package/src/auth/CookieStore.js +0 -49
  71. package/src/auth/CookieStore.js.map +0 -1
  72. package/src/auth/LoginCodeResponse.d.ts +0 -4
  73. package/src/auth/LoginCodeResponse.js +0 -21
  74. package/src/auth/LoginCodeResponse.js.map +0 -1
  75. package/src/auth/LoginData.d.ts +0 -10
  76. package/src/auth/LoginData.js +0 -21
  77. package/src/auth/LoginData.js.map +0 -1
  78. package/src/auth/PreKey.d.ts +0 -6
  79. package/src/auth/PreKey.js +0 -21
  80. package/src/auth/PreKey.js.map +0 -1
  81. package/src/auth/PreKeyBundle.d.ts +0 -14
  82. package/src/auth/PreKeyBundle.js +0 -21
  83. package/src/auth/PreKeyBundle.js.map +0 -1
  84. package/src/auth/RegisterData.d.ts +0 -20
  85. package/src/auth/RegisterData.js +0 -21
  86. package/src/auth/RegisterData.js.map +0 -1
  87. package/src/auth/SendLoginCode.d.ts +0 -5
  88. package/src/auth/SendLoginCode.js +0 -21
  89. package/src/auth/SendLoginCode.js.map +0 -1
  90. package/src/auth/VerificationActionType.d.ts +0 -5
  91. package/src/auth/VerificationActionType.js +0 -28
  92. package/src/auth/VerificationActionType.js.map +0 -1
  93. package/src/auth/index.d.ts +0 -17
  94. package/src/auth/index.js +0 -49
  95. package/src/auth/index.js.map +0 -1
  96. package/src/auth/parseAccessToken.d.ts +0 -18
  97. package/src/auth/parseAccessToken.js +0 -57
  98. package/src/auth/parseAccessToken.js.map +0 -1
  99. package/src/broadcast/BroadcastAPI.d.ts +0 -44
  100. package/src/broadcast/BroadcastAPI.js +0 -122
  101. package/src/broadcast/BroadcastAPI.js.map +0 -1
  102. package/src/broadcast/index.d.ts +0 -1
  103. package/src/broadcast/index.js +0 -32
  104. package/src/broadcast/index.js.map +0 -1
  105. package/src/client/ClientAPI.d.ts +0 -58
  106. package/src/client/ClientAPI.js +0 -153
  107. package/src/client/ClientAPI.js.map +0 -1
  108. package/src/client/ClientCapability.d.ts +0 -3
  109. package/src/client/ClientCapability.js +0 -26
  110. package/src/client/ClientCapability.js.map +0 -1
  111. package/src/client/ClientCapabilityData.d.ts +0 -4
  112. package/src/client/ClientCapabilityData.js +0 -21
  113. package/src/client/ClientCapabilityData.js.map +0 -1
  114. package/src/client/ClientClassification.d.ts +0 -6
  115. package/src/client/ClientClassification.js +0 -29
  116. package/src/client/ClientClassification.js.map +0 -1
  117. package/src/client/ClientError.d.ts +0 -7
  118. package/src/client/ClientError.js +0 -39
  119. package/src/client/ClientError.js.map +0 -1
  120. package/src/client/ClientType.d.ts +0 -6
  121. package/src/client/ClientType.js +0 -29
  122. package/src/client/ClientType.js.map +0 -1
  123. package/src/client/Location.d.ts +0 -4
  124. package/src/client/Location.js +0 -21
  125. package/src/client/Location.js.map +0 -1
  126. package/src/client/NewClient.d.ts +0 -30
  127. package/src/client/NewClient.js +0 -21
  128. package/src/client/NewClient.js.map +0 -1
  129. package/src/client/PublicClient.d.ts +0 -5
  130. package/src/client/PublicClient.js +0 -21
  131. package/src/client/PublicClient.js.map +0 -1
  132. package/src/client/QualifiedPublicClients.d.ts +0 -9
  133. package/src/client/QualifiedPublicClients.js +0 -21
  134. package/src/client/QualifiedPublicClients.js.map +0 -1
  135. package/src/client/RegisteredClient.d.ts +0 -15
  136. package/src/client/RegisteredClient.js +0 -21
  137. package/src/client/RegisteredClient.js.map +0 -1
  138. package/src/client/index.d.ts +0 -11
  139. package/src/client/index.js +0 -42
  140. package/src/client/index.js.map +0 -1
  141. package/src/connection/Connection.d.ts +0 -12
  142. package/src/connection/Connection.js +0 -21
  143. package/src/connection/Connection.js.map +0 -1
  144. package/src/connection/ConnectionAPI.d.ts +0 -60
  145. package/src/connection/ConnectionAPI.js +0 -199
  146. package/src/connection/ConnectionAPI.js.map +0 -1
  147. package/src/connection/ConnectionError.d.ts +0 -7
  148. package/src/connection/ConnectionError.js +0 -39
  149. package/src/connection/ConnectionError.js.map +0 -1
  150. package/src/connection/ConnectionRequest.d.ts +0 -5
  151. package/src/connection/ConnectionRequest.js +0 -21
  152. package/src/connection/ConnectionRequest.js.map +0 -1
  153. package/src/connection/ConnectionStatus.d.ts +0 -10
  154. package/src/connection/ConnectionStatus.js +0 -33
  155. package/src/connection/ConnectionStatus.js.map +0 -1
  156. package/src/connection/ConnectionUpdate.d.ts +0 -4
  157. package/src/connection/ConnectionUpdate.js +0 -21
  158. package/src/connection/ConnectionUpdate.js.map +0 -1
  159. package/src/connection/UserConnectionList.d.ts +0 -5
  160. package/src/connection/UserConnectionList.js +0 -21
  161. package/src/connection/UserConnectionList.js.map +0 -1
  162. package/src/connection/index.d.ts +0 -7
  163. package/src/connection/index.js +0 -38
  164. package/src/connection/index.js.map +0 -1
  165. package/src/conversation/ClientMismatch.d.ts +0 -7
  166. package/src/conversation/ClientMismatch.js +0 -21
  167. package/src/conversation/ClientMismatch.js.map +0 -1
  168. package/src/conversation/Conversation.d.ts +0 -68
  169. package/src/conversation/Conversation.js +0 -50
  170. package/src/conversation/Conversation.js.map +0 -1
  171. package/src/conversation/ConversationAPI/ConversationAPI.d.ts +0 -344
  172. package/src/conversation/ConversationAPI/ConversationAPI.js +0 -865
  173. package/src/conversation/ConversationAPI/ConversationAPI.js.map +0 -1
  174. package/src/conversation/ConversationAPI/index.d.ts +0 -1
  175. package/src/conversation/ConversationAPI/index.js +0 -32
  176. package/src/conversation/ConversationAPI/index.js.map +0 -1
  177. package/src/conversation/ConversationCode.d.ts +0 -8
  178. package/src/conversation/ConversationCode.js +0 -21
  179. package/src/conversation/ConversationCode.js.map +0 -1
  180. package/src/conversation/ConversationError.d.ts +0 -19
  181. package/src/conversation/ConversationError.js +0 -71
  182. package/src/conversation/ConversationError.js.map +0 -1
  183. package/src/conversation/ConversationIds.d.ts +0 -4
  184. package/src/conversation/ConversationIds.js +0 -21
  185. package/src/conversation/ConversationIds.js.map +0 -1
  186. package/src/conversation/ConversationMembers.d.ts +0 -5
  187. package/src/conversation/ConversationMembers.js +0 -21
  188. package/src/conversation/ConversationMembers.js.map +0 -1
  189. package/src/conversation/ConversationRole.d.ts +0 -17
  190. package/src/conversation/ConversationRole.js +0 -27
  191. package/src/conversation/ConversationRole.js.map +0 -1
  192. package/src/conversation/Conversations.d.ts +0 -5
  193. package/src/conversation/Conversations.js +0 -21
  194. package/src/conversation/Conversations.js.map +0 -1
  195. package/src/conversation/Invite.d.ts +0 -3
  196. package/src/conversation/Invite.js +0 -21
  197. package/src/conversation/Invite.js.map +0 -1
  198. package/src/conversation/Member.d.ts +0 -25
  199. package/src/conversation/Member.js +0 -21
  200. package/src/conversation/Member.js.map +0 -1
  201. package/src/conversation/MessageSendingStatus.d.ts +0 -8
  202. package/src/conversation/MessageSendingStatus.js +0 -21
  203. package/src/conversation/MessageSendingStatus.js.map +0 -1
  204. package/src/conversation/MutedStatus.d.ts +0 -5
  205. package/src/conversation/MutedStatus.js +0 -28
  206. package/src/conversation/MutedStatus.js.map +0 -1
  207. package/src/conversation/NewConversation.d.ts +0 -19
  208. package/src/conversation/NewConversation.js +0 -27
  209. package/src/conversation/NewConversation.js.map +0 -1
  210. package/src/conversation/NewOTRMessage.d.ts +0 -17
  211. package/src/conversation/NewOTRMessage.js +0 -21
  212. package/src/conversation/NewOTRMessage.js.map +0 -1
  213. package/src/conversation/OTRClientMap.d.ts +0 -4
  214. package/src/conversation/OTRClientMap.js +0 -21
  215. package/src/conversation/OTRClientMap.js.map +0 -1
  216. package/src/conversation/OTRRecipients.d.ts +0 -7
  217. package/src/conversation/OTRRecipients.js +0 -21
  218. package/src/conversation/OTRRecipients.js.map +0 -1
  219. package/src/conversation/OtherMember.d.ts +0 -18
  220. package/src/conversation/OtherMember.js +0 -26
  221. package/src/conversation/OtherMember.js.map +0 -1
  222. package/src/conversation/QualifiedConversationIds.d.ts +0 -6
  223. package/src/conversation/QualifiedConversationIds.js +0 -21
  224. package/src/conversation/QualifiedConversationIds.js.map +0 -1
  225. package/src/conversation/QualifiedUserClients.d.ts +0 -4
  226. package/src/conversation/QualifiedUserClients.js +0 -21
  227. package/src/conversation/QualifiedUserClients.js.map +0 -1
  228. package/src/conversation/RemoteConversations.d.ts +0 -7
  229. package/src/conversation/RemoteConversations.js +0 -21
  230. package/src/conversation/RemoteConversations.js.map +0 -1
  231. package/src/conversation/ServiceRef.d.ts +0 -4
  232. package/src/conversation/ServiceRef.js +0 -21
  233. package/src/conversation/ServiceRef.js.map +0 -1
  234. package/src/conversation/UserClients.d.ts +0 -5
  235. package/src/conversation/UserClients.js +0 -21
  236. package/src/conversation/UserClients.js.map +0 -1
  237. package/src/conversation/data/ConversationAccessUpdateData.d.ts +0 -10
  238. package/src/conversation/data/ConversationAccessUpdateData.js +0 -21
  239. package/src/conversation/data/ConversationAccessUpdateData.js.map +0 -1
  240. package/src/conversation/data/ConversationCodeUpdateData.d.ts +0 -2
  241. package/src/conversation/data/ConversationCodeUpdateData.js +0 -21
  242. package/src/conversation/data/ConversationCodeUpdateData.js.map +0 -1
  243. package/src/conversation/data/ConversationConnectRequestData.d.ts +0 -6
  244. package/src/conversation/data/ConversationConnectRequestData.js +0 -21
  245. package/src/conversation/data/ConversationConnectRequestData.js.map +0 -1
  246. package/src/conversation/data/ConversationCreateData.d.ts +0 -7
  247. package/src/conversation/data/ConversationCreateData.js +0 -21
  248. package/src/conversation/data/ConversationCreateData.js.map +0 -1
  249. package/src/conversation/data/ConversationJoinData.d.ts +0 -4
  250. package/src/conversation/data/ConversationJoinData.js +0 -21
  251. package/src/conversation/data/ConversationJoinData.js.map +0 -1
  252. package/src/conversation/data/ConversationMLSMessageAddData.d.ts +0 -2
  253. package/src/conversation/data/ConversationMLSMessageAddData.js +0 -21
  254. package/src/conversation/data/ConversationMLSMessageAddData.js.map +0 -1
  255. package/src/conversation/data/ConversationMLSWelcomeData.d.ts +0 -2
  256. package/src/conversation/data/ConversationMLSWelcomeData.js +0 -21
  257. package/src/conversation/data/ConversationMLSWelcomeData.js.map +0 -1
  258. package/src/conversation/data/ConversationMemberJoinData.d.ts +0 -5
  259. package/src/conversation/data/ConversationMemberJoinData.js +0 -21
  260. package/src/conversation/data/ConversationMemberJoinData.js.map +0 -1
  261. package/src/conversation/data/ConversationMemberLeaveData.d.ts +0 -13
  262. package/src/conversation/data/ConversationMemberLeaveData.js +0 -26
  263. package/src/conversation/data/ConversationMemberLeaveData.js.map +0 -1
  264. package/src/conversation/data/ConversationMemberUpdateData.d.ts +0 -28
  265. package/src/conversation/data/ConversationMemberUpdateData.js +0 -21
  266. package/src/conversation/data/ConversationMemberUpdateData.js.map +0 -1
  267. package/src/conversation/data/ConversationMessageTimerUpdateData.d.ts +0 -3
  268. package/src/conversation/data/ConversationMessageTimerUpdateData.js +0 -21
  269. package/src/conversation/data/ConversationMessageTimerUpdateData.js.map +0 -1
  270. package/src/conversation/data/ConversationNameUpdateData.d.ts +0 -3
  271. package/src/conversation/data/ConversationNameUpdateData.js +0 -21
  272. package/src/conversation/data/ConversationNameUpdateData.js.map +0 -1
  273. package/src/conversation/data/ConversationOtrMessageAddData.d.ts +0 -6
  274. package/src/conversation/data/ConversationOtrMessageAddData.js +0 -21
  275. package/src/conversation/data/ConversationOtrMessageAddData.js.map +0 -1
  276. package/src/conversation/data/ConversationReceiptModeUpdateData.d.ts +0 -11
  277. package/src/conversation/data/ConversationReceiptModeUpdateData.js +0 -31
  278. package/src/conversation/data/ConversationReceiptModeUpdateData.js.map +0 -1
  279. package/src/conversation/data/ConversationRenameData.d.ts +0 -3
  280. package/src/conversation/data/ConversationRenameData.js +0 -21
  281. package/src/conversation/data/ConversationRenameData.js.map +0 -1
  282. package/src/conversation/data/ConversationTypingData.d.ts +0 -7
  283. package/src/conversation/data/ConversationTypingData.js +0 -27
  284. package/src/conversation/data/ConversationTypingData.js.map +0 -1
  285. package/src/conversation/data/MlsEventData.d.ts +0 -63
  286. package/src/conversation/data/MlsEventData.js +0 -21
  287. package/src/conversation/data/MlsEventData.js.map +0 -1
  288. package/src/conversation/data/index.d.ts +0 -16
  289. package/src/conversation/data/index.js +0 -47
  290. package/src/conversation/data/index.js.map +0 -1
  291. package/src/conversation/index.d.ts +0 -23
  292. package/src/conversation/index.js +0 -54
  293. package/src/conversation/index.js.map +0 -1
  294. package/src/env/Backend.d.ts +0 -9
  295. package/src/env/Backend.js +0 -36
  296. package/src/env/Backend.js.map +0 -1
  297. package/src/env/index.d.ts +0 -1
  298. package/src/env/index.js +0 -32
  299. package/src/env/index.js.map +0 -1
  300. package/src/event/BackendEvent.d.ts +0 -6
  301. package/src/event/BackendEvent.js +0 -21
  302. package/src/event/BackendEvent.js.map +0 -1
  303. package/src/event/ConversationEvent.d.ts +0 -96
  304. package/src/event/ConversationEvent.js +0 -41
  305. package/src/event/ConversationEvent.js.map +0 -1
  306. package/src/event/TeamEvent.d.ts +0 -57
  307. package/src/event/TeamEvent.js +0 -34
  308. package/src/event/TeamEvent.js.map +0 -1
  309. package/src/event/UserEvent.d.ts +0 -56
  310. package/src/event/UserEvent.js +0 -37
  311. package/src/event/UserEvent.js.map +0 -1
  312. package/src/event/index.d.ts +0 -4
  313. package/src/event/index.js +0 -35
  314. package/src/event/index.js.map +0 -1
  315. package/src/giphy/GiphyAPI.d.ts +0 -39
  316. package/src/giphy/GiphyAPI.js +0 -101
  317. package/src/giphy/GiphyAPI.js.map +0 -1
  318. package/src/giphy/GiphyImage.d.ts +0 -71
  319. package/src/giphy/GiphyImage.js +0 -21
  320. package/src/giphy/GiphyImage.js.map +0 -1
  321. package/src/giphy/GiphyOptions.d.ts +0 -45
  322. package/src/giphy/GiphyOptions.js +0 -30
  323. package/src/giphy/GiphyOptions.js.map +0 -1
  324. package/src/giphy/GiphyResult.d.ts +0 -17
  325. package/src/giphy/GiphyResult.js +0 -21
  326. package/src/giphy/GiphyResult.js.map +0 -1
  327. package/src/giphy/index.d.ts +0 -4
  328. package/src/giphy/index.js +0 -35
  329. package/src/giphy/index.js.map +0 -1
  330. package/src/http/BackendError.d.ts +0 -9
  331. package/src/http/BackendError.js +0 -33
  332. package/src/http/BackendError.js.map +0 -1
  333. package/src/http/BackendErrorLabel.d.ts +0 -96
  334. package/src/http/BackendErrorLabel.js +0 -131
  335. package/src/http/BackendErrorLabel.js.map +0 -1
  336. package/src/http/BackendErrorMapper.d.ts +0 -5
  337. package/src/http/BackendErrorMapper.js +0 -91
  338. package/src/http/BackendErrorMapper.js.map +0 -1
  339. package/src/http/ConnectionState.d.ts +0 -6
  340. package/src/http/ConnectionState.js +0 -29
  341. package/src/http/ConnectionState.js.map +0 -1
  342. package/src/http/ContentType.d.ts +0 -6
  343. package/src/http/ContentType.js +0 -29
  344. package/src/http/ContentType.js.map +0 -1
  345. package/src/http/HttpClient.d.ts +0 -46
  346. package/src/http/HttpClient.js +0 -225
  347. package/src/http/HttpClient.js.map +0 -1
  348. package/src/http/NetworkError.d.ts +0 -4
  349. package/src/http/NetworkError.js +0 -32
  350. package/src/http/NetworkError.js.map +0 -1
  351. package/src/http/RequestCancelable.d.ts +0 -4
  352. package/src/http/RequestCancelable.js +0 -21
  353. package/src/http/RequestCancelable.js.map +0 -1
  354. package/src/http/RequestProgressHandler.d.ts +0 -2
  355. package/src/http/RequestProgressHandler.js +0 -29
  356. package/src/http/RequestProgressHandler.js.map +0 -1
  357. package/src/http/TraceState.d.ts +0 -6
  358. package/src/http/TraceState.js +0 -21
  359. package/src/http/TraceState.js.map +0 -1
  360. package/src/http/index.d.ts +0 -11
  361. package/src/http/index.js +0 -44
  362. package/src/http/index.js.map +0 -1
  363. package/src/notification/Notification.d.ts +0 -12
  364. package/src/notification/Notification.js +0 -21
  365. package/src/notification/Notification.js.map +0 -1
  366. package/src/notification/NotificationAPI.d.ts +0 -41
  367. package/src/notification/NotificationAPI.js +0 -129
  368. package/src/notification/NotificationAPI.js.map +0 -1
  369. package/src/notification/NotificationList.d.ts +0 -7
  370. package/src/notification/NotificationList.js +0 -21
  371. package/src/notification/NotificationList.js.map +0 -1
  372. package/src/notification/index.d.ts +0 -3
  373. package/src/notification/index.js +0 -34
  374. package/src/notification/index.js.map +0 -1
  375. package/src/obfuscation/ObfuscationUtil.d.ts +0 -6
  376. package/src/obfuscation/ObfuscationUtil.js +0 -41
  377. package/src/obfuscation/ObfuscationUtil.js.map +0 -1
  378. package/src/obfuscation/index.d.ts +0 -1
  379. package/src/obfuscation/index.js +0 -32
  380. package/src/obfuscation/index.js.map +0 -1
  381. package/src/self/ChangePassword.d.ts +0 -4
  382. package/src/self/ChangePassword.js +0 -21
  383. package/src/self/ChangePassword.js.map +0 -1
  384. package/src/self/Consent.d.ts +0 -6
  385. package/src/self/Consent.js +0 -21
  386. package/src/self/Consent.js.map +0 -1
  387. package/src/self/ConsentResults.d.ts +0 -4
  388. package/src/self/ConsentResults.js +0 -21
  389. package/src/self/ConsentResults.js.map +0 -1
  390. package/src/self/ConsentType.d.ts +0 -4
  391. package/src/self/ConsentType.js +0 -27
  392. package/src/self/ConsentType.js.map +0 -1
  393. package/src/self/Delete.d.ts +0 -3
  394. package/src/self/Delete.js +0 -21
  395. package/src/self/Delete.js.map +0 -1
  396. package/src/self/Name.d.ts +0 -2
  397. package/src/self/Name.js +0 -21
  398. package/src/self/Name.js.map +0 -1
  399. package/src/self/Picture.d.ts +0 -17
  400. package/src/self/Picture.js +0 -21
  401. package/src/self/Picture.js.map +0 -1
  402. package/src/self/SSOSignature.d.ts +0 -4
  403. package/src/self/SSOSignature.js +0 -21
  404. package/src/self/SSOSignature.js.map +0 -1
  405. package/src/self/Self.d.ts +0 -13
  406. package/src/self/Self.js +0 -21
  407. package/src/self/Self.js.map +0 -1
  408. package/src/self/SelfAPI.d.ts +0 -93
  409. package/src/self/SelfAPI.js +0 -199
  410. package/src/self/SelfAPI.js.map +0 -1
  411. package/src/self/index.d.ts +0 -10
  412. package/src/self/index.js +0 -41
  413. package/src/self/index.js.map +0 -1
  414. package/src/serviceProvider/LoginServiceProviderData.d.ts +0 -2
  415. package/src/serviceProvider/LoginServiceProviderData.js +0 -21
  416. package/src/serviceProvider/LoginServiceProviderData.js.map +0 -1
  417. package/src/serviceProvider/NewServiceProvider.d.ts +0 -5
  418. package/src/serviceProvider/NewServiceProvider.js +0 -21
  419. package/src/serviceProvider/NewServiceProvider.js.map +0 -1
  420. package/src/serviceProvider/RegisteredServiceProvider.d.ts +0 -5
  421. package/src/serviceProvider/RegisteredServiceProvider.js +0 -21
  422. package/src/serviceProvider/RegisteredServiceProvider.js.map +0 -1
  423. package/src/serviceProvider/ServiceProviderAPI.d.ts +0 -28
  424. package/src/serviceProvider/ServiceProviderAPI.js +0 -93
  425. package/src/serviceProvider/ServiceProviderAPI.js.map +0 -1
  426. package/src/serviceProvider/UpdateServiceProviderData.d.ts +0 -2
  427. package/src/serviceProvider/UpdateServiceProviderData.js +0 -21
  428. package/src/serviceProvider/UpdateServiceProviderData.js.map +0 -1
  429. package/src/serviceProvider/index.d.ts +0 -5
  430. package/src/serviceProvider/index.js +0 -36
  431. package/src/serviceProvider/index.js.map +0 -1
  432. package/src/services/Service.d.ts +0 -80
  433. package/src/services/Service.js +0 -21
  434. package/src/services/Service.js.map +0 -1
  435. package/src/services/ServicesAPI.d.ts +0 -79
  436. package/src/services/ServicesAPI.js +0 -182
  437. package/src/services/ServicesAPI.js.map +0 -1
  438. package/src/services/index.d.ts +0 -1
  439. package/src/services/index.js +0 -32
  440. package/src/services/index.js.map +0 -1
  441. package/src/shims/browser/buffer.d.ts +0 -3
  442. package/src/shims/browser/buffer.js +0 -56
  443. package/src/shims/browser/buffer.js.map +0 -1
  444. package/src/shims/browser/cookie.d.ts +0 -5
  445. package/src/shims/browser/cookie.js +0 -26
  446. package/src/shims/browser/cookie.js.map +0 -1
  447. package/src/shims/browser/websocket.d.ts +0 -2
  448. package/src/shims/browser/websocket.js +0 -21
  449. package/src/shims/browser/websocket.js.map +0 -1
  450. package/src/shims/node/buffer.d.ts +0 -4
  451. package/src/shims/node/buffer.js +0 -31
  452. package/src/shims/node/buffer.js.map +0 -1
  453. package/src/shims/node/cookie.d.ts +0 -7
  454. package/src/shims/node/cookie.js +0 -59
  455. package/src/shims/node/cookie.js.map +0 -1
  456. package/src/shims/node/random.d.ts +0 -1
  457. package/src/shims/node/random.js +0 -28
  458. package/src/shims/node/random.js.map +0 -1
  459. package/src/tcp/ReconnectingWebsocket.d.ts +0 -50
  460. package/src/tcp/ReconnectingWebsocket.js +0 -195
  461. package/src/tcp/ReconnectingWebsocket.js.map +0 -1
  462. package/src/tcp/WebSocketClient.d.ts +0 -77
  463. package/src/tcp/WebSocketClient.js +0 -209
  464. package/src/tcp/WebSocketClient.js.map +0 -1
  465. package/src/tcp/index.d.ts +0 -1
  466. package/src/tcp/index.js +0 -32
  467. package/src/tcp/index.js.map +0 -1
  468. package/src/team/TeamError.d.ts +0 -13
  469. package/src/team/TeamError.js +0 -55
  470. package/src/team/TeamError.js.map +0 -1
  471. package/src/team/billing/BillingAPI.d.ts +0 -42
  472. package/src/team/billing/BillingAPI.js +0 -161
  473. package/src/team/billing/BillingAPI.js.map +0 -1
  474. package/src/team/billing/BillingInfo.d.ts +0 -10
  475. package/src/team/billing/BillingInfo.js +0 -21
  476. package/src/team/billing/BillingInfo.js.map +0 -1
  477. package/src/team/billing/BillingTeamData.d.ts +0 -23
  478. package/src/team/billing/BillingTeamData.js +0 -31
  479. package/src/team/billing/BillingTeamData.js.map +0 -1
  480. package/src/team/billing/CardData.d.ts +0 -6
  481. package/src/team/billing/CardData.js +0 -21
  482. package/src/team/billing/CardData.js.map +0 -1
  483. package/src/team/billing/InvoiceData.d.ts +0 -11
  484. package/src/team/billing/InvoiceData.js +0 -21
  485. package/src/team/billing/InvoiceData.js.map +0 -1
  486. package/src/team/billing/InvoiceListData.d.ts +0 -5
  487. package/src/team/billing/InvoiceListData.js +0 -21
  488. package/src/team/billing/InvoiceListData.js.map +0 -1
  489. package/src/team/billing/InvoiceUpcomingData.d.ts +0 -21
  490. package/src/team/billing/InvoiceUpcomingData.js +0 -21
  491. package/src/team/billing/InvoiceUpcomingData.js.map +0 -1
  492. package/src/team/billing/PlanData.d.ts +0 -14
  493. package/src/team/billing/PlanData.js +0 -27
  494. package/src/team/billing/PlanData.js.map +0 -1
  495. package/src/team/billing/SupportedCurrency.d.ts +0 -5
  496. package/src/team/billing/SupportedCurrency.js +0 -28
  497. package/src/team/billing/SupportedCurrency.js.map +0 -1
  498. package/src/team/billing/index.d.ts +0 -6
  499. package/src/team/billing/index.js +0 -37
  500. package/src/team/billing/index.js.map +0 -1
  501. package/src/team/conversation/TeamConversation.d.ts +0 -9
  502. package/src/team/conversation/TeamConversation.js +0 -21
  503. package/src/team/conversation/TeamConversation.js.map +0 -1
  504. package/src/team/conversation/TeamConversationAPI.d.ts +0 -38
  505. package/src/team/conversation/TeamConversationAPI.js +0 -86
  506. package/src/team/conversation/TeamConversationAPI.js.map +0 -1
  507. package/src/team/conversation/index.d.ts +0 -2
  508. package/src/team/conversation/index.js +0 -33
  509. package/src/team/conversation/index.js.map +0 -1
  510. package/src/team/data/TeamConversationCreateData.d.ts +0 -3
  511. package/src/team/data/TeamConversationCreateData.js +0 -21
  512. package/src/team/data/TeamConversationCreateData.js.map +0 -1
  513. package/src/team/data/TeamConversationDeleteData.d.ts +0 -3
  514. package/src/team/data/TeamConversationDeleteData.js +0 -21
  515. package/src/team/data/TeamConversationDeleteData.js.map +0 -1
  516. package/src/team/data/TeamFeatureConfigurationUpdateEventData.d.ts +0 -2
  517. package/src/team/data/TeamFeatureConfigurationUpdateEventData.js +0 -21
  518. package/src/team/data/TeamFeatureConfigurationUpdateEventData.js.map +0 -1
  519. package/src/team/data/TeamMemberJoinData.d.ts +0 -3
  520. package/src/team/data/TeamMemberJoinData.js +0 -21
  521. package/src/team/data/TeamMemberJoinData.js.map +0 -1
  522. package/src/team/data/TeamMemberLeaveData.d.ts +0 -3
  523. package/src/team/data/TeamMemberLeaveData.js +0 -21
  524. package/src/team/data/TeamMemberLeaveData.js.map +0 -1
  525. package/src/team/data/TeamMemberUpdateData.d.ts +0 -5
  526. package/src/team/data/TeamMemberUpdateData.js +0 -21
  527. package/src/team/data/TeamMemberUpdateData.js.map +0 -1
  528. package/src/team/data/TeamUpdateData.d.ts +0 -5
  529. package/src/team/data/TeamUpdateData.js +0 -21
  530. package/src/team/data/TeamUpdateData.js.map +0 -1
  531. package/src/team/data/index.d.ts +0 -7
  532. package/src/team/data/index.js +0 -38
  533. package/src/team/data/index.js.map +0 -1
  534. package/src/team/feature/Feature.d.ts +0 -57
  535. package/src/team/feature/Feature.js +0 -42
  536. package/src/team/feature/Feature.js.map +0 -1
  537. package/src/team/feature/FeatureAPI.d.ts +0 -53
  538. package/src/team/feature/FeatureAPI.js +0 -286
  539. package/src/team/feature/FeatureAPI.js.map +0 -1
  540. package/src/team/feature/FeatureError.d.ts +0 -10
  541. package/src/team/feature/FeatureError.js +0 -47
  542. package/src/team/feature/FeatureError.js.map +0 -1
  543. package/src/team/feature/FeatureList.d.ts +0 -34
  544. package/src/team/feature/FeatureList.js +0 -39
  545. package/src/team/feature/FeatureList.js.map +0 -1
  546. package/src/team/feature/index.d.ts +0 -4
  547. package/src/team/feature/index.js +0 -35
  548. package/src/team/feature/index.js.map +0 -1
  549. package/src/team/identityprovider/IdentityProvider.d.ts +0 -10
  550. package/src/team/identityprovider/IdentityProvider.js +0 -21
  551. package/src/team/identityprovider/IdentityProvider.js.map +0 -1
  552. package/src/team/identityprovider/IdentityProviderAPI.d.ts +0 -18
  553. package/src/team/identityprovider/IdentityProviderAPI.js +0 -88
  554. package/src/team/identityprovider/IdentityProviderAPI.js.map +0 -1
  555. package/src/team/identityprovider/IdentityProviders.d.ts +0 -4
  556. package/src/team/identityprovider/IdentityProviders.js +0 -21
  557. package/src/team/identityprovider/IdentityProviders.js.map +0 -1
  558. package/src/team/identityprovider/index.d.ts +0 -3
  559. package/src/team/identityprovider/index.js +0 -34
  560. package/src/team/identityprovider/index.js.map +0 -1
  561. package/src/team/index.d.ts +0 -12
  562. package/src/team/index.js +0 -56
  563. package/src/team/index.js.map +0 -1
  564. package/src/team/invitation/InvitationError.d.ts +0 -22
  565. package/src/team/invitation/InvitationError.js +0 -79
  566. package/src/team/invitation/InvitationError.js.map +0 -1
  567. package/src/team/invitation/NewTeamInvitation.d.ts +0 -9
  568. package/src/team/invitation/NewTeamInvitation.js +0 -21
  569. package/src/team/invitation/NewTeamInvitation.js.map +0 -1
  570. package/src/team/invitation/TeamInvitation.d.ts +0 -11
  571. package/src/team/invitation/TeamInvitation.js +0 -21
  572. package/src/team/invitation/TeamInvitation.js.map +0 -1
  573. package/src/team/invitation/TeamInvitationAPI.d.ts +0 -19
  574. package/src/team/invitation/TeamInvitationAPI.js +0 -143
  575. package/src/team/invitation/TeamInvitationAPI.js.map +0 -1
  576. package/src/team/invitation/TeamInvitationChunk.d.ts +0 -5
  577. package/src/team/invitation/TeamInvitationChunk.js +0 -21
  578. package/src/team/invitation/TeamInvitationChunk.js.map +0 -1
  579. package/src/team/invitation/index.d.ts +0 -5
  580. package/src/team/invitation/index.js +0 -36
  581. package/src/team/invitation/index.js.map +0 -1
  582. package/src/team/legalhold/LegalHoldAPI.d.ts +0 -20
  583. package/src/team/legalhold/LegalHoldAPI.js +0 -96
  584. package/src/team/legalhold/LegalHoldAPI.js.map +0 -1
  585. package/src/team/legalhold/LegalHoldData.d.ts +0 -20
  586. package/src/team/legalhold/LegalHoldData.js +0 -28
  587. package/src/team/legalhold/LegalHoldData.js.map +0 -1
  588. package/src/team/legalhold/LegalHoldMemberStatus.d.ts +0 -18
  589. package/src/team/legalhold/LegalHoldMemberStatus.js +0 -29
  590. package/src/team/legalhold/LegalHoldMemberStatus.js.map +0 -1
  591. package/src/team/legalhold/NewLegalHoldData.d.ts +0 -5
  592. package/src/team/legalhold/NewLegalHoldData.js +0 -21
  593. package/src/team/legalhold/NewLegalHoldData.js.map +0 -1
  594. package/src/team/legalhold/index.d.ts +0 -4
  595. package/src/team/legalhold/index.js +0 -35
  596. package/src/team/legalhold/index.js.map +0 -1
  597. package/src/team/member/MemberAPI.d.ts +0 -28
  598. package/src/team/member/MemberAPI.js +0 -144
  599. package/src/team/member/MemberAPI.js.map +0 -1
  600. package/src/team/member/MemberCSVResponse.d.ts +0 -4
  601. package/src/team/member/MemberCSVResponse.js +0 -21
  602. package/src/team/member/MemberCSVResponse.js.map +0 -1
  603. package/src/team/member/MemberData.d.ts +0 -11
  604. package/src/team/member/MemberData.js +0 -21
  605. package/src/team/member/MemberData.js.map +0 -1
  606. package/src/team/member/Members.d.ts +0 -5
  607. package/src/team/member/Members.js +0 -21
  608. package/src/team/member/Members.js.map +0 -1
  609. package/src/team/member/Permissions.d.ts +0 -17
  610. package/src/team/member/Permissions.js +0 -47
  611. package/src/team/member/Permissions.js.map +0 -1
  612. package/src/team/member/PermissionsData.d.ts +0 -7
  613. package/src/team/member/PermissionsData.js +0 -21
  614. package/src/team/member/PermissionsData.js.map +0 -1
  615. package/src/team/member/Role.d.ts +0 -18
  616. package/src/team/member/Role.js +0 -118
  617. package/src/team/member/Role.js.map +0 -1
  618. package/src/team/member/UpdatedMemberData.d.ts +0 -2
  619. package/src/team/member/UpdatedMemberData.js +0 -21
  620. package/src/team/member/UpdatedMemberData.js.map +0 -1
  621. package/src/team/member/index.d.ts +0 -7
  622. package/src/team/member/index.js +0 -38
  623. package/src/team/member/index.js.map +0 -1
  624. package/src/team/payment/InvoiceData.d.ts +0 -21
  625. package/src/team/payment/InvoiceData.js +0 -21
  626. package/src/team/payment/InvoiceData.js.map +0 -1
  627. package/src/team/payment/PaymentAPI.d.ts +0 -57
  628. package/src/team/payment/PaymentAPI.js +0 -156
  629. package/src/team/payment/PaymentAPI.js.map +0 -1
  630. package/src/team/payment/PaymentBillingData.d.ts +0 -12
  631. package/src/team/payment/PaymentBillingData.js +0 -21
  632. package/src/team/payment/PaymentBillingData.js.map +0 -1
  633. package/src/team/payment/PaymentData.d.ts +0 -34
  634. package/src/team/payment/PaymentData.js +0 -30
  635. package/src/team/payment/PaymentData.js.map +0 -1
  636. package/src/team/payment/PaymentDataUpdate.d.ts +0 -6
  637. package/src/team/payment/PaymentDataUpdate.js +0 -21
  638. package/src/team/payment/PaymentDataUpdate.js.map +0 -1
  639. package/src/team/payment/PaymentInterval.d.ts +0 -6
  640. package/src/team/payment/PaymentInterval.js +0 -29
  641. package/src/team/payment/PaymentInterval.js.map +0 -1
  642. package/src/team/payment/PaymentPlan.d.ts +0 -12
  643. package/src/team/payment/PaymentPlan.js +0 -27
  644. package/src/team/payment/PaymentPlan.js.map +0 -1
  645. package/src/team/payment/PaymentStripeCharge.d.ts +0 -19
  646. package/src/team/payment/PaymentStripeCharge.js +0 -27
  647. package/src/team/payment/PaymentStripeCharge.js.map +0 -1
  648. package/src/team/payment/PaymentStripeInvoice.d.ts +0 -11
  649. package/src/team/payment/PaymentStripeInvoice.js +0 -21
  650. package/src/team/payment/PaymentStripeInvoice.js.map +0 -1
  651. package/src/team/payment/PaymentStripeInvoices.d.ts +0 -5
  652. package/src/team/payment/PaymentStripeInvoices.js +0 -21
  653. package/src/team/payment/PaymentStripeInvoices.js.map +0 -1
  654. package/src/team/payment/PaymentStripePlan.d.ts +0 -9
  655. package/src/team/payment/PaymentStripePlan.js +0 -21
  656. package/src/team/payment/PaymentStripePlan.js.map +0 -1
  657. package/src/team/payment/SupportedCurrency.d.ts +0 -5
  658. package/src/team/payment/SupportedCurrency.js +0 -28
  659. package/src/team/payment/SupportedCurrency.js.map +0 -1
  660. package/src/team/payment/index.d.ts +0 -12
  661. package/src/team/payment/index.js +0 -43
  662. package/src/team/payment/index.js.map +0 -1
  663. package/src/team/scim/NewScimToken.d.ts +0 -5
  664. package/src/team/scim/NewScimToken.js +0 -21
  665. package/src/team/scim/NewScimToken.js.map +0 -1
  666. package/src/team/scim/ScimAPI.d.ts +0 -14
  667. package/src/team/scim/ScimAPI.js +0 -57
  668. package/src/team/scim/ScimAPI.js.map +0 -1
  669. package/src/team/scim/ScimTokenInfo.d.ts +0 -7
  670. package/src/team/scim/ScimTokenInfo.js +0 -21
  671. package/src/team/scim/ScimTokenInfo.js.map +0 -1
  672. package/src/team/scim/ScimTokenInfoList.d.ts +0 -4
  673. package/src/team/scim/ScimTokenInfoList.js +0 -21
  674. package/src/team/scim/ScimTokenInfoList.js.map +0 -1
  675. package/src/team/scim/index.d.ts +0 -3
  676. package/src/team/scim/index.js +0 -34
  677. package/src/team/scim/index.js.map +0 -1
  678. package/src/team/search/TeamContact.d.ts +0 -10
  679. package/src/team/search/TeamContact.js +0 -21
  680. package/src/team/search/TeamContact.js.map +0 -1
  681. package/src/team/search/TeamSearchAPI.d.ts +0 -16
  682. package/src/team/search/TeamSearchAPI.js +0 -69
  683. package/src/team/search/TeamSearchAPI.js.map +0 -1
  684. package/src/team/search/TeamSearchOptions.d.ts +0 -16
  685. package/src/team/search/TeamSearchOptions.js +0 -27
  686. package/src/team/search/TeamSearchOptions.js.map +0 -1
  687. package/src/team/search/TeamSearchResult.d.ts +0 -7
  688. package/src/team/search/TeamSearchResult.js +0 -21
  689. package/src/team/search/TeamSearchResult.js.map +0 -1
  690. package/src/team/search/index.d.ts +0 -4
  691. package/src/team/search/index.js +0 -35
  692. package/src/team/search/index.js.map +0 -1
  693. package/src/team/service/Provider.d.ts +0 -7
  694. package/src/team/service/Provider.js +0 -21
  695. package/src/team/service/Provider.js.map +0 -1
  696. package/src/team/service/Service.d.ts +0 -11
  697. package/src/team/service/Service.js +0 -21
  698. package/src/team/service/Service.js.map +0 -1
  699. package/src/team/service/ServiceAPI.d.ts +0 -19
  700. package/src/team/service/ServiceAPI.js +0 -94
  701. package/src/team/service/ServiceAPI.js.map +0 -1
  702. package/src/team/service/ServiceWhitelistData.d.ts +0 -5
  703. package/src/team/service/ServiceWhitelistData.js +0 -21
  704. package/src/team/service/ServiceWhitelistData.js.map +0 -1
  705. package/src/team/service/Services.d.ts +0 -5
  706. package/src/team/service/Services.js +0 -21
  707. package/src/team/service/Services.js.map +0 -1
  708. package/src/team/service/index.d.ts +0 -5
  709. package/src/team/service/index.js +0 -36
  710. package/src/team/service/index.js.map +0 -1
  711. package/src/team/team/LeadData.d.ts +0 -16
  712. package/src/team/team/LeadData.js +0 -21
  713. package/src/team/team/LeadData.js.map +0 -1
  714. package/src/team/team/NewTeamData.d.ts +0 -15
  715. package/src/team/team/NewTeamData.js +0 -21
  716. package/src/team/team/NewTeamData.js.map +0 -1
  717. package/src/team/team/TeamAPI.d.ts +0 -26
  718. package/src/team/team/TeamAPI.js +0 -126
  719. package/src/team/team/TeamAPI.js.map +0 -1
  720. package/src/team/team/TeamChunkData.d.ts +0 -5
  721. package/src/team/team/TeamChunkData.js +0 -21
  722. package/src/team/team/TeamChunkData.js.map +0 -1
  723. package/src/team/team/TeamData.d.ts +0 -17
  724. package/src/team/team/TeamData.js +0 -21
  725. package/src/team/team/TeamData.js.map +0 -1
  726. package/src/team/team/TeamInfo.d.ts +0 -5
  727. package/src/team/team/TeamInfo.js +0 -21
  728. package/src/team/team/TeamInfo.js.map +0 -1
  729. package/src/team/team/TeamSizeData.d.ts +0 -3
  730. package/src/team/team/TeamSizeData.js +0 -21
  731. package/src/team/team/TeamSizeData.js.map +0 -1
  732. package/src/team/team/UpdateTeamData.d.ts +0 -10
  733. package/src/team/team/UpdateTeamData.js +0 -21
  734. package/src/team/team/UpdateTeamData.js.map +0 -1
  735. package/src/team/team/index.d.ts +0 -7
  736. package/src/team/team/index.js +0 -38
  737. package/src/team/team/index.js.map +0 -1
  738. package/src/user/Activate.d.ts +0 -24
  739. package/src/user/Activate.js +0 -21
  740. package/src/user/Activate.js.map +0 -1
  741. package/src/user/ActivationResponse.d.ts +0 -5
  742. package/src/user/ActivationResponse.js +0 -21
  743. package/src/user/ActivationResponse.js.map +0 -1
  744. package/src/user/CheckHandles.d.ts +0 -4
  745. package/src/user/CheckHandles.js +0 -21
  746. package/src/user/CheckHandles.js.map +0 -1
  747. package/src/user/CompletePasswordReset.d.ts +0 -7
  748. package/src/user/CompletePasswordReset.js +0 -21
  749. package/src/user/CompletePasswordReset.js.map +0 -1
  750. package/src/user/Contact.d.ts +0 -2
  751. package/src/user/Contact.js +0 -21
  752. package/src/user/Contact.js.map +0 -1
  753. package/src/user/HandleInfo.d.ts +0 -5
  754. package/src/user/HandleInfo.js +0 -21
  755. package/src/user/HandleInfo.js.map +0 -1
  756. package/src/user/LimitedQualifiedUserIdList.d.ts +0 -4
  757. package/src/user/LimitedQualifiedUserIdList.js +0 -21
  758. package/src/user/LimitedQualifiedUserIdList.js.map +0 -1
  759. package/src/user/ManagedSource.d.ts +0 -4
  760. package/src/user/ManagedSource.js +0 -27
  761. package/src/user/ManagedSource.js.map +0 -1
  762. package/src/user/NewPasswordReset.d.ts +0 -4
  763. package/src/user/NewPasswordReset.js +0 -21
  764. package/src/user/NewPasswordReset.js.map +0 -1
  765. package/src/user/QualifiedHandle.d.ts +0 -4
  766. package/src/user/QualifiedHandle.js +0 -21
  767. package/src/user/QualifiedHandle.js.map +0 -1
  768. package/src/user/QualifiedId.d.ts +0 -4
  769. package/src/user/QualifiedId.js +0 -21
  770. package/src/user/QualifiedId.js.map +0 -1
  771. package/src/user/RTCConfiguration.d.ts +0 -5
  772. package/src/user/RTCConfiguration.js +0 -21
  773. package/src/user/RTCConfiguration.js.map +0 -1
  774. package/src/user/RTCIceServer.d.ts +0 -5
  775. package/src/user/RTCIceServer.js +0 -21
  776. package/src/user/RTCIceServer.js.map +0 -1
  777. package/src/user/RichInfo.d.ts +0 -8
  778. package/src/user/RichInfo.js +0 -21
  779. package/src/user/RichInfo.js.map +0 -1
  780. package/src/user/SearchResult.d.ts +0 -7
  781. package/src/user/SearchResult.js +0 -21
  782. package/src/user/SearchResult.js.map +0 -1
  783. package/src/user/SendActivationCode.d.ts +0 -10
  784. package/src/user/SendActivationCode.js +0 -21
  785. package/src/user/SendActivationCode.js.map +0 -1
  786. package/src/user/User.d.ts +0 -20
  787. package/src/user/User.js +0 -21
  788. package/src/user/User.js.map +0 -1
  789. package/src/user/UserAPI.d.ts +0 -232
  790. package/src/user/UserAPI.js +0 -582
  791. package/src/user/UserAPI.js.map +0 -1
  792. package/src/user/UserAsset.d.ts +0 -10
  793. package/src/user/UserAsset.js +0 -27
  794. package/src/user/UserAsset.js.map +0 -1
  795. package/src/user/UserError.d.ts +0 -13
  796. package/src/user/UserError.js +0 -55
  797. package/src/user/UserError.js.map +0 -1
  798. package/src/user/UserPreKeyBundleMap.d.ts +0 -9
  799. package/src/user/UserPreKeyBundleMap.js +0 -21
  800. package/src/user/UserPreKeyBundleMap.js.map +0 -1
  801. package/src/user/UserUpdate.d.ts +0 -2
  802. package/src/user/UserUpdate.js +0 -21
  803. package/src/user/UserUpdate.js.map +0 -1
  804. package/src/user/VerifyDelete.d.ts +0 -4
  805. package/src/user/VerifyDelete.js +0 -21
  806. package/src/user/VerifyDelete.js.map +0 -1
  807. package/src/user/data/UserActivateData.d.ts +0 -4
  808. package/src/user/data/UserActivateData.js +0 -21
  809. package/src/user/data/UserActivateData.js.map +0 -1
  810. package/src/user/data/UserClientAddData.d.ts +0 -4
  811. package/src/user/data/UserClientAddData.js +0 -21
  812. package/src/user/data/UserClientAddData.js.map +0 -1
  813. package/src/user/data/UserClientRemoveData.d.ts +0 -5
  814. package/src/user/data/UserClientRemoveData.js +0 -21
  815. package/src/user/data/UserClientRemoveData.js.map +0 -1
  816. package/src/user/data/UserConnectionData.d.ts +0 -8
  817. package/src/user/data/UserConnectionData.js +0 -21
  818. package/src/user/data/UserConnectionData.js.map +0 -1
  819. package/src/user/data/UserDeleteData.d.ts +0 -3
  820. package/src/user/data/UserDeleteData.js +0 -21
  821. package/src/user/data/UserDeleteData.js.map +0 -1
  822. package/src/user/data/UserLegalHoldDisableData.d.ts +0 -4
  823. package/src/user/data/UserLegalHoldDisableData.js +0 -21
  824. package/src/user/data/UserLegalHoldDisableData.js.map +0 -1
  825. package/src/user/data/UserLegalHoldEnableData.d.ts +0 -4
  826. package/src/user/data/UserLegalHoldEnableData.js +0 -21
  827. package/src/user/data/UserLegalHoldEnableData.js.map +0 -1
  828. package/src/user/data/UserLegalHoldRequestData.d.ts +0 -9
  829. package/src/user/data/UserLegalHoldRequestData.js +0 -21
  830. package/src/user/data/UserLegalHoldRequestData.js.map +0 -1
  831. package/src/user/data/UserPropertiesDeleteData.d.ts +0 -3
  832. package/src/user/data/UserPropertiesDeleteData.js +0 -21
  833. package/src/user/data/UserPropertiesDeleteData.js.map +0 -1
  834. package/src/user/data/UserPropertiesSetData.d.ts +0 -45
  835. package/src/user/data/UserPropertiesSetData.js +0 -35
  836. package/src/user/data/UserPropertiesSetData.js.map +0 -1
  837. package/src/user/data/UserPushRemoveData.d.ts +0 -9
  838. package/src/user/data/UserPushRemoveData.js +0 -21
  839. package/src/user/data/UserPushRemoveData.js.map +0 -1
  840. package/src/user/data/UserPushTokenProvider.d.ts +0 -8
  841. package/src/user/data/UserPushTokenProvider.js +0 -31
  842. package/src/user/data/UserPushTokenProvider.js.map +0 -1
  843. package/src/user/data/UserUpdateData.d.ts +0 -6
  844. package/src/user/data/UserUpdateData.js +0 -21
  845. package/src/user/data/UserUpdateData.js.map +0 -1
  846. package/src/user/data/index.d.ts +0 -12
  847. package/src/user/data/index.js +0 -43
  848. package/src/user/data/index.js.map +0 -1
  849. package/src/user/index.d.ts +0 -22
  850. package/src/user/index.js +0 -53
  851. package/src/user/index.js.map +0 -1
  852. package/src/validation/ValidationError.d.ts +0 -4
  853. package/src/validation/ValidationError.js +0 -30
  854. package/src/validation/ValidationError.js.map +0 -1
  855. package/src/validation/index.d.ts +0 -1
  856. package/src/validation/index.js +0 -32
  857. package/src/validation/index.js.map +0 -1
@@ -1,4 +0,0 @@
1
- import { QualifiedId } from './QualifiedId';
2
- export interface LimitedQualifiedUserIdList {
3
- qualified_users: QualifiedId[];
4
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2021 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=LimitedQualifiedUserIdList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LimitedQualifiedUserIdList.js","sourceRoot":"","sources":["LimitedQualifiedUserIdList.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,4 +0,0 @@
1
- export declare enum ManagedSource {
2
- SCIM = "scim",
3
- WIRE = "wire"
4
- }
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2020 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.ManagedSource = void 0;
22
- var ManagedSource;
23
- (function (ManagedSource) {
24
- ManagedSource["SCIM"] = "scim";
25
- ManagedSource["WIRE"] = "wire";
26
- })(ManagedSource = exports.ManagedSource || (exports.ManagedSource = {}));
27
- //# sourceMappingURL=ManagedSource.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ManagedSource.js","sourceRoot":"","sources":["ManagedSource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,8BAAa,CAAA;IACb,8BAAa,CAAA;AACf,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
@@ -1,4 +0,0 @@
1
- export interface NewPasswordReset {
2
- email?: string;
3
- phone?: string;
4
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=NewPasswordReset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NewPasswordReset.js","sourceRoot":"","sources":["NewPasswordReset.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,4 +0,0 @@
1
- export interface QualifiedHandle {
2
- domain: string;
3
- handle: string;
4
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2021 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=QualifiedHandle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QualifiedHandle.js","sourceRoot":"","sources":["QualifiedHandle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,4 +0,0 @@
1
- export interface QualifiedId {
2
- domain: string;
3
- id: string;
4
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2021 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=QualifiedId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QualifiedId.js","sourceRoot":"","sources":["QualifiedId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,5 +0,0 @@
1
- import type { RTCIceServer } from '../user/';
2
- export interface RTCConfiguration {
3
- ice_servers: RTCIceServer[];
4
- ttl: number;
5
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=RTCConfiguration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTCConfiguration.js","sourceRoot":"","sources":["RTCConfiguration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,5 +0,0 @@
1
- export interface RTCIceServer {
2
- credential: string;
3
- urls: string[];
4
- username: string;
5
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=RTCIceServer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTCIceServer.js","sourceRoot":"","sources":["RTCIceServer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,8 +0,0 @@
1
- export interface RichInfoField {
2
- type: string;
3
- value: string;
4
- }
5
- export interface RichInfo {
6
- fields: RichInfoField[];
7
- version: number;
8
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2020 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=RichInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RichInfo.js","sourceRoot":"","sources":["RichInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,7 +0,0 @@
1
- import type { Contact } from '../user/';
2
- export interface SearchResult {
3
- documents: Contact[];
4
- found: number;
5
- returned: number;
6
- took: number;
7
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=SearchResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchResult.js","sourceRoot":"","sources":["SearchResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,10 +0,0 @@
1
- export interface SendActivationCode {
2
- /** Email address to send the code to. */
3
- email?: string;
4
- /** Locale to use for the activation code template. */
5
- locale?: string;
6
- /** E.164 phone number to send the code to. */
7
- phone?: string;
8
- /** Request the code with a call instead (default is SMS). */
9
- voice_call?: boolean;
10
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=SendActivationCode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendActivationCode.js","sourceRoot":"","sources":["SendActivationCode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,20 +0,0 @@
1
- import type { AccentColor } from '@wireapp/commons';
2
- import type { ServiceRef } from '../conversation/';
3
- import type { Picture } from '../self/';
4
- import type { UserAsset } from '../user/';
5
- import type { QualifiedId } from './QualifiedId';
6
- export interface User {
7
- accent_id?: AccentColor.AccentColorID;
8
- assets?: UserAsset[];
9
- deleted?: boolean;
10
- email?: string;
11
- email_unvalidated?: string;
12
- expires_at?: string;
13
- handle?: string;
14
- id: string;
15
- name: string;
16
- picture?: Picture[];
17
- qualified_id?: QualifiedId;
18
- service?: ServiceRef;
19
- team?: string;
20
- }
package/src/user/User.js DELETED
@@ -1,21 +0,0 @@
1
- "use strict";
2
- /*
3
- * Wire
4
- * Copyright (C) 2018 Wire Swiss GmbH
5
- *
6
- * This program is free software: you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation, either version 3 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program. If not, see http://www.gnu.org/licenses/.
18
- *
19
- */
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- //# sourceMappingURL=User.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
@@ -1,232 +0,0 @@
1
- import { HttpClient, RequestCancelable } from '../http/';
2
- import type { Activate, ActivationResponse, CheckHandles, CompletePasswordReset, HandleInfo, LimitedQualifiedUserIdList, NewPasswordReset, QualifiedHandle, QualifiedId, SearchResult, SendActivationCode, User, UserPreKeyBundleMap, VerifyDelete } from '../user/';
3
- import type { ClientPreKey, PreKeyBundle } from '../auth/';
4
- import type { PublicClient, QualifiedPublicClients } from '../client/';
5
- import type { RichInfo } from './RichInfo';
6
- import type { UserClients, QualifiedUserClients } from '../conversation/';
7
- import type { QualifiedUserPreKeyBundleMap } from './UserPreKeyBundleMap';
8
- import { VerificationActionType } from '../auth/VerificationActionType';
9
- import { BackendFeatures } from '../APIClient';
10
- export declare class UserAPI {
11
- private readonly client;
12
- private readonly backendFeatures;
13
- static readonly DEFAULT_USERS_CHUNK_SIZE = 50;
14
- static readonly DEFAULT_USERS_PREKEY_BUNDLE_CHUNK_SIZE = 128;
15
- static readonly URL: {
16
- ACTIVATE: string;
17
- BY_HANDLE: string;
18
- CALLS: string;
19
- CLIENTS: string;
20
- CONFIG: string;
21
- CONTACTS: string;
22
- DELETE: string;
23
- EMAIL: string;
24
- HANDLES: string;
25
- LIST_CLIENTS: string;
26
- LIST_PREKEYS: string;
27
- LIST_USERS: string;
28
- PASSWORD_RESET: string;
29
- PRE_KEYS: string;
30
- PROPERTIES: string;
31
- RICH_INFO: string;
32
- SEARCH: string;
33
- SEND: string;
34
- USERS: string;
35
- V2: string;
36
- VERIFICATION: string;
37
- };
38
- constructor(client: HttpClient, backendFeatures: BackendFeatures);
39
- /**
40
- * Clear all properties.
41
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/clearProperties
42
- */
43
- deleteProperties(): Promise<void>;
44
- /**
45
- * Delete a property.
46
- * @param propertyKey The property key to delete
47
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/deleteProperty
48
- */
49
- deleteProperty(propertyKey: string): Promise<void>;
50
- /**
51
- * Activate (i.e. confirm) an email address or phone number.
52
- * @param activationCode Activation code
53
- * @param activationKey Activation key
54
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/activate
55
- */
56
- getActivation(activationCode: string, activationKey: string): Promise<ActivationResponse>;
57
- /**
58
- * Retrieve TURN server addresses and credentials.
59
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getCallsConfig
60
- */
61
- getCallsConfiguration(): Promise<RTCConfiguration>;
62
- /**
63
- * Get a specific client of a user.
64
- * @param userId The user ID
65
- * @param clientId The client ID
66
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getUserClient
67
- */
68
- getClient(userId: string | QualifiedId, clientId: string): Promise<PublicClient>;
69
- /**
70
- * Get a prekey for a specific client of a user.
71
- * @param userId The user ID
72
- * @param clientId The client ID
73
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getPrekey
74
- */
75
- getClientPreKey(userId: string | QualifiedId, clientId: string): Promise<ClientPreKey>;
76
- private getClientPreKey_v1;
77
- private getClientPreKey_v2;
78
- /**
79
- * Get all of a user's clients.
80
- * @param userId The user ID
81
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getUserClients
82
- */
83
- getClients(userId: string | QualifiedId): Promise<PublicClient[]>;
84
- /**
85
- * Get information on a user handle.
86
- * @param handle The user's handle
87
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getUserHandleInfo
88
- */
89
- getHandle(handle: string): Promise<HandleInfo>;
90
- /**
91
- * List all property keys.
92
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/listPropertyKeys
93
- */
94
- getProperties(): Promise<string[]>;
95
- /**
96
- * Get a property value.
97
- * @param propertyKey The property key to get
98
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getProperty
99
- */
100
- getProperty<T>(propertyKey: string): Promise<T>;
101
- /**
102
- * Search for users.
103
- * @param query The search query
104
- * @param domain The domain where the user should be hosted
105
- * @param limit Number of results to return
106
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/search
107
- */
108
- getSearchContacts(query: string, limit?: number, domain?: string): Promise<RequestCancelable<SearchResult>>;
109
- /**
110
- * Get a user by ID.
111
- * @note If you want to get all properties (`sso_id`, `managed_by`, etc.) for your own user, use "/self".
112
- * Otherwise you will get a user payload with a limited set of properties (what's publicly available).
113
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/user
114
- */
115
- getUser(userId: string | QualifiedId): Promise<User>;
116
- getUserPreKeys(userId: string | QualifiedId): Promise<PreKeyBundle>;
117
- /**
118
- * List users.
119
- * Note: The 'ids' and 'handles' parameters are mutually exclusive.
120
- * @param parameters Multiple user's handles or IDs
121
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/users
122
- */
123
- getUsers(parameters: {
124
- ids: string[];
125
- } | {
126
- handles: string[];
127
- }, limit?: number): Promise<User[]>;
128
- /**
129
- * List users.
130
- * @param userIds Multiple user's IDs
131
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/users
132
- */
133
- getUsersByIds(userIds: string[]): Promise<User[]>;
134
- /**
135
- * Check if a user ID exists.
136
- */
137
- headUsers(userId: string | QualifiedId): Promise<void>;
138
- /**
139
- * Activate (i.e. confirm) an email address or phone number.
140
- * Note: Activation only succeeds once and the number of failed attempts for a valid key is limited.
141
- * @param activationData Data to activate an account
142
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/activate_0
143
- */
144
- postActivation(activationData: Activate): Promise<ActivationResponse>;
145
- /**
146
- * Send (or resend) an email or phone activation code.
147
- * @param activationCodeData Data to send an activation code
148
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/sendActivationCode
149
- */
150
- postActivationCode(activationCodeData: SendActivationCode): Promise<void>;
151
- /**
152
- * Generates a verification code to be sent to the email address provided
153
- * @param email users email address
154
- * @param action whether the action is for a SCIM code generation or a user login
155
- */
156
- postVerificationCode(email: string, action: VerificationActionType): Promise<void>;
157
- /**
158
- * Verify account deletion with a code.
159
- * @param verificationData Data to verify the account deletion
160
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/verifyDeleteUser
161
- */
162
- postDelete(verificationData: VerifyDelete): Promise<void>;
163
- /**
164
- * Check availability of user handles.
165
- * @param handles The handles to check
166
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/checkUserHandles
167
- */
168
- postHandles(handles: CheckHandles): Promise<string[]>;
169
- /**
170
- * Check availability of a single user handle.
171
- * @param handle The handle to check
172
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/checkUserHandle
173
- */
174
- headHandle(handle: string): Promise<void>;
175
- /**
176
- * Get a user by fully qualified handle.
177
- * @param handle The handle of a user to search for
178
- */
179
- getUserByHandle(handle: QualifiedHandle): Promise<User>;
180
- private postMultiPreKeyBundlesChunk;
181
- private postMultiQualifiedPreKeyBundlesChunk;
182
- /**
183
- * List users.
184
- * Note: The 'qualified_ids' and 'qualified_handles' parameters are mutually exclusive.
185
- */
186
- postListUsers(users: {
187
- qualified_ids: QualifiedId[];
188
- } | {
189
- qualified_handles: QualifiedHandle[];
190
- }): Promise<User[]>;
191
- /**
192
- * Get client infos from a list of users.
193
- */
194
- postListClients(userIdList: LimitedQualifiedUserIdList): Promise<QualifiedPublicClients>;
195
- /**
196
- * Given a map of user IDs to client IDs return a prekey for each one.
197
- * @param userClientMap A map of the user's clients
198
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getMultiPrekeyBundles
199
- */
200
- postMultiPreKeyBundles(userClientMap: UserClients, limit?: number): Promise<UserPreKeyBundleMap>;
201
- /**
202
- * Given a map of qualified user IDs to client IDs return a prekey for each one.
203
- * @param userClientMap A map of the qualified user's clients
204
- */
205
- postQualifiedMultiPreKeyBundles(userClientMap: QualifiedUserClients, limit?: number): Promise<QualifiedUserPreKeyBundleMap>;
206
- /**
207
- * Initiate or complete a password reset.
208
- * @param resetData The data needed to initiate or complete the reset
209
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/beginPasswordReset
210
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/completePasswordReset
211
- */
212
- postPasswordReset(resetData: NewPasswordReset | CompletePasswordReset): Promise<void>;
213
- /**
214
- * Set a user property.
215
- * @param propertyKey The property key to set
216
- * @param propertyData The property data to set
217
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/setProperty
218
- */
219
- putProperty<T>(propertyKey: string, propertyData: T): Promise<void>;
220
- /**
221
- * Get rich info of a user
222
- * @param userId The user ID
223
- * @see https://staging-nginz-https.zinfra.io/swagger-ui/#!/users/getRichInfo
224
- */
225
- getRichInfo(userId: string): Promise<RichInfo>;
226
- /**
227
- * Resend email address validation
228
- * @param userId The user ID
229
- * @see https://staging-nginz-https.zinfra.io/api/swagger-ui/#/default/put_users__uid__email
230
- */
231
- putRevalidateEmail(userId: string, email: string): Promise<void>;
232
- }