@rocket.chat/core-typings 6.3.0-rc.0 → 6.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/ACDQueues.d.ts +35 -0
- package/dist/ACDQueues.js +3 -0
- package/dist/ACDQueues.js.map +1 -0
- package/dist/AppOverview.d.ts +104 -0
- package/dist/AppOverview.js +3 -0
- package/dist/AppOverview.js.map +1 -0
- package/dist/AppRequests.d.ts +38 -0
- package/dist/AppRequests.js +3 -0
- package/dist/AppRequests.js.map +1 -0
- package/dist/Apps.d.ts +122 -0
- package/dist/Apps.js +12 -0
- package/dist/Apps.js.map +1 -0
- package/dist/AppsTokens.d.ts +11 -0
- package/dist/AppsTokens.js +3 -0
- package/dist/AppsTokens.js.map +1 -0
- package/dist/CustomFieldMetadata.d.ts +11 -0
- package/dist/CustomFieldMetadata.js +3 -0
- package/dist/CustomFieldMetadata.js.map +1 -0
- package/dist/FeaturedApps.d.ts +6 -0
- package/dist/FeaturedApps.js +3 -0
- package/dist/FeaturedApps.js.map +1 -0
- package/dist/IAnalytic.d.ts +29 -0
- package/dist/IAnalytic.js +3 -0
- package/dist/IAnalytic.js.map +1 -0
- package/dist/IAutoTranslate.d.ts +25 -0
- package/dist/IAutoTranslate.js +3 -0
- package/dist/IAutoTranslate.js.map +1 -0
- package/dist/IAvatar.d.ts +2 -0
- package/dist/IAvatar.js +3 -0
- package/dist/IAvatar.js.map +1 -0
- package/dist/IBanner.d.ts +30 -0
- package/dist/IBanner.js +11 -0
- package/dist/IBanner.js.map +1 -0
- package/dist/IBaseData.d.ts +3 -0
- package/dist/IBaseData.js +3 -0
- package/dist/IBaseData.js.map +1 -0
- package/dist/ICalendarEvent.d.ts +13 -0
- package/dist/ICalendarEvent.js +3 -0
- package/dist/ICalendarEvent.js.map +1 -0
- package/dist/ICloud.d.ts +41 -0
- package/dist/ICloud.js +3 -0
- package/dist/ICloud.js.map +1 -0
- package/dist/ICredentialToken.d.ts +9 -0
- package/dist/ICredentialToken.js +3 -0
- package/dist/ICredentialToken.js.map +1 -0
- package/dist/ICronHistoryItem.d.ts +9 -0
- package/dist/ICronHistoryItem.js +3 -0
- package/dist/ICronHistoryItem.js.map +1 -0
- package/dist/ICustomEmojiDescriptor.d.ts +6 -0
- package/dist/ICustomEmojiDescriptor.js +3 -0
- package/dist/ICustomEmojiDescriptor.js.map +1 -0
- package/dist/ICustomOAuthConfig.d.ts +16 -0
- package/dist/ICustomOAuthConfig.js +3 -0
- package/dist/ICustomOAuthConfig.js.map +1 -0
- package/dist/ICustomSound.d.ts +8 -0
- package/dist/ICustomSound.js +3 -0
- package/dist/ICustomSound.js.map +1 -0
- package/dist/ICustomUserStatus.d.ts +5 -0
- package/dist/ICustomUserStatus.js +3 -0
- package/dist/ICustomUserStatus.js.map +1 -0
- package/dist/IEmailInbox.d.ts +31 -0
- package/dist/IEmailInbox.js +3 -0
- package/dist/IEmailInbox.js.map +1 -0
- package/dist/IEmailMessageHistory.d.ts +5 -0
- package/dist/IEmailMessageHistory.js +3 -0
- package/dist/IEmailMessageHistory.js.map +1 -0
- package/dist/IEmoji.d.ts +3 -0
- package/dist/IEmoji.js +3 -0
- package/dist/IEmoji.js.map +1 -0
- package/dist/IEmojiCustom.d.ts +6 -0
- package/dist/IEmojiCustom.js +3 -0
- package/dist/IEmojiCustom.js.map +1 -0
- package/dist/IExportOperation.d.ts +28 -0
- package/dist/IExportOperation.js +3 -0
- package/dist/IExportOperation.js.map +1 -0
- package/dist/IIncomingMessage.d.ts +6 -0
- package/dist/IIncomingMessage.js +3 -0
- package/dist/IIncomingMessage.js.map +1 -0
- package/dist/IInquiry.d.ts +56 -0
- package/dist/IInquiry.js +11 -0
- package/dist/IInquiry.js.map +1 -0
- package/dist/IInstanceStatus.d.ts +23 -0
- package/dist/IInstanceStatus.js +3 -0
- package/dist/IInstanceStatus.js.map +1 -0
- package/dist/IIntegration.d.ts +64 -0
- package/dist/IIntegration.js +3 -0
- package/dist/IIntegration.js.map +1 -0
- package/dist/IIntegrationHistory.d.ts +26 -0
- package/dist/IIntegrationHistory.js +3 -0
- package/dist/IIntegrationHistory.js.map +1 -0
- package/dist/IInvite.d.ts +11 -0
- package/dist/IInvite.js +3 -0
- package/dist/IInvite.js.map +1 -0
- package/dist/ILivechatAgent.d.ts +15 -0
- package/dist/ILivechatAgent.js +9 -0
- package/dist/ILivechatAgent.js.map +1 -0
- package/dist/ILivechatAgentActivity.d.ts +13 -0
- package/dist/ILivechatAgentActivity.js +3 -0
- package/dist/ILivechatAgentActivity.js.map +1 -0
- package/dist/ILivechatBusinessHour.d.ts +43 -0
- package/dist/ILivechatBusinessHour.js +14 -0
- package/dist/ILivechatBusinessHour.js.map +1 -0
- package/dist/ILivechatCustomField.d.ts +13 -0
- package/dist/ILivechatCustomField.js +3 -0
- package/dist/ILivechatCustomField.js.map +1 -0
- package/dist/ILivechatDepartment.d.ts +33 -0
- package/dist/ILivechatDepartment.js +3 -0
- package/dist/ILivechatDepartment.js.map +1 -0
- package/dist/ILivechatDepartmentAgents.d.ts +9 -0
- package/dist/ILivechatDepartmentAgents.js +3 -0
- package/dist/ILivechatDepartmentAgents.js.map +1 -0
- package/dist/ILivechatDepartmentRecord.d.ts +19 -0
- package/dist/ILivechatDepartmentRecord.js +3 -0
- package/dist/ILivechatDepartmentRecord.js.map +1 -0
- package/dist/ILivechatMonitor.d.ts +10 -0
- package/dist/ILivechatMonitor.js +3 -0
- package/dist/ILivechatMonitor.js.map +1 -0
- package/dist/ILivechatMonitorRecord.d.ts +9 -0
- package/dist/ILivechatMonitorRecord.js +3 -0
- package/dist/ILivechatMonitorRecord.js.map +1 -0
- package/dist/ILivechatPriority.d.ts +16 -0
- package/dist/ILivechatPriority.js +13 -0
- package/dist/ILivechatPriority.js.map +1 -0
- package/dist/ILivechatTag.d.ts +7 -0
- package/dist/ILivechatTag.js +3 -0
- package/dist/ILivechatTag.js.map +1 -0
- package/dist/ILivechatTagRecord.d.ts +8 -0
- package/dist/ILivechatTagRecord.js +3 -0
- package/dist/ILivechatTagRecord.js.map +1 -0
- package/dist/ILivechatTrigger.d.ts +26 -0
- package/dist/ILivechatTrigger.js +10 -0
- package/dist/ILivechatTrigger.js.map +1 -0
- package/dist/ILivechatUnitMonitor.d.ts +6 -0
- package/dist/ILivechatUnitMonitor.js +3 -0
- package/dist/ILivechatUnitMonitor.js.map +1 -0
- package/dist/ILivechatVisitor.d.ts +62 -0
- package/dist/ILivechatVisitor.js +6 -0
- package/dist/ILivechatVisitor.js.map +1 -0
- package/dist/ILoginServiceConfiguration.d.ts +6 -0
- package/dist/ILoginServiceConfiguration.js +3 -0
- package/dist/ILoginServiceConfiguration.js.map +1 -0
- package/dist/ILogs.d.ts +18 -0
- package/dist/ILogs.js +3 -0
- package/dist/ILogs.js.map +1 -0
- package/dist/IMessage/IMessage.d.ts +249 -0
- package/dist/IMessage/IMessage.js +42 -0
- package/dist/IMessage/IMessage.js.map +1 -0
- package/dist/IMessage/MessageAttachment/FieldProps.d.ts +5 -0
- package/dist/IMessage/MessageAttachment/FieldProps.js +3 -0
- package/dist/IMessage/MessageAttachment/FieldProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/AudioAttachmentProps.d.ts +17 -0
- package/dist/IMessage/MessageAttachment/Files/AudioAttachmentProps.js +6 -0
- package/dist/IMessage/MessageAttachment/Files/AudioAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/Dimensions.d.ts +4 -0
- package/dist/IMessage/MessageAttachment/Files/Dimensions.js +3 -0
- package/dist/IMessage/MessageAttachment/Files/Dimensions.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/FileAttachmentProps.d.ts +8 -0
- package/dist/IMessage/MessageAttachment/Files/FileAttachmentProps.js +6 -0
- package/dist/IMessage/MessageAttachment/Files/FileAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/FileProp.d.ts +7 -0
- package/dist/IMessage/MessageAttachment/Files/FileProp.js +3 -0
- package/dist/IMessage/MessageAttachment/Files/FileProp.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/ImageAttachmentProps.d.ts +22 -0
- package/dist/IMessage/MessageAttachment/Files/ImageAttachmentProps.js +6 -0
- package/dist/IMessage/MessageAttachment/Files/ImageAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.d.ts +5 -0
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.js +3 -0
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/VideoAttachmentProps.d.ts +17 -0
- package/dist/IMessage/MessageAttachment/Files/VideoAttachmentProps.js +6 -0
- package/dist/IMessage/MessageAttachment/Files/VideoAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/index.d.ts +7 -0
- package/dist/IMessage/MessageAttachment/Files/index.js +24 -0
- package/dist/IMessage/MessageAttachment/Files/index.js.map +1 -0
- package/dist/IMessage/MessageAttachment/MessageAttachment.d.ts +5 -0
- package/dist/IMessage/MessageAttachment/MessageAttachment.js +3 -0
- package/dist/IMessage/MessageAttachment/MessageAttachment.js.map +1 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentAction.d.ts +20 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentAction.js +7 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentAction.js.map +1 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.d.ts +14 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.js +3 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.js.map +1 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentDefault.d.ts +19 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentDefault.js +3 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentDefault.js.map +1 -0
- package/dist/IMessage/MessageAttachment/MessageQuoteAttachment.d.ts +13 -0
- package/dist/IMessage/MessageAttachment/MessageQuoteAttachment.js +6 -0
- package/dist/IMessage/MessageAttachment/MessageQuoteAttachment.js.map +1 -0
- package/dist/IMessage/MessageAttachment/TranslatedMessageAttachment.d.ts +9 -0
- package/dist/IMessage/MessageAttachment/TranslatedMessageAttachment.js +8 -0
- package/dist/IMessage/MessageAttachment/TranslatedMessageAttachment.js.map +1 -0
- package/dist/IMessage/MessageAttachment/index.d.ts +8 -0
- package/dist/IMessage/MessageAttachment/index.js +25 -0
- package/dist/IMessage/MessageAttachment/index.js.map +1 -0
- package/dist/IMessage/index.d.ts +2 -0
- package/dist/IMessage/index.js +19 -0
- package/dist/IMessage/index.js.map +1 -0
- package/dist/IMethodThisType.d.ts +15 -0
- package/dist/IMethodThisType.js +3 -0
- package/dist/IMethodThisType.js.map +1 -0
- package/dist/IMethodType.d.ts +4 -0
- package/dist/IMethodType.js +3 -0
- package/dist/IMethodType.js.map +1 -0
- package/dist/IModerationReport.d.ts +30 -0
- package/dist/IModerationReport.js +3 -0
- package/dist/IModerationReport.js.map +1 -0
- package/dist/INotification.d.ts +69 -0
- package/dist/INotification.js +3 -0
- package/dist/INotification.js.map +1 -0
- package/dist/INps.d.ts +31 -0
- package/dist/INps.js +17 -0
- package/dist/INps.js.map +1 -0
- package/dist/IOAuthAccessToken.d.ts +9 -0
- package/dist/IOAuthAccessToken.js +3 -0
- package/dist/IOAuthAccessToken.js.map +1 -0
- package/dist/IOAuthApps.d.ts +15 -0
- package/dist/IOAuthApps.js +3 -0
- package/dist/IOAuthApps.js.map +1 -0
- package/dist/IOAuthAuthCode.d.ts +8 -0
- package/dist/IOAuthAuthCode.js +3 -0
- package/dist/IOAuthAuthCode.js.map +1 -0
- package/dist/IOAuthRefreshToken.d.ts +7 -0
- package/dist/IOAuthRefreshToken.js +3 -0
- package/dist/IOAuthRefreshToken.js.map +1 -0
- package/dist/IOEmbedCache.d.ts +5 -0
- package/dist/IOEmbedCache.js +3 -0
- package/dist/IOEmbedCache.js.map +1 -0
- package/dist/IOembed.d.ts +43 -0
- package/dist/IOembed.js +8 -0
- package/dist/IOembed.js.map +1 -0
- package/dist/IOmnichannel.d.ts +11 -0
- package/dist/IOmnichannel.js +10 -0
- package/dist/IOmnichannel.js.map +1 -0
- package/dist/IOmnichannelAgent.d.ts +5 -0
- package/dist/IOmnichannelAgent.js +3 -0
- package/dist/IOmnichannelAgent.js.map +1 -0
- package/dist/IOmnichannelBusinessUnit.d.ts +10 -0
- package/dist/IOmnichannelBusinessUnit.js +3 -0
- package/dist/IOmnichannelBusinessUnit.js.map +1 -0
- package/dist/IOmnichannelCannedResponse.d.ts +16 -0
- package/dist/IOmnichannelCannedResponse.js +3 -0
- package/dist/IOmnichannelCannedResponse.js.map +1 -0
- package/dist/IOmnichannelCustomAgent.d.ts +4 -0
- package/dist/IOmnichannelCustomAgent.js +3 -0
- package/dist/IOmnichannelCustomAgent.js.map +1 -0
- package/dist/IOmnichannelServiceLevelAgreements.d.ts +9 -0
- package/dist/IOmnichannelServiceLevelAgreements.js +7 -0
- package/dist/IOmnichannelServiceLevelAgreements.js.map +1 -0
- package/dist/IOmnichannelVoipServiceResult.d.ts +10 -0
- package/dist/IOmnichannelVoipServiceResult.js +3 -0
- package/dist/IOmnichannelVoipServiceResult.js.map +1 -0
- package/dist/IPassword.d.ts +4 -0
- package/dist/IPassword.js +3 -0
- package/dist/IPassword.js.map +1 -0
- package/dist/IPbxEvent.d.ts +12 -0
- package/dist/IPbxEvent.js +3 -0
- package/dist/IPbxEvent.js.map +1 -0
- package/dist/IPermission.d.ts +12 -0
- package/dist/IPermission.js +3 -0
- package/dist/IPermission.js.map +1 -0
- package/dist/IPushNotificationConfig.d.ts +18 -0
- package/dist/IPushNotificationConfig.js +3 -0
- package/dist/IPushNotificationConfig.js.map +1 -0
- package/dist/IPushToken.d.ts +10 -0
- package/dist/IPushToken.js +3 -0
- package/dist/IPushToken.js.map +1 -0
- package/dist/IReport.d.ts +8 -0
- package/dist/IReport.js +3 -0
- package/dist/IReport.js.map +1 -0
- package/dist/IRocketChatAssets.d.ts +53 -0
- package/dist/IRocketChatAssets.js +3 -0
- package/dist/IRocketChatAssets.js.map +1 -0
- package/dist/IRocketChatRecord.d.ts +10 -0
- package/dist/IRocketChatRecord.js +3 -0
- package/dist/IRocketChatRecord.js.map +1 -0
- package/dist/IRole.d.ts +8 -0
- package/dist/IRole.js +3 -0
- package/dist/IRole.js.map +1 -0
- package/dist/IRoom.d.ts +243 -0
- package/dist/IRoom.js +46 -0
- package/dist/IRoom.js.map +1 -0
- package/dist/IServerEvent.d.ts +12 -0
- package/dist/IServerEvent.js +9 -0
- package/dist/IServerEvent.js.map +1 -0
- package/dist/IServerInfo.d.ts +22 -0
- package/dist/IServerInfo.js +3 -0
- package/dist/IServerInfo.js.map +1 -0
- package/dist/ISession.d.ts +78 -0
- package/dist/ISession.js +3 -0
- package/dist/ISession.js.map +1 -0
- package/dist/ISetting.d.ts +222 -0
- package/dist/ISetting.js +31 -0
- package/dist/ISetting.js.map +1 -0
- package/dist/ISmarshHistory.d.ts +5 -0
- package/dist/ISmarshHistory.js +3 -0
- package/dist/ISmarshHistory.js.map +1 -0
- package/dist/ISocketConnection.d.ts +14 -0
- package/dist/ISocketConnection.js +3 -0
- package/dist/ISocketConnection.js.map +1 -0
- package/dist/IStats.d.ts +216 -0
- package/dist/IStats.js +3 -0
- package/dist/IStats.js.map +1 -0
- package/dist/ISubscription.d.ts +63 -0
- package/dist/ISubscription.js +3 -0
- package/dist/ISubscription.js.map +1 -0
- package/dist/ITeam.d.ts +45 -0
- package/dist/ITeam.js +9 -0
- package/dist/ITeam.js.map +1 -0
- package/dist/IUpload.d.ts +49 -0
- package/dist/IUpload.js +3 -0
- package/dist/IUpload.js.map +1 -0
- package/dist/IUser.d.ts +198 -0
- package/dist/IUser.js +8 -0
- package/dist/IUser.js.map +1 -0
- package/dist/IUserAction.d.ts +12 -0
- package/dist/IUserAction.js +3 -0
- package/dist/IUserAction.js.map +1 -0
- package/dist/IUserDataFile.d.ts +2 -0
- package/dist/IUserDataFile.js +3 -0
- package/dist/IUserDataFile.js.map +1 -0
- package/dist/IUserSession.d.ts +12 -0
- package/dist/IUserSession.js +3 -0
- package/dist/IUserSession.js.map +1 -0
- package/dist/IUserStatus.d.ts +5 -0
- package/dist/IUserStatus.js +3 -0
- package/dist/IUserStatus.js.map +1 -0
- package/dist/IVideoConference.d.ts +75 -0
- package/dist/IVideoConference.js +24 -0
- package/dist/IVideoConference.js.map +1 -0
- package/dist/IVoipConnectorResult.d.ts +6 -0
- package/dist/IVoipConnectorResult.js +3 -0
- package/dist/IVoipConnectorResult.js.map +1 -0
- package/dist/IVoipExtension.d.ts +38 -0
- package/dist/IVoipExtension.js +22 -0
- package/dist/IVoipExtension.js.map +1 -0
- package/dist/IVoipServerConfig.d.ts +24 -0
- package/dist/IVoipServerConfig.js +11 -0
- package/dist/IVoipServerConfig.js.map +1 -0
- package/dist/IVoipServerConnectivityStatus.d.ts +4 -0
- package/dist/IVoipServerConnectivityStatus.js +3 -0
- package/dist/IVoipServerConnectivityStatus.js.map +1 -0
- package/dist/IWebdavAccount.d.ts +19 -0
- package/dist/IWebdavAccount.js +3 -0
- package/dist/IWebdavAccount.js.map +1 -0
- package/dist/MarketplaceRest.d.ts +15 -0
- package/dist/MarketplaceRest.js +3 -0
- package/dist/MarketplaceRest.js.map +1 -0
- package/dist/MessageReads.d.ts +8 -0
- package/dist/MessageReads.js +3 -0
- package/dist/MessageReads.js.map +1 -0
- package/dist/OmichannelRoutingConfig.d.ts +16 -0
- package/dist/OmichannelRoutingConfig.js +3 -0
- package/dist/OmichannelRoutingConfig.js.map +1 -0
- package/dist/ReadReceipt.d.ts +12 -0
- package/dist/ReadReceipt.js +3 -0
- package/dist/ReadReceipt.js.map +1 -0
- package/dist/RoomType.d.ts +1 -0
- package/dist/RoomType.js +3 -0
- package/dist/RoomType.js.map +1 -0
- package/dist/Serialized.d.ts +3 -0
- package/dist/Serialized.js +3 -0
- package/dist/Serialized.js.map +1 -0
- package/dist/SlashCommands/index.d.ts +45 -0
- package/dist/SlashCommands/index.js +3 -0
- package/dist/SlashCommands/index.js.map +1 -0
- package/dist/SpotlightUser.d.ts +10 -0
- package/dist/SpotlightUser.js +3 -0
- package/dist/SpotlightUser.js.map +1 -0
- package/dist/UIKit.d.ts +53 -0
- package/dist/UIKit.js +17 -0
- package/dist/UIKit.js.map +1 -0
- package/dist/UserStatus.d.ts +7 -0
- package/dist/UserStatus.js +12 -0
- package/dist/UserStatus.js.map +1 -0
- package/dist/VideoConferenceCapabilities.d.ts +5 -0
- package/dist/VideoConferenceCapabilities.js +3 -0
- package/dist/VideoConferenceCapabilities.js.map +1 -0
- package/dist/VideoConferenceOptions.d.ts +4 -0
- package/dist/VideoConferenceOptions.js +3 -0
- package/dist/VideoConferenceOptions.js.map +1 -0
- package/dist/ee/IAuditLog.d.ts +22 -0
- package/dist/ee/IAuditLog.js +3 -0
- package/dist/ee/IAuditLog.js.map +1 -0
- package/dist/ee/ILicense/ILicense.d.ts +19 -0
- package/dist/ee/ILicense/ILicense.js +3 -0
- package/dist/ee/ILicense/ILicense.js.map +1 -0
- package/dist/ee/ILicense/ILicenseTag.d.ts +4 -0
- package/dist/ee/ILicense/ILicenseTag.js +3 -0
- package/dist/ee/ILicense/ILicenseTag.js.map +1 -0
- package/dist/federation/IMatrixBridgedRoom.d.ts +5 -0
- package/dist/federation/IMatrixBridgedRoom.js +3 -0
- package/dist/federation/IMatrixBridgedRoom.js.map +1 -0
- package/dist/federation/IMatrixBridgedUser.d.ts +7 -0
- package/dist/federation/IMatrixBridgedUser.js +3 -0
- package/dist/federation/IMatrixBridgedUser.js.map +1 -0
- package/dist/federation/index.d.ts +3 -0
- package/dist/federation/index.js +20 -0
- package/dist/federation/index.js.map +1 -0
- package/dist/federation/v1/FederationKey.d.ts +5 -0
- package/dist/federation/v1/FederationKey.js +3 -0
- package/dist/federation/v1/FederationKey.js.map +1 -0
- package/dist/federation/v1/IFederationEvent.d.ts +12 -0
- package/dist/federation/v1/IFederationEvent.js +3 -0
- package/dist/federation/v1/IFederationEvent.js.map +1 -0
- package/dist/federation/v1/IFederationServer.d.ts +4 -0
- package/dist/federation/v1/IFederationServer.js +3 -0
- package/dist/federation/v1/IFederationServer.js.map +1 -0
- package/dist/federation/v1/events.d.ts +15 -0
- package/dist/federation/v1/events.js +21 -0
- package/dist/federation/v1/events.js.map +1 -0
- package/dist/federation/v1/index.d.ts +4 -0
- package/dist/federation/v1/index.js +6 -0
- package/dist/federation/v1/index.js.map +1 -0
- package/dist/import/IImport.d.ts +13 -0
- package/dist/import/IImport.js +3 -0
- package/dist/import/IImport.js.map +1 -0
- package/dist/import/IImportChannel.d.ts +14 -0
- package/dist/import/IImportChannel.js +3 -0
- package/dist/import/IImportChannel.js.map +1 -0
- package/dist/import/IImportFileData.d.ts +7 -0
- package/dist/import/IImportFileData.js +3 -0
- package/dist/import/IImportFileData.js.map +1 -0
- package/dist/import/IImportMessage.d.ts +45 -0
- package/dist/import/IImportMessage.js +3 -0
- package/dist/import/IImportMessage.js.map +1 -0
- package/dist/import/IImportProgress.d.ts +10 -0
- package/dist/import/IImportProgress.js +3 -0
- package/dist/import/IImportProgress.js.map +1 -0
- package/dist/import/IImportRecord.d.ts +31 -0
- package/dist/import/IImportRecord.js +3 -0
- package/dist/import/IImportRecord.js.map +1 -0
- package/dist/import/IImportUser.d.ts +16 -0
- package/dist/import/IImportUser.js +3 -0
- package/dist/import/IImportUser.js.map +1 -0
- package/dist/import/index.d.ts +7 -0
- package/dist/import/index.js +24 -0
- package/dist/import/index.js.map +1 -0
- package/dist/index.d.ts +119 -0
- package/dist/index.js +139 -0
- package/dist/index.js.map +1 -0
- package/dist/ldap/ILDAPCallback.d.ts +10 -0
- package/dist/ldap/ILDAPCallback.js +3 -0
- package/dist/ldap/ILDAPCallback.js.map +1 -0
- package/dist/ldap/ILDAPEntry.d.ts +3 -0
- package/dist/ldap/ILDAPEntry.js +3 -0
- package/dist/ldap/ILDAPEntry.js.map +1 -0
- package/dist/ldap/ILDAPLoginRequest.d.ts +6 -0
- package/dist/ldap/ILDAPLoginRequest.js +3 -0
- package/dist/ldap/ILDAPLoginRequest.js.map +1 -0
- package/dist/ldap/ILDAPLoginResult.d.ts +4 -0
- package/dist/ldap/ILDAPLoginResult.js +3 -0
- package/dist/ldap/ILDAPLoginResult.js.map +1 -0
- package/dist/ldap/ILDAPOptions.d.ts +30 -0
- package/dist/ldap/ILDAPOptions.js +3 -0
- package/dist/ldap/ILDAPOptions.js.map +1 -0
- package/dist/ldap/ILDAPUniqueIdentifierField.d.ts +4 -0
- package/dist/ldap/ILDAPUniqueIdentifierField.js +3 -0
- package/dist/ldap/ILDAPUniqueIdentifierField.js.map +1 -0
- package/dist/ldap/index.d.ts +6 -0
- package/dist/ldap/index.js +23 -0
- package/dist/ldap/index.js.map +1 -0
- package/dist/migrations/IControl.d.ts +7 -0
- package/dist/migrations/IControl.js +3 -0
- package/dist/migrations/IControl.js.map +1 -0
- package/dist/omnichannel/index.d.ts +2 -0
- package/dist/omnichannel/index.js +19 -0
- package/dist/omnichannel/index.js.map +1 -0
- package/dist/omnichannel/routing.d.ts +20 -0
- package/dist/omnichannel/routing.js +3 -0
- package/dist/omnichannel/routing.js.map +1 -0
- package/dist/omnichannel/sms.d.ts +59 -0
- package/dist/omnichannel/sms.js +12 -0
- package/dist/omnichannel/sms.js.map +1 -0
- package/dist/search/IMessageSearchProvider.d.ts +10 -0
- package/dist/search/IMessageSearchProvider.js +3 -0
- package/dist/search/IMessageSearchProvider.js.map +1 -0
- package/dist/search/IMessageSearchSuggestion.d.ts +3 -0
- package/dist/search/IMessageSearchSuggestion.js +3 -0
- package/dist/search/IMessageSearchSuggestion.js.map +1 -0
- package/dist/search/index.d.ts +2 -0
- package/dist/search/index.js +19 -0
- package/dist/search/index.js.map +1 -0
- package/dist/utils.d.ts +14 -0
- package/dist/utils.js +3 -0
- package/dist/utils.js.map +1 -0
- package/dist/voip/CallStates.d.ts +5 -0
- package/dist/voip/CallStates.js +7 -0
- package/dist/voip/CallStates.js.map +1 -0
- package/dist/voip/ConnectionState.d.ts +5 -0
- package/dist/voip/ConnectionState.js +7 -0
- package/dist/voip/ConnectionState.js.map +1 -0
- package/dist/voip/ICallDetails.d.ts +6 -0
- package/dist/voip/ICallDetails.js +3 -0
- package/dist/voip/ICallDetails.js.map +1 -0
- package/dist/voip/ICallerInfo.d.ts +5 -0
- package/dist/voip/ICallerInfo.js +3 -0
- package/dist/voip/ICallerInfo.js.map +1 -0
- package/dist/voip/IConnectionDelegate.d.ts +20 -0
- package/dist/voip/IConnectionDelegate.js +3 -0
- package/dist/voip/IConnectionDelegate.js.map +1 -0
- package/dist/voip/IEvents.d.ts +113 -0
- package/dist/voip/IEvents.js +26 -0
- package/dist/voip/IEvents.js.map +1 -0
- package/dist/voip/IQueueInfo.d.ts +8 -0
- package/dist/voip/IQueueInfo.js +7 -0
- package/dist/voip/IQueueInfo.js.map +1 -0
- package/dist/voip/IRegisterHandlerDelegate.d.ts +32 -0
- package/dist/voip/IRegisterHandlerDelegate.js +3 -0
- package/dist/voip/IRegisterHandlerDelegate.js.map +1 -0
- package/dist/voip/IRegistrationInfo.d.ts +19 -0
- package/dist/voip/IRegistrationInfo.js +9 -0
- package/dist/voip/IRegistrationInfo.js.map +1 -0
- package/dist/voip/IVoipClientEvents.d.ts +96 -0
- package/dist/voip/IVoipClientEvents.js +16 -0
- package/dist/voip/IVoipClientEvents.js.map +1 -0
- package/dist/voip/Operations.d.ts +15 -0
- package/dist/voip/Operations.js +20 -0
- package/dist/voip/Operations.js.map +1 -0
- package/dist/voip/SignalingSocketEvents.d.ts +8 -0
- package/dist/voip/SignalingSocketEvents.js +3 -0
- package/dist/voip/SignalingSocketEvents.js.map +1 -0
- package/dist/voip/UserState.d.ts +5 -0
- package/dist/voip/UserState.js +12 -0
- package/dist/voip/UserState.js.map +1 -0
- package/dist/voip/VoIPUserConfiguration.d.ts +50 -0
- package/dist/voip/VoIPUserConfiguration.js +3 -0
- package/dist/voip/VoIPUserConfiguration.js.map +1 -0
- package/dist/voip/VoIpCallerInfo.d.ts +15 -0
- package/dist/voip/VoIpCallerInfo.js +3 -0
- package/dist/voip/VoIpCallerInfo.js.map +1 -0
- package/dist/voip/VoipClientEvents.d.ts +8 -0
- package/dist/voip/VoipClientEvents.js +13 -0
- package/dist/voip/VoipClientEvents.js.map +1 -0
- package/dist/voip/VoipEvents.d.ts +21 -0
- package/dist/voip/VoipEvents.js +3 -0
- package/dist/voip/VoipEvents.js.map +1 -0
- package/dist/voip/WorkflowTypes.d.ts +10 -0
- package/dist/voip/WorkflowTypes.js +15 -0
- package/dist/voip/WorkflowTypes.js.map +1 -0
- package/dist/voip/index.d.ts +18 -0
- package/dist/voip/index.js +35 -0
- package/dist/voip/index.js.map +1 -0
- package/package.json +1 -1
package/dist/IUser.js
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isUserFederated = exports.isRegisterUser = void 0;
|
4
|
+
const isRegisterUser = (user) => user.username !== undefined && user.name !== undefined;
|
5
|
+
exports.isRegisterUser = isRegisterUser;
|
6
|
+
const isUserFederated = (user) => 'federated' in user && user.federated === true;
|
7
|
+
exports.isUserFederated = isUserFederated;
|
8
|
+
//# sourceMappingURL=IUser.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../src/IUser.ts"],"names":[],"mappings":";;;AA6LO,MAAM,cAAc,GAAG,CAAC,IAAW,EAAyB,EAAE,CAAC,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC;AAAhH,QAAA,cAAc,kBAAkG;AACtH,MAAM,eAAe,GAAG,CAAC,IAAoB,EAAE,EAAE,CAAC,WAAW,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC;AAA3F,QAAA,eAAe,mBAA4E"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
export type IUserAction = {
|
3
|
+
_id: string;
|
4
|
+
username?: string;
|
5
|
+
name?: string;
|
6
|
+
};
|
7
|
+
export type IExtras = {
|
8
|
+
tmid?: string;
|
9
|
+
};
|
10
|
+
export type IActivity = Record<string, NodeJS.Timeout>;
|
11
|
+
export type IRoomActivity = Record<string, IActivity>;
|
12
|
+
export type IActionsObject = Record<string, IRoomActivity>;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IUserAction.js","sourceRoot":"","sources":["../src/IUserAction.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IUserDataFile.js","sourceRoot":"","sources":["../src/IUserDataFile.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { UserStatus } from './UserStatus';
|
2
|
+
export interface IUserSessionConnection {
|
3
|
+
id: string;
|
4
|
+
instanceId: string;
|
5
|
+
status: UserStatus;
|
6
|
+
_createdAt: Date;
|
7
|
+
_updatedAt: Date;
|
8
|
+
}
|
9
|
+
export interface IUserSession {
|
10
|
+
_id: string;
|
11
|
+
connections: IUserSessionConnection[];
|
12
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IUserSession.js","sourceRoot":"","sources":["../src/IUserSession.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IUserStatus.js","sourceRoot":"","sources":["../src/IUserStatus.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import type { AtLeast } from './utils';
|
2
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
3
|
+
import type { IRoom } from './IRoom';
|
4
|
+
import type { IUser } from './IUser';
|
5
|
+
import type { IMessage } from './IMessage';
|
6
|
+
export declare enum VideoConferenceStatus {
|
7
|
+
CALLING = 0,
|
8
|
+
STARTED = 1,
|
9
|
+
EXPIRED = 2,
|
10
|
+
ENDED = 3,
|
11
|
+
DECLINED = 4
|
12
|
+
}
|
13
|
+
export type DirectCallInstructions = {
|
14
|
+
type: 'direct';
|
15
|
+
calleeId: IUser['_id'];
|
16
|
+
callId: string;
|
17
|
+
};
|
18
|
+
export type ConferenceInstructions = {
|
19
|
+
type: 'videoconference';
|
20
|
+
callId: string;
|
21
|
+
rid: IRoom['_id'];
|
22
|
+
};
|
23
|
+
export type LivechatInstructions = {
|
24
|
+
type: 'livechat';
|
25
|
+
callId: string;
|
26
|
+
};
|
27
|
+
export type VideoConferenceType = DirectCallInstructions['type'] | ConferenceInstructions['type'] | LivechatInstructions['type'];
|
28
|
+
export interface IVideoConferenceUser extends Pick<Required<IUser>, '_id' | 'username' | 'name' | 'avatarETag'> {
|
29
|
+
ts: Date;
|
30
|
+
}
|
31
|
+
export interface IVideoConference extends IRocketChatRecord {
|
32
|
+
type: VideoConferenceType;
|
33
|
+
rid: string;
|
34
|
+
users: IVideoConferenceUser[];
|
35
|
+
status: VideoConferenceStatus;
|
36
|
+
messages: {
|
37
|
+
started?: IMessage['_id'];
|
38
|
+
ended?: IMessage['_id'];
|
39
|
+
};
|
40
|
+
url?: string;
|
41
|
+
createdBy: Pick<Required<IUser>, '_id' | 'username' | 'name'>;
|
42
|
+
createdAt: Date;
|
43
|
+
endedBy?: Pick<Required<IUser>, '_id' | 'username' | 'name'>;
|
44
|
+
endedAt?: Date;
|
45
|
+
providerName: string;
|
46
|
+
providerData?: Record<string, any>;
|
47
|
+
ringing?: boolean;
|
48
|
+
}
|
49
|
+
export interface IDirectVideoConference extends IVideoConference {
|
50
|
+
type: 'direct';
|
51
|
+
}
|
52
|
+
export interface IGroupVideoConference extends IVideoConference {
|
53
|
+
type: 'videoconference';
|
54
|
+
anonymousUsers: number;
|
55
|
+
title: string;
|
56
|
+
}
|
57
|
+
export interface ILivechatVideoConference extends IVideoConference {
|
58
|
+
type: 'livechat';
|
59
|
+
}
|
60
|
+
export type VideoConference = IDirectVideoConference | IGroupVideoConference | ILivechatVideoConference;
|
61
|
+
export type VideoConferenceInstructions = DirectCallInstructions | ConferenceInstructions | LivechatInstructions;
|
62
|
+
export declare const isDirectVideoConference: (call: VideoConference | undefined | null) => call is IDirectVideoConference;
|
63
|
+
export declare const isGroupVideoConference: (call: VideoConference | undefined | null) => call is IGroupVideoConference;
|
64
|
+
export declare const isLivechatVideoConference: (call: VideoConference | undefined | null) => call is ILivechatVideoConference;
|
65
|
+
type GroupVideoConferenceCreateData = Omit<IGroupVideoConference, 'createdBy'> & {
|
66
|
+
createdBy: IUser['_id'];
|
67
|
+
};
|
68
|
+
type DirectVideoConferenceCreateData = Omit<IDirectVideoConference, 'createdBy'> & {
|
69
|
+
createdBy: IUser['_id'];
|
70
|
+
};
|
71
|
+
type LivechatVideoConferenceCreateData = Omit<ILivechatVideoConference, 'createdBy'> & {
|
72
|
+
createdBy: IUser['_id'];
|
73
|
+
};
|
74
|
+
export type VideoConferenceCreateData = AtLeast<DirectVideoConferenceCreateData | GroupVideoConferenceCreateData | LivechatVideoConferenceCreateData, 'createdBy' | 'type' | 'rid' | 'providerName' | 'providerData'>;
|
75
|
+
export {};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isLivechatVideoConference = exports.isGroupVideoConference = exports.isDirectVideoConference = exports.VideoConferenceStatus = void 0;
|
4
|
+
var VideoConferenceStatus;
|
5
|
+
(function (VideoConferenceStatus) {
|
6
|
+
VideoConferenceStatus[VideoConferenceStatus["CALLING"] = 0] = "CALLING";
|
7
|
+
VideoConferenceStatus[VideoConferenceStatus["STARTED"] = 1] = "STARTED";
|
8
|
+
VideoConferenceStatus[VideoConferenceStatus["EXPIRED"] = 2] = "EXPIRED";
|
9
|
+
VideoConferenceStatus[VideoConferenceStatus["ENDED"] = 3] = "ENDED";
|
10
|
+
VideoConferenceStatus[VideoConferenceStatus["DECLINED"] = 4] = "DECLINED";
|
11
|
+
})(VideoConferenceStatus || (exports.VideoConferenceStatus = VideoConferenceStatus = {}));
|
12
|
+
const isDirectVideoConference = (call) => {
|
13
|
+
return call?.type === 'direct';
|
14
|
+
};
|
15
|
+
exports.isDirectVideoConference = isDirectVideoConference;
|
16
|
+
const isGroupVideoConference = (call) => {
|
17
|
+
return call?.type === 'videoconference';
|
18
|
+
};
|
19
|
+
exports.isGroupVideoConference = isGroupVideoConference;
|
20
|
+
const isLivechatVideoConference = (call) => {
|
21
|
+
return call?.type === 'livechat';
|
22
|
+
};
|
23
|
+
exports.isLivechatVideoConference = isLivechatVideoConference;
|
24
|
+
//# sourceMappingURL=IVideoConference.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IVideoConference.js","sourceRoot":"","sources":["../src/IVideoConference.ts"],"names":[],"mappings":";;;AAMA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAChC,uEAAW,CAAA;IACX,uEAAW,CAAA;IACX,uEAAW,CAAA;IACX,mEAAS,CAAA;IACT,yEAAY,CAAA;AACb,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAkEM,MAAM,uBAAuB,GAAG,CAAC,IAAwC,EAAkC,EAAE;IACnH,OAAO,IAAI,EAAE,IAAI,KAAK,QAAQ,CAAC;AAChC,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC;AAEK,MAAM,sBAAsB,GAAG,CAAC,IAAwC,EAAiC,EAAE;IACjH,OAAO,IAAI,EAAE,IAAI,KAAK,iBAAiB,CAAC;AACzC,CAAC,CAAC;AAFW,QAAA,sBAAsB,0BAEjC;AAEK,MAAM,yBAAyB,GAAG,CAAC,IAAwC,EAAoC,EAAE;IACvH,OAAO,IAAI,EAAE,IAAI,KAAK,UAAU,CAAC;AAClC,CAAC,CAAC;AAFW,QAAA,yBAAyB,6BAEpC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { IVoipExtensionConfig, IVoipExtensionBase, IQueueMembershipDetails, IQueueMembershipSubscription } from './IVoipExtension';
|
2
|
+
import type { IQueueDetails, IQueueSummary } from './ACDQueues';
|
3
|
+
import type { IRegistrationInfo } from './voip';
|
4
|
+
export interface IVoipConnectorResult {
|
5
|
+
result: IVoipExtensionConfig | IVoipExtensionBase[] | IQueueSummary[] | IQueueDetails | IQueueMembershipDetails | IQueueMembershipSubscription | IRegistrationInfo | undefined;
|
6
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IVoipConnectorResult.js","sourceRoot":"","sources":["../src/IVoipConnectorResult.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import type { IQueueSummary } from './ACDQueues';
|
2
|
+
import type { IUser } from './IUser';
|
3
|
+
import type { IExtensionDetails, IRegistrationInfo } from './voip';
|
4
|
+
export declare enum EndpointState {
|
5
|
+
UNKNOWN = "unknown",
|
6
|
+
REGISTERED = "registered",
|
7
|
+
UNREGISTERED = "unregistered",
|
8
|
+
RINGING = "ringing",
|
9
|
+
BUSY = "busy"
|
10
|
+
}
|
11
|
+
export interface IVoipExtensionBase {
|
12
|
+
extension: string;
|
13
|
+
state: EndpointState;
|
14
|
+
}
|
15
|
+
export interface IVoipExtensionWithAgentInfo extends IVoipExtensionBase {
|
16
|
+
queues?: string[];
|
17
|
+
userId?: IUser['_id'];
|
18
|
+
username?: IUser['username'];
|
19
|
+
name?: IUser['name'];
|
20
|
+
}
|
21
|
+
export declare const isIVoipExtensionBase: (obj: any) => obj is IVoipExtensionBase;
|
22
|
+
export interface IVoipExtensionConfig extends IVoipExtensionBase {
|
23
|
+
authType: string;
|
24
|
+
password: string;
|
25
|
+
}
|
26
|
+
export declare const isIVoipExtensionConfig: (obj: any) => obj is IVoipExtensionConfig;
|
27
|
+
export interface IQueueMembershipDetails {
|
28
|
+
extension: string;
|
29
|
+
queueCount: number;
|
30
|
+
callWaitingCount: number;
|
31
|
+
}
|
32
|
+
export interface IQueueMembershipSubscription {
|
33
|
+
queues: IQueueSummary[];
|
34
|
+
extension: string;
|
35
|
+
}
|
36
|
+
export declare const isIQueueMembershipDetails: (obj: any) => obj is IQueueMembershipDetails;
|
37
|
+
export declare const isIExtensionDetails: (prop: any) => prop is IExtensionDetails;
|
38
|
+
export declare const isIRegistrationInfo: (prop: any) => prop is IRegistrationInfo;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isIRegistrationInfo = exports.isIExtensionDetails = exports.isIQueueMembershipDetails = exports.isIVoipExtensionConfig = exports.isIVoipExtensionBase = exports.EndpointState = void 0;
|
4
|
+
var EndpointState;
|
5
|
+
(function (EndpointState) {
|
6
|
+
EndpointState["UNKNOWN"] = "unknown";
|
7
|
+
EndpointState["REGISTERED"] = "registered";
|
8
|
+
EndpointState["UNREGISTERED"] = "unregistered";
|
9
|
+
EndpointState["RINGING"] = "ringing";
|
10
|
+
EndpointState["BUSY"] = "busy";
|
11
|
+
})(EndpointState || (exports.EndpointState = EndpointState = {}));
|
12
|
+
const isIVoipExtensionBase = (obj) => obj && typeof obj.name === 'string' && typeof obj.state === 'string';
|
13
|
+
exports.isIVoipExtensionBase = isIVoipExtensionBase;
|
14
|
+
const isIVoipExtensionConfig = (obj) => obj.name !== undefined && obj.state !== undefined && obj.authType !== undefined && obj.password !== undefined;
|
15
|
+
exports.isIVoipExtensionConfig = isIVoipExtensionConfig;
|
16
|
+
const isIQueueMembershipDetails = (obj) => obj && typeof obj.extension === 'string' && typeof obj.queueCount === 'number' && typeof obj.callWaitingCount === 'number';
|
17
|
+
exports.isIQueueMembershipDetails = isIQueueMembershipDetails;
|
18
|
+
const isIExtensionDetails = (prop) => prop.extension !== undefined && prop.password !== undefined && prop.authtype !== undefined && prop.state !== undefined;
|
19
|
+
exports.isIExtensionDetails = isIExtensionDetails;
|
20
|
+
const isIRegistrationInfo = (prop) => 'callServerConfig' in prop && 'extensionDetails' in prop;
|
21
|
+
exports.isIRegistrationInfo = isIRegistrationInfo;
|
22
|
+
//# sourceMappingURL=IVoipExtension.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IVoipExtension.js","sourceRoot":"","sources":["../src/IVoipExtension.ts"],"names":[],"mappings":";;;AAIA,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,8CAA6B,CAAA;IAC7B,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACd,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB;AAaM,MAAM,oBAAoB,GAAG,CAAC,GAAQ,EAA6B,EAAE,CAC3E,GAAG,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,KAAK,KAAK,QAAQ,CAAC;AADzD,QAAA,oBAAoB,wBACqC;AAO/D,MAAM,sBAAsB,GAAG,CAAC,GAAQ,EAA+B,EAAE,CAC/E,GAAG,CAAC,IAAI,KAAK,SAAS,IAAI,GAAG,CAAC,KAAK,KAAK,SAAS,IAAI,GAAG,CAAC,QAAQ,KAAK,SAAS,IAAI,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC;AADlG,QAAA,sBAAsB,0BAC4E;AAaxG,MAAM,yBAAyB,GAAG,CAAC,GAAQ,EAAkC,EAAE,CACrF,GAAG,IAAI,OAAO,GAAG,CAAC,SAAS,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,UAAU,KAAK,QAAQ,IAAI,OAAO,GAAG,CAAC,gBAAgB,KAAK,QAAQ,CAAC;AAD/G,QAAA,yBAAyB,6BACsF;AAErH,MAAM,mBAAmB,GAAG,CAAC,IAAS,EAA6B,EAAE,CAC3E,IAAI,CAAC,SAAS,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC;AAD3G,QAAA,mBAAmB,uBACwF;AAEjH,MAAM,mBAAmB,GAAG,CAAC,IAAS,EAA6B,EAAE,CAAC,kBAAkB,IAAI,IAAI,IAAI,kBAAkB,IAAI,IAAI,CAAC;AAAzH,QAAA,mBAAmB,uBAAsG"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import type { ICallServerConfigData } from './voip';
|
2
|
+
export declare enum ServerType {
|
3
|
+
MANAGEMENT = "management",
|
4
|
+
CALL_SERVER = "call-server"
|
5
|
+
}
|
6
|
+
export interface IVoipServerConfigBase {
|
7
|
+
type: ServerType;
|
8
|
+
name: string;
|
9
|
+
}
|
10
|
+
export interface IVoipCallServerConfig extends IVoipServerConfigBase {
|
11
|
+
type: ServerType.CALL_SERVER;
|
12
|
+
configData: ICallServerConfigData;
|
13
|
+
}
|
14
|
+
export interface IVoipManagementServerConfig extends IVoipServerConfigBase {
|
15
|
+
type: ServerType.MANAGEMENT;
|
16
|
+
host: string;
|
17
|
+
configData: IManagementConfigData;
|
18
|
+
}
|
19
|
+
export interface IManagementConfigData {
|
20
|
+
port: number;
|
21
|
+
username: string;
|
22
|
+
password: string;
|
23
|
+
}
|
24
|
+
export declare const isICallServerConfigData: (obj: any) => obj is ICallServerConfigData;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isICallServerConfigData = exports.ServerType = void 0;
|
4
|
+
var ServerType;
|
5
|
+
(function (ServerType) {
|
6
|
+
ServerType["MANAGEMENT"] = "management";
|
7
|
+
ServerType["CALL_SERVER"] = "call-server";
|
8
|
+
})(ServerType || (exports.ServerType = ServerType = {}));
|
9
|
+
const isICallServerConfigData = (obj) => String(obj.websocketPath) === obj.websocketPath;
|
10
|
+
exports.isICallServerConfigData = isICallServerConfigData;
|
11
|
+
//# sourceMappingURL=IVoipServerConfig.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IVoipServerConfig.js","sourceRoot":"","sources":["../src/IVoipServerConfig.ts"],"names":[],"mappings":";;;AAEA,IAAY,UAGX;AAHD,WAAY,UAAU;IACrB,uCAAyB,CAAA;IACzB,yCAA2B,CAAA;AAC5B,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAwBM,MAAM,uBAAuB,GAAG,CAAC,GAAQ,EAAgC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,CAAC,aAAa,CAAC;AAAtH,QAAA,uBAAuB,2BAA+F"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IVoipServerConnectivityStatus.js","sourceRoot":"","sources":["../src/IVoipServerConnectivityStatus.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface IWebdavAccount extends IRocketChatRecord {
|
3
|
+
userId: string;
|
4
|
+
serverURL: string;
|
5
|
+
username?: string;
|
6
|
+
password?: string;
|
7
|
+
name: string;
|
8
|
+
}
|
9
|
+
export type IWebdavAccountIntegration = Pick<IWebdavAccount, '_id' | 'username' | 'serverURL' | 'name'>;
|
10
|
+
export type IWebdavAccountPayload = Pick<IWebdavAccount, 'serverURL' | 'username' | 'password' | 'name'>;
|
11
|
+
export type IWebdavNode = {
|
12
|
+
basename: string;
|
13
|
+
etag: string | null;
|
14
|
+
filename: string;
|
15
|
+
lastmod: string;
|
16
|
+
mime?: string;
|
17
|
+
size: number;
|
18
|
+
type: 'file' | 'directory';
|
19
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IWebdavAccount.js","sourceRoot":"","sources":["../src/IWebdavAccount.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export type PaginationMeta = {
|
2
|
+
total: number;
|
3
|
+
limit: number;
|
4
|
+
offset: number;
|
5
|
+
sort: string;
|
6
|
+
filter: string;
|
7
|
+
};
|
8
|
+
export type Pagination = {
|
9
|
+
offset: number;
|
10
|
+
limit: number;
|
11
|
+
};
|
12
|
+
export interface IRestResponse<T> {
|
13
|
+
data: T[];
|
14
|
+
meta: PaginationMeta;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MarketplaceRest.js","sourceRoot":"","sources":["../src/MarketplaceRest.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MessageReads.js","sourceRoot":"","sources":["../src/MessageReads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { ILivechatInquiryRecord } from './IInquiry';
|
2
|
+
export type OmichannelRoutingConfig = {
|
3
|
+
previewRoom: boolean;
|
4
|
+
showConnecting: boolean;
|
5
|
+
showQueue: boolean;
|
6
|
+
showQueueLink: boolean;
|
7
|
+
returnQueue: boolean;
|
8
|
+
enableTriggerAction: boolean;
|
9
|
+
autoAssignAgent: boolean;
|
10
|
+
};
|
11
|
+
export type Inquiries = {
|
12
|
+
enabled: true;
|
13
|
+
queue: Array<ILivechatInquiryRecord>;
|
14
|
+
} | {
|
15
|
+
enabled: false;
|
16
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"OmichannelRoutingConfig.js","sourceRoot":"","sources":["../src/OmichannelRoutingConfig.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { ILivechatVisitor } from './ILivechatVisitor';
|
2
|
+
import type { IMessage } from './IMessage/IMessage';
|
3
|
+
import type { IRoom } from './IRoom';
|
4
|
+
import type { IUser } from './IUser';
|
5
|
+
export type ReadReceipt = {
|
6
|
+
messageId: IMessage['_id'];
|
7
|
+
roomId: IRoom['_id'];
|
8
|
+
ts: Date;
|
9
|
+
user: Pick<IUser, '_id' | 'name' | 'username'> | ILivechatVisitor | null;
|
10
|
+
userId: IUser['_id'];
|
11
|
+
_id: string;
|
12
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ReadReceipt.js","sourceRoot":"","sources":["../src/ReadReceipt.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type RoomType = 'c' | 'd' | 'p' | 'l' | 'v';
|
package/dist/RoomType.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RoomType.js","sourceRoot":"","sources":["../src/RoomType.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Serialized.js","sourceRoot":"","sources":["../src/Serialized.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import type { IMessage } from '../IMessage';
|
2
|
+
import type { RequiredField } from '../utils';
|
3
|
+
export type SlashCommandCallbackParams<T> = {
|
4
|
+
command: T;
|
5
|
+
params: string;
|
6
|
+
message: RequiredField<Partial<IMessage>, 'rid' | '_id'>;
|
7
|
+
userId: string;
|
8
|
+
triggerId?: string;
|
9
|
+
};
|
10
|
+
type SlashCommandCallback<T extends string = string> = (params: SlashCommandCallbackParams<T>) => Promise<unknown> | unknown;
|
11
|
+
export type SlashCommandPreviewItem = {
|
12
|
+
id: string;
|
13
|
+
type: 'image' | 'video' | 'audio' | 'text' | 'other';
|
14
|
+
value: string;
|
15
|
+
};
|
16
|
+
export type SlashCommandPreviews = {
|
17
|
+
i18nTitle: string;
|
18
|
+
items: SlashCommandPreviewItem[];
|
19
|
+
};
|
20
|
+
type SlashCommandPreviewer = (command: string, params: string, message: RequiredField<Partial<IMessage>, 'rid'>) => Promise<SlashCommandPreviews | undefined>;
|
21
|
+
type SlashCommandPreviewCallback = (command: string, params: string, message: RequiredField<Partial<IMessage>, 'rid'>, preview: SlashCommandPreviewItem, triggerId?: string) => void;
|
22
|
+
export type SlashCommandOptions = {
|
23
|
+
params?: string;
|
24
|
+
description?: string;
|
25
|
+
permission?: string | string[];
|
26
|
+
clientOnly?: boolean;
|
27
|
+
};
|
28
|
+
export type SlashCommand<T extends string = string> = {
|
29
|
+
command: string;
|
30
|
+
callback?: SlashCommandCallback<T>;
|
31
|
+
params: SlashCommandOptions['params'];
|
32
|
+
description: SlashCommandOptions['description'];
|
33
|
+
permission: SlashCommandOptions['permission'];
|
34
|
+
clientOnly?: SlashCommandOptions['clientOnly'];
|
35
|
+
result?: (err: unknown, result: unknown, data: {
|
36
|
+
cmd: string;
|
37
|
+
params: string;
|
38
|
+
msg: IMessage;
|
39
|
+
}) => void;
|
40
|
+
providesPreview: boolean;
|
41
|
+
previewer?: SlashCommandPreviewer;
|
42
|
+
previewCallback?: SlashCommandPreviewCallback;
|
43
|
+
appId?: string;
|
44
|
+
};
|
45
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/SlashCommands/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { IUser } from './IUser';
|
2
|
+
export type SpotlightUser = {
|
3
|
+
_id: IUser['_id'];
|
4
|
+
username: Required<IUser>['username'];
|
5
|
+
nickname: IUser['nickname'];
|
6
|
+
name: IUser['name'];
|
7
|
+
status: IUser['status'];
|
8
|
+
statusText: IUser['statusText'];
|
9
|
+
avatarETag: IUser['avatarETag'];
|
10
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SpotlightUser.js","sourceRoot":"","sources":["../src/SpotlightUser.ts"],"names":[],"mappings":""}
|
package/dist/UIKit.d.ts
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
import { UIKitInteractionType as UIKitInteractionTypeApi } from '@rocket.chat/apps-engine/definition/uikit';
|
2
|
+
import type { IDividerBlock, ISectionBlock, IActionsBlock, IContextBlock, IInputBlock } from '@rocket.chat/apps-engine/definition/uikit/blocks/Blocks';
|
3
|
+
declare enum UIKitInteractionTypeExtended {
|
4
|
+
BANNER_OPEN = "banner.open",
|
5
|
+
BANNER_UPDATE = "banner.update",
|
6
|
+
BANNER_CLOSE = "banner.close"
|
7
|
+
}
|
8
|
+
export type UIKitInteractionType = UIKitInteractionTypeApi | UIKitInteractionTypeExtended;
|
9
|
+
export declare const UIKitInteractionTypes: {
|
10
|
+
BANNER_OPEN: UIKitInteractionTypeExtended.BANNER_OPEN;
|
11
|
+
BANNER_UPDATE: UIKitInteractionTypeExtended.BANNER_UPDATE;
|
12
|
+
BANNER_CLOSE: UIKitInteractionTypeExtended.BANNER_CLOSE;
|
13
|
+
MODAL_OPEN: UIKitInteractionTypeApi.MODAL_OPEN;
|
14
|
+
MODAL_CLOSE: UIKitInteractionTypeApi.MODAL_CLOSE;
|
15
|
+
MODAL_UPDATE: UIKitInteractionTypeApi.MODAL_UPDATE;
|
16
|
+
CONTEXTUAL_BAR_OPEN: UIKitInteractionTypeApi.CONTEXTUAL_BAR_OPEN;
|
17
|
+
CONTEXTUAL_BAR_CLOSE: UIKitInteractionTypeApi.CONTEXTUAL_BAR_CLOSE;
|
18
|
+
CONTEXTUAL_BAR_UPDATE: UIKitInteractionTypeApi.CONTEXTUAL_BAR_UPDATE;
|
19
|
+
ERRORS: UIKitInteractionTypeApi.ERRORS;
|
20
|
+
};
|
21
|
+
export type UiKitPayload = {
|
22
|
+
viewId: string;
|
23
|
+
appId: string;
|
24
|
+
blocks: (IDividerBlock | ISectionBlock | IActionsBlock | IContextBlock | IInputBlock)[];
|
25
|
+
};
|
26
|
+
export type UiKitBannerPayload = UiKitPayload & {
|
27
|
+
inline?: boolean;
|
28
|
+
variant?: 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
29
|
+
icon?: string;
|
30
|
+
title?: string;
|
31
|
+
};
|
32
|
+
export type UIKitUserInteraction = {
|
33
|
+
type: UIKitInteractionType;
|
34
|
+
} & UiKitPayload;
|
35
|
+
export type UiKitBannerProps = {
|
36
|
+
payload: UiKitBannerPayload;
|
37
|
+
};
|
38
|
+
export type UIKitUserInteractionResult = UIKitUserInteractionResultError | UIKitUserInteraction;
|
39
|
+
type UIKitUserInteractionResultError = UIKitUserInteraction & {
|
40
|
+
type: UIKitInteractionTypeApi.ERRORS;
|
41
|
+
errors?: Array<{
|
42
|
+
[key: string]: string;
|
43
|
+
}>;
|
44
|
+
};
|
45
|
+
export declare const isErrorType: (result: UIKitUserInteractionResult) => result is UIKitUserInteractionResultError;
|
46
|
+
export type UIKitActionEvent = {
|
47
|
+
blockId: string;
|
48
|
+
value?: unknown;
|
49
|
+
appId: string;
|
50
|
+
actionId: string;
|
51
|
+
viewId: string;
|
52
|
+
};
|
53
|
+
export {};
|
package/dist/UIKit.js
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isErrorType = exports.UIKitInteractionTypes = void 0;
|
4
|
+
const uikit_1 = require("@rocket.chat/apps-engine/definition/uikit");
|
5
|
+
var UIKitInteractionTypeExtended;
|
6
|
+
(function (UIKitInteractionTypeExtended) {
|
7
|
+
UIKitInteractionTypeExtended["BANNER_OPEN"] = "banner.open";
|
8
|
+
UIKitInteractionTypeExtended["BANNER_UPDATE"] = "banner.update";
|
9
|
+
UIKitInteractionTypeExtended["BANNER_CLOSE"] = "banner.close";
|
10
|
+
})(UIKitInteractionTypeExtended || (UIKitInteractionTypeExtended = {}));
|
11
|
+
exports.UIKitInteractionTypes = {
|
12
|
+
...uikit_1.UIKitInteractionType,
|
13
|
+
...UIKitInteractionTypeExtended,
|
14
|
+
};
|
15
|
+
const isErrorType = (result) => result.type === uikit_1.UIKitInteractionType.ERRORS;
|
16
|
+
exports.isErrorType = isErrorType;
|
17
|
+
//# sourceMappingURL=UIKit.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UIKit.js","sourceRoot":"","sources":["../src/UIKit.ts"],"names":[],"mappings":";;;AAAA,qEAA4G;AAS5G,IAAK,4BAIJ;AAJD,WAAK,4BAA4B;IAChC,2DAA2B,CAAA;IAC3B,+DAA+B,CAAA;IAC/B,6DAA6B,CAAA;AAC9B,CAAC,EAJI,4BAA4B,KAA5B,4BAA4B,QAIhC;AAIY,QAAA,qBAAqB,GAAG;IACpC,GAAG,4BAAuB;IAC1B,GAAG,4BAA4B;CAC/B,CAAC;AA8BK,MAAM,WAAW,GAAG,CAAC,MAAkC,EAA6C,EAAE,CAC5G,MAAM,CAAC,IAAI,KAAK,4BAAuB,CAAC,MAAM,CAAC;AADnC,QAAA,WAAW,eACwB"}
|