@wireapp/api-client 20.5.3 → 20.5.6
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/package.json +8 -8
- package/src/APIClient.d.ts +126 -0
- package/src/APIClient.js +269 -0
- package/src/APIClient.js.map +1 -0
- package/src/Config.d.ts +4 -0
- package/src/Config.js +21 -0
- package/src/Config.js.map +1 -0
- package/src/account/AccountAPI.d.ts +69 -0
- package/src/account/AccountAPI.js +202 -0
- package/src/account/AccountAPI.js.map +1 -0
- package/src/account/AccountError.d.ts +7 -0
- package/src/account/AccountError.js +39 -0
- package/src/account/AccountError.js.map +1 -0
- package/src/account/BackendConfigData.d.ts +11 -0
- package/src/account/BackendConfigData.js +21 -0
- package/src/account/BackendConfigData.js.map +1 -0
- package/src/account/CallConfigData.d.ts +9 -0
- package/src/account/CallConfigData.js +21 -0
- package/src/account/CallConfigData.js.map +1 -0
- package/src/account/DomainData.d.ts +6 -0
- package/src/account/DomainData.js +21 -0
- package/src/account/DomainData.js.map +1 -0
- package/src/account/SSOSettings.d.ts +3 -0
- package/src/account/SSOSettings.js +21 -0
- package/src/account/SSOSettings.js.map +1 -0
- package/src/account/index.d.ts +3 -0
- package/src/account/index.js +38 -0
- package/src/account/index.js.map +1 -0
- package/src/asset/AssetAPI.d.ts +48 -0
- package/src/asset/AssetAPI.js +254 -0
- package/src/asset/AssetAPI.js.map +1 -0
- package/src/asset/AssetRetentionPolicy.d.ts +11 -0
- package/src/asset/AssetRetentionPolicy.js +34 -0
- package/src/asset/AssetRetentionPolicy.js.map +1 -0
- package/src/asset/AssetUploadData.d.ts +7 -0
- package/src/asset/AssetUploadData.js +21 -0
- package/src/asset/AssetUploadData.js.map +1 -0
- package/src/asset/AssetUtil.d.ts +2 -0
- package/src/asset/AssetUtil.js +26 -0
- package/src/asset/AssetUtil.js.map +1 -0
- package/src/asset/index.d.ts +4 -0
- package/src/asset/index.js +39 -0
- package/src/asset/index.js.map +1 -0
- package/src/auth/AccessTokenData.d.ts +8 -0
- package/src/auth/AccessTokenData.js +21 -0
- package/src/auth/AccessTokenData.js.map +1 -0
- package/src/auth/AccessTokenStore.d.ts +23 -0
- package/src/auth/AccessTokenStore.js +56 -0
- package/src/auth/AccessTokenStore.js.map +1 -0
- package/src/auth/AuthAPI.d.ts +40 -0
- package/src/auth/AuthAPI.js +164 -0
- package/src/auth/AuthAPI.js.map +1 -0
- package/src/auth/AuthenticationError.d.ts +34 -0
- package/src/auth/AuthenticationError.js +111 -0
- package/src/auth/AuthenticationError.js.map +1 -0
- package/src/auth/ClientPreKey.d.ts +6 -0
- package/src/auth/ClientPreKey.js +21 -0
- package/src/auth/ClientPreKey.js.map +1 -0
- package/src/auth/Context.d.ts +7 -0
- package/src/auth/Context.js +21 -0
- package/src/auth/Context.js.map +1 -0
- package/src/auth/Cookie.d.ts +6 -0
- package/src/auth/Cookie.js +34 -0
- package/src/auth/Cookie.js.map +1 -0
- package/src/auth/CookieList.d.ts +15 -0
- package/src/auth/CookieList.js +21 -0
- package/src/auth/CookieList.js.map +1 -0
- package/src/auth/CookieStore.d.ts +16 -0
- package/src/auth/CookieStore.js +49 -0
- package/src/auth/CookieStore.js.map +1 -0
- package/src/auth/LoginCodeResponse.d.ts +4 -0
- package/src/auth/LoginCodeResponse.js +21 -0
- package/src/auth/LoginCodeResponse.js.map +1 -0
- package/src/auth/LoginData.d.ts +10 -0
- package/src/auth/LoginData.js +21 -0
- package/src/auth/LoginData.js.map +1 -0
- package/src/auth/PreKey.d.ts +6 -0
- package/src/auth/PreKey.js +21 -0
- package/src/auth/PreKey.js.map +1 -0
- package/src/auth/PreKeyBundle.d.ts +14 -0
- package/src/auth/PreKeyBundle.js +21 -0
- package/src/auth/PreKeyBundle.js.map +1 -0
- package/src/auth/RegisterData.d.ts +20 -0
- package/src/auth/RegisterData.js +21 -0
- package/src/auth/RegisterData.js.map +1 -0
- package/src/auth/SendLoginCode.d.ts +5 -0
- package/src/auth/SendLoginCode.js +21 -0
- package/src/auth/SendLoginCode.js.map +1 -0
- package/src/auth/VerificationActionType.d.ts +5 -0
- package/src/auth/VerificationActionType.js +28 -0
- package/src/auth/VerificationActionType.js.map +1 -0
- package/src/auth/index.d.ts +17 -0
- package/src/auth/index.js +53 -0
- package/src/auth/index.js.map +1 -0
- package/src/auth/parseAccessToken.d.ts +18 -0
- package/src/auth/parseAccessToken.js +57 -0
- package/src/auth/parseAccessToken.js.map +1 -0
- package/src/broadcast/BroadcastAPI.d.ts +44 -0
- package/src/broadcast/BroadcastAPI.js +122 -0
- package/src/broadcast/BroadcastAPI.js.map +1 -0
- package/src/broadcast/index.d.ts +1 -0
- package/src/broadcast/index.js +36 -0
- package/src/broadcast/index.js.map +1 -0
- package/src/client/ClientAPI.d.ts +58 -0
- package/src/client/ClientAPI.js +153 -0
- package/src/client/ClientAPI.js.map +1 -0
- package/src/client/ClientCapability.d.ts +3 -0
- package/src/client/ClientCapability.js +26 -0
- package/src/client/ClientCapability.js.map +1 -0
- package/src/client/ClientCapabilityData.d.ts +4 -0
- package/src/client/ClientCapabilityData.js +21 -0
- package/src/client/ClientCapabilityData.js.map +1 -0
- package/src/client/ClientClassification.d.ts +6 -0
- package/src/client/ClientClassification.js +29 -0
- package/src/client/ClientClassification.js.map +1 -0
- package/src/client/ClientError.d.ts +7 -0
- package/src/client/ClientError.js +39 -0
- package/src/client/ClientError.js.map +1 -0
- package/src/client/ClientType.d.ts +6 -0
- package/src/client/ClientType.js +29 -0
- package/src/client/ClientType.js.map +1 -0
- package/src/client/Location.d.ts +4 -0
- package/src/client/Location.js +21 -0
- package/src/client/Location.js.map +1 -0
- package/src/client/NewClient.d.ts +30 -0
- package/src/client/NewClient.js +21 -0
- package/src/client/NewClient.js.map +1 -0
- package/src/client/PublicClient.d.ts +5 -0
- package/src/client/PublicClient.js +21 -0
- package/src/client/PublicClient.js.map +1 -0
- package/src/client/QualifiedPublicClients.d.ts +9 -0
- package/src/client/QualifiedPublicClients.js +21 -0
- package/src/client/QualifiedPublicClients.js.map +1 -0
- package/src/client/RegisteredClient.d.ts +15 -0
- package/src/client/RegisteredClient.js +21 -0
- package/src/client/RegisteredClient.js.map +1 -0
- package/src/client/index.d.ts +11 -0
- package/src/client/index.js +46 -0
- package/src/client/index.js.map +1 -0
- package/src/connection/Connection.d.ts +12 -0
- package/src/connection/Connection.js +21 -0
- package/src/connection/Connection.js.map +1 -0
- package/src/connection/ConnectionAPI.d.ts +60 -0
- package/src/connection/ConnectionAPI.js +199 -0
- package/src/connection/ConnectionAPI.js.map +1 -0
- package/src/connection/ConnectionError.d.ts +7 -0
- package/src/connection/ConnectionError.js +39 -0
- package/src/connection/ConnectionError.js.map +1 -0
- package/src/connection/ConnectionRequest.d.ts +5 -0
- package/src/connection/ConnectionRequest.js +21 -0
- package/src/connection/ConnectionRequest.js.map +1 -0
- package/src/connection/ConnectionStatus.d.ts +10 -0
- package/src/connection/ConnectionStatus.js +33 -0
- package/src/connection/ConnectionStatus.js.map +1 -0
- package/src/connection/ConnectionUpdate.d.ts +4 -0
- package/src/connection/ConnectionUpdate.js +21 -0
- package/src/connection/ConnectionUpdate.js.map +1 -0
- package/src/connection/UserConnectionList.d.ts +5 -0
- package/src/connection/UserConnectionList.js +21 -0
- package/src/connection/UserConnectionList.js.map +1 -0
- package/src/connection/index.d.ts +7 -0
- package/src/connection/index.js +42 -0
- package/src/connection/index.js.map +1 -0
- package/src/conversation/ClientMismatch.d.ts +7 -0
- package/src/conversation/ClientMismatch.js +21 -0
- package/src/conversation/ClientMismatch.js.map +1 -0
- package/src/conversation/Conversation.d.ts +69 -0
- package/src/conversation/Conversation.js +50 -0
- package/src/conversation/Conversation.js.map +1 -0
- package/src/conversation/ConversationAPI/ConversationAPI.d.ts +344 -0
- package/src/conversation/ConversationAPI/ConversationAPI.js +865 -0
- package/src/conversation/ConversationAPI/ConversationAPI.js.map +1 -0
- package/src/conversation/ConversationAPI/index.d.ts +1 -0
- package/src/conversation/ConversationAPI/index.js +36 -0
- package/src/conversation/ConversationAPI/index.js.map +1 -0
- package/src/conversation/ConversationCode.d.ts +8 -0
- package/src/conversation/ConversationCode.js +21 -0
- package/src/conversation/ConversationCode.js.map +1 -0
- package/src/conversation/ConversationError.d.ts +19 -0
- package/src/conversation/ConversationError.js +71 -0
- package/src/conversation/ConversationError.js.map +1 -0
- package/src/conversation/ConversationIds.d.ts +4 -0
- package/src/conversation/ConversationIds.js +21 -0
- package/src/conversation/ConversationIds.js.map +1 -0
- package/src/conversation/ConversationMembers.d.ts +5 -0
- package/src/conversation/ConversationMembers.js +21 -0
- package/src/conversation/ConversationMembers.js.map +1 -0
- package/src/conversation/ConversationRole.d.ts +17 -0
- package/src/conversation/ConversationRole.js +27 -0
- package/src/conversation/ConversationRole.js.map +1 -0
- package/src/conversation/Conversations.d.ts +5 -0
- package/src/conversation/Conversations.js +21 -0
- package/src/conversation/Conversations.js.map +1 -0
- package/src/conversation/Invite.d.ts +3 -0
- package/src/conversation/Invite.js +21 -0
- package/src/conversation/Invite.js.map +1 -0
- package/src/conversation/Member.d.ts +25 -0
- package/src/conversation/Member.js +21 -0
- package/src/conversation/Member.js.map +1 -0
- package/src/conversation/MessageSendingStatus.d.ts +8 -0
- package/src/conversation/MessageSendingStatus.js +21 -0
- package/src/conversation/MessageSendingStatus.js.map +1 -0
- package/src/conversation/MutedStatus.d.ts +5 -0
- package/src/conversation/MutedStatus.js +28 -0
- package/src/conversation/MutedStatus.js.map +1 -0
- package/src/conversation/NewConversation.d.ts +19 -0
- package/src/conversation/NewConversation.js +27 -0
- package/src/conversation/NewConversation.js.map +1 -0
- package/src/conversation/NewOTRMessage.d.ts +17 -0
- package/src/conversation/NewOTRMessage.js +21 -0
- package/src/conversation/NewOTRMessage.js.map +1 -0
- package/src/conversation/OTRClientMap.d.ts +4 -0
- package/src/conversation/OTRClientMap.js +21 -0
- package/src/conversation/OTRClientMap.js.map +1 -0
- package/src/conversation/OTRRecipients.d.ts +7 -0
- package/src/conversation/OTRRecipients.js +21 -0
- package/src/conversation/OTRRecipients.js.map +1 -0
- package/src/conversation/OtherMember.d.ts +18 -0
- package/src/conversation/OtherMember.js +26 -0
- package/src/conversation/OtherMember.js.map +1 -0
- package/src/conversation/QualifiedConversationIds.d.ts +6 -0
- package/src/conversation/QualifiedConversationIds.js +21 -0
- package/src/conversation/QualifiedConversationIds.js.map +1 -0
- package/src/conversation/QualifiedUserClients.d.ts +4 -0
- package/src/conversation/QualifiedUserClients.js +21 -0
- package/src/conversation/QualifiedUserClients.js.map +1 -0
- package/src/conversation/RemoteConversations.d.ts +7 -0
- package/src/conversation/RemoteConversations.js +21 -0
- package/src/conversation/RemoteConversations.js.map +1 -0
- package/src/conversation/ServiceRef.d.ts +4 -0
- package/src/conversation/ServiceRef.js +21 -0
- package/src/conversation/ServiceRef.js.map +1 -0
- package/src/conversation/UserClients.d.ts +5 -0
- package/src/conversation/UserClients.js +21 -0
- package/src/conversation/UserClients.js.map +1 -0
- package/src/conversation/data/ConversationAccessUpdateData.d.ts +10 -0
- package/src/conversation/data/ConversationAccessUpdateData.js +21 -0
- package/src/conversation/data/ConversationAccessUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationCodeUpdateData.d.ts +2 -0
- package/src/conversation/data/ConversationCodeUpdateData.js +21 -0
- package/src/conversation/data/ConversationCodeUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationConnectRequestData.d.ts +6 -0
- package/src/conversation/data/ConversationConnectRequestData.js +21 -0
- package/src/conversation/data/ConversationConnectRequestData.js.map +1 -0
- package/src/conversation/data/ConversationCreateData.d.ts +7 -0
- package/src/conversation/data/ConversationCreateData.js +21 -0
- package/src/conversation/data/ConversationCreateData.js.map +1 -0
- package/src/conversation/data/ConversationJoinData.d.ts +4 -0
- package/src/conversation/data/ConversationJoinData.js +21 -0
- package/src/conversation/data/ConversationJoinData.js.map +1 -0
- package/src/conversation/data/ConversationMLSMessageAddData.d.ts +2 -0
- package/src/conversation/data/ConversationMLSMessageAddData.js +21 -0
- package/src/conversation/data/ConversationMLSMessageAddData.js.map +1 -0
- package/src/conversation/data/ConversationMLSWelcomeData.d.ts +2 -0
- package/src/conversation/data/ConversationMLSWelcomeData.js +21 -0
- package/src/conversation/data/ConversationMLSWelcomeData.js.map +1 -0
- package/src/conversation/data/ConversationMemberJoinData.d.ts +5 -0
- package/src/conversation/data/ConversationMemberJoinData.js +21 -0
- package/src/conversation/data/ConversationMemberJoinData.js.map +1 -0
- package/src/conversation/data/ConversationMemberLeaveData.d.ts +13 -0
- package/src/conversation/data/ConversationMemberLeaveData.js +26 -0
- package/src/conversation/data/ConversationMemberLeaveData.js.map +1 -0
- package/src/conversation/data/ConversationMemberUpdateData.d.ts +28 -0
- package/src/conversation/data/ConversationMemberUpdateData.js +21 -0
- package/src/conversation/data/ConversationMemberUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationMessageTimerUpdateData.d.ts +3 -0
- package/src/conversation/data/ConversationMessageTimerUpdateData.js +21 -0
- package/src/conversation/data/ConversationMessageTimerUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationNameUpdateData.d.ts +3 -0
- package/src/conversation/data/ConversationNameUpdateData.js +21 -0
- package/src/conversation/data/ConversationNameUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationOtrMessageAddData.d.ts +6 -0
- package/src/conversation/data/ConversationOtrMessageAddData.js +21 -0
- package/src/conversation/data/ConversationOtrMessageAddData.js.map +1 -0
- package/src/conversation/data/ConversationReceiptModeUpdateData.d.ts +11 -0
- package/src/conversation/data/ConversationReceiptModeUpdateData.js +31 -0
- package/src/conversation/data/ConversationReceiptModeUpdateData.js.map +1 -0
- package/src/conversation/data/ConversationRenameData.d.ts +3 -0
- package/src/conversation/data/ConversationRenameData.js +21 -0
- package/src/conversation/data/ConversationRenameData.js.map +1 -0
- package/src/conversation/data/ConversationTypingData.d.ts +7 -0
- package/src/conversation/data/ConversationTypingData.js +27 -0
- package/src/conversation/data/ConversationTypingData.js.map +1 -0
- package/src/conversation/data/MlsEventData.d.ts +63 -0
- package/src/conversation/data/MlsEventData.js +21 -0
- package/src/conversation/data/MlsEventData.js.map +1 -0
- package/src/conversation/data/index.d.ts +16 -0
- package/src/conversation/data/index.js +51 -0
- package/src/conversation/data/index.js.map +1 -0
- package/src/conversation/index.d.ts +23 -0
- package/src/conversation/index.js +58 -0
- package/src/conversation/index.js.map +1 -0
- package/src/env/Backend.d.ts +9 -0
- package/src/env/Backend.js +36 -0
- package/src/env/Backend.js.map +1 -0
- package/src/env/index.d.ts +1 -0
- package/src/env/index.js +36 -0
- package/src/env/index.js.map +1 -0
- package/src/event/BackendEvent.d.ts +6 -0
- package/src/event/BackendEvent.js +21 -0
- package/src/event/BackendEvent.js.map +1 -0
- package/src/event/ConversationEvent.d.ts +96 -0
- package/src/event/ConversationEvent.js +41 -0
- package/src/event/ConversationEvent.js.map +1 -0
- package/src/event/TeamEvent.d.ts +57 -0
- package/src/event/TeamEvent.js +34 -0
- package/src/event/TeamEvent.js.map +1 -0
- package/src/event/UserEvent.d.ts +56 -0
- package/src/event/UserEvent.js +37 -0
- package/src/event/UserEvent.js.map +1 -0
- package/src/event/index.d.ts +4 -0
- package/src/event/index.js +39 -0
- package/src/event/index.js.map +1 -0
- package/src/giphy/GiphyAPI.d.ts +39 -0
- package/src/giphy/GiphyAPI.js +101 -0
- package/src/giphy/GiphyAPI.js.map +1 -0
- package/src/giphy/GiphyImage.d.ts +71 -0
- package/src/giphy/GiphyImage.js +21 -0
- package/src/giphy/GiphyImage.js.map +1 -0
- package/src/giphy/GiphyOptions.d.ts +45 -0
- package/src/giphy/GiphyOptions.js +30 -0
- package/src/giphy/GiphyOptions.js.map +1 -0
- package/src/giphy/GiphyResult.d.ts +17 -0
- package/src/giphy/GiphyResult.js +21 -0
- package/src/giphy/GiphyResult.js.map +1 -0
- package/src/giphy/index.d.ts +4 -0
- package/src/giphy/index.js +39 -0
- package/src/giphy/index.js.map +1 -0
- package/src/http/BackendError.d.ts +9 -0
- package/src/http/BackendError.js +33 -0
- package/src/http/BackendError.js.map +1 -0
- package/src/http/BackendErrorLabel.d.ts +96 -0
- package/src/http/BackendErrorLabel.js +131 -0
- package/src/http/BackendErrorLabel.js.map +1 -0
- package/src/http/BackendErrorMapper.d.ts +5 -0
- package/src/http/BackendErrorMapper.js +91 -0
- package/src/http/BackendErrorMapper.js.map +1 -0
- package/src/http/ConnectionState.d.ts +6 -0
- package/src/http/ConnectionState.js +29 -0
- package/src/http/ConnectionState.js.map +1 -0
- package/src/http/ContentType.d.ts +6 -0
- package/src/http/ContentType.js +29 -0
- package/src/http/ContentType.js.map +1 -0
- package/src/http/HttpClient.d.ts +46 -0
- package/src/http/HttpClient.js +229 -0
- package/src/http/HttpClient.js.map +1 -0
- package/src/http/NetworkError.d.ts +4 -0
- package/src/http/NetworkError.js +32 -0
- package/src/http/NetworkError.js.map +1 -0
- package/src/http/RequestCancelable.d.ts +4 -0
- package/src/http/RequestCancelable.js +21 -0
- package/src/http/RequestCancelable.js.map +1 -0
- package/src/http/RequestProgressHandler.d.ts +2 -0
- package/src/http/RequestProgressHandler.js +29 -0
- package/src/http/RequestProgressHandler.js.map +1 -0
- package/src/http/TraceState.d.ts +6 -0
- package/src/http/TraceState.js +21 -0
- package/src/http/TraceState.js.map +1 -0
- package/src/http/index.d.ts +11 -0
- package/src/http/index.js +48 -0
- package/src/http/index.js.map +1 -0
- package/src/notification/Notification.d.ts +12 -0
- package/src/notification/Notification.js +21 -0
- package/src/notification/Notification.js.map +1 -0
- package/src/notification/NotificationAPI.d.ts +41 -0
- package/src/notification/NotificationAPI.js +129 -0
- package/src/notification/NotificationAPI.js.map +1 -0
- package/src/notification/NotificationList.d.ts +7 -0
- package/src/notification/NotificationList.js +21 -0
- package/src/notification/NotificationList.js.map +1 -0
- package/src/notification/index.d.ts +3 -0
- package/src/notification/index.js +38 -0
- package/src/notification/index.js.map +1 -0
- package/src/obfuscation/ObfuscationUtil.d.ts +6 -0
- package/src/obfuscation/ObfuscationUtil.js +41 -0
- package/src/obfuscation/ObfuscationUtil.js.map +1 -0
- package/src/obfuscation/index.d.ts +1 -0
- package/src/obfuscation/index.js +36 -0
- package/src/obfuscation/index.js.map +1 -0
- package/src/self/ChangePassword.d.ts +4 -0
- package/src/self/ChangePassword.js +21 -0
- package/src/self/ChangePassword.js.map +1 -0
- package/src/self/Consent.d.ts +6 -0
- package/src/self/Consent.js +21 -0
- package/src/self/Consent.js.map +1 -0
- package/src/self/ConsentResults.d.ts +4 -0
- package/src/self/ConsentResults.js +21 -0
- package/src/self/ConsentResults.js.map +1 -0
- package/src/self/ConsentType.d.ts +4 -0
- package/src/self/ConsentType.js +27 -0
- package/src/self/ConsentType.js.map +1 -0
- package/src/self/Delete.d.ts +3 -0
- package/src/self/Delete.js +21 -0
- package/src/self/Delete.js.map +1 -0
- package/src/self/Name.d.ts +2 -0
- package/src/self/Name.js +21 -0
- package/src/self/Name.js.map +1 -0
- package/src/self/Picture.d.ts +17 -0
- package/src/self/Picture.js +21 -0
- package/src/self/Picture.js.map +1 -0
- package/src/self/SSOSignature.d.ts +4 -0
- package/src/self/SSOSignature.js +21 -0
- package/src/self/SSOSignature.js.map +1 -0
- package/src/self/Self.d.ts +13 -0
- package/src/self/Self.js +21 -0
- package/src/self/Self.js.map +1 -0
- package/src/self/SelfAPI.d.ts +93 -0
- package/src/self/SelfAPI.js +199 -0
- package/src/self/SelfAPI.js.map +1 -0
- package/src/self/index.d.ts +10 -0
- package/src/self/index.js +45 -0
- package/src/self/index.js.map +1 -0
- package/src/serviceProvider/LoginServiceProviderData.d.ts +2 -0
- package/src/serviceProvider/LoginServiceProviderData.js +21 -0
- package/src/serviceProvider/LoginServiceProviderData.js.map +1 -0
- package/src/serviceProvider/NewServiceProvider.d.ts +5 -0
- package/src/serviceProvider/NewServiceProvider.js +21 -0
- package/src/serviceProvider/NewServiceProvider.js.map +1 -0
- package/src/serviceProvider/RegisteredServiceProvider.d.ts +5 -0
- package/src/serviceProvider/RegisteredServiceProvider.js +21 -0
- package/src/serviceProvider/RegisteredServiceProvider.js.map +1 -0
- package/src/serviceProvider/ServiceProviderAPI.d.ts +28 -0
- package/src/serviceProvider/ServiceProviderAPI.js +93 -0
- package/src/serviceProvider/ServiceProviderAPI.js.map +1 -0
- package/src/serviceProvider/UpdateServiceProviderData.d.ts +2 -0
- package/src/serviceProvider/UpdateServiceProviderData.js +21 -0
- package/src/serviceProvider/UpdateServiceProviderData.js.map +1 -0
- package/src/serviceProvider/index.d.ts +5 -0
- package/src/serviceProvider/index.js +40 -0
- package/src/serviceProvider/index.js.map +1 -0
- package/src/services/Service.d.ts +80 -0
- package/src/services/Service.js +21 -0
- package/src/services/Service.js.map +1 -0
- package/src/services/ServicesAPI.d.ts +79 -0
- package/src/services/ServicesAPI.js +182 -0
- package/src/services/ServicesAPI.js.map +1 -0
- package/src/services/index.d.ts +1 -0
- package/src/services/index.js +36 -0
- package/src/services/index.js.map +1 -0
- package/src/shims/browser/buffer.d.ts +3 -0
- package/src/shims/browser/buffer.js +60 -0
- package/src/shims/browser/buffer.js.map +1 -0
- package/src/shims/browser/cookie.d.ts +5 -0
- package/src/shims/browser/cookie.js +26 -0
- package/src/shims/browser/cookie.js.map +1 -0
- package/src/shims/browser/websocket.d.ts +2 -0
- package/src/shims/browser/websocket.js +21 -0
- package/src/shims/browser/websocket.js.map +1 -0
- package/src/shims/node/buffer.d.ts +4 -0
- package/src/shims/node/buffer.js +31 -0
- package/src/shims/node/buffer.js.map +1 -0
- package/src/shims/node/cookie.d.ts +7 -0
- package/src/shims/node/cookie.js +59 -0
- package/src/shims/node/cookie.js.map +1 -0
- package/src/shims/node/random.d.ts +1 -0
- package/src/shims/node/random.js +28 -0
- package/src/shims/node/random.js.map +1 -0
- package/src/tcp/ReconnectingWebsocket.d.ts +50 -0
- package/src/tcp/ReconnectingWebsocket.js +199 -0
- package/src/tcp/ReconnectingWebsocket.js.map +1 -0
- package/src/tcp/WebSocketClient.d.ts +77 -0
- package/src/tcp/WebSocketClient.js +209 -0
- package/src/tcp/WebSocketClient.js.map +1 -0
- package/src/tcp/index.d.ts +1 -0
- package/src/tcp/index.js +36 -0
- package/src/tcp/index.js.map +1 -0
- package/src/team/TeamError.d.ts +13 -0
- package/src/team/TeamError.js +55 -0
- package/src/team/TeamError.js.map +1 -0
- package/src/team/billing/BillingAPI.d.ts +42 -0
- package/src/team/billing/BillingAPI.js +161 -0
- package/src/team/billing/BillingAPI.js.map +1 -0
- package/src/team/billing/BillingInfo.d.ts +10 -0
- package/src/team/billing/BillingInfo.js +21 -0
- package/src/team/billing/BillingInfo.js.map +1 -0
- package/src/team/billing/BillingTeamData.d.ts +23 -0
- package/src/team/billing/BillingTeamData.js +31 -0
- package/src/team/billing/BillingTeamData.js.map +1 -0
- package/src/team/billing/CardData.d.ts +6 -0
- package/src/team/billing/CardData.js +21 -0
- package/src/team/billing/CardData.js.map +1 -0
- package/src/team/billing/InvoiceData.d.ts +11 -0
- package/src/team/billing/InvoiceData.js +21 -0
- package/src/team/billing/InvoiceData.js.map +1 -0
- package/src/team/billing/InvoiceListData.d.ts +5 -0
- package/src/team/billing/InvoiceListData.js +21 -0
- package/src/team/billing/InvoiceListData.js.map +1 -0
- package/src/team/billing/InvoiceUpcomingData.d.ts +21 -0
- package/src/team/billing/InvoiceUpcomingData.js +21 -0
- package/src/team/billing/InvoiceUpcomingData.js.map +1 -0
- package/src/team/billing/PlanData.d.ts +14 -0
- package/src/team/billing/PlanData.js +27 -0
- package/src/team/billing/PlanData.js.map +1 -0
- package/src/team/billing/SupportedCurrency.d.ts +5 -0
- package/src/team/billing/SupportedCurrency.js +28 -0
- package/src/team/billing/SupportedCurrency.js.map +1 -0
- package/src/team/billing/index.d.ts +6 -0
- package/src/team/billing/index.js +41 -0
- package/src/team/billing/index.js.map +1 -0
- package/src/team/conversation/TeamConversation.d.ts +9 -0
- package/src/team/conversation/TeamConversation.js +21 -0
- package/src/team/conversation/TeamConversation.js.map +1 -0
- package/src/team/conversation/TeamConversationAPI.d.ts +38 -0
- package/src/team/conversation/TeamConversationAPI.js +86 -0
- package/src/team/conversation/TeamConversationAPI.js.map +1 -0
- package/src/team/conversation/index.d.ts +2 -0
- package/src/team/conversation/index.js +37 -0
- package/src/team/conversation/index.js.map +1 -0
- package/src/team/data/TeamConversationCreateData.d.ts +3 -0
- package/src/team/data/TeamConversationCreateData.js +21 -0
- package/src/team/data/TeamConversationCreateData.js.map +1 -0
- package/src/team/data/TeamConversationDeleteData.d.ts +3 -0
- package/src/team/data/TeamConversationDeleteData.js +21 -0
- package/src/team/data/TeamConversationDeleteData.js.map +1 -0
- package/src/team/data/TeamFeatureConfigurationUpdateEventData.d.ts +2 -0
- package/src/team/data/TeamFeatureConfigurationUpdateEventData.js +21 -0
- package/src/team/data/TeamFeatureConfigurationUpdateEventData.js.map +1 -0
- package/src/team/data/TeamMemberJoinData.d.ts +3 -0
- package/src/team/data/TeamMemberJoinData.js +21 -0
- package/src/team/data/TeamMemberJoinData.js.map +1 -0
- package/src/team/data/TeamMemberLeaveData.d.ts +3 -0
- package/src/team/data/TeamMemberLeaveData.js +21 -0
- package/src/team/data/TeamMemberLeaveData.js.map +1 -0
- package/src/team/data/TeamMemberUpdateData.d.ts +5 -0
- package/src/team/data/TeamMemberUpdateData.js +21 -0
- package/src/team/data/TeamMemberUpdateData.js.map +1 -0
- package/src/team/data/TeamUpdateData.d.ts +5 -0
- package/src/team/data/TeamUpdateData.js +21 -0
- package/src/team/data/TeamUpdateData.js.map +1 -0
- package/src/team/data/index.d.ts +7 -0
- package/src/team/data/index.js +42 -0
- package/src/team/data/index.js.map +1 -0
- package/src/team/feature/Feature.d.ts +57 -0
- package/src/team/feature/Feature.js +42 -0
- package/src/team/feature/Feature.js.map +1 -0
- package/src/team/feature/FeatureAPI.d.ts +53 -0
- package/src/team/feature/FeatureAPI.js +286 -0
- package/src/team/feature/FeatureAPI.js.map +1 -0
- package/src/team/feature/FeatureError.d.ts +10 -0
- package/src/team/feature/FeatureError.js +47 -0
- package/src/team/feature/FeatureError.js.map +1 -0
- package/src/team/feature/FeatureList.d.ts +34 -0
- package/src/team/feature/FeatureList.js +39 -0
- package/src/team/feature/FeatureList.js.map +1 -0
- package/src/team/feature/index.d.ts +4 -0
- package/src/team/feature/index.js +39 -0
- package/src/team/feature/index.js.map +1 -0
- package/src/team/identityprovider/IdentityProvider.d.ts +10 -0
- package/src/team/identityprovider/IdentityProvider.js +21 -0
- package/src/team/identityprovider/IdentityProvider.js.map +1 -0
- package/src/team/identityprovider/IdentityProviderAPI.d.ts +18 -0
- package/src/team/identityprovider/IdentityProviderAPI.js +88 -0
- package/src/team/identityprovider/IdentityProviderAPI.js.map +1 -0
- package/src/team/identityprovider/IdentityProviders.d.ts +4 -0
- package/src/team/identityprovider/IdentityProviders.js +21 -0
- package/src/team/identityprovider/IdentityProviders.js.map +1 -0
- package/src/team/identityprovider/index.d.ts +3 -0
- package/src/team/identityprovider/index.js +38 -0
- package/src/team/identityprovider/index.js.map +1 -0
- package/src/team/index.d.ts +12 -0
- package/src/team/index.js +60 -0
- package/src/team/index.js.map +1 -0
- package/src/team/invitation/InvitationError.d.ts +22 -0
- package/src/team/invitation/InvitationError.js +79 -0
- package/src/team/invitation/InvitationError.js.map +1 -0
- package/src/team/invitation/NewTeamInvitation.d.ts +9 -0
- package/src/team/invitation/NewTeamInvitation.js +21 -0
- package/src/team/invitation/NewTeamInvitation.js.map +1 -0
- package/src/team/invitation/TeamInvitation.d.ts +11 -0
- package/src/team/invitation/TeamInvitation.js +21 -0
- package/src/team/invitation/TeamInvitation.js.map +1 -0
- package/src/team/invitation/TeamInvitationAPI.d.ts +19 -0
- package/src/team/invitation/TeamInvitationAPI.js +143 -0
- package/src/team/invitation/TeamInvitationAPI.js.map +1 -0
- package/src/team/invitation/TeamInvitationChunk.d.ts +5 -0
- package/src/team/invitation/TeamInvitationChunk.js +21 -0
- package/src/team/invitation/TeamInvitationChunk.js.map +1 -0
- package/src/team/invitation/index.d.ts +5 -0
- package/src/team/invitation/index.js +40 -0
- package/src/team/invitation/index.js.map +1 -0
- package/src/team/legalhold/LegalHoldAPI.d.ts +20 -0
- package/src/team/legalhold/LegalHoldAPI.js +96 -0
- package/src/team/legalhold/LegalHoldAPI.js.map +1 -0
- package/src/team/legalhold/LegalHoldData.d.ts +20 -0
- package/src/team/legalhold/LegalHoldData.js +28 -0
- package/src/team/legalhold/LegalHoldData.js.map +1 -0
- package/src/team/legalhold/LegalHoldMemberStatus.d.ts +18 -0
- package/src/team/legalhold/LegalHoldMemberStatus.js +29 -0
- package/src/team/legalhold/LegalHoldMemberStatus.js.map +1 -0
- package/src/team/legalhold/NewLegalHoldData.d.ts +5 -0
- package/src/team/legalhold/NewLegalHoldData.js +21 -0
- package/src/team/legalhold/NewLegalHoldData.js.map +1 -0
- package/src/team/legalhold/index.d.ts +4 -0
- package/src/team/legalhold/index.js +39 -0
- package/src/team/legalhold/index.js.map +1 -0
- package/src/team/member/MemberAPI.d.ts +28 -0
- package/src/team/member/MemberAPI.js +144 -0
- package/src/team/member/MemberAPI.js.map +1 -0
- package/src/team/member/MemberCSVResponse.d.ts +4 -0
- package/src/team/member/MemberCSVResponse.js +21 -0
- package/src/team/member/MemberCSVResponse.js.map +1 -0
- package/src/team/member/MemberData.d.ts +11 -0
- package/src/team/member/MemberData.js +21 -0
- package/src/team/member/MemberData.js.map +1 -0
- package/src/team/member/Members.d.ts +5 -0
- package/src/team/member/Members.js +21 -0
- package/src/team/member/Members.js.map +1 -0
- package/src/team/member/Permissions.d.ts +17 -0
- package/src/team/member/Permissions.js +47 -0
- package/src/team/member/Permissions.js.map +1 -0
- package/src/team/member/PermissionsData.d.ts +7 -0
- package/src/team/member/PermissionsData.js +21 -0
- package/src/team/member/PermissionsData.js.map +1 -0
- package/src/team/member/Role.d.ts +18 -0
- package/src/team/member/Role.js +118 -0
- package/src/team/member/Role.js.map +1 -0
- package/src/team/member/UpdatedMemberData.d.ts +2 -0
- package/src/team/member/UpdatedMemberData.js +21 -0
- package/src/team/member/UpdatedMemberData.js.map +1 -0
- package/src/team/member/index.d.ts +7 -0
- package/src/team/member/index.js +42 -0
- package/src/team/member/index.js.map +1 -0
- package/src/team/payment/InvoiceData.d.ts +21 -0
- package/src/team/payment/InvoiceData.js +21 -0
- package/src/team/payment/InvoiceData.js.map +1 -0
- package/src/team/payment/PaymentAPI.d.ts +57 -0
- package/src/team/payment/PaymentAPI.js +156 -0
- package/src/team/payment/PaymentAPI.js.map +1 -0
- package/src/team/payment/PaymentBillingData.d.ts +12 -0
- package/src/team/payment/PaymentBillingData.js +21 -0
- package/src/team/payment/PaymentBillingData.js.map +1 -0
- package/src/team/payment/PaymentData.d.ts +34 -0
- package/src/team/payment/PaymentData.js +30 -0
- package/src/team/payment/PaymentData.js.map +1 -0
- package/src/team/payment/PaymentDataUpdate.d.ts +6 -0
- package/src/team/payment/PaymentDataUpdate.js +21 -0
- package/src/team/payment/PaymentDataUpdate.js.map +1 -0
- package/src/team/payment/PaymentInterval.d.ts +6 -0
- package/src/team/payment/PaymentInterval.js +29 -0
- package/src/team/payment/PaymentInterval.js.map +1 -0
- package/src/team/payment/PaymentPlan.d.ts +12 -0
- package/src/team/payment/PaymentPlan.js +27 -0
- package/src/team/payment/PaymentPlan.js.map +1 -0
- package/src/team/payment/PaymentStripeCharge.d.ts +19 -0
- package/src/team/payment/PaymentStripeCharge.js +27 -0
- package/src/team/payment/PaymentStripeCharge.js.map +1 -0
- package/src/team/payment/PaymentStripeInvoice.d.ts +11 -0
- package/src/team/payment/PaymentStripeInvoice.js +21 -0
- package/src/team/payment/PaymentStripeInvoice.js.map +1 -0
- package/src/team/payment/PaymentStripeInvoices.d.ts +5 -0
- package/src/team/payment/PaymentStripeInvoices.js +21 -0
- package/src/team/payment/PaymentStripeInvoices.js.map +1 -0
- package/src/team/payment/PaymentStripePlan.d.ts +9 -0
- package/src/team/payment/PaymentStripePlan.js +21 -0
- package/src/team/payment/PaymentStripePlan.js.map +1 -0
- package/src/team/payment/SupportedCurrency.d.ts +5 -0
- package/src/team/payment/SupportedCurrency.js +28 -0
- package/src/team/payment/SupportedCurrency.js.map +1 -0
- package/src/team/payment/index.d.ts +12 -0
- package/src/team/payment/index.js +47 -0
- package/src/team/payment/index.js.map +1 -0
- package/src/team/scim/NewScimToken.d.ts +5 -0
- package/src/team/scim/NewScimToken.js +21 -0
- package/src/team/scim/NewScimToken.js.map +1 -0
- package/src/team/scim/ScimAPI.d.ts +14 -0
- package/src/team/scim/ScimAPI.js +57 -0
- package/src/team/scim/ScimAPI.js.map +1 -0
- package/src/team/scim/ScimTokenInfo.d.ts +7 -0
- package/src/team/scim/ScimTokenInfo.js +21 -0
- package/src/team/scim/ScimTokenInfo.js.map +1 -0
- package/src/team/scim/ScimTokenInfoList.d.ts +4 -0
- package/src/team/scim/ScimTokenInfoList.js +21 -0
- package/src/team/scim/ScimTokenInfoList.js.map +1 -0
- package/src/team/scim/index.d.ts +3 -0
- package/src/team/scim/index.js +38 -0
- package/src/team/scim/index.js.map +1 -0
- package/src/team/search/TeamContact.d.ts +10 -0
- package/src/team/search/TeamContact.js +21 -0
- package/src/team/search/TeamContact.js.map +1 -0
- package/src/team/search/TeamSearchAPI.d.ts +16 -0
- package/src/team/search/TeamSearchAPI.js +69 -0
- package/src/team/search/TeamSearchAPI.js.map +1 -0
- package/src/team/search/TeamSearchOptions.d.ts +16 -0
- package/src/team/search/TeamSearchOptions.js +27 -0
- package/src/team/search/TeamSearchOptions.js.map +1 -0
- package/src/team/search/TeamSearchResult.d.ts +7 -0
- package/src/team/search/TeamSearchResult.js +21 -0
- package/src/team/search/TeamSearchResult.js.map +1 -0
- package/src/team/search/index.d.ts +4 -0
- package/src/team/search/index.js +39 -0
- package/src/team/search/index.js.map +1 -0
- package/src/team/service/Provider.d.ts +7 -0
- package/src/team/service/Provider.js +21 -0
- package/src/team/service/Provider.js.map +1 -0
- package/src/team/service/Service.d.ts +11 -0
- package/src/team/service/Service.js +21 -0
- package/src/team/service/Service.js.map +1 -0
- package/src/team/service/ServiceAPI.d.ts +19 -0
- package/src/team/service/ServiceAPI.js +94 -0
- package/src/team/service/ServiceAPI.js.map +1 -0
- package/src/team/service/ServiceWhitelistData.d.ts +5 -0
- package/src/team/service/ServiceWhitelistData.js +21 -0
- package/src/team/service/ServiceWhitelistData.js.map +1 -0
- package/src/team/service/Services.d.ts +5 -0
- package/src/team/service/Services.js +21 -0
- package/src/team/service/Services.js.map +1 -0
- package/src/team/service/index.d.ts +5 -0
- package/src/team/service/index.js +40 -0
- package/src/team/service/index.js.map +1 -0
- package/src/team/team/LeadData.d.ts +16 -0
- package/src/team/team/LeadData.js +21 -0
- package/src/team/team/LeadData.js.map +1 -0
- package/src/team/team/NewTeamData.d.ts +15 -0
- package/src/team/team/NewTeamData.js +21 -0
- package/src/team/team/NewTeamData.js.map +1 -0
- package/src/team/team/TeamAPI.d.ts +26 -0
- package/src/team/team/TeamAPI.js +126 -0
- package/src/team/team/TeamAPI.js.map +1 -0
- package/src/team/team/TeamChunkData.d.ts +5 -0
- package/src/team/team/TeamChunkData.js +21 -0
- package/src/team/team/TeamChunkData.js.map +1 -0
- package/src/team/team/TeamData.d.ts +17 -0
- package/src/team/team/TeamData.js +21 -0
- package/src/team/team/TeamData.js.map +1 -0
- package/src/team/team/TeamInfo.d.ts +5 -0
- package/src/team/team/TeamInfo.js +21 -0
- package/src/team/team/TeamInfo.js.map +1 -0
- package/src/team/team/TeamSizeData.d.ts +3 -0
- package/src/team/team/TeamSizeData.js +21 -0
- package/src/team/team/TeamSizeData.js.map +1 -0
- package/src/team/team/UpdateTeamData.d.ts +10 -0
- package/src/team/team/UpdateTeamData.js +21 -0
- package/src/team/team/UpdateTeamData.js.map +1 -0
- package/src/team/team/index.d.ts +7 -0
- package/src/team/team/index.js +42 -0
- package/src/team/team/index.js.map +1 -0
- package/src/user/Activate.d.ts +24 -0
- package/src/user/Activate.js +21 -0
- package/src/user/Activate.js.map +1 -0
- package/src/user/ActivationResponse.d.ts +5 -0
- package/src/user/ActivationResponse.js +21 -0
- package/src/user/ActivationResponse.js.map +1 -0
- package/src/user/CheckHandles.d.ts +4 -0
- package/src/user/CheckHandles.js +21 -0
- package/src/user/CheckHandles.js.map +1 -0
- package/src/user/CompletePasswordReset.d.ts +7 -0
- package/src/user/CompletePasswordReset.js +21 -0
- package/src/user/CompletePasswordReset.js.map +1 -0
- package/src/user/Contact.d.ts +2 -0
- package/src/user/Contact.js +21 -0
- package/src/user/Contact.js.map +1 -0
- package/src/user/HandleInfo.d.ts +5 -0
- package/src/user/HandleInfo.js +21 -0
- package/src/user/HandleInfo.js.map +1 -0
- package/src/user/LimitedQualifiedUserIdList.d.ts +4 -0
- package/src/user/LimitedQualifiedUserIdList.js +21 -0
- package/src/user/LimitedQualifiedUserIdList.js.map +1 -0
- package/src/user/ManagedSource.d.ts +4 -0
- package/src/user/ManagedSource.js +27 -0
- package/src/user/ManagedSource.js.map +1 -0
- package/src/user/NewPasswordReset.d.ts +4 -0
- package/src/user/NewPasswordReset.js +21 -0
- package/src/user/NewPasswordReset.js.map +1 -0
- package/src/user/QualifiedHandle.d.ts +4 -0
- package/src/user/QualifiedHandle.js +21 -0
- package/src/user/QualifiedHandle.js.map +1 -0
- package/src/user/QualifiedId.d.ts +4 -0
- package/src/user/QualifiedId.js +21 -0
- package/src/user/QualifiedId.js.map +1 -0
- package/src/user/RTCConfiguration.d.ts +5 -0
- package/src/user/RTCConfiguration.js +21 -0
- package/src/user/RTCConfiguration.js.map +1 -0
- package/src/user/RTCIceServer.d.ts +5 -0
- package/src/user/RTCIceServer.js +21 -0
- package/src/user/RTCIceServer.js.map +1 -0
- package/src/user/RichInfo.d.ts +8 -0
- package/src/user/RichInfo.js +21 -0
- package/src/user/RichInfo.js.map +1 -0
- package/src/user/SearchResult.d.ts +7 -0
- package/src/user/SearchResult.js +21 -0
- package/src/user/SearchResult.js.map +1 -0
- package/src/user/SendActivationCode.d.ts +10 -0
- package/src/user/SendActivationCode.js +21 -0
- package/src/user/SendActivationCode.js.map +1 -0
- package/src/user/User.d.ts +20 -0
- package/src/user/User.js +21 -0
- package/src/user/User.js.map +1 -0
- package/src/user/UserAPI.d.ts +235 -0
- package/src/user/UserAPI.js +585 -0
- package/src/user/UserAPI.js.map +1 -0
- package/src/user/UserAsset.d.ts +10 -0
- package/src/user/UserAsset.js +27 -0
- package/src/user/UserAsset.js.map +1 -0
- package/src/user/UserError.d.ts +13 -0
- package/src/user/UserError.js +55 -0
- package/src/user/UserError.js.map +1 -0
- package/src/user/UserPreKeyBundleMap.d.ts +9 -0
- package/src/user/UserPreKeyBundleMap.js +21 -0
- package/src/user/UserPreKeyBundleMap.js.map +1 -0
- package/src/user/UserUpdate.d.ts +2 -0
- package/src/user/UserUpdate.js +21 -0
- package/src/user/UserUpdate.js.map +1 -0
- package/src/user/VerifyDelete.d.ts +4 -0
- package/src/user/VerifyDelete.js +21 -0
- package/src/user/VerifyDelete.js.map +1 -0
- package/src/user/data/UserActivateData.d.ts +4 -0
- package/src/user/data/UserActivateData.js +21 -0
- package/src/user/data/UserActivateData.js.map +1 -0
- package/src/user/data/UserClientAddData.d.ts +4 -0
- package/src/user/data/UserClientAddData.js +21 -0
- package/src/user/data/UserClientAddData.js.map +1 -0
- package/src/user/data/UserClientRemoveData.d.ts +5 -0
- package/src/user/data/UserClientRemoveData.js +21 -0
- package/src/user/data/UserClientRemoveData.js.map +1 -0
- package/src/user/data/UserConnectionData.d.ts +8 -0
- package/src/user/data/UserConnectionData.js +21 -0
- package/src/user/data/UserConnectionData.js.map +1 -0
- package/src/user/data/UserDeleteData.d.ts +3 -0
- package/src/user/data/UserDeleteData.js +21 -0
- package/src/user/data/UserDeleteData.js.map +1 -0
- package/src/user/data/UserLegalHoldDisableData.d.ts +4 -0
- package/src/user/data/UserLegalHoldDisableData.js +21 -0
- package/src/user/data/UserLegalHoldDisableData.js.map +1 -0
- package/src/user/data/UserLegalHoldEnableData.d.ts +4 -0
- package/src/user/data/UserLegalHoldEnableData.js +21 -0
- package/src/user/data/UserLegalHoldEnableData.js.map +1 -0
- package/src/user/data/UserLegalHoldRequestData.d.ts +9 -0
- package/src/user/data/UserLegalHoldRequestData.js +21 -0
- package/src/user/data/UserLegalHoldRequestData.js.map +1 -0
- package/src/user/data/UserPropertiesDeleteData.d.ts +3 -0
- package/src/user/data/UserPropertiesDeleteData.js +21 -0
- package/src/user/data/UserPropertiesDeleteData.js.map +1 -0
- package/src/user/data/UserPropertiesSetData.d.ts +45 -0
- package/src/user/data/UserPropertiesSetData.js +35 -0
- package/src/user/data/UserPropertiesSetData.js.map +1 -0
- package/src/user/data/UserPushRemoveData.d.ts +9 -0
- package/src/user/data/UserPushRemoveData.js +21 -0
- package/src/user/data/UserPushRemoveData.js.map +1 -0
- package/src/user/data/UserPushTokenProvider.d.ts +8 -0
- package/src/user/data/UserPushTokenProvider.js +31 -0
- package/src/user/data/UserPushTokenProvider.js.map +1 -0
- package/src/user/data/UserUpdateData.d.ts +6 -0
- package/src/user/data/UserUpdateData.js +21 -0
- package/src/user/data/UserUpdateData.js.map +1 -0
- package/src/user/data/index.d.ts +12 -0
- package/src/user/data/index.js +47 -0
- package/src/user/data/index.js.map +1 -0
- package/src/user/index.d.ts +22 -0
- package/src/user/index.js +57 -0
- package/src/user/index.js.map +1 -0
- package/src/validation/ValidationError.d.ts +4 -0
- package/src/validation/ValidationError.js +30 -0
- package/src/validation/ValidationError.js.map +1 -0
- package/src/validation/index.d.ts +1 -0
- package/src/validation/index.js +36 -0
- package/src/validation/index.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,uDAAqC;AACrC,8DAA4C;AAC5C,uDAAqC;AACrC,8DAA4C"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { OtherMember, NewOTRMessage } from '../conversation';
|
|
2
|
+
import { PublicClient } from '../client/PublicClient';
|
|
3
|
+
import { PreKey } from '../auth/PreKey';
|
|
4
|
+
import { UserAsset, User } from '../user';
|
|
5
|
+
import { ClientType } from '../client';
|
|
6
|
+
export interface NewService {
|
|
7
|
+
/** The client ID for the service. */
|
|
8
|
+
client: string;
|
|
9
|
+
/**
|
|
10
|
+
* The conversation as seen by the service and as returned from
|
|
11
|
+
* `GET /bot/conversation`.
|
|
12
|
+
*/
|
|
13
|
+
conversation: ServiceConversation;
|
|
14
|
+
/** The unique user ID for the service. */
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* The preferred locale for the service to use, in form of an
|
|
18
|
+
* [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag).
|
|
19
|
+
*/
|
|
20
|
+
locale: string;
|
|
21
|
+
/**
|
|
22
|
+
* The profile of the user who requested the service, as it is returned from
|
|
23
|
+
* `GET /service/users`.
|
|
24
|
+
*/
|
|
25
|
+
origin: object;
|
|
26
|
+
/** The bearer token that the service must use on inbound requests. */
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ServiceConversation {
|
|
30
|
+
/** The ID of the conversation. */
|
|
31
|
+
id: string;
|
|
32
|
+
/** The list of members, not including the service itself. */
|
|
33
|
+
members: OtherMember[];
|
|
34
|
+
/** The name of the conversation. */
|
|
35
|
+
name?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface RegisteredService {
|
|
38
|
+
/**
|
|
39
|
+
* A number between 1 and 7 that identifies one of the standard Wire profile
|
|
40
|
+
* colours to use for the service's user profile. By default, the service is assigned
|
|
41
|
+
* the accent colour associated with the service profile.
|
|
42
|
+
*/
|
|
43
|
+
accent_id?: number;
|
|
44
|
+
/**
|
|
45
|
+
* A list of user profile assets to attach to the service's user profile. By
|
|
46
|
+
* default, the service is assigned the assets associated with the service profile.
|
|
47
|
+
*/
|
|
48
|
+
assets: UserAsset[];
|
|
49
|
+
/** The last resort prekey. It must have the ID `65535`. */
|
|
50
|
+
last_prekey: PreKey;
|
|
51
|
+
/**
|
|
52
|
+
* The name to use for the service's user profile. By default, the service is
|
|
53
|
+
* assigned the name of the associated service profile.
|
|
54
|
+
*/
|
|
55
|
+
name?: string;
|
|
56
|
+
prekeys: PreKey[];
|
|
57
|
+
}
|
|
58
|
+
export interface Self {
|
|
59
|
+
/** The service's accent colour. */
|
|
60
|
+
accent_id: number;
|
|
61
|
+
/** The service's public profile assets (e.g. images). */
|
|
62
|
+
assets: UserAsset[];
|
|
63
|
+
/** The service's user ID. */
|
|
64
|
+
id: string;
|
|
65
|
+
/** The service's name. */
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
export interface Client {
|
|
69
|
+
/** The service's client ID. */
|
|
70
|
+
id: string;
|
|
71
|
+
/** The UTC timestamp when the client was created. */
|
|
72
|
+
time: string;
|
|
73
|
+
/** The service's client type. This is currently always permanent. */
|
|
74
|
+
type: ClientType.PERMANENT;
|
|
75
|
+
}
|
|
76
|
+
export declare type UserPreKeyList = Record<string, string[]>;
|
|
77
|
+
export declare type UserPreKeyDataList = Record<string, Record<string, string>>;
|
|
78
|
+
export declare type UserSeenByService = Pick<User, 'id' | 'name' | 'accent_id'>;
|
|
79
|
+
export declare type ClientSeenByService = PublicClient;
|
|
80
|
+
export declare type ServiceMessage = NewOTRMessage<Uint8Array>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2020 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
//# sourceMappingURL=Service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Service.js","sourceRoot":"","sources":["Service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { HttpClient, ProgressCallback } from '../http';
|
|
2
|
+
import { Client, Self, UserPreKeyList, UserPreKeyDataList, UserSeenByService, ClientSeenByService, ServiceMessage } from './Service';
|
|
3
|
+
import { PreKey } from '../auth';
|
|
4
|
+
import { AssetOptions, AssetAPI } from '../asset';
|
|
5
|
+
export declare class ServicesAPI {
|
|
6
|
+
private readonly client;
|
|
7
|
+
private readonly assetAPI;
|
|
8
|
+
constructor(client: HttpClient, assetAPI: AssetAPI);
|
|
9
|
+
static readonly URL: {
|
|
10
|
+
ASSETS: string;
|
|
11
|
+
BOT: string;
|
|
12
|
+
CLIENT: string;
|
|
13
|
+
CLIENTS: string;
|
|
14
|
+
CONVERSATION: string;
|
|
15
|
+
MESSAGES: string;
|
|
16
|
+
PREKEYS: string;
|
|
17
|
+
SELF: string;
|
|
18
|
+
USERS: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Delete the service, thereby removing it from the conversation it is in.
|
|
22
|
+
*
|
|
23
|
+
* The service will receive a final `conversation.member-leave` message.
|
|
24
|
+
*/
|
|
25
|
+
deleteSelf(): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Fetch the service's own client information
|
|
28
|
+
*/
|
|
29
|
+
getClient(): Promise<Client>;
|
|
30
|
+
/**
|
|
31
|
+
* List the service's remaining prekey IDs.
|
|
32
|
+
*/
|
|
33
|
+
getClientPreKeys(): Promise<number[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Fetch a user's list of clients.
|
|
36
|
+
*/
|
|
37
|
+
getClientsByUserId(userId: string): Promise<ClientSeenByService[]>;
|
|
38
|
+
/**
|
|
39
|
+
* Fetch a user's list of clients.
|
|
40
|
+
*/
|
|
41
|
+
getConversation(userId: string): Promise<ClientSeenByService[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Fetch the service's own user profile information.
|
|
44
|
+
*/
|
|
45
|
+
getSelf(): Promise<Self>;
|
|
46
|
+
/**
|
|
47
|
+
* Claim prekeys from one or more clients of one or more users.
|
|
48
|
+
*
|
|
49
|
+
* The result is a nested JSON object structure where the first-level keys
|
|
50
|
+
* are user IDs and the second-level keys client IDs. The values paired with
|
|
51
|
+
* the client IDs are the base64-encoded prekeys.
|
|
52
|
+
*/
|
|
53
|
+
postUserPreKeysList(userPreKeyList: UserPreKeyList): Promise<UserPreKeyDataList>;
|
|
54
|
+
/**
|
|
55
|
+
* Fetch other user's profiles.
|
|
56
|
+
*/
|
|
57
|
+
getUsers(ids: string[]): Promise<UserSeenByService[]>;
|
|
58
|
+
/**
|
|
59
|
+
* List the service's remaining prekey IDs.
|
|
60
|
+
*/
|
|
61
|
+
postClientPreKeys(preKeys: PreKey[]): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Upload an asset.
|
|
64
|
+
* Note that resumable uploads are not currently supported for services.
|
|
65
|
+
*/
|
|
66
|
+
postAsset(asset: Uint8Array, options?: AssetOptions, progressCallback?: ProgressCallback): import("../http").RequestCancelable<import("../asset").AssetUploadData>;
|
|
67
|
+
/**
|
|
68
|
+
* Download an asset.
|
|
69
|
+
*/
|
|
70
|
+
getAsset(assetId: string, token?: string | null, forceCaching?: boolean, progressCallback?: ProgressCallback): import("../http").RequestCancelable<import("../asset").AssetResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Delete an asset.
|
|
73
|
+
*/
|
|
74
|
+
deleteAsset(assetId: string): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* Post an end-to-end encrypted generic message to the conversation the service is in.
|
|
77
|
+
*/
|
|
78
|
+
postMessage(messageData: ServiceMessage): Promise<void>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2020 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.ServicesAPI = void 0;
|
|
22
|
+
class ServicesAPI {
|
|
23
|
+
constructor(client, assetAPI) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
this.assetAPI = assetAPI;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Delete the service, thereby removing it from the conversation it is in.
|
|
29
|
+
*
|
|
30
|
+
* The service will receive a final `conversation.member-leave` message.
|
|
31
|
+
*/
|
|
32
|
+
async deleteSelf() {
|
|
33
|
+
const config = {
|
|
34
|
+
method: 'delete',
|
|
35
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.SELF}`,
|
|
36
|
+
};
|
|
37
|
+
await this.client.sendJSON(config);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Fetch the service's own client information
|
|
41
|
+
*/
|
|
42
|
+
async getClient() {
|
|
43
|
+
const config = {
|
|
44
|
+
method: 'get',
|
|
45
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.CLIENT}`,
|
|
46
|
+
};
|
|
47
|
+
const response = await this.client.sendJSON(config);
|
|
48
|
+
return response.data;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* List the service's remaining prekey IDs.
|
|
52
|
+
*/
|
|
53
|
+
async getClientPreKeys() {
|
|
54
|
+
const config = {
|
|
55
|
+
method: 'get',
|
|
56
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.CLIENT}/${ServicesAPI.URL.PREKEYS}`,
|
|
57
|
+
};
|
|
58
|
+
const response = await this.client.sendJSON(config);
|
|
59
|
+
return response.data;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Fetch a user's list of clients.
|
|
63
|
+
*/
|
|
64
|
+
async getClientsByUserId(userId) {
|
|
65
|
+
const config = {
|
|
66
|
+
method: 'get',
|
|
67
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.USERS}/${userId}${ServicesAPI.URL.CLIENTS}`,
|
|
68
|
+
};
|
|
69
|
+
const response = await this.client.sendJSON(config);
|
|
70
|
+
return response.data;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Fetch a user's list of clients.
|
|
74
|
+
*/
|
|
75
|
+
async getConversation(userId) {
|
|
76
|
+
const config = {
|
|
77
|
+
method: 'get',
|
|
78
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.USERS}/${userId}${ServicesAPI.URL.CLIENTS}`,
|
|
79
|
+
};
|
|
80
|
+
const response = await this.client.sendJSON(config);
|
|
81
|
+
return response.data;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Fetch the service's own user profile information.
|
|
85
|
+
*/
|
|
86
|
+
async getSelf() {
|
|
87
|
+
const config = {
|
|
88
|
+
method: 'get',
|
|
89
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.SELF}`,
|
|
90
|
+
};
|
|
91
|
+
const response = await this.client.sendJSON(config);
|
|
92
|
+
return response.data;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Claim prekeys from one or more clients of one or more users.
|
|
96
|
+
*
|
|
97
|
+
* The result is a nested JSON object structure where the first-level keys
|
|
98
|
+
* are user IDs and the second-level keys client IDs. The values paired with
|
|
99
|
+
* the client IDs are the base64-encoded prekeys.
|
|
100
|
+
*/
|
|
101
|
+
async postUserPreKeysList(userPreKeyList) {
|
|
102
|
+
const config = {
|
|
103
|
+
data: userPreKeyList,
|
|
104
|
+
method: 'post',
|
|
105
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.CLIENT}/${ServicesAPI.URL.PREKEYS}`,
|
|
106
|
+
};
|
|
107
|
+
const response = await this.client.sendJSON(config);
|
|
108
|
+
return response.data;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Fetch other user's profiles.
|
|
112
|
+
*/
|
|
113
|
+
async getUsers(ids) {
|
|
114
|
+
const config = {
|
|
115
|
+
method: 'get',
|
|
116
|
+
params: {
|
|
117
|
+
ids,
|
|
118
|
+
},
|
|
119
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.USERS}`,
|
|
120
|
+
};
|
|
121
|
+
const response = await this.client.sendJSON(config);
|
|
122
|
+
return response.data;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* List the service's remaining prekey IDs.
|
|
126
|
+
*/
|
|
127
|
+
async postClientPreKeys(preKeys) {
|
|
128
|
+
const config = {
|
|
129
|
+
data: { prekeys: preKeys },
|
|
130
|
+
method: 'post',
|
|
131
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.CLIENT}/${ServicesAPI.URL.PREKEYS}`,
|
|
132
|
+
};
|
|
133
|
+
await this.client.sendJSON(config);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Upload an asset.
|
|
137
|
+
* Note that resumable uploads are not currently supported for services.
|
|
138
|
+
*/
|
|
139
|
+
postAsset(asset, options, progressCallback) {
|
|
140
|
+
return this.assetAPI.postServiceAsset(asset, options, progressCallback);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Download an asset.
|
|
144
|
+
*/
|
|
145
|
+
getAsset(assetId, token, forceCaching = false, progressCallback) {
|
|
146
|
+
return this.assetAPI.getServiceAsset(assetId, token, forceCaching, progressCallback);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Delete an asset.
|
|
150
|
+
*/
|
|
151
|
+
async deleteAsset(assetId) {
|
|
152
|
+
const config = {
|
|
153
|
+
method: 'delete',
|
|
154
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.ASSETS}/${assetId}`,
|
|
155
|
+
};
|
|
156
|
+
await this.client.sendJSON(config);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Post an end-to-end encrypted generic message to the conversation the service is in.
|
|
160
|
+
*/
|
|
161
|
+
async postMessage(messageData) {
|
|
162
|
+
const config = {
|
|
163
|
+
data: messageData,
|
|
164
|
+
method: 'post',
|
|
165
|
+
url: `${ServicesAPI.URL.BOT}/${ServicesAPI.URL.MESSAGES}`,
|
|
166
|
+
};
|
|
167
|
+
await this.client.sendJSON(config);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
exports.ServicesAPI = ServicesAPI;
|
|
171
|
+
ServicesAPI.URL = {
|
|
172
|
+
ASSETS: 'assets',
|
|
173
|
+
BOT: '/bot',
|
|
174
|
+
CLIENT: 'client',
|
|
175
|
+
CLIENTS: 'clients',
|
|
176
|
+
CONVERSATION: 'conversation',
|
|
177
|
+
MESSAGES: 'messages',
|
|
178
|
+
PREKEYS: 'prekeys',
|
|
179
|
+
SELF: 'self',
|
|
180
|
+
USERS: 'users',
|
|
181
|
+
};
|
|
182
|
+
//# sourceMappingURL=ServicesAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServicesAPI.js","sourceRoot":"","sources":["ServicesAPI.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ServicesAPI';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2020 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
32
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
__exportStar(require("./ServicesAPI"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,gDAA8B"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
23
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
24
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
}) : (function(o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
}));
|
|
31
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
33
|
+
}) : function(o, v) {
|
|
34
|
+
o["default"] = v;
|
|
35
|
+
});
|
|
36
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
37
|
+
if (mod && mod.__esModule) return mod;
|
|
38
|
+
var result = {};
|
|
39
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
40
|
+
__setModuleDefault(result, mod);
|
|
41
|
+
return result;
|
|
42
|
+
};
|
|
43
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44
|
+
exports.concatToBuffer = exports.base64MD5FromBuffer = exports.bufferToString = void 0;
|
|
45
|
+
const SparkMD5 = __importStar(require("spark-md5"));
|
|
46
|
+
// Note: In favour of 'TextDecoder' which is not supported in MS Edge
|
|
47
|
+
const bufferToString = (buffer) => {
|
|
48
|
+
let binaryString = '';
|
|
49
|
+
const bytes = new Uint8Array(buffer);
|
|
50
|
+
for (let index = 0; index < bytes.length; index++) {
|
|
51
|
+
binaryString += String.fromCharCode(bytes[index]);
|
|
52
|
+
}
|
|
53
|
+
return binaryString;
|
|
54
|
+
};
|
|
55
|
+
exports.bufferToString = bufferToString;
|
|
56
|
+
const base64MD5FromBuffer = (buffer) => window.btoa(SparkMD5.ArrayBuffer.hash(buffer, true));
|
|
57
|
+
exports.base64MD5FromBuffer = base64MD5FromBuffer;
|
|
58
|
+
const concatToBuffer = (...items) => new Blob(items);
|
|
59
|
+
exports.concatToBuffer = concatToBuffer;
|
|
60
|
+
//# sourceMappingURL=buffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["buffer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,qEAAqE;AAC9D,MAAM,cAAc,GAAG,CAAC,MAAmB,EAAU,EAAE;IAC5D,IAAI,YAAY,GAAG,EAAE,CAAC;IACtB,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IAErC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QACjD,YAAY,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;KACnD;IAED,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AATW,QAAA,cAAc,kBASzB;AAEK,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AAApG,QAAA,mBAAmB,uBAAiF;AAE1G,MAAM,cAAc,GAAG,CAAC,GAAG,KAAY,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;AAAtD,QAAA,cAAc,kBAAwC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import { AccessTokenData } from '../../auth/';
|
|
3
|
+
import { HttpClient } from '../../http/';
|
|
4
|
+
export declare const retrieveCookie: (response: AxiosResponse<AccessTokenData>) => Promise<AccessTokenData>;
|
|
5
|
+
export declare const sendRequestWithCookie: <T>(client: HttpClient, config: AxiosRequestConfig) => Promise<AxiosResponse<T>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.sendRequestWithCookie = exports.retrieveCookie = void 0;
|
|
22
|
+
const retrieveCookie = (response) => Promise.resolve(response.data);
|
|
23
|
+
exports.retrieveCookie = retrieveCookie;
|
|
24
|
+
const sendRequestWithCookie = (client, config) => client._sendRequest(config);
|
|
25
|
+
exports.sendRequestWithCookie = sendRequestWithCookie;
|
|
26
|
+
//# sourceMappingURL=cookie.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cookie.js","sourceRoot":"","sources":["cookie.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAOI,MAAM,cAAc,GAAG,CAAC,QAAwC,EAA4B,EAAE,CACnG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AADpB,QAAA,cAAc,kBACM;AAE1B,MAAM,qBAAqB,GAAG,CAAI,MAAkB,EAAE,MAA0B,EAA6B,EAAE,CACpH,MAAM,CAAC,YAAY,CAAI,MAAM,CAAC,CAAC;AADpB,QAAA,qBAAqB,yBACD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
//# sourceMappingURL=websocket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"websocket.js","sourceRoot":"","sources":["websocket.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Wire
|
|
4
|
+
* Copyright (C) 2018 Wire Swiss GmbH
|
|
5
|
+
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see http://www.gnu.org/licenses/.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.concatToBuffer = exports.base64MD5FromBuffer = exports.bufferToString = void 0;
|
|
22
|
+
const crypto_1 = require("crypto");
|
|
23
|
+
const bufferToString = (buffer) => Buffer.from(buffer).toString('utf8');
|
|
24
|
+
exports.bufferToString = bufferToString;
|
|
25
|
+
const base64MD5FromBuffer = (buffer) => {
|
|
26
|
+
return (0, crypto_1.createHash)('md5').update(Buffer.from(buffer)).digest('base64');
|
|
27
|
+
};
|
|
28
|
+
exports.base64MD5FromBuffer = base64MD5FromBuffer;
|
|
29
|
+
const concatToBuffer = (...items) => Buffer.concat(items.map(item => Buffer.from(item)));
|
|
30
|
+
exports.concatToBuffer = concatToBuffer;
|
|
31
|
+
//# sourceMappingURL=buffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["buffer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,mCAAkC;AAE3B,MAAM,cAAc,GAAG,CAAC,MAAmB,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAAvF,QAAA,cAAc,kBAAyE;AAE7F,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAAU,EAAE;IACjE,OAAO,IAAA,mBAAU,EAAC,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AACxE,CAAC,CAAC;AAFW,QAAA,mBAAmB,uBAE9B;AAEK,MAAM,cAAc,GAAG,CAAC,GAAG,KAAY,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAA1F,QAAA,cAAc,kBAA4E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import { HttpClient } from '../../http/';
|
|
3
|
+
export declare const retrieveCookie: <T>(response: AxiosResponse<T>) => Promise<T>;
|
|
4
|
+
/**
|
|
5
|
+
* @see https://github.com/wearezeta/backend-api-docs/wiki/API-User-Authentication#token-refresh
|
|
6
|
+
*/
|
|
7
|
+
export declare const sendRequestWithCookie: <T>(client: HttpClient, config: AxiosRequestConfig) => Promise<AxiosResponse<T>>;
|