@wireapp/wire-apps-js-sdk 0.0.1-alpha

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 (639) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +141 -0
  3. package/build/WireAppSdk.d.ts +31 -0
  4. package/build/WireAppSdk.d.ts.map +1 -0
  5. package/build/WireAppSdk.js +159 -0
  6. package/build/WireAppSdk.js.map +1 -0
  7. package/build/api/AssetsApiClient.d.ts +12 -0
  8. package/build/api/AssetsApiClient.d.ts.map +1 -0
  9. package/build/api/AssetsApiClient.js +67 -0
  10. package/build/api/AssetsApiClient.js.map +1 -0
  11. package/build/api/AssetsTransferService.d.ts +12 -0
  12. package/build/api/AssetsTransferService.d.ts.map +1 -0
  13. package/build/api/AssetsTransferService.js +80 -0
  14. package/build/api/AssetsTransferService.js.map +1 -0
  15. package/build/api/ClientsApiClient.d.ts +13 -0
  16. package/build/api/ClientsApiClient.d.ts.map +1 -0
  17. package/build/api/ClientsApiClient.js +59 -0
  18. package/build/api/ClientsApiClient.js.map +1 -0
  19. package/build/api/ClientsService.d.ts +10 -0
  20. package/build/api/ClientsService.d.ts.map +1 -0
  21. package/build/api/ClientsService.js +45 -0
  22. package/build/api/ClientsService.js.map +1 -0
  23. package/build/api/ConversationService.d.ts +83 -0
  24. package/build/api/ConversationService.d.ts.map +1 -0
  25. package/build/api/ConversationService.js +534 -0
  26. package/build/api/ConversationService.js.map +1 -0
  27. package/build/api/ConversationsApiClient.d.ts +23 -0
  28. package/build/api/ConversationsApiClient.d.ts.map +1 -0
  29. package/build/api/ConversationsApiClient.js +113 -0
  30. package/build/api/ConversationsApiClient.js.map +1 -0
  31. package/build/api/FeatureConfigsApiClient.d.ts +9 -0
  32. package/build/api/FeatureConfigsApiClient.d.ts.map +1 -0
  33. package/build/api/FeatureConfigsApiClient.js +43 -0
  34. package/build/api/FeatureConfigsApiClient.js.map +1 -0
  35. package/build/api/FeatureConfigsService.d.ts +8 -0
  36. package/build/api/FeatureConfigsService.d.ts.map +1 -0
  37. package/build/api/FeatureConfigsService.js +45 -0
  38. package/build/api/FeatureConfigsService.js.map +1 -0
  39. package/build/api/MlsApiClient.d.ts +23 -0
  40. package/build/api/MlsApiClient.d.ts.map +1 -0
  41. package/build/api/MlsApiClient.js +77 -0
  42. package/build/api/MlsApiClient.js.map +1 -0
  43. package/build/api/MlsService.d.ts +17 -0
  44. package/build/api/MlsService.d.ts.map +1 -0
  45. package/build/api/MlsService.js +87 -0
  46. package/build/api/MlsService.js.map +1 -0
  47. package/build/api/NotificationsApiClient.d.ts +17 -0
  48. package/build/api/NotificationsApiClient.d.ts.map +1 -0
  49. package/build/api/NotificationsApiClient.js +60 -0
  50. package/build/api/NotificationsApiClient.js.map +1 -0
  51. package/build/api/OneToOneConversationsApiClient.d.ts +11 -0
  52. package/build/api/OneToOneConversationsApiClient.d.ts.map +1 -0
  53. package/build/api/OneToOneConversationsApiClient.js +45 -0
  54. package/build/api/OneToOneConversationsApiClient.js.map +1 -0
  55. package/build/api/SearchApiClient.d.ts +9 -0
  56. package/build/api/SearchApiClient.d.ts.map +1 -0
  57. package/build/api/SearchApiClient.js +61 -0
  58. package/build/api/SearchApiClient.js.map +1 -0
  59. package/build/api/TeamsApiClient.d.ts +11 -0
  60. package/build/api/TeamsApiClient.d.ts.map +1 -0
  61. package/build/api/TeamsApiClient.js +47 -0
  62. package/build/api/TeamsApiClient.js.map +1 -0
  63. package/build/api/UserService.d.ts +28 -0
  64. package/build/api/UserService.d.ts.map +1 -0
  65. package/build/api/UserService.js +90 -0
  66. package/build/api/UserService.js.map +1 -0
  67. package/build/api/UsersApiClient.d.ts +12 -0
  68. package/build/api/UsersApiClient.d.ts.map +1 -0
  69. package/build/api/UsersApiClient.js +63 -0
  70. package/build/api/UsersApiClient.js.map +1 -0
  71. package/build/api/model/AddMembersToConversationResult.d.ts +6 -0
  72. package/build/api/model/AddMembersToConversationResult.d.ts.map +1 -0
  73. package/build/api/model/AddMembersToConversationResult.js +17 -0
  74. package/build/api/model/AddMembersToConversationResult.js.map +1 -0
  75. package/build/api/model/ConversationIdsPaginationConfig.d.ts +5 -0
  76. package/build/api/model/ConversationIdsPaginationConfig.d.ts.map +1 -0
  77. package/build/api/model/ConversationIdsPaginationConfig.js +17 -0
  78. package/build/api/model/ConversationIdsPaginationConfig.js.map +1 -0
  79. package/build/api/model/ConversationMemberOtherResponse.d.ts +7 -0
  80. package/build/api/model/ConversationMemberOtherResponse.d.ts.map +1 -0
  81. package/build/api/model/ConversationMemberOtherResponse.js +17 -0
  82. package/build/api/model/ConversationMemberOtherResponse.js.map +1 -0
  83. package/build/api/model/ConversationMemberSelfResponse.d.ts +7 -0
  84. package/build/api/model/ConversationMemberSelfResponse.d.ts.map +1 -0
  85. package/build/api/model/ConversationMemberSelfResponse.js +17 -0
  86. package/build/api/model/ConversationMemberSelfResponse.js.map +1 -0
  87. package/build/api/model/ConversationMembersResponse.d.ts +7 -0
  88. package/build/api/model/ConversationMembersResponse.d.ts.map +1 -0
  89. package/build/api/model/ConversationMembersResponse.js +17 -0
  90. package/build/api/model/ConversationMembersResponse.js.map +1 -0
  91. package/build/api/model/ConversationTeamInfo.d.ts +5 -0
  92. package/build/api/model/ConversationTeamInfo.d.ts.map +1 -0
  93. package/build/api/model/ConversationTeamInfo.js +17 -0
  94. package/build/api/model/ConversationTeamInfo.js.map +1 -0
  95. package/build/api/model/RemoveMembersFromConversationResult.d.ts +5 -0
  96. package/build/api/model/RemoveMembersFromConversationResult.d.ts.map +1 -0
  97. package/build/api/model/RemoveMembersFromConversationResult.js +17 -0
  98. package/build/api/model/RemoveMembersFromConversationResult.js.map +1 -0
  99. package/build/api/model/UserClientResponse.d.ts +4 -0
  100. package/build/api/model/UserClientResponse.d.ts.map +1 -0
  101. package/build/api/model/UserClientResponse.js +17 -0
  102. package/build/api/model/UserClientResponse.js.map +1 -0
  103. package/build/api/model/UserResponse.d.ts +12 -0
  104. package/build/api/model/UserResponse.d.ts.map +1 -0
  105. package/build/api/model/UserResponse.js +17 -0
  106. package/build/api/model/UserResponse.js.map +1 -0
  107. package/build/api/model/asset/AssetUploadData.d.ts +5 -0
  108. package/build/api/model/asset/AssetUploadData.d.ts.map +1 -0
  109. package/build/api/model/asset/AssetUploadData.js +17 -0
  110. package/build/api/model/asset/AssetUploadData.js.map +1 -0
  111. package/build/api/model/asset/AssetUploadResponse.d.ts +7 -0
  112. package/build/api/model/asset/AssetUploadResponse.d.ts.map +1 -0
  113. package/build/api/model/asset/AssetUploadResponse.js +17 -0
  114. package/build/api/model/asset/AssetUploadResponse.js.map +1 -0
  115. package/build/api/request/CapabilitiesRequest.d.ts +4 -0
  116. package/build/api/request/CapabilitiesRequest.d.ts.map +1 -0
  117. package/build/api/request/CapabilitiesRequest.js +20 -0
  118. package/build/api/request/CapabilitiesRequest.js.map +1 -0
  119. package/build/api/request/ClientUpdateRequest.d.ts +5 -0
  120. package/build/api/request/ClientUpdateRequest.d.ts.map +1 -0
  121. package/build/api/request/ClientUpdateRequest.js +17 -0
  122. package/build/api/request/ClientUpdateRequest.js.map +1 -0
  123. package/build/api/request/ConversationIdsRequest.d.ts +5 -0
  124. package/build/api/request/ConversationIdsRequest.d.ts.map +1 -0
  125. package/build/api/request/ConversationIdsRequest.js +17 -0
  126. package/build/api/request/ConversationIdsRequest.js.map +1 -0
  127. package/build/api/request/CreateConversationRequest.d.ts +30 -0
  128. package/build/api/request/CreateConversationRequest.d.ts.map +1 -0
  129. package/build/api/request/CreateConversationRequest.js +57 -0
  130. package/build/api/request/CreateConversationRequest.js.map +1 -0
  131. package/build/api/request/MlsKeyPackagesRequest.d.ts +4 -0
  132. package/build/api/request/MlsKeyPackagesRequest.d.ts.map +1 -0
  133. package/build/api/request/MlsKeyPackagesRequest.js +17 -0
  134. package/build/api/request/MlsKeyPackagesRequest.js.map +1 -0
  135. package/build/api/request/PreKeyRequest.d.ts +6 -0
  136. package/build/api/request/PreKeyRequest.d.ts.map +1 -0
  137. package/build/api/request/PreKeyRequest.js +24 -0
  138. package/build/api/request/PreKeyRequest.js.map +1 -0
  139. package/build/api/request/RegisterClientRequest.d.ts +14 -0
  140. package/build/api/request/RegisterClientRequest.d.ts.map +1 -0
  141. package/build/api/request/RegisterClientRequest.js +36 -0
  142. package/build/api/request/RegisterClientRequest.js.map +1 -0
  143. package/build/api/response/AccessResponse.d.ts +7 -0
  144. package/build/api/response/AccessResponse.d.ts.map +1 -0
  145. package/build/api/response/AccessResponse.js +17 -0
  146. package/build/api/response/AccessResponse.js.map +1 -0
  147. package/build/api/response/ClaimedKeyPackageList.d.ts +14 -0
  148. package/build/api/response/ClaimedKeyPackageList.d.ts.map +1 -0
  149. package/build/api/response/ClaimedKeyPackageList.js +17 -0
  150. package/build/api/response/ClaimedKeyPackageList.js.map +1 -0
  151. package/build/api/response/ConversationIdsResponse.d.ts +7 -0
  152. package/build/api/response/ConversationIdsResponse.d.ts.map +1 -0
  153. package/build/api/response/ConversationIdsResponse.js +17 -0
  154. package/build/api/response/ConversationIdsResponse.js.map +1 -0
  155. package/build/api/response/ConversationResponse.d.ts +16 -0
  156. package/build/api/response/ConversationResponse.d.ts.map +1 -0
  157. package/build/api/response/ConversationResponse.js +17 -0
  158. package/build/api/response/ConversationResponse.js.map +1 -0
  159. package/build/api/response/ConversationsResponse.d.ts +8 -0
  160. package/build/api/response/ConversationsResponse.d.ts.map +1 -0
  161. package/build/api/response/ConversationsResponse.js +17 -0
  162. package/build/api/response/ConversationsResponse.js.map +1 -0
  163. package/build/api/response/EventResponse.d.ts +7 -0
  164. package/build/api/response/EventResponse.d.ts.map +1 -0
  165. package/build/api/response/EventResponse.js +17 -0
  166. package/build/api/response/EventResponse.js.map +1 -0
  167. package/build/api/response/FeatureConfigsResponse.d.ts +19 -0
  168. package/build/api/response/FeatureConfigsResponse.d.ts.map +1 -0
  169. package/build/api/response/FeatureConfigsResponse.js +17 -0
  170. package/build/api/response/FeatureConfigsResponse.js.map +1 -0
  171. package/build/api/response/MlsPublicKeysResponse.d.ts +7 -0
  172. package/build/api/response/MlsPublicKeysResponse.d.ts.map +1 -0
  173. package/build/api/response/MlsPublicKeysResponse.js +42 -0
  174. package/build/api/response/MlsPublicKeysResponse.js.map +1 -0
  175. package/build/api/response/NotificationsResponse.d.ts +7 -0
  176. package/build/api/response/NotificationsResponse.d.ts.map +1 -0
  177. package/build/api/response/NotificationsResponse.js +17 -0
  178. package/build/api/response/NotificationsResponse.js.map +1 -0
  179. package/build/api/response/OneToOneConversationResponse.d.ts +7 -0
  180. package/build/api/response/OneToOneConversationResponse.d.ts.map +1 -0
  181. package/build/api/response/OneToOneConversationResponse.js +17 -0
  182. package/build/api/response/OneToOneConversationResponse.js.map +1 -0
  183. package/build/api/response/RegisterClientResponse.d.ts +4 -0
  184. package/build/api/response/RegisterClientResponse.d.ts.map +1 -0
  185. package/build/api/response/RegisterClientResponse.js +17 -0
  186. package/build/api/response/RegisterClientResponse.js.map +1 -0
  187. package/build/api/response/SearchContactsResponse.d.ts +15 -0
  188. package/build/api/response/SearchContactsResponse.d.ts.map +1 -0
  189. package/build/api/response/SearchContactsResponse.js +17 -0
  190. package/build/api/response/SearchContactsResponse.js.map +1 -0
  191. package/build/core/CoreCryptoClient.d.ts +48 -0
  192. package/build/core/CoreCryptoClient.d.ts.map +1 -0
  193. package/build/core/CoreCryptoClient.js +219 -0
  194. package/build/core/CoreCryptoClient.js.map +1 -0
  195. package/build/core/CoreCryptoMlsTransport.d.ts +19 -0
  196. package/build/core/CoreCryptoMlsTransport.d.ts.map +1 -0
  197. package/build/core/CoreCryptoMlsTransport.js +64 -0
  198. package/build/core/CoreCryptoMlsTransport.js.map +1 -0
  199. package/build/core/CoreCryptoService.d.ts +59 -0
  200. package/build/core/CoreCryptoService.d.ts.map +1 -0
  201. package/build/core/CoreCryptoService.js +233 -0
  202. package/build/core/CoreCryptoService.js.map +1 -0
  203. package/build/core/HttpClient.d.ts +47 -0
  204. package/build/core/HttpClient.d.ts.map +1 -0
  205. package/build/core/HttpClient.js +258 -0
  206. package/build/core/HttpClient.js.map +1 -0
  207. package/build/core/HttpRetryHelper.d.ts +16 -0
  208. package/build/core/HttpRetryHelper.d.ts.map +1 -0
  209. package/build/core/HttpRetryHelper.js +49 -0
  210. package/build/core/HttpRetryHelper.js.map +1 -0
  211. package/build/core/HttpRetryPolicy.d.ts +7 -0
  212. package/build/core/HttpRetryPolicy.d.ts.map +1 -0
  213. package/build/core/HttpRetryPolicy.js +29 -0
  214. package/build/core/HttpRetryPolicy.js.map +1 -0
  215. package/build/core/WebSocketClient.d.ts +37 -0
  216. package/build/core/WebSocketClient.d.ts.map +1 -0
  217. package/build/core/WebSocketClient.js +244 -0
  218. package/build/core/WebSocketClient.js.map +1 -0
  219. package/build/core/WireApplicationManager.d.ts +39 -0
  220. package/build/core/WireApplicationManager.d.ts.map +1 -0
  221. package/build/core/WireApplicationManager.js +142 -0
  222. package/build/core/WireApplicationManager.js.map +1 -0
  223. package/build/core/WireEventsHandler.d.ts +33 -0
  224. package/build/core/WireEventsHandler.d.ts.map +1 -0
  225. package/build/core/WireEventsHandler.js +78 -0
  226. package/build/core/WireEventsHandler.js.map +1 -0
  227. package/build/core/event/DeleteConversationEventProcessor.d.ts +13 -0
  228. package/build/core/event/DeleteConversationEventProcessor.d.ts.map +1 -0
  229. package/build/core/event/DeleteConversationEventProcessor.js +58 -0
  230. package/build/core/event/DeleteConversationEventProcessor.js.map +1 -0
  231. package/build/core/event/EventProcessor.d.ts +6 -0
  232. package/build/core/event/EventProcessor.d.ts.map +1 -0
  233. package/build/core/event/EventProcessor.js +17 -0
  234. package/build/core/event/EventProcessor.js.map +1 -0
  235. package/build/core/event/EventRouter.d.ts +10 -0
  236. package/build/core/event/EventRouter.d.ts.map +1 -0
  237. package/build/core/event/EventRouter.js +58 -0
  238. package/build/core/event/EventRouter.js.map +1 -0
  239. package/build/core/event/MemberJoinEventProcessor.d.ts +13 -0
  240. package/build/core/event/MemberJoinEventProcessor.d.ts.map +1 -0
  241. package/build/core/event/MemberJoinEventProcessor.js +63 -0
  242. package/build/core/event/MemberJoinEventProcessor.js.map +1 -0
  243. package/build/core/event/MemberLeaveEventProcessor.d.ts +13 -0
  244. package/build/core/event/MemberLeaveEventProcessor.d.ts.map +1 -0
  245. package/build/core/event/MemberLeaveEventProcessor.js +58 -0
  246. package/build/core/event/MemberLeaveEventProcessor.js.map +1 -0
  247. package/build/core/event/MemberUpdateEventProcessor.d.ts +11 -0
  248. package/build/core/event/MemberUpdateEventProcessor.d.ts.map +1 -0
  249. package/build/core/event/MemberUpdateEventProcessor.js +50 -0
  250. package/build/core/event/MemberUpdateEventProcessor.js.map +1 -0
  251. package/build/core/event/MlsMessageEventProcessor.d.ts +18 -0
  252. package/build/core/event/MlsMessageEventProcessor.d.ts.map +1 -0
  253. package/build/core/event/MlsMessageEventProcessor.js +134 -0
  254. package/build/core/event/MlsMessageEventProcessor.js.map +1 -0
  255. package/build/core/event/MlsResetEventProcessor.d.ts +11 -0
  256. package/build/core/event/MlsResetEventProcessor.d.ts.map +1 -0
  257. package/build/core/event/MlsResetEventProcessor.js +48 -0
  258. package/build/core/event/MlsResetEventProcessor.js.map +1 -0
  259. package/build/core/event/MlsWelcomeEventProcessor.d.ts +18 -0
  260. package/build/core/event/MlsWelcomeEventProcessor.d.ts.map +1 -0
  261. package/build/core/event/MlsWelcomeEventProcessor.js +77 -0
  262. package/build/core/event/MlsWelcomeEventProcessor.js.map +1 -0
  263. package/build/core/event/NewConversationEventProcessor.d.ts +11 -0
  264. package/build/core/event/NewConversationEventProcessor.d.ts.map +1 -0
  265. package/build/core/event/NewConversationEventProcessor.js +49 -0
  266. package/build/core/event/NewConversationEventProcessor.js.map +1 -0
  267. package/build/core/event/processors.index.d.ts +9 -0
  268. package/build/core/event/processors.index.d.ts.map +1 -0
  269. package/build/core/event/processors.index.js +24 -0
  270. package/build/core/event/processors.index.js.map +1 -0
  271. package/build/db/AppPropertiesRepository.d.ts +16 -0
  272. package/build/db/AppPropertiesRepository.d.ts.map +1 -0
  273. package/build/db/AppPropertiesRepository.js +64 -0
  274. package/build/db/AppPropertiesRepository.js.map +1 -0
  275. package/build/db/ConversationMemberRepository.d.ts +23 -0
  276. package/build/db/ConversationMemberRepository.d.ts.map +1 -0
  277. package/build/db/ConversationMemberRepository.js +125 -0
  278. package/build/db/ConversationMemberRepository.js.map +1 -0
  279. package/build/db/ConversationRepository.d.ts +17 -0
  280. package/build/db/ConversationRepository.d.ts.map +1 -0
  281. package/build/db/ConversationRepository.js +100 -0
  282. package/build/db/ConversationRepository.js.map +1 -0
  283. package/build/db/DatabaseService.d.ts +12 -0
  284. package/build/db/DatabaseService.d.ts.map +1 -0
  285. package/build/db/DatabaseService.js +73 -0
  286. package/build/db/DatabaseService.js.map +1 -0
  287. package/build/db/migrations/0000_pink_lord_tyger.sql +27 -0
  288. package/build/db/migrations/0001_steady_selene.sql +16 -0
  289. package/build/db/migrations/meta/0000_snapshot.json +194 -0
  290. package/build/db/migrations/meta/0001_snapshot.json +197 -0
  291. package/build/db/migrations/meta/_journal.json +20 -0
  292. package/build/db/model/AppEntity.d.ts +5 -0
  293. package/build/db/model/AppEntity.d.ts.map +1 -0
  294. package/build/db/model/AppEntity.js +17 -0
  295. package/build/db/model/AppEntity.js.map +1 -0
  296. package/build/db/model/ConversationEntity.d.ts +11 -0
  297. package/build/db/model/ConversationEntity.d.ts.map +1 -0
  298. package/build/db/model/ConversationEntity.js +17 -0
  299. package/build/db/model/ConversationEntity.js.map +1 -0
  300. package/build/db/model/ConversationMemberEntity.d.ts +9 -0
  301. package/build/db/model/ConversationMemberEntity.d.ts.map +1 -0
  302. package/build/db/model/ConversationMemberEntity.js +17 -0
  303. package/build/db/model/ConversationMemberEntity.js.map +1 -0
  304. package/build/db/relations.d.ts +7 -0
  305. package/build/db/relations.d.ts.map +1 -0
  306. package/build/db/relations.js +12 -0
  307. package/build/db/relations.js.map +1 -0
  308. package/build/db/schema.d.ts +324 -0
  309. package/build/db/schema.d.ts.map +1 -0
  310. package/build/db/schema.js +34 -0
  311. package/build/db/schema.js.map +1 -0
  312. package/build/generated/messages.d.ts +5517 -0
  313. package/build/generated/messages.d.ts.map +1 -0
  314. package/build/generated/messages.js +14470 -0
  315. package/build/generated/messages.js.map +1 -0
  316. package/build/generated/package.json +3 -0
  317. package/build/index.d.ts +14 -0
  318. package/build/index.d.ts.map +1 -0
  319. package/build/index.js +34 -0
  320. package/build/index.js.map +1 -0
  321. package/build/mappers/PreKeyMapper.d.ts +4 -0
  322. package/build/mappers/PreKeyMapper.d.ts.map +1 -0
  323. package/build/mappers/PreKeyMapper.js +22 -0
  324. package/build/mappers/PreKeyMapper.js.map +1 -0
  325. package/build/mappers/conversation/ConversationMapper.d.ts +6 -0
  326. package/build/mappers/conversation/ConversationMapper.d.ts.map +1 -0
  327. package/build/mappers/conversation/ConversationMapper.js +27 -0
  328. package/build/mappers/conversation/ConversationMapper.js.map +1 -0
  329. package/build/mappers/conversation/ConversationMemberMapper.d.ts +6 -0
  330. package/build/mappers/conversation/ConversationMemberMapper.d.ts.map +1 -0
  331. package/build/mappers/conversation/ConversationMemberMapper.js +25 -0
  332. package/build/mappers/conversation/ConversationMemberMapper.js.map +1 -0
  333. package/build/mappers/protobuf/EncryptionAlgorithmMapper.d.ts +7 -0
  334. package/build/mappers/protobuf/EncryptionAlgorithmMapper.d.ts.map +1 -0
  335. package/build/mappers/protobuf/EncryptionAlgorithmMapper.js +35 -0
  336. package/build/mappers/protobuf/EncryptionAlgorithmMapper.js.map +1 -0
  337. package/build/mappers/protobuf/MessageContentEncoder.d.ts +9 -0
  338. package/build/mappers/protobuf/MessageContentEncoder.d.ts.map +1 -0
  339. package/build/mappers/protobuf/MessageContentEncoder.js +85 -0
  340. package/build/mappers/protobuf/MessageContentEncoder.js.map +1 -0
  341. package/build/mappers/protobuf/MessageLinkPreviewMapper.d.ts +7 -0
  342. package/build/mappers/protobuf/MessageLinkPreviewMapper.d.ts.map +1 -0
  343. package/build/mappers/protobuf/MessageLinkPreviewMapper.js +79 -0
  344. package/build/mappers/protobuf/MessageLinkPreviewMapper.js.map +1 -0
  345. package/build/mappers/protobuf/MessageMentionMapper.d.ts +7 -0
  346. package/build/mappers/protobuf/MessageMentionMapper.d.ts.map +1 -0
  347. package/build/mappers/protobuf/MessageMentionMapper.js +39 -0
  348. package/build/mappers/protobuf/MessageMentionMapper.js.map +1 -0
  349. package/build/mappers/protobuf/ProtobufDeserializer.d.ts +12 -0
  350. package/build/mappers/protobuf/ProtobufDeserializer.d.ts.map +1 -0
  351. package/build/mappers/protobuf/ProtobufDeserializer.js +343 -0
  352. package/build/mappers/protobuf/ProtobufDeserializer.js.map +1 -0
  353. package/build/mappers/protobuf/ProtobufSerializer.d.ts +15 -0
  354. package/build/mappers/protobuf/ProtobufSerializer.d.ts.map +1 -0
  355. package/build/mappers/protobuf/ProtobufSerializer.js +331 -0
  356. package/build/mappers/protobuf/ProtobufSerializer.js.map +1 -0
  357. package/build/model/Asset.d.ts +9 -0
  358. package/build/model/Asset.d.ts.map +1 -0
  359. package/build/model/Asset.js +17 -0
  360. package/build/model/Asset.js.map +1 -0
  361. package/build/model/ClaimedKeyPackagesResult.d.ts +7 -0
  362. package/build/model/ClaimedKeyPackagesResult.d.ts.map +1 -0
  363. package/build/model/ClaimedKeyPackagesResult.js +17 -0
  364. package/build/model/ClaimedKeyPackagesResult.js.map +1 -0
  365. package/build/model/CryptoClientId.d.ts +8 -0
  366. package/build/model/CryptoClientId.d.ts.map +1 -0
  367. package/build/model/CryptoClientId.js +29 -0
  368. package/build/model/CryptoClientId.js.map +1 -0
  369. package/build/model/CryptoProtocol.d.ts +6 -0
  370. package/build/model/CryptoProtocol.d.ts.map +1 -0
  371. package/build/model/CryptoProtocol.js +22 -0
  372. package/build/model/CryptoProtocol.js.map +1 -0
  373. package/build/model/EventContentDTO.d.ts +84 -0
  374. package/build/model/EventContentDTO.d.ts.map +1 -0
  375. package/build/model/EventContentDTO.js +17 -0
  376. package/build/model/EventContentDTO.js.map +1 -0
  377. package/build/model/MlsPublicKeys.d.ts +7 -0
  378. package/build/model/MlsPublicKeys.d.ts.map +1 -0
  379. package/build/model/MlsPublicKeys.js +17 -0
  380. package/build/model/MlsPublicKeys.js.map +1 -0
  381. package/build/model/PreKeyCrypto.d.ts +6 -0
  382. package/build/model/PreKeyCrypto.d.ts.map +1 -0
  383. package/build/model/PreKeyCrypto.js +24 -0
  384. package/build/model/PreKeyCrypto.js.map +1 -0
  385. package/build/model/QualifiedId.d.ts +17 -0
  386. package/build/model/QualifiedId.d.ts.map +1 -0
  387. package/build/model/QualifiedId.js +43 -0
  388. package/build/model/QualifiedId.js.map +1 -0
  389. package/build/model/TeamId.d.ts +6 -0
  390. package/build/model/TeamId.d.ts.map +1 -0
  391. package/build/model/TeamId.js +26 -0
  392. package/build/model/TeamId.js.map +1 -0
  393. package/build/model/WireMessage.d.ts +336 -0
  394. package/build/model/WireMessage.d.ts.map +1 -0
  395. package/build/model/WireMessage.js +270 -0
  396. package/build/model/WireMessage.js.map +1 -0
  397. package/build/model/WireUser.d.ts +12 -0
  398. package/build/model/WireUser.d.ts.map +1 -0
  399. package/build/model/WireUser.js +32 -0
  400. package/build/model/WireUser.js.map +1 -0
  401. package/build/model/conversation/ChannelAddPermissionType.d.ts +7 -0
  402. package/build/model/conversation/ChannelAddPermissionType.d.ts.map +1 -0
  403. package/build/model/conversation/ChannelAddPermissionType.js +23 -0
  404. package/build/model/conversation/ChannelAddPermissionType.js.map +1 -0
  405. package/build/model/conversation/Conversation.d.ts +9 -0
  406. package/build/model/conversation/Conversation.d.ts.map +1 -0
  407. package/build/model/conversation/Conversation.js +17 -0
  408. package/build/model/conversation/Conversation.js.map +1 -0
  409. package/build/model/conversation/ConversationAccess.d.ts +8 -0
  410. package/build/model/conversation/ConversationAccess.d.ts.map +1 -0
  411. package/build/model/conversation/ConversationAccess.js +24 -0
  412. package/build/model/conversation/ConversationAccess.js.map +1 -0
  413. package/build/model/conversation/ConversationAccessRole.d.ts +8 -0
  414. package/build/model/conversation/ConversationAccessRole.d.ts.map +1 -0
  415. package/build/model/conversation/ConversationAccessRole.js +24 -0
  416. package/build/model/conversation/ConversationAccessRole.js.map +1 -0
  417. package/build/model/conversation/ConversationMember.d.ts +7 -0
  418. package/build/model/conversation/ConversationMember.d.ts.map +1 -0
  419. package/build/model/conversation/ConversationMember.js +17 -0
  420. package/build/model/conversation/ConversationMember.js.map +1 -0
  421. package/build/model/conversation/ConversationRole.d.ts +6 -0
  422. package/build/model/conversation/ConversationRole.d.ts.map +1 -0
  423. package/build/model/conversation/ConversationRole.js +29 -0
  424. package/build/model/conversation/ConversationRole.js.map +1 -0
  425. package/build/model/conversation/ConversationType.d.ts +6 -0
  426. package/build/model/conversation/ConversationType.d.ts.map +1 -0
  427. package/build/model/conversation/ConversationType.js +22 -0
  428. package/build/model/conversation/ConversationType.js.map +1 -0
  429. package/build/model/conversation/GroupConversationType.d.ts +5 -0
  430. package/build/model/conversation/GroupConversationType.d.ts.map +1 -0
  431. package/build/model/conversation/GroupConversationType.js +21 -0
  432. package/build/model/conversation/GroupConversationType.js.map +1 -0
  433. package/build/model/conversation/ReceiptMode.d.ts +5 -0
  434. package/build/model/conversation/ReceiptMode.d.ts.map +1 -0
  435. package/build/model/conversation/ReceiptMode.js +21 -0
  436. package/build/model/conversation/ReceiptMode.js.map +1 -0
  437. package/build/model/exception/CoreCryptoMlsException.d.ts +5 -0
  438. package/build/model/exception/CoreCryptoMlsException.d.ts.map +1 -0
  439. package/build/model/exception/CoreCryptoMlsException.js +25 -0
  440. package/build/model/exception/CoreCryptoMlsException.js.map +1 -0
  441. package/build/model/exception/MlsException.d.ts +5 -0
  442. package/build/model/exception/MlsException.d.ts.map +1 -0
  443. package/build/model/exception/MlsException.js +25 -0
  444. package/build/model/exception/MlsException.js.map +1 -0
  445. package/build/model/exception/WireApiError.d.ts +6 -0
  446. package/build/model/exception/WireApiError.d.ts.map +1 -0
  447. package/build/model/exception/WireApiError.js +17 -0
  448. package/build/model/exception/WireApiError.js.map +1 -0
  449. package/build/model/exception/WireApiException.d.ts +8 -0
  450. package/build/model/exception/WireApiException.d.ts.map +1 -0
  451. package/build/model/exception/WireApiException.js +29 -0
  452. package/build/model/exception/WireApiException.js.map +1 -0
  453. package/build/model/protobuf/MessageEncryptionAlgorithm.d.ts +5 -0
  454. package/build/model/protobuf/MessageEncryptionAlgorithm.d.ts.map +1 -0
  455. package/build/model/protobuf/MessageEncryptionAlgorithm.js +21 -0
  456. package/build/model/protobuf/MessageEncryptionAlgorithm.js.map +1 -0
  457. package/build/service/AppProperties.d.ts +25 -0
  458. package/build/service/AppProperties.d.ts.map +1 -0
  459. package/build/service/AppProperties.js +105 -0
  460. package/build/service/AppProperties.js.map +1 -0
  461. package/build/service/MlsFallbackStrategy.d.ts +11 -0
  462. package/build/service/MlsFallbackStrategy.d.ts.map +1 -0
  463. package/build/service/MlsFallbackStrategy.js +57 -0
  464. package/build/service/MlsFallbackStrategy.js.map +1 -0
  465. package/build/service/NotificationsService.d.ts +14 -0
  466. package/build/service/NotificationsService.d.ts.map +1 -0
  467. package/build/service/NotificationsService.js +71 -0
  468. package/build/service/NotificationsService.js.map +1 -0
  469. package/build/utils/AESUtils.d.ts +11 -0
  470. package/build/utils/AESUtils.d.ts.map +1 -0
  471. package/build/utils/AESUtils.js +47 -0
  472. package/build/utils/AESUtils.js.map +1 -0
  473. package/build/utils/BufferUtils.d.ts +2 -0
  474. package/build/utils/BufferUtils.d.ts.map +1 -0
  475. package/build/utils/BufferUtils.js +17 -0
  476. package/build/utils/BufferUtils.js.map +1 -0
  477. package/build/utils/DependencyInjectionTokens.d.ts +8 -0
  478. package/build/utils/DependencyInjectionTokens.d.ts.map +1 -0
  479. package/build/utils/DependencyInjectionTokens.js +23 -0
  480. package/build/utils/DependencyInjectionTokens.js.map +1 -0
  481. package/build/utils/HashUtils.d.ts +5 -0
  482. package/build/utils/HashUtils.d.ts.map +1 -0
  483. package/build/utils/HashUtils.js +25 -0
  484. package/build/utils/HashUtils.js.map +1 -0
  485. package/build/utils/ObfuscateUtil.d.ts +3 -0
  486. package/build/utils/ObfuscateUtil.d.ts.map +1 -0
  487. package/build/utils/ObfuscateUtil.js +30 -0
  488. package/build/utils/ObfuscateUtil.js.map +1 -0
  489. package/build/utils/StoragePaths.d.ts +4 -0
  490. package/build/utils/StoragePaths.d.ts.map +1 -0
  491. package/build/utils/StoragePaths.js +22 -0
  492. package/build/utils/StoragePaths.js.map +1 -0
  493. package/build/utils/logger/ConsoleLogger.d.ts +12 -0
  494. package/build/utils/logger/ConsoleLogger.d.ts.map +1 -0
  495. package/build/utils/logger/ConsoleLogger.js +31 -0
  496. package/build/utils/logger/ConsoleLogger.js.map +1 -0
  497. package/build/utils/logger/LogLevel.d.ts +7 -0
  498. package/build/utils/logger/LogLevel.d.ts.map +1 -0
  499. package/build/utils/logger/LogLevel.js +8 -0
  500. package/build/utils/logger/LogLevel.js.map +1 -0
  501. package/build/utils/logger/Logger.d.ts +27 -0
  502. package/build/utils/logger/Logger.d.ts.map +1 -0
  503. package/build/utils/logger/Logger.js +2 -0
  504. package/build/utils/logger/Logger.js.map +1 -0
  505. package/build/utils/logger/LoggerFactory.d.ts +7 -0
  506. package/build/utils/logger/LoggerFactory.d.ts.map +1 -0
  507. package/build/utils/logger/LoggerFactory.js +19 -0
  508. package/build/utils/logger/LoggerFactory.js.map +1 -0
  509. package/package.json +105 -0
  510. package/src/WireAppSdk.ts +224 -0
  511. package/src/api/AssetsApiClient.ts +77 -0
  512. package/src/api/AssetsTransferService.ts +96 -0
  513. package/src/api/ClientsApiClient.ts +71 -0
  514. package/src/api/ClientsService.ts +40 -0
  515. package/src/api/ConversationService.ts +654 -0
  516. package/src/api/ConversationsApiClient.ts +141 -0
  517. package/src/api/FeatureConfigsApiClient.ts +31 -0
  518. package/src/api/FeatureConfigsService.ts +33 -0
  519. package/src/api/MlsApiClient.ts +81 -0
  520. package/src/api/MlsService.ts +99 -0
  521. package/src/api/NotificationsApiClient.ts +58 -0
  522. package/src/api/OneToOneConversationsApiClient.ts +39 -0
  523. package/src/api/SearchApiClient.ts +58 -0
  524. package/src/api/TeamsApiClient.ts +40 -0
  525. package/src/api/UserService.ts +111 -0
  526. package/src/api/UsersApiClient.ts +61 -0
  527. package/src/api/model/AddMembersToConversationResult.ts +22 -0
  528. package/src/api/model/ConversationIdsPaginationConfig.ts +20 -0
  529. package/src/api/model/ConversationMemberOtherResponse.ts +23 -0
  530. package/src/api/model/ConversationMemberSelfResponse.ts +23 -0
  531. package/src/api/model/ConversationMembersResponse.ts +23 -0
  532. package/src/api/model/ConversationTeamInfo.ts +20 -0
  533. package/src/api/model/RemoveMembersFromConversationResult.ts +21 -0
  534. package/src/api/model/UserClientResponse.ts +19 -0
  535. package/src/api/model/UserResponse.ts +28 -0
  536. package/src/api/model/asset/AssetUploadData.ts +20 -0
  537. package/src/api/model/asset/AssetUploadResponse.ts +22 -0
  538. package/src/api/request/CapabilitiesRequest.ts +19 -0
  539. package/src/api/request/ClientUpdateRequest.ts +21 -0
  540. package/src/api/request/ConversationIdsRequest.ts +21 -0
  541. package/src/api/request/CreateConversationRequest.ts +86 -0
  542. package/src/api/request/MlsKeyPackagesRequest.ts +19 -0
  543. package/src/api/request/PreKeyRequest.ts +28 -0
  544. package/src/api/request/RegisterClientRequest.ts +46 -0
  545. package/src/api/response/AccessResponse.ts +22 -0
  546. package/src/api/response/ClaimedKeyPackageList.ts +30 -0
  547. package/src/api/response/ConversationIdsResponse.ts +23 -0
  548. package/src/api/response/ConversationResponse.ts +32 -0
  549. package/src/api/response/ConversationsResponse.ts +24 -0
  550. package/src/api/response/EventResponse.ts +23 -0
  551. package/src/api/response/FeatureConfigsResponse.ts +37 -0
  552. package/src/api/response/MlsPublicKeysResponse.ts +58 -0
  553. package/src/api/response/NotificationsResponse.ts +23 -0
  554. package/src/api/response/OneToOneConversationResponse.ts +24 -0
  555. package/src/api/response/RegisterClientResponse.ts +19 -0
  556. package/src/api/response/SearchContactsResponse.ts +32 -0
  557. package/src/core/CoreCryptoClient.ts +361 -0
  558. package/src/core/CoreCryptoMlsTransport.ts +58 -0
  559. package/src/core/CoreCryptoService.ts +276 -0
  560. package/src/core/HttpClient.ts +363 -0
  561. package/src/core/HttpRetryHelper.ts +57 -0
  562. package/src/core/HttpRetryPolicy.ts +40 -0
  563. package/src/core/WebSocketClient.ts +245 -0
  564. package/src/core/WireApplicationManager.ts +162 -0
  565. package/src/core/WireEventsHandler.ts +118 -0
  566. package/src/core/event/DeleteConversationEventProcessor.ts +47 -0
  567. package/src/core/event/EventProcessor.ts +22 -0
  568. package/src/core/event/EventRouter.ts +54 -0
  569. package/src/core/event/MemberJoinEventProcessor.ts +54 -0
  570. package/src/core/event/MemberLeaveEventProcessor.ts +47 -0
  571. package/src/core/event/MemberUpdateEventProcessor.ts +44 -0
  572. package/src/core/event/MlsMessageEventProcessor.ts +124 -0
  573. package/src/core/event/MlsResetEventProcessor.ts +42 -0
  574. package/src/core/event/MlsWelcomeEventProcessor.ts +68 -0
  575. package/src/core/event/NewConversationEventProcessor.ts +42 -0
  576. package/src/core/event/processors.index.ts +24 -0
  577. package/src/db/AppPropertiesRepository.ts +62 -0
  578. package/src/db/ConversationMemberRepository.ts +163 -0
  579. package/src/db/ConversationRepository.ts +119 -0
  580. package/src/db/DatabaseService.ts +69 -0
  581. package/src/db/migrations/0000_pink_lord_tyger.sql +27 -0
  582. package/src/db/migrations/0001_steady_selene.sql +16 -0
  583. package/src/db/migrations/meta/0000_snapshot.json +194 -0
  584. package/src/db/migrations/meta/0001_snapshot.json +197 -0
  585. package/src/db/migrations/meta/_journal.json +20 -0
  586. package/src/db/model/AppEntity.ts +20 -0
  587. package/src/db/model/ConversationEntity.ts +27 -0
  588. package/src/db/model/ConversationMemberEntity.ts +24 -0
  589. package/src/db/relations.ts +13 -0
  590. package/src/db/schema.ts +38 -0
  591. package/src/index.ts +67 -0
  592. package/src/mappers/PreKeyMapper.ts +25 -0
  593. package/src/mappers/conversation/ConversationMapper.ts +30 -0
  594. package/src/mappers/conversation/ConversationMemberMapper.ts +30 -0
  595. package/src/mappers/protobuf/EncryptionAlgorithmMapper.ts +39 -0
  596. package/src/mappers/protobuf/MessageContentEncoder.ts +121 -0
  597. package/src/mappers/protobuf/MessageLinkPreviewMapper.ts +89 -0
  598. package/src/mappers/protobuf/MessageMentionMapper.ts +43 -0
  599. package/src/mappers/protobuf/ProtobufDeserializer.ts +470 -0
  600. package/src/mappers/protobuf/ProtobufSerializer.ts +449 -0
  601. package/src/model/Asset.ts +26 -0
  602. package/src/model/ClaimedKeyPackagesResult.ts +23 -0
  603. package/src/model/CryptoClientId.ts +40 -0
  604. package/src/model/CryptoProtocol.ts +21 -0
  605. package/src/model/EventContentDTO.ts +123 -0
  606. package/src/model/MlsPublicKeys.ts +22 -0
  607. package/src/model/PreKeyCrypto.ts +25 -0
  608. package/src/model/QualifiedId.ts +45 -0
  609. package/src/model/TeamId.ts +25 -0
  610. package/src/model/WireMessage.ts +632 -0
  611. package/src/model/WireUser.ts +30 -0
  612. package/src/model/conversation/ChannelAddPermissionType.ts +23 -0
  613. package/src/model/conversation/Conversation.ts +25 -0
  614. package/src/model/conversation/ConversationAccess.ts +24 -0
  615. package/src/model/conversation/ConversationAccessRole.ts +24 -0
  616. package/src/model/conversation/ConversationMember.ts +23 -0
  617. package/src/model/conversation/ConversationRole.ts +30 -0
  618. package/src/model/conversation/ConversationType.ts +21 -0
  619. package/src/model/conversation/GroupConversationType.ts +21 -0
  620. package/src/model/conversation/ReceiptMode.ts +21 -0
  621. package/src/model/exception/CoreCryptoMlsException.ts +26 -0
  622. package/src/model/exception/MlsException.ts +26 -0
  623. package/src/model/exception/WireApiError.ts +21 -0
  624. package/src/model/exception/WireApiException.ts +33 -0
  625. package/src/model/protobuf/MessageEncryptionAlgorithm.ts +17 -0
  626. package/src/proto/messages.proto +383 -0
  627. package/src/service/AppProperties.ts +110 -0
  628. package/src/service/MlsFallbackStrategy.ts +52 -0
  629. package/src/service/NotificationsService.ts +65 -0
  630. package/src/utils/AESUtils.ts +62 -0
  631. package/src/utils/BufferUtils.ts +18 -0
  632. package/src/utils/DependencyInjectionTokens.ts +25 -0
  633. package/src/utils/HashUtils.ts +27 -0
  634. package/src/utils/ObfuscateUtil.ts +31 -0
  635. package/src/utils/StoragePaths.ts +23 -0
  636. package/src/utils/logger/ConsoleLogger.ts +35 -0
  637. package/src/utils/logger/LogLevel.ts +6 -0
  638. package/src/utils/logger/Logger.ts +29 -0
  639. package/src/utils/logger/LoggerFactory.ts +27 -0
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=UserClientResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserClientResponse.js","sourceRoot":"","sources":["../../../src/api/model/UserClientResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,12 @@
1
+ import type { CryptoProtocol } from "../../model/CryptoProtocol.js";
2
+ import type { QualifiedId } from "../../model/QualifiedId.js";
3
+ export interface UserResponse {
4
+ qualified_id: QualifiedId;
5
+ team?: string;
6
+ email?: string;
7
+ name: string;
8
+ handle?: string;
9
+ supported_protocols: CryptoProtocol[];
10
+ deleted: boolean;
11
+ }
12
+ //# sourceMappingURL=UserResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserResponse.d.ts","sourceRoot":"","sources":["../../../src/api/model/UserResponse.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAE7D,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,WAAW,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mBAAmB,EAAE,cAAc,EAAE,CAAA;IACrC,OAAO,EAAE,OAAO,CAAA;CACjB"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=UserResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserResponse.js","sourceRoot":"","sources":["../../../src/api/model/UserResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,5 @@
1
+ export interface AssetUploadData {
2
+ retention?: string;
3
+ public?: boolean;
4
+ }
5
+ //# sourceMappingURL=AssetUploadData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetUploadData.d.ts","sourceRoot":"","sources":["../../../../src/api/model/asset/AssetUploadData.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=AssetUploadData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetUploadData.js","sourceRoot":"","sources":["../../../../src/api/model/asset/AssetUploadData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,7 @@
1
+ export interface AssetUploadResponse {
2
+ key: string;
3
+ domain: string;
4
+ expires?: string;
5
+ token?: string;
6
+ }
7
+ //# sourceMappingURL=AssetUploadResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetUploadResponse.d.ts","sourceRoot":"","sources":["../../../../src/api/model/asset/AssetUploadResponse.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=AssetUploadResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssetUploadResponse.js","sourceRoot":"","sources":["../../../../src/api/model/asset/AssetUploadResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,4 @@
1
+ export declare enum CapabilitiesRequest {
2
+ LEGALHOLD_IMPLICIT_CONSENT = "legalhold-implicit-consent"
3
+ }
4
+ //# sourceMappingURL=CapabilitiesRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CapabilitiesRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/CapabilitiesRequest.ts"],"names":[],"mappings":"AAgBA,oBAAY,mBAAmB;IAC7B,0BAA0B,+BAA+B;CAC1D"}
@@ -0,0 +1,20 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export var CapabilitiesRequest;
17
+ (function (CapabilitiesRequest) {
18
+ CapabilitiesRequest["LEGALHOLD_IMPLICIT_CONSENT"] = "legalhold-implicit-consent";
19
+ })(CapabilitiesRequest || (CapabilitiesRequest = {}));
20
+ //# sourceMappingURL=CapabilitiesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CapabilitiesRequest.js","sourceRoot":"","sources":["../../../src/api/request/CapabilitiesRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE;AAEF,MAAM,CAAN,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,gFAAyD,CAAA;AAC3D,CAAC,EAFW,mBAAmB,KAAnB,mBAAmB,QAE9B"}
@@ -0,0 +1,5 @@
1
+ import type { MlsPublicKeys } from "../../model/MlsPublicKeys.js";
2
+ export interface ClientUpdateRequest {
3
+ mls_public_keys: MlsPublicKeys;
4
+ }
5
+ //# sourceMappingURL=ClientUpdateRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientUpdateRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/ClientUpdateRequest.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,aAAa,CAAA;CAC/B"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ClientUpdateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientUpdateRequest.js","sourceRoot":"","sources":["../../../src/api/request/ClientUpdateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,5 @@
1
+ import type { QualifiedId } from "../../model/QualifiedId.js";
2
+ export interface ConversationIdsRequest {
3
+ qualified_ids: QualifiedId[];
4
+ }
5
+ //# sourceMappingURL=ConversationIdsRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationIdsRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/ConversationIdsRequest.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AAE3D,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,WAAW,EAAE,CAAA;CAC7B"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2026 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ConversationIdsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationIdsRequest.js","sourceRoot":"","sources":["../../../src/api/request/ConversationIdsRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,30 @@
1
+ import type { QualifiedId } from "../../model/QualifiedId.js";
2
+ import { CryptoProtocol } from "../../model/CryptoProtocol.js";
3
+ import { ConversationAccess } from "../../model/conversation/ConversationAccess.js";
4
+ import { ConversationAccessRole } from "../../model/conversation/ConversationAccessRole.js";
5
+ import { GroupConversationType } from "../../model/conversation/GroupConversationType.js";
6
+ import { ChannelAddPermissionType } from "../../model/conversation/ChannelAddPermissionType.js";
7
+ import { ReceiptMode } from "../../model/conversation/ReceiptMode.js";
8
+ import type { ConversationTeamInfo } from "../model/ConversationTeamInfo.js";
9
+ import type { TeamId } from "../../model/TeamId.js";
10
+ export declare const DEFAULT_MEMBER_ROLE = "wire_member";
11
+ export declare const DEFAULT_ACCESS_LIST: ConversationAccess[];
12
+ export declare const DEFAULT_ACCESS_ROLE_LIST: ConversationAccessRole[];
13
+ export interface CreateConversationRequest {
14
+ qualified_users: QualifiedId[];
15
+ name: string | null;
16
+ access: ConversationAccess[];
17
+ access_role: ConversationAccessRole[];
18
+ group_conv_type: GroupConversationType | null;
19
+ add_permission: ChannelAddPermissionType;
20
+ team: ConversationTeamInfo | null;
21
+ message_timer: number | null;
22
+ receipt_mode: ReceiptMode;
23
+ conversation_role: string;
24
+ protocol: CryptoProtocol;
25
+ cells: boolean;
26
+ skip_creator: boolean;
27
+ }
28
+ export declare function createGroupConversationRequest(name: string, teamId: TeamId): CreateConversationRequest;
29
+ export declare function createChannelConversationRequest(name: string, teamId: TeamId): CreateConversationRequest;
30
+ //# sourceMappingURL=CreateConversationRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConversationRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/CreateConversationRequest.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAC,kBAAkB,EAAC,MAAM,gDAAgD,CAAA;AACjF,OAAO,EAAC,sBAAsB,EAAC,MAAM,oDAAoD,CAAA;AACzF,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAA;AACvF,OAAO,EAAC,wBAAwB,EAAC,MAAM,sDAAsD,CAAA;AAC7F,OAAO,EAAC,WAAW,EAAC,MAAM,yCAAyC,CAAA;AACnE,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAA;AAC1E,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAA;AAEjD,eAAO,MAAM,mBAAmB,gBAAgB,CAAA;AAEhD,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EAGnD,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,sBAAsB,EAK5D,CAAA;AAED,MAAM,WAAW,yBAAyB;IACxC,eAAe,EAAE,WAAW,EAAE,CAAA;IAC9B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,MAAM,EAAE,kBAAkB,EAAE,CAAA;IAC5B,WAAW,EAAE,sBAAsB,EAAE,CAAA;IACrC,eAAe,EAAE,qBAAqB,GAAG,IAAI,CAAA;IAC7C,cAAc,EAAE,wBAAwB,CAAA;IACxC,IAAI,EAAE,oBAAoB,GAAG,IAAI,CAAA;IACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,YAAY,EAAE,WAAW,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,cAAc,CAAA;IACxB,KAAK,EAAE,OAAO,CAAA;IACd,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,yBAAyB,CAEtG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,yBAAyB,CAExG"}
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2026 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ import { CryptoProtocol } from "../../model/CryptoProtocol.js";
17
+ import { ConversationAccess } from "../../model/conversation/ConversationAccess.js";
18
+ import { ConversationAccessRole } from "../../model/conversation/ConversationAccessRole.js";
19
+ import { GroupConversationType } from "../../model/conversation/GroupConversationType.js";
20
+ import { ChannelAddPermissionType } from "../../model/conversation/ChannelAddPermissionType.js";
21
+ import { ReceiptMode } from "../../model/conversation/ReceiptMode.js";
22
+ export const DEFAULT_MEMBER_ROLE = "wire_member";
23
+ export const DEFAULT_ACCESS_LIST = [
24
+ ConversationAccess.INVITE,
25
+ ConversationAccess.CODE
26
+ ];
27
+ export const DEFAULT_ACCESS_ROLE_LIST = [
28
+ ConversationAccessRole.GUEST,
29
+ ConversationAccessRole.NON_TEAM_MEMBER,
30
+ ConversationAccessRole.TEAM_MEMBER,
31
+ ConversationAccessRole.SERVICE
32
+ ];
33
+ export function createGroupConversationRequest(name, teamId) {
34
+ return createBaseConversationRequest(name, teamId, { group_conv_type: GroupConversationType.REGULAR_GROUP });
35
+ }
36
+ export function createChannelConversationRequest(name, teamId) {
37
+ return createBaseConversationRequest(name, teamId, { group_conv_type: GroupConversationType.CHANNEL });
38
+ }
39
+ function createBaseConversationRequest(name, teamId, overrides = {}) {
40
+ return {
41
+ qualified_users: [],
42
+ name,
43
+ access: DEFAULT_ACCESS_LIST,
44
+ access_role: DEFAULT_ACCESS_ROLE_LIST,
45
+ group_conv_type: null,
46
+ add_permission: ChannelAddPermissionType.ADMINS,
47
+ team: { managed: false, teamid: teamId.value },
48
+ message_timer: null,
49
+ receipt_mode: ReceiptMode.DISABLED,
50
+ conversation_role: DEFAULT_MEMBER_ROLE,
51
+ protocol: CryptoProtocol.MLS,
52
+ cells: false,
53
+ skip_creator: false,
54
+ ...overrides
55
+ };
56
+ }
57
+ //# sourceMappingURL=CreateConversationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConversationRequest.js","sourceRoot":"","sources":["../../../src/api/request/CreateConversationRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAC,kBAAkB,EAAC,MAAM,gDAAgD,CAAA;AACjF,OAAO,EAAC,sBAAsB,EAAC,MAAM,oDAAoD,CAAA;AACzF,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAA;AACvF,OAAO,EAAC,wBAAwB,EAAC,MAAM,sDAAsD,CAAA;AAC7F,OAAO,EAAC,WAAW,EAAC,MAAM,yCAAyC,CAAA;AAInE,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAA;AAEhD,MAAM,CAAC,MAAM,mBAAmB,GAAyB;IACvD,kBAAkB,CAAC,MAAM;IACzB,kBAAkB,CAAC,IAAI;CACxB,CAAA;AAED,MAAM,CAAC,MAAM,wBAAwB,GAA6B;IAChE,sBAAsB,CAAC,KAAK;IAC5B,sBAAsB,CAAC,eAAe;IACtC,sBAAsB,CAAC,WAAW;IAClC,sBAAsB,CAAC,OAAO;CAC/B,CAAA;AAkBD,MAAM,UAAU,8BAA8B,CAAC,IAAY,EAAE,MAAc;IACzE,OAAO,6BAA6B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAC,eAAe,EAAE,qBAAqB,CAAC,aAAa,EAAC,CAAC,CAAA;AAC5G,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,IAAY,EAAE,MAAc;IAC3E,OAAO,6BAA6B,CAAC,IAAI,EAAE,MAAM,EAAE,EAAC,eAAe,EAAE,qBAAqB,CAAC,OAAO,EAAC,CAAC,CAAA;AACtG,CAAC;AAED,SAAS,6BAA6B,CACpC,IAAY,EACZ,MAAc,EACd,YAAgD,EAAE;IAElD,OAAO;QACL,eAAe,EAAE,EAAE;QACnB,IAAI;QACJ,MAAM,EAAE,mBAAmB;QAC3B,WAAW,EAAE,wBAAwB;QACrC,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,wBAAwB,CAAC,MAAM;QAC/C,IAAI,EAAE,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,EAAC;QAC5C,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,WAAW,CAAC,QAAQ;QAClC,iBAAiB,EAAE,mBAAmB;QACtC,QAAQ,EAAE,cAAc,CAAC,GAAG;QAC5B,KAAK,EAAE,KAAK;QACZ,YAAY,EAAE,KAAK;QACnB,GAAG,SAAS;KACb,CAAA;AACH,CAAC"}
@@ -0,0 +1,4 @@
1
+ export interface MlsKeyPackagesRequest {
2
+ key_packages: string[];
3
+ }
4
+ //# sourceMappingURL=MlsKeyPackagesRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MlsKeyPackagesRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/MlsKeyPackagesRequest.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=MlsKeyPackagesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MlsKeyPackagesRequest.js","sourceRoot":"","sources":["../../../src/api/request/MlsKeyPackagesRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,6 @@
1
+ export declare class PreKeyRequest {
2
+ id: number;
3
+ key: string;
4
+ constructor(id: number, key: string);
5
+ }
6
+ //# sourceMappingURL=PreKeyRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreKeyRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/PreKeyRequest.ts"],"names":[],"mappings":"AAgBA,qBAAa,aAAa;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;gBAGT,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM;CAKd"}
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export class PreKeyRequest {
17
+ id;
18
+ key;
19
+ constructor(id, key) {
20
+ this.id = id;
21
+ this.key = key;
22
+ }
23
+ }
24
+ //# sourceMappingURL=PreKeyRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreKeyRequest.js","sourceRoot":"","sources":["../../../src/api/request/PreKeyRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE;AAEF,MAAM,OAAO,aAAa;IACxB,EAAE,CAAQ;IACV,GAAG,CAAQ;IAEX,YACE,EAAU,EACV,GAAW;QAEX,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;QACZ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;IAChB,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ import { CapabilitiesRequest } from "./CapabilitiesRequest.js";
2
+ import type { PreKeyRequest } from "./PreKeyRequest.js";
3
+ export declare class RegisterClientRequest {
4
+ lastkey: PreKeyRequest;
5
+ prekeys: PreKeyRequest[];
6
+ capabilities: CapabilitiesRequest[];
7
+ type: string;
8
+ model: string;
9
+ constructor(lastKey: PreKeyRequest, preKeys: PreKeyRequest[], capabilities?: CapabilitiesRequest[], type?: string, model?: string);
10
+ private DEFAULT_CLIENT_TYPE;
11
+ private DEFAULT_CLIENT_MODEL;
12
+ private DEFAULT_CAPABILITIES;
13
+ }
14
+ //# sourceMappingURL=RegisterClientRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegisterClientRequest.d.ts","sourceRoot":"","sources":["../../../src/api/request/RegisterClientRequest.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,qBAAa,qBAAqB;IAChC,OAAO,EAAE,aAAa,CAAA;IACtB,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,YAAY,EAAE,mBAAmB,EAAE,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;gBAGX,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,aAAa,EAAE,EACxB,YAAY,GAAE,mBAAmB,EAA8B,EAC/D,IAAI,GAAE,MAAiC,EACvC,KAAK,GAAE,MAAkC;IAS3C,OAAO,CAAC,mBAAmB,CAAc;IACzC,OAAO,CAAC,oBAAoB,CAA0B;IACtD,OAAO,CAAC,oBAAoB,CAE3B;CACF"}
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ import { CapabilitiesRequest } from "./CapabilitiesRequest.js";
17
+ export class RegisterClientRequest {
18
+ lastkey;
19
+ prekeys;
20
+ capabilities;
21
+ type;
22
+ model;
23
+ constructor(lastKey, preKeys, capabilities = this.DEFAULT_CAPABILITIES, type = this.DEFAULT_CLIENT_TYPE, model = this.DEFAULT_CLIENT_MODEL) {
24
+ this.lastkey = lastKey;
25
+ this.prekeys = preKeys;
26
+ this.capabilities = capabilities;
27
+ this.type = type;
28
+ this.model = model;
29
+ }
30
+ DEFAULT_CLIENT_TYPE = "temporary";
31
+ DEFAULT_CLIENT_MODEL = "Typescript App Client";
32
+ DEFAULT_CAPABILITIES = [
33
+ CapabilitiesRequest.LEGALHOLD_IMPLICIT_CONSENT
34
+ ];
35
+ }
36
+ //# sourceMappingURL=RegisterClientRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegisterClientRequest.js","sourceRoot":"","sources":["../../../src/api/request/RegisterClientRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE;AAEF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAG9D,MAAM,OAAO,qBAAqB;IAChC,OAAO,CAAe;IACtB,OAAO,CAAiB;IACxB,YAAY,CAAuB;IACnC,IAAI,CAAQ;IACZ,KAAK,CAAQ;IAEb,YACE,OAAsB,EACtB,OAAwB,EACxB,eAAsC,IAAI,CAAC,oBAAoB,EAC/D,OAAe,IAAI,CAAC,mBAAmB,EACvC,QAAgB,IAAI,CAAC,oBAAoB;QAEzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACpB,CAAC;IAEO,mBAAmB,GAAG,WAAW,CAAA;IACjC,oBAAoB,GAAG,uBAAuB,CAAA;IAC9C,oBAAoB,GAA0B;QACpD,mBAAmB,CAAC,0BAA0B;KAC/C,CAAA;CACF"}
@@ -0,0 +1,7 @@
1
+ export interface AccessResponse {
2
+ access_token: string;
3
+ expires_in: number;
4
+ token_type: string;
5
+ user: string;
6
+ }
7
+ //# sourceMappingURL=AccessResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessResponse.d.ts","sourceRoot":"","sources":["../../../src/api/response/AccessResponse.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2026 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=AccessResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessResponse.js","sourceRoot":"","sources":["../../../src/api/response/AccessResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -0,0 +1,14 @@
1
+ export interface ClaimedKeyPackageList {
2
+ key_packages: KeyPackage[];
3
+ }
4
+ export interface KeyPackage {
5
+ client: string;
6
+ domain: string;
7
+ key_package: string;
8
+ key_package_ref: string;
9
+ /**
10
+ * Only the userId is returned from this field
11
+ */
12
+ user: string;
13
+ }
14
+ //# sourceMappingURL=ClaimedKeyPackageList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClaimedKeyPackageList.d.ts","sourceRoot":"","sources":["../../../src/api/response/ClaimedKeyPackageList.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,UAAU,EAAE,CAAA;CAC3B;AAED,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2026 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ClaimedKeyPackageList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClaimedKeyPackageList.js","sourceRoot":"","sources":["../../../src/api/response/ClaimedKeyPackageList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,7 @@
1
+ import type { QualifiedId } from "../../model/QualifiedId.js";
2
+ export interface ConversationIdsResponse {
3
+ has_more: boolean;
4
+ paging_state: string;
5
+ qualified_conversations: QualifiedId[];
6
+ }
7
+ //# sourceMappingURL=ConversationIdsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationIdsResponse.d.ts","sourceRoot":"","sources":["../../../src/api/response/ConversationIdsResponse.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAA;AAE3D,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,OAAO,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,uBAAuB,EAAE,WAAW,EAAE,CAAA;CACvC"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2026 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ConversationIdsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationIdsResponse.js","sourceRoot":"","sources":["../../../src/api/response/ConversationIdsResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}
@@ -0,0 +1,16 @@
1
+ import type { ConversationType } from "../../model/conversation/ConversationType.js";
2
+ import type { CryptoProtocol } from "../../model/CryptoProtocol.js";
3
+ import type { QualifiedId } from "../../model/QualifiedId.js";
4
+ import type { ConversationMembersResponse } from "../model/ConversationMembersResponse.js";
5
+ export interface ConversationResponse {
6
+ qualified_id: QualifiedId;
7
+ name: string | null;
8
+ type: ConversationType;
9
+ group_id: string;
10
+ epoch: number | null;
11
+ protocol: CryptoProtocol;
12
+ team: string | null;
13
+ members: ConversationMembersResponse;
14
+ message_timer?: number | null;
15
+ }
16
+ //# sourceMappingURL=ConversationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationResponse.d.ts","sourceRoot":"","sources":["../../../src/api/response/ConversationResponse.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAA;AACpF,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAA;AAE1F,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,WAAW,CAAA;IACzB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,gBAAgB,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,cAAc,CAAA;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,OAAO,EAAE,2BAA2B,CAAA;IACpC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B"}
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Wire
3
+ * Copyright (C) 2025 Wire Swiss GmbH
4
+ *
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ * You should have received a copy of the GNU General Public License
14
+ * along with this program. If not, see http://www.gnu.org/licenses/.
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=ConversationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationResponse.js","sourceRoot":"","sources":["../../../src/api/response/ConversationResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;EAcE"}