@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.
- package/LICENSE +674 -0
- package/README.md +141 -0
- package/build/WireAppSdk.d.ts +31 -0
- package/build/WireAppSdk.d.ts.map +1 -0
- package/build/WireAppSdk.js +159 -0
- package/build/WireAppSdk.js.map +1 -0
- package/build/api/AssetsApiClient.d.ts +12 -0
- package/build/api/AssetsApiClient.d.ts.map +1 -0
- package/build/api/AssetsApiClient.js +67 -0
- package/build/api/AssetsApiClient.js.map +1 -0
- package/build/api/AssetsTransferService.d.ts +12 -0
- package/build/api/AssetsTransferService.d.ts.map +1 -0
- package/build/api/AssetsTransferService.js +80 -0
- package/build/api/AssetsTransferService.js.map +1 -0
- package/build/api/ClientsApiClient.d.ts +13 -0
- package/build/api/ClientsApiClient.d.ts.map +1 -0
- package/build/api/ClientsApiClient.js +59 -0
- package/build/api/ClientsApiClient.js.map +1 -0
- package/build/api/ClientsService.d.ts +10 -0
- package/build/api/ClientsService.d.ts.map +1 -0
- package/build/api/ClientsService.js +45 -0
- package/build/api/ClientsService.js.map +1 -0
- package/build/api/ConversationService.d.ts +83 -0
- package/build/api/ConversationService.d.ts.map +1 -0
- package/build/api/ConversationService.js +534 -0
- package/build/api/ConversationService.js.map +1 -0
- package/build/api/ConversationsApiClient.d.ts +23 -0
- package/build/api/ConversationsApiClient.d.ts.map +1 -0
- package/build/api/ConversationsApiClient.js +113 -0
- package/build/api/ConversationsApiClient.js.map +1 -0
- package/build/api/FeatureConfigsApiClient.d.ts +9 -0
- package/build/api/FeatureConfigsApiClient.d.ts.map +1 -0
- package/build/api/FeatureConfigsApiClient.js +43 -0
- package/build/api/FeatureConfigsApiClient.js.map +1 -0
- package/build/api/FeatureConfigsService.d.ts +8 -0
- package/build/api/FeatureConfigsService.d.ts.map +1 -0
- package/build/api/FeatureConfigsService.js +45 -0
- package/build/api/FeatureConfigsService.js.map +1 -0
- package/build/api/MlsApiClient.d.ts +23 -0
- package/build/api/MlsApiClient.d.ts.map +1 -0
- package/build/api/MlsApiClient.js +77 -0
- package/build/api/MlsApiClient.js.map +1 -0
- package/build/api/MlsService.d.ts +17 -0
- package/build/api/MlsService.d.ts.map +1 -0
- package/build/api/MlsService.js +87 -0
- package/build/api/MlsService.js.map +1 -0
- package/build/api/NotificationsApiClient.d.ts +17 -0
- package/build/api/NotificationsApiClient.d.ts.map +1 -0
- package/build/api/NotificationsApiClient.js +60 -0
- package/build/api/NotificationsApiClient.js.map +1 -0
- package/build/api/OneToOneConversationsApiClient.d.ts +11 -0
- package/build/api/OneToOneConversationsApiClient.d.ts.map +1 -0
- package/build/api/OneToOneConversationsApiClient.js +45 -0
- package/build/api/OneToOneConversationsApiClient.js.map +1 -0
- package/build/api/SearchApiClient.d.ts +9 -0
- package/build/api/SearchApiClient.d.ts.map +1 -0
- package/build/api/SearchApiClient.js +61 -0
- package/build/api/SearchApiClient.js.map +1 -0
- package/build/api/TeamsApiClient.d.ts +11 -0
- package/build/api/TeamsApiClient.d.ts.map +1 -0
- package/build/api/TeamsApiClient.js +47 -0
- package/build/api/TeamsApiClient.js.map +1 -0
- package/build/api/UserService.d.ts +28 -0
- package/build/api/UserService.d.ts.map +1 -0
- package/build/api/UserService.js +90 -0
- package/build/api/UserService.js.map +1 -0
- package/build/api/UsersApiClient.d.ts +12 -0
- package/build/api/UsersApiClient.d.ts.map +1 -0
- package/build/api/UsersApiClient.js +63 -0
- package/build/api/UsersApiClient.js.map +1 -0
- package/build/api/model/AddMembersToConversationResult.d.ts +6 -0
- package/build/api/model/AddMembersToConversationResult.d.ts.map +1 -0
- package/build/api/model/AddMembersToConversationResult.js +17 -0
- package/build/api/model/AddMembersToConversationResult.js.map +1 -0
- package/build/api/model/ConversationIdsPaginationConfig.d.ts +5 -0
- package/build/api/model/ConversationIdsPaginationConfig.d.ts.map +1 -0
- package/build/api/model/ConversationIdsPaginationConfig.js +17 -0
- package/build/api/model/ConversationIdsPaginationConfig.js.map +1 -0
- package/build/api/model/ConversationMemberOtherResponse.d.ts +7 -0
- package/build/api/model/ConversationMemberOtherResponse.d.ts.map +1 -0
- package/build/api/model/ConversationMemberOtherResponse.js +17 -0
- package/build/api/model/ConversationMemberOtherResponse.js.map +1 -0
- package/build/api/model/ConversationMemberSelfResponse.d.ts +7 -0
- package/build/api/model/ConversationMemberSelfResponse.d.ts.map +1 -0
- package/build/api/model/ConversationMemberSelfResponse.js +17 -0
- package/build/api/model/ConversationMemberSelfResponse.js.map +1 -0
- package/build/api/model/ConversationMembersResponse.d.ts +7 -0
- package/build/api/model/ConversationMembersResponse.d.ts.map +1 -0
- package/build/api/model/ConversationMembersResponse.js +17 -0
- package/build/api/model/ConversationMembersResponse.js.map +1 -0
- package/build/api/model/ConversationTeamInfo.d.ts +5 -0
- package/build/api/model/ConversationTeamInfo.d.ts.map +1 -0
- package/build/api/model/ConversationTeamInfo.js +17 -0
- package/build/api/model/ConversationTeamInfo.js.map +1 -0
- package/build/api/model/RemoveMembersFromConversationResult.d.ts +5 -0
- package/build/api/model/RemoveMembersFromConversationResult.d.ts.map +1 -0
- package/build/api/model/RemoveMembersFromConversationResult.js +17 -0
- package/build/api/model/RemoveMembersFromConversationResult.js.map +1 -0
- package/build/api/model/UserClientResponse.d.ts +4 -0
- package/build/api/model/UserClientResponse.d.ts.map +1 -0
- package/build/api/model/UserClientResponse.js +17 -0
- package/build/api/model/UserClientResponse.js.map +1 -0
- package/build/api/model/UserResponse.d.ts +12 -0
- package/build/api/model/UserResponse.d.ts.map +1 -0
- package/build/api/model/UserResponse.js +17 -0
- package/build/api/model/UserResponse.js.map +1 -0
- package/build/api/model/asset/AssetUploadData.d.ts +5 -0
- package/build/api/model/asset/AssetUploadData.d.ts.map +1 -0
- package/build/api/model/asset/AssetUploadData.js +17 -0
- package/build/api/model/asset/AssetUploadData.js.map +1 -0
- package/build/api/model/asset/AssetUploadResponse.d.ts +7 -0
- package/build/api/model/asset/AssetUploadResponse.d.ts.map +1 -0
- package/build/api/model/asset/AssetUploadResponse.js +17 -0
- package/build/api/model/asset/AssetUploadResponse.js.map +1 -0
- package/build/api/request/CapabilitiesRequest.d.ts +4 -0
- package/build/api/request/CapabilitiesRequest.d.ts.map +1 -0
- package/build/api/request/CapabilitiesRequest.js +20 -0
- package/build/api/request/CapabilitiesRequest.js.map +1 -0
- package/build/api/request/ClientUpdateRequest.d.ts +5 -0
- package/build/api/request/ClientUpdateRequest.d.ts.map +1 -0
- package/build/api/request/ClientUpdateRequest.js +17 -0
- package/build/api/request/ClientUpdateRequest.js.map +1 -0
- package/build/api/request/ConversationIdsRequest.d.ts +5 -0
- package/build/api/request/ConversationIdsRequest.d.ts.map +1 -0
- package/build/api/request/ConversationIdsRequest.js +17 -0
- package/build/api/request/ConversationIdsRequest.js.map +1 -0
- package/build/api/request/CreateConversationRequest.d.ts +30 -0
- package/build/api/request/CreateConversationRequest.d.ts.map +1 -0
- package/build/api/request/CreateConversationRequest.js +57 -0
- package/build/api/request/CreateConversationRequest.js.map +1 -0
- package/build/api/request/MlsKeyPackagesRequest.d.ts +4 -0
- package/build/api/request/MlsKeyPackagesRequest.d.ts.map +1 -0
- package/build/api/request/MlsKeyPackagesRequest.js +17 -0
- package/build/api/request/MlsKeyPackagesRequest.js.map +1 -0
- package/build/api/request/PreKeyRequest.d.ts +6 -0
- package/build/api/request/PreKeyRequest.d.ts.map +1 -0
- package/build/api/request/PreKeyRequest.js +24 -0
- package/build/api/request/PreKeyRequest.js.map +1 -0
- package/build/api/request/RegisterClientRequest.d.ts +14 -0
- package/build/api/request/RegisterClientRequest.d.ts.map +1 -0
- package/build/api/request/RegisterClientRequest.js +36 -0
- package/build/api/request/RegisterClientRequest.js.map +1 -0
- package/build/api/response/AccessResponse.d.ts +7 -0
- package/build/api/response/AccessResponse.d.ts.map +1 -0
- package/build/api/response/AccessResponse.js +17 -0
- package/build/api/response/AccessResponse.js.map +1 -0
- package/build/api/response/ClaimedKeyPackageList.d.ts +14 -0
- package/build/api/response/ClaimedKeyPackageList.d.ts.map +1 -0
- package/build/api/response/ClaimedKeyPackageList.js +17 -0
- package/build/api/response/ClaimedKeyPackageList.js.map +1 -0
- package/build/api/response/ConversationIdsResponse.d.ts +7 -0
- package/build/api/response/ConversationIdsResponse.d.ts.map +1 -0
- package/build/api/response/ConversationIdsResponse.js +17 -0
- package/build/api/response/ConversationIdsResponse.js.map +1 -0
- package/build/api/response/ConversationResponse.d.ts +16 -0
- package/build/api/response/ConversationResponse.d.ts.map +1 -0
- package/build/api/response/ConversationResponse.js +17 -0
- package/build/api/response/ConversationResponse.js.map +1 -0
- package/build/api/response/ConversationsResponse.d.ts +8 -0
- package/build/api/response/ConversationsResponse.d.ts.map +1 -0
- package/build/api/response/ConversationsResponse.js +17 -0
- package/build/api/response/ConversationsResponse.js.map +1 -0
- package/build/api/response/EventResponse.d.ts +7 -0
- package/build/api/response/EventResponse.d.ts.map +1 -0
- package/build/api/response/EventResponse.js +17 -0
- package/build/api/response/EventResponse.js.map +1 -0
- package/build/api/response/FeatureConfigsResponse.d.ts +19 -0
- package/build/api/response/FeatureConfigsResponse.d.ts.map +1 -0
- package/build/api/response/FeatureConfigsResponse.js +17 -0
- package/build/api/response/FeatureConfigsResponse.js.map +1 -0
- package/build/api/response/MlsPublicKeysResponse.d.ts +7 -0
- package/build/api/response/MlsPublicKeysResponse.d.ts.map +1 -0
- package/build/api/response/MlsPublicKeysResponse.js +42 -0
- package/build/api/response/MlsPublicKeysResponse.js.map +1 -0
- package/build/api/response/NotificationsResponse.d.ts +7 -0
- package/build/api/response/NotificationsResponse.d.ts.map +1 -0
- package/build/api/response/NotificationsResponse.js +17 -0
- package/build/api/response/NotificationsResponse.js.map +1 -0
- package/build/api/response/OneToOneConversationResponse.d.ts +7 -0
- package/build/api/response/OneToOneConversationResponse.d.ts.map +1 -0
- package/build/api/response/OneToOneConversationResponse.js +17 -0
- package/build/api/response/OneToOneConversationResponse.js.map +1 -0
- package/build/api/response/RegisterClientResponse.d.ts +4 -0
- package/build/api/response/RegisterClientResponse.d.ts.map +1 -0
- package/build/api/response/RegisterClientResponse.js +17 -0
- package/build/api/response/RegisterClientResponse.js.map +1 -0
- package/build/api/response/SearchContactsResponse.d.ts +15 -0
- package/build/api/response/SearchContactsResponse.d.ts.map +1 -0
- package/build/api/response/SearchContactsResponse.js +17 -0
- package/build/api/response/SearchContactsResponse.js.map +1 -0
- package/build/core/CoreCryptoClient.d.ts +48 -0
- package/build/core/CoreCryptoClient.d.ts.map +1 -0
- package/build/core/CoreCryptoClient.js +219 -0
- package/build/core/CoreCryptoClient.js.map +1 -0
- package/build/core/CoreCryptoMlsTransport.d.ts +19 -0
- package/build/core/CoreCryptoMlsTransport.d.ts.map +1 -0
- package/build/core/CoreCryptoMlsTransport.js +64 -0
- package/build/core/CoreCryptoMlsTransport.js.map +1 -0
- package/build/core/CoreCryptoService.d.ts +59 -0
- package/build/core/CoreCryptoService.d.ts.map +1 -0
- package/build/core/CoreCryptoService.js +233 -0
- package/build/core/CoreCryptoService.js.map +1 -0
- package/build/core/HttpClient.d.ts +47 -0
- package/build/core/HttpClient.d.ts.map +1 -0
- package/build/core/HttpClient.js +258 -0
- package/build/core/HttpClient.js.map +1 -0
- package/build/core/HttpRetryHelper.d.ts +16 -0
- package/build/core/HttpRetryHelper.d.ts.map +1 -0
- package/build/core/HttpRetryHelper.js +49 -0
- package/build/core/HttpRetryHelper.js.map +1 -0
- package/build/core/HttpRetryPolicy.d.ts +7 -0
- package/build/core/HttpRetryPolicy.d.ts.map +1 -0
- package/build/core/HttpRetryPolicy.js +29 -0
- package/build/core/HttpRetryPolicy.js.map +1 -0
- package/build/core/WebSocketClient.d.ts +37 -0
- package/build/core/WebSocketClient.d.ts.map +1 -0
- package/build/core/WebSocketClient.js +244 -0
- package/build/core/WebSocketClient.js.map +1 -0
- package/build/core/WireApplicationManager.d.ts +39 -0
- package/build/core/WireApplicationManager.d.ts.map +1 -0
- package/build/core/WireApplicationManager.js +142 -0
- package/build/core/WireApplicationManager.js.map +1 -0
- package/build/core/WireEventsHandler.d.ts +33 -0
- package/build/core/WireEventsHandler.d.ts.map +1 -0
- package/build/core/WireEventsHandler.js +78 -0
- package/build/core/WireEventsHandler.js.map +1 -0
- package/build/core/event/DeleteConversationEventProcessor.d.ts +13 -0
- package/build/core/event/DeleteConversationEventProcessor.d.ts.map +1 -0
- package/build/core/event/DeleteConversationEventProcessor.js +58 -0
- package/build/core/event/DeleteConversationEventProcessor.js.map +1 -0
- package/build/core/event/EventProcessor.d.ts +6 -0
- package/build/core/event/EventProcessor.d.ts.map +1 -0
- package/build/core/event/EventProcessor.js +17 -0
- package/build/core/event/EventProcessor.js.map +1 -0
- package/build/core/event/EventRouter.d.ts +10 -0
- package/build/core/event/EventRouter.d.ts.map +1 -0
- package/build/core/event/EventRouter.js +58 -0
- package/build/core/event/EventRouter.js.map +1 -0
- package/build/core/event/MemberJoinEventProcessor.d.ts +13 -0
- package/build/core/event/MemberJoinEventProcessor.d.ts.map +1 -0
- package/build/core/event/MemberJoinEventProcessor.js +63 -0
- package/build/core/event/MemberJoinEventProcessor.js.map +1 -0
- package/build/core/event/MemberLeaveEventProcessor.d.ts +13 -0
- package/build/core/event/MemberLeaveEventProcessor.d.ts.map +1 -0
- package/build/core/event/MemberLeaveEventProcessor.js +58 -0
- package/build/core/event/MemberLeaveEventProcessor.js.map +1 -0
- package/build/core/event/MemberUpdateEventProcessor.d.ts +11 -0
- package/build/core/event/MemberUpdateEventProcessor.d.ts.map +1 -0
- package/build/core/event/MemberUpdateEventProcessor.js +50 -0
- package/build/core/event/MemberUpdateEventProcessor.js.map +1 -0
- package/build/core/event/MlsMessageEventProcessor.d.ts +18 -0
- package/build/core/event/MlsMessageEventProcessor.d.ts.map +1 -0
- package/build/core/event/MlsMessageEventProcessor.js +134 -0
- package/build/core/event/MlsMessageEventProcessor.js.map +1 -0
- package/build/core/event/MlsResetEventProcessor.d.ts +11 -0
- package/build/core/event/MlsResetEventProcessor.d.ts.map +1 -0
- package/build/core/event/MlsResetEventProcessor.js +48 -0
- package/build/core/event/MlsResetEventProcessor.js.map +1 -0
- package/build/core/event/MlsWelcomeEventProcessor.d.ts +18 -0
- package/build/core/event/MlsWelcomeEventProcessor.d.ts.map +1 -0
- package/build/core/event/MlsWelcomeEventProcessor.js +77 -0
- package/build/core/event/MlsWelcomeEventProcessor.js.map +1 -0
- package/build/core/event/NewConversationEventProcessor.d.ts +11 -0
- package/build/core/event/NewConversationEventProcessor.d.ts.map +1 -0
- package/build/core/event/NewConversationEventProcessor.js +49 -0
- package/build/core/event/NewConversationEventProcessor.js.map +1 -0
- package/build/core/event/processors.index.d.ts +9 -0
- package/build/core/event/processors.index.d.ts.map +1 -0
- package/build/core/event/processors.index.js +24 -0
- package/build/core/event/processors.index.js.map +1 -0
- package/build/db/AppPropertiesRepository.d.ts +16 -0
- package/build/db/AppPropertiesRepository.d.ts.map +1 -0
- package/build/db/AppPropertiesRepository.js +64 -0
- package/build/db/AppPropertiesRepository.js.map +1 -0
- package/build/db/ConversationMemberRepository.d.ts +23 -0
- package/build/db/ConversationMemberRepository.d.ts.map +1 -0
- package/build/db/ConversationMemberRepository.js +125 -0
- package/build/db/ConversationMemberRepository.js.map +1 -0
- package/build/db/ConversationRepository.d.ts +17 -0
- package/build/db/ConversationRepository.d.ts.map +1 -0
- package/build/db/ConversationRepository.js +100 -0
- package/build/db/ConversationRepository.js.map +1 -0
- package/build/db/DatabaseService.d.ts +12 -0
- package/build/db/DatabaseService.d.ts.map +1 -0
- package/build/db/DatabaseService.js +73 -0
- package/build/db/DatabaseService.js.map +1 -0
- package/build/db/migrations/0000_pink_lord_tyger.sql +27 -0
- package/build/db/migrations/0001_steady_selene.sql +16 -0
- package/build/db/migrations/meta/0000_snapshot.json +194 -0
- package/build/db/migrations/meta/0001_snapshot.json +197 -0
- package/build/db/migrations/meta/_journal.json +20 -0
- package/build/db/model/AppEntity.d.ts +5 -0
- package/build/db/model/AppEntity.d.ts.map +1 -0
- package/build/db/model/AppEntity.js +17 -0
- package/build/db/model/AppEntity.js.map +1 -0
- package/build/db/model/ConversationEntity.d.ts +11 -0
- package/build/db/model/ConversationEntity.d.ts.map +1 -0
- package/build/db/model/ConversationEntity.js +17 -0
- package/build/db/model/ConversationEntity.js.map +1 -0
- package/build/db/model/ConversationMemberEntity.d.ts +9 -0
- package/build/db/model/ConversationMemberEntity.d.ts.map +1 -0
- package/build/db/model/ConversationMemberEntity.js +17 -0
- package/build/db/model/ConversationMemberEntity.js.map +1 -0
- package/build/db/relations.d.ts +7 -0
- package/build/db/relations.d.ts.map +1 -0
- package/build/db/relations.js +12 -0
- package/build/db/relations.js.map +1 -0
- package/build/db/schema.d.ts +324 -0
- package/build/db/schema.d.ts.map +1 -0
- package/build/db/schema.js +34 -0
- package/build/db/schema.js.map +1 -0
- package/build/generated/messages.d.ts +5517 -0
- package/build/generated/messages.d.ts.map +1 -0
- package/build/generated/messages.js +14470 -0
- package/build/generated/messages.js.map +1 -0
- package/build/generated/package.json +3 -0
- package/build/index.d.ts +14 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +34 -0
- package/build/index.js.map +1 -0
- package/build/mappers/PreKeyMapper.d.ts +4 -0
- package/build/mappers/PreKeyMapper.d.ts.map +1 -0
- package/build/mappers/PreKeyMapper.js +22 -0
- package/build/mappers/PreKeyMapper.js.map +1 -0
- package/build/mappers/conversation/ConversationMapper.d.ts +6 -0
- package/build/mappers/conversation/ConversationMapper.d.ts.map +1 -0
- package/build/mappers/conversation/ConversationMapper.js +27 -0
- package/build/mappers/conversation/ConversationMapper.js.map +1 -0
- package/build/mappers/conversation/ConversationMemberMapper.d.ts +6 -0
- package/build/mappers/conversation/ConversationMemberMapper.d.ts.map +1 -0
- package/build/mappers/conversation/ConversationMemberMapper.js +25 -0
- package/build/mappers/conversation/ConversationMemberMapper.js.map +1 -0
- package/build/mappers/protobuf/EncryptionAlgorithmMapper.d.ts +7 -0
- package/build/mappers/protobuf/EncryptionAlgorithmMapper.d.ts.map +1 -0
- package/build/mappers/protobuf/EncryptionAlgorithmMapper.js +35 -0
- package/build/mappers/protobuf/EncryptionAlgorithmMapper.js.map +1 -0
- package/build/mappers/protobuf/MessageContentEncoder.d.ts +9 -0
- package/build/mappers/protobuf/MessageContentEncoder.d.ts.map +1 -0
- package/build/mappers/protobuf/MessageContentEncoder.js +85 -0
- package/build/mappers/protobuf/MessageContentEncoder.js.map +1 -0
- package/build/mappers/protobuf/MessageLinkPreviewMapper.d.ts +7 -0
- package/build/mappers/protobuf/MessageLinkPreviewMapper.d.ts.map +1 -0
- package/build/mappers/protobuf/MessageLinkPreviewMapper.js +79 -0
- package/build/mappers/protobuf/MessageLinkPreviewMapper.js.map +1 -0
- package/build/mappers/protobuf/MessageMentionMapper.d.ts +7 -0
- package/build/mappers/protobuf/MessageMentionMapper.d.ts.map +1 -0
- package/build/mappers/protobuf/MessageMentionMapper.js +39 -0
- package/build/mappers/protobuf/MessageMentionMapper.js.map +1 -0
- package/build/mappers/protobuf/ProtobufDeserializer.d.ts +12 -0
- package/build/mappers/protobuf/ProtobufDeserializer.d.ts.map +1 -0
- package/build/mappers/protobuf/ProtobufDeserializer.js +343 -0
- package/build/mappers/protobuf/ProtobufDeserializer.js.map +1 -0
- package/build/mappers/protobuf/ProtobufSerializer.d.ts +15 -0
- package/build/mappers/protobuf/ProtobufSerializer.d.ts.map +1 -0
- package/build/mappers/protobuf/ProtobufSerializer.js +331 -0
- package/build/mappers/protobuf/ProtobufSerializer.js.map +1 -0
- package/build/model/Asset.d.ts +9 -0
- package/build/model/Asset.d.ts.map +1 -0
- package/build/model/Asset.js +17 -0
- package/build/model/Asset.js.map +1 -0
- package/build/model/ClaimedKeyPackagesResult.d.ts +7 -0
- package/build/model/ClaimedKeyPackagesResult.d.ts.map +1 -0
- package/build/model/ClaimedKeyPackagesResult.js +17 -0
- package/build/model/ClaimedKeyPackagesResult.js.map +1 -0
- package/build/model/CryptoClientId.d.ts +8 -0
- package/build/model/CryptoClientId.d.ts.map +1 -0
- package/build/model/CryptoClientId.js +29 -0
- package/build/model/CryptoClientId.js.map +1 -0
- package/build/model/CryptoProtocol.d.ts +6 -0
- package/build/model/CryptoProtocol.d.ts.map +1 -0
- package/build/model/CryptoProtocol.js +22 -0
- package/build/model/CryptoProtocol.js.map +1 -0
- package/build/model/EventContentDTO.d.ts +84 -0
- package/build/model/EventContentDTO.d.ts.map +1 -0
- package/build/model/EventContentDTO.js +17 -0
- package/build/model/EventContentDTO.js.map +1 -0
- package/build/model/MlsPublicKeys.d.ts +7 -0
- package/build/model/MlsPublicKeys.d.ts.map +1 -0
- package/build/model/MlsPublicKeys.js +17 -0
- package/build/model/MlsPublicKeys.js.map +1 -0
- package/build/model/PreKeyCrypto.d.ts +6 -0
- package/build/model/PreKeyCrypto.d.ts.map +1 -0
- package/build/model/PreKeyCrypto.js +24 -0
- package/build/model/PreKeyCrypto.js.map +1 -0
- package/build/model/QualifiedId.d.ts +17 -0
- package/build/model/QualifiedId.d.ts.map +1 -0
- package/build/model/QualifiedId.js +43 -0
- package/build/model/QualifiedId.js.map +1 -0
- package/build/model/TeamId.d.ts +6 -0
- package/build/model/TeamId.d.ts.map +1 -0
- package/build/model/TeamId.js +26 -0
- package/build/model/TeamId.js.map +1 -0
- package/build/model/WireMessage.d.ts +336 -0
- package/build/model/WireMessage.d.ts.map +1 -0
- package/build/model/WireMessage.js +270 -0
- package/build/model/WireMessage.js.map +1 -0
- package/build/model/WireUser.d.ts +12 -0
- package/build/model/WireUser.d.ts.map +1 -0
- package/build/model/WireUser.js +32 -0
- package/build/model/WireUser.js.map +1 -0
- package/build/model/conversation/ChannelAddPermissionType.d.ts +7 -0
- package/build/model/conversation/ChannelAddPermissionType.d.ts.map +1 -0
- package/build/model/conversation/ChannelAddPermissionType.js +23 -0
- package/build/model/conversation/ChannelAddPermissionType.js.map +1 -0
- package/build/model/conversation/Conversation.d.ts +9 -0
- package/build/model/conversation/Conversation.d.ts.map +1 -0
- package/build/model/conversation/Conversation.js +17 -0
- package/build/model/conversation/Conversation.js.map +1 -0
- package/build/model/conversation/ConversationAccess.d.ts +8 -0
- package/build/model/conversation/ConversationAccess.d.ts.map +1 -0
- package/build/model/conversation/ConversationAccess.js +24 -0
- package/build/model/conversation/ConversationAccess.js.map +1 -0
- package/build/model/conversation/ConversationAccessRole.d.ts +8 -0
- package/build/model/conversation/ConversationAccessRole.d.ts.map +1 -0
- package/build/model/conversation/ConversationAccessRole.js +24 -0
- package/build/model/conversation/ConversationAccessRole.js.map +1 -0
- package/build/model/conversation/ConversationMember.d.ts +7 -0
- package/build/model/conversation/ConversationMember.d.ts.map +1 -0
- package/build/model/conversation/ConversationMember.js +17 -0
- package/build/model/conversation/ConversationMember.js.map +1 -0
- package/build/model/conversation/ConversationRole.d.ts +6 -0
- package/build/model/conversation/ConversationRole.d.ts.map +1 -0
- package/build/model/conversation/ConversationRole.js +29 -0
- package/build/model/conversation/ConversationRole.js.map +1 -0
- package/build/model/conversation/ConversationType.d.ts +6 -0
- package/build/model/conversation/ConversationType.d.ts.map +1 -0
- package/build/model/conversation/ConversationType.js +22 -0
- package/build/model/conversation/ConversationType.js.map +1 -0
- package/build/model/conversation/GroupConversationType.d.ts +5 -0
- package/build/model/conversation/GroupConversationType.d.ts.map +1 -0
- package/build/model/conversation/GroupConversationType.js +21 -0
- package/build/model/conversation/GroupConversationType.js.map +1 -0
- package/build/model/conversation/ReceiptMode.d.ts +5 -0
- package/build/model/conversation/ReceiptMode.d.ts.map +1 -0
- package/build/model/conversation/ReceiptMode.js +21 -0
- package/build/model/conversation/ReceiptMode.js.map +1 -0
- package/build/model/exception/CoreCryptoMlsException.d.ts +5 -0
- package/build/model/exception/CoreCryptoMlsException.d.ts.map +1 -0
- package/build/model/exception/CoreCryptoMlsException.js +25 -0
- package/build/model/exception/CoreCryptoMlsException.js.map +1 -0
- package/build/model/exception/MlsException.d.ts +5 -0
- package/build/model/exception/MlsException.d.ts.map +1 -0
- package/build/model/exception/MlsException.js +25 -0
- package/build/model/exception/MlsException.js.map +1 -0
- package/build/model/exception/WireApiError.d.ts +6 -0
- package/build/model/exception/WireApiError.d.ts.map +1 -0
- package/build/model/exception/WireApiError.js +17 -0
- package/build/model/exception/WireApiError.js.map +1 -0
- package/build/model/exception/WireApiException.d.ts +8 -0
- package/build/model/exception/WireApiException.d.ts.map +1 -0
- package/build/model/exception/WireApiException.js +29 -0
- package/build/model/exception/WireApiException.js.map +1 -0
- package/build/model/protobuf/MessageEncryptionAlgorithm.d.ts +5 -0
- package/build/model/protobuf/MessageEncryptionAlgorithm.d.ts.map +1 -0
- package/build/model/protobuf/MessageEncryptionAlgorithm.js +21 -0
- package/build/model/protobuf/MessageEncryptionAlgorithm.js.map +1 -0
- package/build/service/AppProperties.d.ts +25 -0
- package/build/service/AppProperties.d.ts.map +1 -0
- package/build/service/AppProperties.js +105 -0
- package/build/service/AppProperties.js.map +1 -0
- package/build/service/MlsFallbackStrategy.d.ts +11 -0
- package/build/service/MlsFallbackStrategy.d.ts.map +1 -0
- package/build/service/MlsFallbackStrategy.js +57 -0
- package/build/service/MlsFallbackStrategy.js.map +1 -0
- package/build/service/NotificationsService.d.ts +14 -0
- package/build/service/NotificationsService.d.ts.map +1 -0
- package/build/service/NotificationsService.js +71 -0
- package/build/service/NotificationsService.js.map +1 -0
- package/build/utils/AESUtils.d.ts +11 -0
- package/build/utils/AESUtils.d.ts.map +1 -0
- package/build/utils/AESUtils.js +47 -0
- package/build/utils/AESUtils.js.map +1 -0
- package/build/utils/BufferUtils.d.ts +2 -0
- package/build/utils/BufferUtils.d.ts.map +1 -0
- package/build/utils/BufferUtils.js +17 -0
- package/build/utils/BufferUtils.js.map +1 -0
- package/build/utils/DependencyInjectionTokens.d.ts +8 -0
- package/build/utils/DependencyInjectionTokens.d.ts.map +1 -0
- package/build/utils/DependencyInjectionTokens.js +23 -0
- package/build/utils/DependencyInjectionTokens.js.map +1 -0
- package/build/utils/HashUtils.d.ts +5 -0
- package/build/utils/HashUtils.d.ts.map +1 -0
- package/build/utils/HashUtils.js +25 -0
- package/build/utils/HashUtils.js.map +1 -0
- package/build/utils/ObfuscateUtil.d.ts +3 -0
- package/build/utils/ObfuscateUtil.d.ts.map +1 -0
- package/build/utils/ObfuscateUtil.js +30 -0
- package/build/utils/ObfuscateUtil.js.map +1 -0
- package/build/utils/StoragePaths.d.ts +4 -0
- package/build/utils/StoragePaths.d.ts.map +1 -0
- package/build/utils/StoragePaths.js +22 -0
- package/build/utils/StoragePaths.js.map +1 -0
- package/build/utils/logger/ConsoleLogger.d.ts +12 -0
- package/build/utils/logger/ConsoleLogger.d.ts.map +1 -0
- package/build/utils/logger/ConsoleLogger.js +31 -0
- package/build/utils/logger/ConsoleLogger.js.map +1 -0
- package/build/utils/logger/LogLevel.d.ts +7 -0
- package/build/utils/logger/LogLevel.d.ts.map +1 -0
- package/build/utils/logger/LogLevel.js +8 -0
- package/build/utils/logger/LogLevel.js.map +1 -0
- package/build/utils/logger/Logger.d.ts +27 -0
- package/build/utils/logger/Logger.d.ts.map +1 -0
- package/build/utils/logger/Logger.js +2 -0
- package/build/utils/logger/Logger.js.map +1 -0
- package/build/utils/logger/LoggerFactory.d.ts +7 -0
- package/build/utils/logger/LoggerFactory.d.ts.map +1 -0
- package/build/utils/logger/LoggerFactory.js +19 -0
- package/build/utils/logger/LoggerFactory.js.map +1 -0
- package/package.json +105 -0
- package/src/WireAppSdk.ts +224 -0
- package/src/api/AssetsApiClient.ts +77 -0
- package/src/api/AssetsTransferService.ts +96 -0
- package/src/api/ClientsApiClient.ts +71 -0
- package/src/api/ClientsService.ts +40 -0
- package/src/api/ConversationService.ts +654 -0
- package/src/api/ConversationsApiClient.ts +141 -0
- package/src/api/FeatureConfigsApiClient.ts +31 -0
- package/src/api/FeatureConfigsService.ts +33 -0
- package/src/api/MlsApiClient.ts +81 -0
- package/src/api/MlsService.ts +99 -0
- package/src/api/NotificationsApiClient.ts +58 -0
- package/src/api/OneToOneConversationsApiClient.ts +39 -0
- package/src/api/SearchApiClient.ts +58 -0
- package/src/api/TeamsApiClient.ts +40 -0
- package/src/api/UserService.ts +111 -0
- package/src/api/UsersApiClient.ts +61 -0
- package/src/api/model/AddMembersToConversationResult.ts +22 -0
- package/src/api/model/ConversationIdsPaginationConfig.ts +20 -0
- package/src/api/model/ConversationMemberOtherResponse.ts +23 -0
- package/src/api/model/ConversationMemberSelfResponse.ts +23 -0
- package/src/api/model/ConversationMembersResponse.ts +23 -0
- package/src/api/model/ConversationTeamInfo.ts +20 -0
- package/src/api/model/RemoveMembersFromConversationResult.ts +21 -0
- package/src/api/model/UserClientResponse.ts +19 -0
- package/src/api/model/UserResponse.ts +28 -0
- package/src/api/model/asset/AssetUploadData.ts +20 -0
- package/src/api/model/asset/AssetUploadResponse.ts +22 -0
- package/src/api/request/CapabilitiesRequest.ts +19 -0
- package/src/api/request/ClientUpdateRequest.ts +21 -0
- package/src/api/request/ConversationIdsRequest.ts +21 -0
- package/src/api/request/CreateConversationRequest.ts +86 -0
- package/src/api/request/MlsKeyPackagesRequest.ts +19 -0
- package/src/api/request/PreKeyRequest.ts +28 -0
- package/src/api/request/RegisterClientRequest.ts +46 -0
- package/src/api/response/AccessResponse.ts +22 -0
- package/src/api/response/ClaimedKeyPackageList.ts +30 -0
- package/src/api/response/ConversationIdsResponse.ts +23 -0
- package/src/api/response/ConversationResponse.ts +32 -0
- package/src/api/response/ConversationsResponse.ts +24 -0
- package/src/api/response/EventResponse.ts +23 -0
- package/src/api/response/FeatureConfigsResponse.ts +37 -0
- package/src/api/response/MlsPublicKeysResponse.ts +58 -0
- package/src/api/response/NotificationsResponse.ts +23 -0
- package/src/api/response/OneToOneConversationResponse.ts +24 -0
- package/src/api/response/RegisterClientResponse.ts +19 -0
- package/src/api/response/SearchContactsResponse.ts +32 -0
- package/src/core/CoreCryptoClient.ts +361 -0
- package/src/core/CoreCryptoMlsTransport.ts +58 -0
- package/src/core/CoreCryptoService.ts +276 -0
- package/src/core/HttpClient.ts +363 -0
- package/src/core/HttpRetryHelper.ts +57 -0
- package/src/core/HttpRetryPolicy.ts +40 -0
- package/src/core/WebSocketClient.ts +245 -0
- package/src/core/WireApplicationManager.ts +162 -0
- package/src/core/WireEventsHandler.ts +118 -0
- package/src/core/event/DeleteConversationEventProcessor.ts +47 -0
- package/src/core/event/EventProcessor.ts +22 -0
- package/src/core/event/EventRouter.ts +54 -0
- package/src/core/event/MemberJoinEventProcessor.ts +54 -0
- package/src/core/event/MemberLeaveEventProcessor.ts +47 -0
- package/src/core/event/MemberUpdateEventProcessor.ts +44 -0
- package/src/core/event/MlsMessageEventProcessor.ts +124 -0
- package/src/core/event/MlsResetEventProcessor.ts +42 -0
- package/src/core/event/MlsWelcomeEventProcessor.ts +68 -0
- package/src/core/event/NewConversationEventProcessor.ts +42 -0
- package/src/core/event/processors.index.ts +24 -0
- package/src/db/AppPropertiesRepository.ts +62 -0
- package/src/db/ConversationMemberRepository.ts +163 -0
- package/src/db/ConversationRepository.ts +119 -0
- package/src/db/DatabaseService.ts +69 -0
- package/src/db/migrations/0000_pink_lord_tyger.sql +27 -0
- package/src/db/migrations/0001_steady_selene.sql +16 -0
- package/src/db/migrations/meta/0000_snapshot.json +194 -0
- package/src/db/migrations/meta/0001_snapshot.json +197 -0
- package/src/db/migrations/meta/_journal.json +20 -0
- package/src/db/model/AppEntity.ts +20 -0
- package/src/db/model/ConversationEntity.ts +27 -0
- package/src/db/model/ConversationMemberEntity.ts +24 -0
- package/src/db/relations.ts +13 -0
- package/src/db/schema.ts +38 -0
- package/src/index.ts +67 -0
- package/src/mappers/PreKeyMapper.ts +25 -0
- package/src/mappers/conversation/ConversationMapper.ts +30 -0
- package/src/mappers/conversation/ConversationMemberMapper.ts +30 -0
- package/src/mappers/protobuf/EncryptionAlgorithmMapper.ts +39 -0
- package/src/mappers/protobuf/MessageContentEncoder.ts +121 -0
- package/src/mappers/protobuf/MessageLinkPreviewMapper.ts +89 -0
- package/src/mappers/protobuf/MessageMentionMapper.ts +43 -0
- package/src/mappers/protobuf/ProtobufDeserializer.ts +470 -0
- package/src/mappers/protobuf/ProtobufSerializer.ts +449 -0
- package/src/model/Asset.ts +26 -0
- package/src/model/ClaimedKeyPackagesResult.ts +23 -0
- package/src/model/CryptoClientId.ts +40 -0
- package/src/model/CryptoProtocol.ts +21 -0
- package/src/model/EventContentDTO.ts +123 -0
- package/src/model/MlsPublicKeys.ts +22 -0
- package/src/model/PreKeyCrypto.ts +25 -0
- package/src/model/QualifiedId.ts +45 -0
- package/src/model/TeamId.ts +25 -0
- package/src/model/WireMessage.ts +632 -0
- package/src/model/WireUser.ts +30 -0
- package/src/model/conversation/ChannelAddPermissionType.ts +23 -0
- package/src/model/conversation/Conversation.ts +25 -0
- package/src/model/conversation/ConversationAccess.ts +24 -0
- package/src/model/conversation/ConversationAccessRole.ts +24 -0
- package/src/model/conversation/ConversationMember.ts +23 -0
- package/src/model/conversation/ConversationRole.ts +30 -0
- package/src/model/conversation/ConversationType.ts +21 -0
- package/src/model/conversation/GroupConversationType.ts +21 -0
- package/src/model/conversation/ReceiptMode.ts +21 -0
- package/src/model/exception/CoreCryptoMlsException.ts +26 -0
- package/src/model/exception/MlsException.ts +26 -0
- package/src/model/exception/WireApiError.ts +21 -0
- package/src/model/exception/WireApiException.ts +33 -0
- package/src/model/protobuf/MessageEncryptionAlgorithm.ts +17 -0
- package/src/proto/messages.proto +383 -0
- package/src/service/AppProperties.ts +110 -0
- package/src/service/MlsFallbackStrategy.ts +52 -0
- package/src/service/NotificationsService.ts +65 -0
- package/src/utils/AESUtils.ts +62 -0
- package/src/utils/BufferUtils.ts +18 -0
- package/src/utils/DependencyInjectionTokens.ts +25 -0
- package/src/utils/HashUtils.ts +27 -0
- package/src/utils/ObfuscateUtil.ts +31 -0
- package/src/utils/StoragePaths.ts +23 -0
- package/src/utils/logger/ConsoleLogger.ts +35 -0
- package/src/utils/logger/LogLevel.ts +6 -0
- package/src/utils/logger/Logger.ts +29 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|