@rocket.chat/core-typings 6.3.0-rc.0 → 6.3.0-rc.10
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 +30 -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 +262 -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 +31 -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 +199 -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 +22 -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 +17 -0
- package/dist/import/IImportUser.js +3 -0
- package/dist/import/IImportUser.js.map +1 -0
- package/dist/import/IImporterSelection.d.ts +8 -0
- package/dist/import/IImporterSelection.js +3 -0
- package/dist/import/IImporterSelection.js.map +1 -0
- package/dist/import/IImporterSelectionChannel.d.ts +9 -0
- package/dist/import/IImporterSelectionChannel.js +3 -0
- package/dist/import/IImporterSelectionChannel.js.map +1 -0
- package/dist/import/IImporterSelectionUser.d.ts +9 -0
- package/dist/import/IImporterSelectionUser.js +3 -0
- package/dist/import/IImporterSelectionUser.js.map +1 -0
- package/dist/import/ImportState.d.ts +8 -0
- package/dist/import/ImportState.js +3 -0
- package/dist/import/ImportState.js.map +1 -0
- package/dist/import/index.d.ts +11 -0
- package/dist/import/index.js +28 -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 +4 -4
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICredentialToken.js","sourceRoot":"","sources":["../src/ICredentialToken.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICronHistoryItem.js","sourceRoot":"","sources":["../src/ICronHistoryItem.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICustomEmojiDescriptor.js","sourceRoot":"","sources":["../src/ICustomEmojiDescriptor.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export type OauthConfig = {
|
2
|
+
serverURL?: string;
|
3
|
+
identityPath?: string;
|
4
|
+
addAutopublishFields: {
|
5
|
+
forLoggedInUser: string[];
|
6
|
+
forOtherUsers: string[];
|
7
|
+
};
|
8
|
+
accessTokenParam?: string;
|
9
|
+
identityTokenSentVia?: string;
|
10
|
+
authorizePath?: string;
|
11
|
+
tokenPath?: string;
|
12
|
+
scope?: string;
|
13
|
+
tokenSentVia?: string;
|
14
|
+
usernameField?: string;
|
15
|
+
mergeUsers?: boolean;
|
16
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICustomOAuthConfig.js","sourceRoot":"","sources":["../src/ICustomOAuthConfig.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICustomSound.js","sourceRoot":"","sources":["../src/ICustomSound.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ICustomUserStatus.js","sourceRoot":"","sources":["../src/ICustomUserStatus.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export interface IEmailInbox {
|
2
|
+
_id: string;
|
3
|
+
active: boolean;
|
4
|
+
name: string;
|
5
|
+
email: string;
|
6
|
+
description?: string;
|
7
|
+
senderInfo?: string;
|
8
|
+
department?: string;
|
9
|
+
smtp: {
|
10
|
+
server: string;
|
11
|
+
port: number;
|
12
|
+
username: string;
|
13
|
+
password: string;
|
14
|
+
secure: boolean;
|
15
|
+
};
|
16
|
+
imap: {
|
17
|
+
server: string;
|
18
|
+
port: number;
|
19
|
+
username: string;
|
20
|
+
password: string;
|
21
|
+
secure: boolean;
|
22
|
+
maxRetries: number;
|
23
|
+
};
|
24
|
+
_createdAt: Date;
|
25
|
+
_createdBy: {
|
26
|
+
_id: string;
|
27
|
+
username?: string;
|
28
|
+
} | null;
|
29
|
+
_updatedAt: Date;
|
30
|
+
}
|
31
|
+
export type IEmailInboxPayload = Omit<IEmailInbox, '_createdAt' | '_createdBy' | '_updatedAt'>;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IEmailInbox.js","sourceRoot":"","sources":["../src/IEmailInbox.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IEmailMessageHistory.js","sourceRoot":"","sources":["../src/IEmailMessageHistory.ts"],"names":[],"mappings":""}
|
package/dist/IEmoji.d.ts
ADDED
package/dist/IEmoji.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IEmoji.js","sourceRoot":"","sources":["../src/IEmoji.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IEmojiCustom.js","sourceRoot":"","sources":["../src/IEmojiCustom.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { RoomType } from './RoomType';
|
2
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
3
|
+
import type { FileProp } from './IMessage/MessageAttachment/Files/FileProp';
|
4
|
+
import type { IUser } from './IUser';
|
5
|
+
export interface IExportOperation extends IRocketChatRecord {
|
6
|
+
roomList?: ({
|
7
|
+
roomId: string;
|
8
|
+
roomName: string;
|
9
|
+
userId: string | undefined;
|
10
|
+
exportedCount: number;
|
11
|
+
status: string;
|
12
|
+
type: RoomType;
|
13
|
+
targetFile: string;
|
14
|
+
} | Record<string, never>)[];
|
15
|
+
status: string;
|
16
|
+
fileList: FileProp[];
|
17
|
+
generatedFile?: string;
|
18
|
+
fileId: string;
|
19
|
+
userNameTable: Record<string, string>;
|
20
|
+
userData: IUser;
|
21
|
+
generatedUserFile: boolean;
|
22
|
+
generatedAvatar: boolean;
|
23
|
+
exportPath: string;
|
24
|
+
assetsPath: string;
|
25
|
+
createdAt: Date;
|
26
|
+
fullExport: boolean;
|
27
|
+
userId: IUser['_id'];
|
28
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IExportOperation.js","sourceRoot":"","sources":["../src/IExportOperation.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IIncomingMessage.js","sourceRoot":"","sources":["../src/IIncomingMessage.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import type { ILivechatPriority } from './ILivechatPriority';
|
2
|
+
import type { IOmnichannelRoom, OmnichannelSourceType } from './IRoom';
|
3
|
+
import type { IOmnichannelServiceLevelAgreements } from './IOmnichannelServiceLevelAgreements';
|
4
|
+
import type { SelectedAgent } from './omnichannel/routing';
|
5
|
+
import type { IMessage } from './IMessage';
|
6
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
7
|
+
export interface IInquiry {
|
8
|
+
_id: string;
|
9
|
+
_updatedAt?: Date;
|
10
|
+
department?: string;
|
11
|
+
}
|
12
|
+
export declare enum LivechatInquiryStatus {
|
13
|
+
QUEUED = "queued",
|
14
|
+
TAKEN = "taken",
|
15
|
+
READY = "ready",
|
16
|
+
OPEN = "open"
|
17
|
+
}
|
18
|
+
export interface IVisitor {
|
19
|
+
_id: string;
|
20
|
+
username: string;
|
21
|
+
token: string;
|
22
|
+
status: 'online' | 'busy' | 'away' | 'offline';
|
23
|
+
phone?: string | null;
|
24
|
+
lastMessageTs?: Date;
|
25
|
+
}
|
26
|
+
export interface ILivechatInquiryRecord extends IRocketChatRecord {
|
27
|
+
rid: string;
|
28
|
+
name: string;
|
29
|
+
ts: Date;
|
30
|
+
message: string;
|
31
|
+
status: LivechatInquiryStatus;
|
32
|
+
v: IVisitor;
|
33
|
+
t: 'l';
|
34
|
+
department: string;
|
35
|
+
estimatedInactivityCloseTimeAt: Date;
|
36
|
+
locked?: boolean;
|
37
|
+
lockedAt?: Date;
|
38
|
+
lastMessage?: IMessage & {
|
39
|
+
token?: string;
|
40
|
+
};
|
41
|
+
defaultAgent?: SelectedAgent;
|
42
|
+
source: {
|
43
|
+
type: OmnichannelSourceType;
|
44
|
+
};
|
45
|
+
priorityId?: IOmnichannelRoom['priorityId'];
|
46
|
+
priorityWeight: ILivechatPriority['sortItem'];
|
47
|
+
slaId?: string;
|
48
|
+
estimatedWaitingTimeQueue: IOmnichannelServiceLevelAgreements['dueTimeInMinutes'];
|
49
|
+
}
|
50
|
+
export type InquiryWithAgentInfo = Pick<ILivechatInquiryRecord, '_id' | 'rid' | 'name' | 'ts' | 'status' | 'department' | 'v'> & {
|
51
|
+
position?: number;
|
52
|
+
defaultAgent?: {
|
53
|
+
username: string;
|
54
|
+
agentId: string;
|
55
|
+
};
|
56
|
+
};
|
package/dist/IInquiry.js
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LivechatInquiryStatus = void 0;
|
4
|
+
var LivechatInquiryStatus;
|
5
|
+
(function (LivechatInquiryStatus) {
|
6
|
+
LivechatInquiryStatus["QUEUED"] = "queued";
|
7
|
+
LivechatInquiryStatus["TAKEN"] = "taken";
|
8
|
+
LivechatInquiryStatus["READY"] = "ready";
|
9
|
+
LivechatInquiryStatus["OPEN"] = "open";
|
10
|
+
})(LivechatInquiryStatus || (exports.LivechatInquiryStatus = LivechatInquiryStatus = {}));
|
11
|
+
//# sourceMappingURL=IInquiry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IInquiry.js","sourceRoot":"","sources":["../src/IInquiry.ts"],"names":[],"mappings":";;;AAaA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,wCAAe,CAAA;IACf,wCAAe,CAAA;IACf,sCAAa,CAAA;AACd,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface IInstanceStatus extends IRocketChatRecord {
|
3
|
+
_createdAt: Date;
|
4
|
+
name: string;
|
5
|
+
pid: number;
|
6
|
+
extraInformation: {
|
7
|
+
host: string;
|
8
|
+
nodeVersion: string;
|
9
|
+
port: string;
|
10
|
+
tcpPort: number;
|
11
|
+
os: {
|
12
|
+
type: string;
|
13
|
+
platform: string;
|
14
|
+
arch: string;
|
15
|
+
release: string;
|
16
|
+
uptime: number;
|
17
|
+
loadavg: number[];
|
18
|
+
totalmem: number;
|
19
|
+
freemem: number;
|
20
|
+
cpus: number;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IInstanceStatus.js","sourceRoot":"","sources":["../src/IInstanceStatus.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
import type { IUser } from './IUser';
|
3
|
+
export interface IIncomingIntegration extends IRocketChatRecord {
|
4
|
+
type: 'webhook-incoming';
|
5
|
+
_createdBy: Pick<IUser, 'username' | '_id'> | null;
|
6
|
+
_createdAt: Date;
|
7
|
+
userId: IUser['_id'];
|
8
|
+
username: string;
|
9
|
+
channel: string[];
|
10
|
+
token: string;
|
11
|
+
overrideDestinationChannelEnabled: boolean;
|
12
|
+
scriptEnabled: boolean;
|
13
|
+
script: string;
|
14
|
+
scriptCompiled?: string;
|
15
|
+
scriptError?: Pick<Error, 'name' | 'message' | 'stack'>;
|
16
|
+
name: string;
|
17
|
+
enabled: boolean;
|
18
|
+
alias?: string;
|
19
|
+
avatar?: string;
|
20
|
+
emoji?: string;
|
21
|
+
}
|
22
|
+
export type OutgoingIntegrationEvent = 'sendMessage' | 'fileUploaded' | 'roomArchived' | 'roomCreated' | 'roomJoined' | 'roomLeft' | 'userCreated';
|
23
|
+
export interface IOutgoingIntegration extends IRocketChatRecord {
|
24
|
+
type: 'webhook-outgoing';
|
25
|
+
_createdBy: Pick<IUser, 'username' | '_id'> | null;
|
26
|
+
_createdAt: Date;
|
27
|
+
userId: IUser['_id'];
|
28
|
+
username: string;
|
29
|
+
channel: string[];
|
30
|
+
event: OutgoingIntegrationEvent;
|
31
|
+
targetRoom?: string;
|
32
|
+
urls?: string[];
|
33
|
+
triggerWords?: string[];
|
34
|
+
triggerWordAnywhere?: boolean;
|
35
|
+
token: string;
|
36
|
+
scriptEnabled: boolean;
|
37
|
+
script: string;
|
38
|
+
scriptCompiled?: string;
|
39
|
+
scriptError?: Pick<Error, 'name' | 'message' | 'stack'>;
|
40
|
+
runOnEdits?: boolean;
|
41
|
+
retryFailedCalls?: boolean;
|
42
|
+
retryCount?: number;
|
43
|
+
retryDelay?: string;
|
44
|
+
impersonateUser?: boolean;
|
45
|
+
name: string;
|
46
|
+
enabled: boolean;
|
47
|
+
alias?: string;
|
48
|
+
avatar?: string;
|
49
|
+
emoji?: string;
|
50
|
+
}
|
51
|
+
export type IIntegration = IIncomingIntegration | IOutgoingIntegration;
|
52
|
+
export type INewIncomingIntegration = Omit<IIncomingIntegration, 'channel' | 'scriptCompiled' | 'scriptError' | '_createdBy' | '_createdAt' | 'userId' | 'token'> & {
|
53
|
+
channel: string;
|
54
|
+
};
|
55
|
+
export type INewOutgoingIntegration = Omit<IOutgoingIntegration, 'channel' | 'scriptCompiled' | 'scriptError' | '_createdAt' | '_createdBy' | 'userId'> & {
|
56
|
+
channel?: string;
|
57
|
+
token?: string;
|
58
|
+
};
|
59
|
+
export type IUpdateIncomingIntegration = Omit<IIncomingIntegration, 'type' | 'channel' | 'scriptCompiled' | 'scriptError' | '_createdBy' | '_createdAt' | 'userId' | 'token' | 'username'> & {
|
60
|
+
channel?: string;
|
61
|
+
};
|
62
|
+
export type IUpdateOutgoingIntegration = Omit<IOutgoingIntegration, 'type' | 'channel' | 'scriptCompiled' | 'scriptError' | '_createdAt' | '_createdBy' | 'userId'> & {
|
63
|
+
channel?: string | string[];
|
64
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IIntegration.js","sourceRoot":"","sources":["../src/IIntegration.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface IIntegrationHistory extends IRocketChatRecord {
|
3
|
+
type: string;
|
4
|
+
step: string;
|
5
|
+
integration: {
|
6
|
+
_id: string;
|
7
|
+
};
|
8
|
+
event: string;
|
9
|
+
_createdAt: Date;
|
10
|
+
_updatedAt: Date;
|
11
|
+
data?: {
|
12
|
+
user?: any;
|
13
|
+
room?: any;
|
14
|
+
};
|
15
|
+
ranPrepareScript: boolean;
|
16
|
+
finished: boolean;
|
17
|
+
triggerWord?: string;
|
18
|
+
prepareSentMessage?: string;
|
19
|
+
processSentMessage?: string;
|
20
|
+
url?: string;
|
21
|
+
httpCallData?: string;
|
22
|
+
httpError?: any;
|
23
|
+
httpResult?: string;
|
24
|
+
error?: any;
|
25
|
+
errorStack?: any;
|
26
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IIntegrationHistory.js","sourceRoot":"","sources":["../src/IIntegrationHistory.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface IInvite extends IRocketChatRecord {
|
3
|
+
days: number;
|
4
|
+
maxUses: number;
|
5
|
+
rid: string;
|
6
|
+
userId: string;
|
7
|
+
createdAt: Date;
|
8
|
+
expires: Date | null;
|
9
|
+
uses: number;
|
10
|
+
url: string;
|
11
|
+
}
|
package/dist/IInvite.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IInvite.js","sourceRoot":"","sources":["../src/IInvite.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { IUser } from './IUser';
|
2
|
+
export declare enum ILivechatAgentStatus {
|
3
|
+
AVAILABLE = "available",
|
4
|
+
NOT_AVAILABLE = "not-available"
|
5
|
+
}
|
6
|
+
export interface ILivechatAgent extends IUser {
|
7
|
+
statusLivechat: ILivechatAgentStatus;
|
8
|
+
livechat: {
|
9
|
+
maxNumberSimultaneousChat: number;
|
10
|
+
};
|
11
|
+
livechatCount: number;
|
12
|
+
lastRoutingTime: Date;
|
13
|
+
livechatStatusSystemModified?: boolean;
|
14
|
+
openBusinessHours?: string[];
|
15
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ILivechatAgentStatus = void 0;
|
4
|
+
var ILivechatAgentStatus;
|
5
|
+
(function (ILivechatAgentStatus) {
|
6
|
+
ILivechatAgentStatus["AVAILABLE"] = "available";
|
7
|
+
ILivechatAgentStatus["NOT_AVAILABLE"] = "not-available";
|
8
|
+
})(ILivechatAgentStatus || (exports.ILivechatAgentStatus = ILivechatAgentStatus = {}));
|
9
|
+
//# sourceMappingURL=ILivechatAgent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ILivechatAgent.js","sourceRoot":"","sources":["../src/ILivechatAgent.ts"],"names":[],"mappings":";;;AAEA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,+CAAuB,CAAA;IACvB,uDAA+B,CAAA;AAChC,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface ILivechatAgentActivity extends IRocketChatRecord {
|
3
|
+
agentId: string;
|
4
|
+
date: number;
|
5
|
+
lastStartedAt: Date;
|
6
|
+
availableTime: number;
|
7
|
+
serviceHistory: IServiceHistory[];
|
8
|
+
lastStoppedAt?: Date;
|
9
|
+
}
|
10
|
+
export interface IServiceHistory {
|
11
|
+
startedAt: Date;
|
12
|
+
stoppedAt: Date;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ILivechatAgentActivity.js","sourceRoot":"","sources":["../src/ILivechatAgentActivity.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import type { ILivechatDepartment } from './ILivechatDepartment';
|
2
|
+
export declare enum LivechatBusinessHourTypes {
|
3
|
+
DEFAULT = "default",
|
4
|
+
CUSTOM = "custom"
|
5
|
+
}
|
6
|
+
export declare enum LivechatBusinessHourBehaviors {
|
7
|
+
SINGLE = "Single",
|
8
|
+
MULTIPLE = "Multiple"
|
9
|
+
}
|
10
|
+
interface IBusinessHourTime {
|
11
|
+
time: string;
|
12
|
+
utc: {
|
13
|
+
dayOfWeek: string;
|
14
|
+
time: string;
|
15
|
+
};
|
16
|
+
cron: {
|
17
|
+
dayOfWeek: string;
|
18
|
+
time: string;
|
19
|
+
};
|
20
|
+
}
|
21
|
+
export interface IBusinessHourWorkHour {
|
22
|
+
day: string;
|
23
|
+
start: IBusinessHourTime;
|
24
|
+
finish: IBusinessHourTime;
|
25
|
+
open: boolean;
|
26
|
+
code: unknown;
|
27
|
+
}
|
28
|
+
export interface IBusinessHourTimezone {
|
29
|
+
name: string;
|
30
|
+
utc: string;
|
31
|
+
}
|
32
|
+
export interface ILivechatBusinessHour {
|
33
|
+
_id: string;
|
34
|
+
name: string;
|
35
|
+
active: boolean;
|
36
|
+
type: LivechatBusinessHourTypes;
|
37
|
+
timezone: IBusinessHourTimezone;
|
38
|
+
ts: Date;
|
39
|
+
workHours: IBusinessHourWorkHour[];
|
40
|
+
_updatedAt?: Date;
|
41
|
+
departments?: ILivechatDepartment[];
|
42
|
+
}
|
43
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LivechatBusinessHourBehaviors = exports.LivechatBusinessHourTypes = void 0;
|
4
|
+
var LivechatBusinessHourTypes;
|
5
|
+
(function (LivechatBusinessHourTypes) {
|
6
|
+
LivechatBusinessHourTypes["DEFAULT"] = "default";
|
7
|
+
LivechatBusinessHourTypes["CUSTOM"] = "custom";
|
8
|
+
})(LivechatBusinessHourTypes || (exports.LivechatBusinessHourTypes = LivechatBusinessHourTypes = {}));
|
9
|
+
var LivechatBusinessHourBehaviors;
|
10
|
+
(function (LivechatBusinessHourBehaviors) {
|
11
|
+
LivechatBusinessHourBehaviors["SINGLE"] = "Single";
|
12
|
+
LivechatBusinessHourBehaviors["MULTIPLE"] = "Multiple";
|
13
|
+
})(LivechatBusinessHourBehaviors || (exports.LivechatBusinessHourBehaviors = LivechatBusinessHourBehaviors = {}));
|
14
|
+
//# sourceMappingURL=ILivechatBusinessHour.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ILivechatBusinessHour.js","sourceRoot":"","sources":["../src/ILivechatBusinessHour.ts"],"names":[],"mappings":";;;AAEA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,gDAAmB,CAAA;IACnB,8CAAiB,CAAA;AAClB,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACxC,kDAAiB,CAAA;IACjB,sDAAqB,CAAA;AACtB,CAAC,EAHW,6BAA6B,6CAA7B,6BAA6B,QAGxC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
2
|
+
export interface ILivechatCustomField extends IRocketChatRecord {
|
3
|
+
label: string;
|
4
|
+
scope: 'visitor' | 'room';
|
5
|
+
visibility: string;
|
6
|
+
type?: string;
|
7
|
+
regexp?: string;
|
8
|
+
required?: boolean;
|
9
|
+
defaultValue?: string;
|
10
|
+
options?: string;
|
11
|
+
public?: boolean;
|
12
|
+
searchable?: boolean;
|
13
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ILivechatCustomField.js","sourceRoot":"","sources":["../src/ILivechatCustomField.ts"],"names":[],"mappings":""}
|