@rocket.chat/core-typings 6.13.1 → 8.3.0-rc.0
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/dist/Abac.d.ts +7 -0
- package/dist/Abac.js +14 -0
- package/dist/Abac.js.map +1 -0
- package/dist/Ajv.d.ts +23 -0
- package/dist/Ajv.js +9748 -0
- package/dist/Ajv.js.map +1 -0
- package/dist/Apps.d.ts +133 -13
- package/dist/Apps.js.map +1 -1
- package/dist/IAbacAttribute.d.ts +14 -0
- package/dist/IAbacAttribute.js +3 -0
- package/dist/IAbacAttribute.js.map +1 -0
- package/dist/{IAnalytic.d.ts → IAnalytics.d.ts} +3 -9
- package/dist/{IBaseData.js → IAnalytics.js} +1 -1
- package/dist/IAnalytics.js.map +1 -0
- package/dist/IAvatar.d.ts +2 -1
- package/dist/IBanner.d.ts +27 -20
- package/dist/IBanner.js +59 -1
- package/dist/IBanner.js.map +1 -1
- package/dist/ICalendarEvent.d.ts +6 -2
- package/dist/ICallHistoryItem.d.ts +42 -0
- package/dist/ICallHistoryItem.js +3 -0
- package/dist/ICallHistoryItem.js.map +1 -0
- package/dist/IEmojiCustom.d.ts +1 -0
- package/dist/IInquiry.d.ts +2 -0
- package/dist/IInquiry.js +8 -1
- package/dist/IInquiry.js.map +1 -1
- package/dist/IIntegration.d.ts +1 -1
- package/dist/IIntegrationHistory.d.ts +4 -0
- package/dist/ILivechatAgent.d.ts +11 -0
- package/dist/ILivechatContact.d.ts +32 -8
- package/dist/ILivechatDepartment.d.ts +3 -0
- package/dist/ILivechatPriority.d.ts +0 -1
- package/dist/ILivechatTag.d.ts +6 -0
- package/dist/ILivechatTrigger.d.ts +0 -3
- package/dist/ILivechatTrigger.js +1 -5
- package/dist/ILivechatTrigger.js.map +1 -1
- package/dist/ILivechatVisitor.d.ts +6 -12
- package/dist/ILivechatVisitor.js.map +1 -1
- package/dist/{ILogs.d.ts → ILogItem.d.ts} +7 -7
- package/dist/{IAnalytic.js → ILogItem.js} +1 -1
- package/dist/ILogItem.js.map +1 -0
- package/dist/ILoginServiceConfiguration.d.ts +2 -0
- package/dist/IMessage/IMessage.d.ts +48 -58
- package/dist/IMessage/IMessage.js +24 -29
- package/dist/IMessage/IMessage.js.map +1 -1
- package/dist/IMessage/MessageAttachment/Files/FileAttachmentProps.d.ts +6 -8
- package/dist/IMessage/MessageAttachment/Files/FileAttachmentProps.js.map +1 -1
- package/dist/IMessage/MessageAttachment/Files/FileProp.d.ts +1 -0
- package/dist/IMessage/MessageAttachment/Files/ImageAttachmentProps.d.ts +4 -2
- package/dist/IMessage/MessageAttachment/Files/ImageAttachmentProps.js.map +1 -1
- package/dist/IMessage/MessageAttachment/Files/RemovedFileAttachmentProps.d.ts +7 -0
- package/dist/IMessage/MessageAttachment/Files/RemovedFileAttachmentProps.js +6 -0
- package/dist/IMessage/MessageAttachment/Files/RemovedFileAttachmentProps.js.map +1 -0
- package/dist/IMessage/MessageAttachment/Files/index.d.ts +2 -3
- package/dist/IMessage/MessageAttachment/Files/index.js +1 -3
- package/dist/IMessage/MessageAttachment/Files/index.js.map +1 -1
- package/dist/IMessage/MessageAttachment/MessageAttachment.d.ts +2 -1
- package/dist/IMessage/MessageAttachment/MessageAttachmentAction.js +0 -1
- package/dist/IMessage/MessageAttachment/MessageAttachmentAction.js.map +1 -1
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.d.ts +4 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.js +5 -0
- package/dist/IMessage/MessageAttachment/MessageAttachmentBase.js.map +1 -1
- package/dist/IMessage/MessageAttachment/MessageAttachmentDefault.d.ts +9 -4
- package/dist/IMessage/MessageAttachment/TranslatedMessageAttachment.d.ts +2 -1
- package/dist/IMessage/MessageAttachment/index.d.ts +2 -3
- package/dist/IMessage/MessageAttachment/index.js +0 -3
- package/dist/IMessage/MessageAttachment/index.js.map +1 -1
- package/dist/IMethodConnection.d.ts +7 -0
- package/dist/IMethodConnection.js +3 -0
- package/dist/IMethodConnection.js.map +1 -0
- package/dist/IModerationReport.d.ts +11 -12
- package/dist/INotification.d.ts +4 -0
- package/dist/IOAuthApps.d.ts +1 -1
- package/dist/IOembed.d.ts +4 -2
- package/dist/IOembed.js +1 -3
- package/dist/IOembed.js.map +1 -1
- package/dist/IOmnichannelBusinessUnit.d.ts +17 -0
- package/dist/IPermission.d.ts +2 -2
- package/dist/IPushToken.d.ts +5 -2
- package/dist/IReadReceipt.d.ts +18 -0
- package/dist/{AppRequests.js → IReadReceipt.js} +1 -1
- package/dist/IReadReceipt.js.map +1 -0
- package/dist/IRocketChatAssets.d.ts +4 -5
- package/dist/IRoom.d.ts +55 -49
- package/dist/IRoom.js +11 -21
- package/dist/IRoom.js.map +1 -1
- package/dist/IServerEvent.d.ts +54 -1
- package/dist/IServerEvent.js.map +1 -1
- package/dist/ISetting.d.ts +23 -29
- package/dist/ISetting.js +3 -5
- package/dist/ISetting.js.map +1 -1
- package/dist/IStats.d.ts +41 -3
- package/dist/ISubscription.d.ts +21 -7
- package/dist/ISubscription.js +9 -0
- package/dist/ISubscription.js.map +1 -1
- package/dist/ITeam.d.ts +2 -2
- package/dist/ITeam.js +6 -6
- package/dist/ITeam.js.map +1 -1
- package/dist/IUpload.d.ts +15 -12
- package/dist/IUpload.js.map +1 -1
- package/dist/IUser.d.ts +62 -37
- package/dist/IUser.js +9 -6
- package/dist/IUser.js.map +1 -1
- package/dist/IUserDataFile.d.ts +2 -1
- package/dist/IVideoConference.d.ts +45 -4
- package/dist/IVideoConference.js.map +1 -1
- package/dist/IWebdavAccount.d.ts +2 -2
- package/dist/IWorkspaceInfo.d.ts +2 -2
- package/dist/{ICustomOAuthConfig.d.ts → OauthConfig.d.ts} +2 -0
- package/dist/{AppOverview.js → OauthConfig.js} +1 -1
- package/dist/OauthConfig.js.map +1 -0
- package/dist/{IOmnichannel.d.ts → OmnichannelSortingMechanismSettingType.d.ts} +0 -6
- package/dist/{IOmnichannel.js → OmnichannelSortingMechanismSettingType.js} +1 -1
- package/dist/OmnichannelSortingMechanismSettingType.js.map +1 -0
- package/dist/RoomType.d.ts +1 -1
- package/dist/ServerAudit/IAuditServerAbacAction.d.ts +88 -0
- package/dist/ServerAudit/IAuditServerAbacAction.js +3 -0
- package/dist/ServerAudit/IAuditServerAbacAction.js.map +1 -0
- package/dist/ServerAudit/IAuditServerSettingEvent.d.ts +14 -0
- package/dist/ServerAudit/IAuditServerSettingEvent.js +3 -0
- package/dist/ServerAudit/IAuditServerSettingEvent.js.map +1 -0
- package/dist/ServerAudit/IAuditUserChangedEvent.d.ts +19 -0
- package/dist/ServerAudit/IAuditUserChangedEvent.js +3 -0
- package/dist/ServerAudit/IAuditUserChangedEvent.js.map +1 -0
- package/dist/SlashCommands/index.d.ts +2 -2
- package/dist/SpotlightUser.d.ts +1 -1
- package/dist/{IAutoTranslate.d.ts → autoTranslate.d.ts} +0 -10
- package/dist/autoTranslate.js +3 -0
- package/dist/autoTranslate.js.map +1 -0
- package/dist/cloud/Announcement.d.ts +27 -6
- package/dist/cloud/Announcement.js +40 -0
- package/dist/cloud/Announcement.js.map +1 -1
- package/dist/cloud/CloudSyncAnnouncement.d.ts +9 -0
- package/dist/cloud/CloudSyncAnnouncement.js +3 -0
- package/dist/cloud/CloudSyncAnnouncement.js.map +1 -0
- package/dist/cloud/NpsSurveyAnnouncement.d.ts +7 -5
- package/dist/cloud/NpsSurveyAnnouncement.js +41 -1
- package/dist/cloud/NpsSurveyAnnouncement.js.map +1 -1
- package/dist/cloud/WorkspaceLicensePayload.d.ts +9 -8
- package/dist/cloud/WorkspaceLicensePayload.js +43 -1
- package/dist/cloud/WorkspaceLicensePayload.js.map +1 -1
- package/dist/cloud/WorkspaceSyncPayload.d.ts +101 -49
- package/dist/cloud/WorkspaceSyncPayload.js +82 -1
- package/dist/cloud/WorkspaceSyncPayload.js.map +1 -1
- package/dist/cloud/index.d.ts +5 -4
- package/dist/cloud/index.js +11 -0
- package/dist/cloud/index.js.map +1 -1
- package/dist/ee/IWorkspaceCredentials.d.ts +7 -0
- package/dist/ee/IWorkspaceCredentials.js +3 -0
- package/dist/ee/IWorkspaceCredentials.js.map +1 -0
- package/dist/federation/index.d.ts +0 -2
- package/dist/federation/index.js +0 -2
- package/dist/federation/index.js.map +1 -1
- package/dist/federation/v1/events.d.ts +13 -13
- package/dist/federation/v1/events.js.map +1 -1
- package/dist/federation/v1/index.d.ts +3 -3
- package/dist/import/IImport.d.ts +1 -0
- package/dist/import/IImportContact.d.ts +9 -0
- package/dist/import/IImportContact.js +3 -0
- package/dist/import/IImportContact.js.map +1 -0
- package/dist/import/IImportMessage.d.ts +10 -10
- package/dist/import/IImportProgress.d.ts +1 -1
- package/dist/import/IImportRecord.d.ts +7 -2
- package/dist/import/IImportUser.d.ts +2 -0
- package/dist/import/IImporterSelection.d.ts +2 -0
- package/dist/import/IImporterSelectionContact.d.ts +7 -0
- package/dist/import/IImporterSelectionContact.js +3 -0
- package/dist/import/IImporterSelectionContact.js.map +1 -0
- package/dist/import/IImporterShortSelection.d.ts +9 -0
- package/dist/import/IImporterShortSelection.js +3 -0
- package/dist/import/IImporterShortSelection.js.map +1 -0
- package/dist/import/ImportState.d.ts +1 -2
- package/dist/import/index.d.ts +13 -12
- package/dist/import/index.js +0 -26
- package/dist/import/index.js.map +1 -1
- package/dist/index.d.ts +90 -99
- package/dist/index.js +23 -110
- package/dist/index.js.map +1 -1
- package/dist/ldap/ILDAPOptions.d.ts +2 -0
- package/dist/ldap/index.d.ts +6 -6
- package/dist/ldap/index.js +0 -20
- package/dist/ldap/index.js.map +1 -1
- package/dist/license/ILicenseV3.d.ts +16 -9
- package/dist/license/LicenseInfo.d.ts +5 -1
- package/dist/license/LicenseModule.d.ts +4 -1
- package/dist/license/LicenseModule.js +28 -0
- package/dist/license/LicenseModule.js.map +1 -1
- package/dist/license/LicensePeriod.d.ts +4 -6
- package/dist/license/events.d.ts +1 -0
- package/dist/license/index.d.ts +10 -10
- package/dist/license/index.js +0 -10
- package/dist/license/index.js.map +1 -1
- package/dist/mediaCalls/IMediaCall.d.ts +51 -0
- package/dist/{ACDQueues.js → mediaCalls/IMediaCall.js} +1 -1
- package/dist/mediaCalls/IMediaCall.js.map +1 -0
- package/dist/mediaCalls/IMediaCallChannel.d.ts +13 -0
- package/dist/mediaCalls/IMediaCallChannel.js +3 -0
- package/dist/mediaCalls/IMediaCallChannel.js.map +1 -0
- package/dist/mediaCalls/IMediaCallNegotiation.d.ts +17 -0
- package/dist/mediaCalls/IMediaCallNegotiation.js +3 -0
- package/dist/mediaCalls/IMediaCallNegotiation.js.map +1 -0
- package/dist/mediaCalls/index.d.ts +3 -0
- package/dist/{ILogs.js → mediaCalls/index.js} +1 -1
- package/dist/mediaCalls/index.js.map +1 -0
- package/dist/migrations/IControl.d.ts +2 -2
- package/dist/omnichannel/index.d.ts +6 -5
- package/dist/omnichannel/index.js +1 -5
- package/dist/omnichannel/index.js.map +1 -1
- package/dist/omnichannel/outbound.d.ts +130 -0
- package/dist/omnichannel/outbound.js +5 -0
- package/dist/omnichannel/outbound.js.map +1 -0
- package/dist/omnichannel/sms.d.ts +5 -18
- package/dist/omnichannel/sms.js +0 -9
- package/dist/omnichannel/sms.js.map +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +0 -16
- package/dist/search/index.js.map +1 -1
- package/dist/themes.d.ts +1 -1
- package/dist/userAction.d.ts +5 -0
- package/dist/{AppsTokens.js → userAction.js} +1 -1
- package/dist/userAction.js.map +1 -0
- package/dist/utils.d.ts +32 -4
- package/dist/utils.js +41 -0
- package/dist/utils.js.map +1 -1
- package/package.json +27 -20
- package/CHANGELOG.md +0 -681
- package/dist/ACDQueues.d.ts +0 -35
- package/dist/ACDQueues.js.map +0 -1
- package/dist/AppOverview.d.ts +0 -104
- package/dist/AppOverview.js.map +0 -1
- package/dist/AppRequests.d.ts +0 -38
- package/dist/AppRequests.js.map +0 -1
- package/dist/AppsTokens.d.ts +0 -15
- package/dist/AppsTokens.js.map +0 -1
- package/dist/FeaturedApps.d.ts +0 -6
- package/dist/FeaturedApps.js +0 -3
- package/dist/FeaturedApps.js.map +0 -1
- package/dist/IAnalytic.js.map +0 -1
- package/dist/IAutoTranslate.js +0 -3
- package/dist/IAutoTranslate.js.map +0 -1
- package/dist/IBaseData.d.ts +0 -3
- package/dist/IBaseData.js.map +0 -1
- package/dist/ICustomOAuthConfig.js +0 -3
- package/dist/ICustomOAuthConfig.js.map +0 -1
- package/dist/ILivechatMonitorRecord.d.ts +0 -9
- package/dist/ILivechatMonitorRecord.js +0 -3
- package/dist/ILivechatMonitorRecord.js.map +0 -1
- package/dist/ILogs.js.map +0 -1
- package/dist/IMessage/MessageAttachment/FieldProps.d.ts +0 -5
- package/dist/IMessage/MessageAttachment/FieldProps.js +0 -3
- package/dist/IMessage/MessageAttachment/FieldProps.js.map +0 -1
- package/dist/IMessage/MessageAttachment/Files/Dimensions.d.ts +0 -4
- package/dist/IMessage/MessageAttachment/Files/Dimensions.js +0 -3
- package/dist/IMessage/MessageAttachment/Files/Dimensions.js.map +0 -1
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.d.ts +0 -5
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.js +0 -3
- package/dist/IMessage/MessageAttachment/Files/PDFAttachmentProps.js.map +0 -1
- package/dist/IMethodThisType.d.ts +0 -15
- package/dist/IMethodThisType.js +0 -3
- package/dist/IMethodThisType.js.map +0 -1
- package/dist/IMethodType.d.ts +0 -4
- package/dist/IMethodType.js +0 -3
- package/dist/IMethodType.js.map +0 -1
- package/dist/IOmnichannel.js.map +0 -1
- package/dist/IOmnichannelVoipServiceResult.d.ts +0 -10
- package/dist/IOmnichannelVoipServiceResult.js +0 -3
- package/dist/IOmnichannelVoipServiceResult.js.map +0 -1
- package/dist/IPbxEvent.d.ts +0 -12
- package/dist/IPbxEvent.js +0 -3
- package/dist/IPbxEvent.js.map +0 -1
- package/dist/IUserAction.d.ts +0 -11
- package/dist/IUserAction.js +0 -3
- package/dist/IUserAction.js.map +0 -1
- package/dist/IVoipConnectorResult.d.ts +0 -6
- package/dist/IVoipConnectorResult.js +0 -3
- package/dist/IVoipConnectorResult.js.map +0 -1
- package/dist/IVoipExtension.d.ts +0 -38
- package/dist/IVoipExtension.js +0 -22
- package/dist/IVoipExtension.js.map +0 -1
- package/dist/IVoipServerConfig.d.ts +0 -24
- package/dist/IVoipServerConfig.js +0 -11
- package/dist/IVoipServerConfig.js.map +0 -1
- package/dist/IVoipServerConnectivityStatus.d.ts +0 -4
- package/dist/IVoipServerConnectivityStatus.js +0 -3
- package/dist/IVoipServerConnectivityStatus.js.map +0 -1
- package/dist/MarketplaceRest.d.ts +0 -15
- package/dist/MarketplaceRest.js +0 -3
- package/dist/MarketplaceRest.js.map +0 -1
- package/dist/ReadReceipt.d.ts +0 -12
- package/dist/ReadReceipt.js +0 -3
- package/dist/ReadReceipt.js.map +0 -1
- package/dist/Serialized.d.ts +0 -14
- package/dist/Serialized.js +0 -4
- package/dist/Serialized.js.map +0 -1
- package/dist/VideoConferenceOptions.d.ts +0 -4
- package/dist/VideoConferenceOptions.js +0 -3
- package/dist/VideoConferenceOptions.js.map +0 -1
- package/dist/federation/IMatrixBridgedRoom.d.ts +0 -5
- package/dist/federation/IMatrixBridgedRoom.js +0 -3
- package/dist/federation/IMatrixBridgedRoom.js.map +0 -1
- package/dist/federation/IMatrixBridgedUser.d.ts +0 -7
- package/dist/federation/IMatrixBridgedUser.js +0 -3
- package/dist/federation/IMatrixBridgedUser.js.map +0 -1
- package/dist/import/IImportFileData.d.ts +0 -7
- package/dist/import/IImportFileData.js +0 -3
- package/dist/import/IImportFileData.js.map +0 -1
- package/dist/import/IImporterInfo.d.ts +0 -4
- package/dist/import/IImporterInfo.js +0 -3
- package/dist/import/IImporterInfo.js.map +0 -1
- package/dist/voip/CallStates.d.ts +0 -5
- package/dist/voip/CallStates.js +0 -7
- package/dist/voip/CallStates.js.map +0 -1
- package/dist/voip/ConnectionState.d.ts +0 -5
- package/dist/voip/ConnectionState.js +0 -7
- package/dist/voip/ConnectionState.js.map +0 -1
- package/dist/voip/ICallDetails.d.ts +0 -6
- package/dist/voip/ICallDetails.js +0 -3
- package/dist/voip/ICallDetails.js.map +0 -1
- package/dist/voip/ICallerInfo.d.ts +0 -5
- package/dist/voip/ICallerInfo.js +0 -3
- package/dist/voip/ICallerInfo.js.map +0 -1
- package/dist/voip/IConnectionDelegate.d.ts +0 -20
- package/dist/voip/IConnectionDelegate.js +0 -3
- package/dist/voip/IConnectionDelegate.js.map +0 -1
- package/dist/voip/IEvents.d.ts +0 -113
- package/dist/voip/IEvents.js +0 -26
- package/dist/voip/IEvents.js.map +0 -1
- package/dist/voip/IQueueInfo.d.ts +0 -8
- package/dist/voip/IQueueInfo.js +0 -7
- package/dist/voip/IQueueInfo.js.map +0 -1
- package/dist/voip/IRegisterHandlerDelegate.d.ts +0 -32
- package/dist/voip/IRegisterHandlerDelegate.js +0 -3
- package/dist/voip/IRegisterHandlerDelegate.js.map +0 -1
- package/dist/voip/IRegistrationInfo.d.ts +0 -19
- package/dist/voip/IRegistrationInfo.js +0 -9
- package/dist/voip/IRegistrationInfo.js.map +0 -1
- package/dist/voip/IVoipClientEvents.d.ts +0 -96
- package/dist/voip/IVoipClientEvents.js +0 -16
- package/dist/voip/IVoipClientEvents.js.map +0 -1
- package/dist/voip/Operations.d.ts +0 -15
- package/dist/voip/Operations.js +0 -20
- package/dist/voip/Operations.js.map +0 -1
- package/dist/voip/SignalingSocketEvents.d.ts +0 -8
- package/dist/voip/SignalingSocketEvents.js +0 -3
- package/dist/voip/SignalingSocketEvents.js.map +0 -1
- package/dist/voip/UserState.d.ts +0 -5
- package/dist/voip/UserState.js +0 -12
- package/dist/voip/UserState.js.map +0 -1
- package/dist/voip/VoIPUserConfiguration.d.ts +0 -50
- package/dist/voip/VoIPUserConfiguration.js +0 -3
- package/dist/voip/VoIPUserConfiguration.js.map +0 -1
- package/dist/voip/VoIpCallerInfo.d.ts +0 -15
- package/dist/voip/VoIpCallerInfo.js +0 -3
- package/dist/voip/VoIpCallerInfo.js.map +0 -1
- package/dist/voip/VoipClientEvents.d.ts +0 -8
- package/dist/voip/VoipClientEvents.js +0 -13
- package/dist/voip/VoipClientEvents.js.map +0 -1
- package/dist/voip/VoipEvents.d.ts +0 -21
- package/dist/voip/VoipEvents.js +0 -3
- package/dist/voip/VoipEvents.js.map +0 -1
- package/dist/voip/WorkflowTypes.d.ts +0 -10
- package/dist/voip/WorkflowTypes.js +0 -15
- package/dist/voip/WorkflowTypes.js.map +0 -1
- package/dist/voip/index.d.ts +0 -18
- package/dist/voip/index.js +0 -35
- package/dist/voip/index.js.map +0 -1
package/dist/Ajv.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ajv.js","sourceRoot":"","sources":["../src/Ajv.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAwBb,QAAA,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ps.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AppStatus } from '@rocket.chat/apps-engine/definition/AppStatus';
|
|
2
|
+
import type { ExternalModuleName } from './license';
|
|
2
3
|
export type AppScreenshot = {
|
|
3
4
|
id: string;
|
|
4
5
|
appId: string;
|
|
@@ -8,12 +9,6 @@ export type AppScreenshot = {
|
|
|
8
9
|
createdAt: string;
|
|
9
10
|
modifiedAt: string;
|
|
10
11
|
};
|
|
11
|
-
export type AppTiers = {
|
|
12
|
-
perUnit: boolean;
|
|
13
|
-
minimum: number;
|
|
14
|
-
maximum: number;
|
|
15
|
-
price: number;
|
|
16
|
-
};
|
|
17
12
|
export type AppPricingPlan = {
|
|
18
13
|
id: string;
|
|
19
14
|
enabled: boolean;
|
|
@@ -21,12 +16,12 @@ export type AppPricingPlan = {
|
|
|
21
16
|
trialDays: number;
|
|
22
17
|
strategy: string;
|
|
23
18
|
isPerSeat: boolean;
|
|
24
|
-
tiers?:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
tiers?: {
|
|
20
|
+
perUnit: boolean;
|
|
21
|
+
minimum: number;
|
|
22
|
+
maximum: number;
|
|
23
|
+
price: number;
|
|
24
|
+
}[];
|
|
30
25
|
};
|
|
31
26
|
export declare enum AppSubscriptionStatus {
|
|
32
27
|
Trialing = "trialing",
|
|
@@ -42,7 +37,11 @@ export type AppSubscriptionInfo = {
|
|
|
42
37
|
isSeatBased: boolean;
|
|
43
38
|
seats: number;
|
|
44
39
|
maxSeats: number;
|
|
45
|
-
license:
|
|
40
|
+
license: {
|
|
41
|
+
license: string;
|
|
42
|
+
version: number;
|
|
43
|
+
expireDate: string;
|
|
44
|
+
};
|
|
46
45
|
startDate: string;
|
|
47
46
|
periodEnd: string;
|
|
48
47
|
endDate: string;
|
|
@@ -82,6 +81,8 @@ export type App = {
|
|
|
82
81
|
categories: string[];
|
|
83
82
|
version: string;
|
|
84
83
|
versionIncompatible?: boolean;
|
|
84
|
+
addon?: ExternalModuleName;
|
|
85
|
+
installedAddon?: ExternalModuleName;
|
|
85
86
|
price: number;
|
|
86
87
|
purchaseType: PurchaseType;
|
|
87
88
|
pricingPlans: AppPricingPlan[];
|
|
@@ -119,4 +120,123 @@ export type App = {
|
|
|
119
120
|
private: boolean;
|
|
120
121
|
documentationUrl: string;
|
|
121
122
|
migrated: boolean;
|
|
123
|
+
clusterStatus?: {
|
|
124
|
+
instanceId: string;
|
|
125
|
+
status: AppStatus;
|
|
126
|
+
}[];
|
|
127
|
+
};
|
|
128
|
+
export type AppCategory = {
|
|
129
|
+
id: string;
|
|
130
|
+
title: string;
|
|
131
|
+
description: string;
|
|
132
|
+
hidden: boolean;
|
|
133
|
+
createdDate: string;
|
|
134
|
+
modifiedDate: string;
|
|
135
|
+
};
|
|
136
|
+
export type AppOverview = {
|
|
137
|
+
appId: string;
|
|
138
|
+
latest: {
|
|
139
|
+
internalId: string;
|
|
140
|
+
id: string;
|
|
141
|
+
name: string;
|
|
142
|
+
nameSlug: string;
|
|
143
|
+
version: string;
|
|
144
|
+
categories: string[];
|
|
145
|
+
languages: string[];
|
|
146
|
+
description: string;
|
|
147
|
+
privacyPolicySummary: string;
|
|
148
|
+
detailedDescription: {
|
|
149
|
+
raw: string;
|
|
150
|
+
rendered: string;
|
|
151
|
+
};
|
|
152
|
+
detailedChangelog: {
|
|
153
|
+
raw: string;
|
|
154
|
+
rendered: string;
|
|
155
|
+
};
|
|
156
|
+
requiredApiVersion: string;
|
|
157
|
+
permissions: {
|
|
158
|
+
name: string;
|
|
159
|
+
scopes?: string[];
|
|
160
|
+
}[];
|
|
161
|
+
author: {
|
|
162
|
+
name: string;
|
|
163
|
+
support: string;
|
|
164
|
+
homepage: string;
|
|
165
|
+
};
|
|
166
|
+
classFile: string;
|
|
167
|
+
iconFile: string;
|
|
168
|
+
iconFileData: string;
|
|
169
|
+
status: AppStatus;
|
|
170
|
+
isVisible: boolean;
|
|
171
|
+
createdDate: string;
|
|
172
|
+
modifiedDate: string;
|
|
173
|
+
isPurchased: boolean;
|
|
174
|
+
isSubscribed: boolean;
|
|
175
|
+
subscriptionInfo: AppSubscriptionInfo & {
|
|
176
|
+
externallyManaged: boolean;
|
|
177
|
+
};
|
|
178
|
+
compileJobId: string;
|
|
179
|
+
compiled: boolean;
|
|
180
|
+
tosLink: string;
|
|
181
|
+
privacyLink: string;
|
|
182
|
+
};
|
|
183
|
+
isAddon: boolean;
|
|
184
|
+
addonId: string;
|
|
185
|
+
isEnterpriseOnly: boolean;
|
|
186
|
+
isBundle: boolean;
|
|
187
|
+
bundledAppIds: any[];
|
|
188
|
+
bundledIn: {
|
|
189
|
+
bundleId: string;
|
|
190
|
+
bundleName: string;
|
|
191
|
+
apps: App[];
|
|
192
|
+
addonTierId: string;
|
|
193
|
+
}[];
|
|
194
|
+
isPurchased: boolean;
|
|
195
|
+
isSubscribed: boolean;
|
|
196
|
+
subscriptionInfo: AppSubscriptionInfo & {
|
|
197
|
+
externallyManaged: boolean;
|
|
198
|
+
};
|
|
199
|
+
price: number;
|
|
200
|
+
purchaseType: string;
|
|
201
|
+
pricingPlans: {
|
|
202
|
+
id: string;
|
|
203
|
+
enabled: boolean;
|
|
204
|
+
price: number;
|
|
205
|
+
trialDays: number;
|
|
206
|
+
strategy: string;
|
|
207
|
+
isPerSeat: boolean;
|
|
208
|
+
}[];
|
|
209
|
+
isUsageBased: boolean;
|
|
210
|
+
createdAt: string;
|
|
211
|
+
modifiedAt: string;
|
|
212
|
+
iconFileContent?: string;
|
|
213
|
+
marketplaceVersion?: string;
|
|
214
|
+
marketplace?: unknown;
|
|
215
|
+
};
|
|
216
|
+
export type FeaturedAppsSection = {
|
|
217
|
+
i18nLabel: string;
|
|
218
|
+
slug: string;
|
|
219
|
+
apps: AppOverview[];
|
|
220
|
+
};
|
|
221
|
+
export type AppRequestFilter = 'unseen' | 'seen' | 'notification-sent' | 'notification-not-sent' | '';
|
|
222
|
+
type AppRequestEndUser = {
|
|
223
|
+
id: string;
|
|
224
|
+
username: string;
|
|
225
|
+
name: string;
|
|
226
|
+
nickname: string;
|
|
227
|
+
emails: string[];
|
|
228
|
+
};
|
|
229
|
+
export type AppRequest = {
|
|
230
|
+
id: string;
|
|
231
|
+
appId: string;
|
|
232
|
+
requester: AppRequestEndUser;
|
|
233
|
+
admins: AppRequestEndUser[];
|
|
234
|
+
workspaceId: string;
|
|
235
|
+
message: string;
|
|
236
|
+
seen: boolean;
|
|
237
|
+
seenAt: string;
|
|
238
|
+
notificationSent: boolean;
|
|
239
|
+
notificationSentAt: string;
|
|
240
|
+
createdDate: string;
|
|
122
241
|
};
|
|
242
|
+
export {};
|
package/dist/Apps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Apps.js","sourceRoot":"","sources":["../src/Apps.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Apps.js","sourceRoot":"","sources":["../src/Apps.ts"],"names":[],"mappings":";;;AA6BA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAChC,8CAAqB,CAAA;IACrB,0CAAiB,CAAA;IACjB,gDAAuB,CAAA;IACvB,kDAAyB,CAAA;IACzB,4CAAmB,CAAA;AACpB,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
2
|
+
export interface IAbacAttributeDefinition {
|
|
3
|
+
/**
|
|
4
|
+
* Validation expectation (NOT enforced here, must be enforced by caller):
|
|
5
|
+
* /^[A-Za-z0-9_-]+$/
|
|
6
|
+
*/
|
|
7
|
+
key: string;
|
|
8
|
+
/**
|
|
9
|
+
* List of string values for this attribute key.
|
|
10
|
+
*/
|
|
11
|
+
values: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface IAbacAttribute extends IRocketChatRecord, IAbacAttributeDefinition {
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAbacAttribute.js","sourceRoot":"","sources":["../src/IAbacAttribute.ts"],"names":[],"mappings":""}
|
|
@@ -3,7 +3,7 @@ interface IAnalyticsBase extends IRocketChatRecord {
|
|
|
3
3
|
type: 'messages' | 'users' | 'seat-request';
|
|
4
4
|
date: number;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
interface IAnalyticsMessages extends IAnalyticsBase {
|
|
7
7
|
type: 'messages';
|
|
8
8
|
room: {
|
|
9
9
|
_id: string;
|
|
@@ -12,18 +12,12 @@ export interface IAnalyticsMessages extends IAnalyticsBase {
|
|
|
12
12
|
usernames: string[];
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
interface IAnalyticsUsers extends IAnalyticsBase {
|
|
16
16
|
type: 'users';
|
|
17
|
-
room: {
|
|
18
|
-
_id: string;
|
|
19
|
-
name?: string;
|
|
20
|
-
t: string;
|
|
21
|
-
usernames: string[];
|
|
22
|
-
};
|
|
23
17
|
}
|
|
24
18
|
export interface IAnalyticsSeatRequest extends IAnalyticsBase {
|
|
25
19
|
type: 'seat-request';
|
|
26
20
|
count: number;
|
|
27
21
|
}
|
|
28
|
-
export type
|
|
22
|
+
export type IAnalytics = IAnalyticsMessages | IAnalyticsUsers | IAnalyticsSeatRequest;
|
|
29
23
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IAnalytics.js","sourceRoot":"","sources":["../src/IAnalytics.ts"],"names":[],"mappings":""}
|
package/dist/IAvatar.d.ts
CHANGED
package/dist/IBanner.d.ts
CHANGED
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
import type * as UiKit from '@rocket.chat/ui-kit';
|
|
2
|
+
import * as z from 'zod';
|
|
2
3
|
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
3
4
|
import type { IUser } from './IUser';
|
|
4
5
|
export declare enum BannerPlatform {
|
|
5
6
|
Web = "web",
|
|
6
7
|
Mobile = "mobile"
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
export declare const IBannerSchema: z.ZodObject<{
|
|
10
|
+
_id: z.ZodString;
|
|
11
|
+
_updatedAt: z.ZodOptional<z.ZodCodec<z.ZodISODateTime, z.ZodDate>>;
|
|
12
|
+
platform: z.ZodArray<z.ZodEnum<typeof BannerPlatform>>;
|
|
13
|
+
expireAt: z.ZodCodec<z.ZodISODateTime, z.ZodDate>;
|
|
14
|
+
startAt: z.ZodCodec<z.ZodISODateTime, z.ZodDate>;
|
|
15
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
createdBy: z.ZodUnion<readonly [z.ZodObject<{
|
|
17
|
+
_id: z.ZodString;
|
|
18
|
+
username: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>, z.ZodEnum<{
|
|
20
|
+
cloud: "cloud";
|
|
21
|
+
system: "system";
|
|
22
|
+
}>]>;
|
|
23
|
+
createdAt: z.ZodCodec<z.ZodISODateTime, z.ZodDate>;
|
|
24
|
+
view: z.ZodCustom<UiKit.BannerView, UiKit.BannerView>;
|
|
25
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
inactivedAt: z.ZodOptional<z.ZodCodec<z.ZodISODateTime, z.ZodDate>>;
|
|
27
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
28
|
+
dictionary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
29
|
+
surface: z.ZodEnum<{
|
|
30
|
+
banner: "banner";
|
|
31
|
+
modal: "modal";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export interface IBanner extends z.infer<typeof IBannerSchema> {
|
|
27
35
|
}
|
|
28
36
|
export type InactiveBanner = IBanner & {
|
|
29
37
|
active: false;
|
|
@@ -36,4 +44,3 @@ export interface IBannerDismiss extends IRocketChatRecord {
|
|
|
36
44
|
dismissedAt: Date;
|
|
37
45
|
dismissedBy: Pick<IUser, '_id' | 'username'>;
|
|
38
46
|
}
|
|
39
|
-
export {};
|
package/dist/IBanner.js
CHANGED
|
@@ -1,11 +1,69 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isInactiveBanner = exports.BannerPlatform = void 0;
|
|
36
|
+
exports.isInactiveBanner = exports.IBannerSchema = exports.BannerPlatform = void 0;
|
|
37
|
+
const z = __importStar(require("zod"));
|
|
38
|
+
const utils_1 = require("./utils");
|
|
4
39
|
var BannerPlatform;
|
|
5
40
|
(function (BannerPlatform) {
|
|
6
41
|
BannerPlatform["Web"] = "web";
|
|
7
42
|
BannerPlatform["Mobile"] = "mobile";
|
|
8
43
|
})(BannerPlatform || (exports.BannerPlatform = BannerPlatform = {}));
|
|
44
|
+
exports.IBannerSchema = z.object({
|
|
45
|
+
_id: z.string(),
|
|
46
|
+
_updatedAt: utils_1.TimestampSchema.optional(),
|
|
47
|
+
platform: z.array(z.enum(BannerPlatform)), // pĺatforms a banner could be shown
|
|
48
|
+
expireAt: utils_1.TimestampSchema, // date when banner should not be shown anymore
|
|
49
|
+
startAt: utils_1.TimestampSchema, // start date a banner should be presented
|
|
50
|
+
/** @deprecated a new `selector` field should be created for filtering instead */
|
|
51
|
+
roles: z.array(z.string()).optional().meta({ deprecated: true }),
|
|
52
|
+
createdBy: z.union([
|
|
53
|
+
z.object({
|
|
54
|
+
_id: z.string(),
|
|
55
|
+
username: z.string().optional(),
|
|
56
|
+
}),
|
|
57
|
+
z.enum(['cloud', 'system']),
|
|
58
|
+
]),
|
|
59
|
+
createdAt: utils_1.TimestampSchema,
|
|
60
|
+
view: z.custom(),
|
|
61
|
+
active: z.boolean().optional(),
|
|
62
|
+
inactivedAt: utils_1.TimestampSchema.optional(),
|
|
63
|
+
snapshot: z.string().optional(),
|
|
64
|
+
dictionary: z.record(z.string(), z.record(z.string(), z.string())).optional(),
|
|
65
|
+
surface: z.enum(['banner', 'modal']),
|
|
66
|
+
});
|
|
9
67
|
const isInactiveBanner = (banner) => banner.active === false;
|
|
10
68
|
exports.isInactiveBanner = isInactiveBanner;
|
|
11
69
|
//# sourceMappingURL=IBanner.js.map
|
package/dist/IBanner.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IBanner.js","sourceRoot":"","sources":["../src/IBanner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IBanner.js","sourceRoot":"","sources":["../src/IBanner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,uCAAyB;AAIzB,mCAA0C;AAE1C,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,6BAAW,CAAA;IACX,mCAAiB,CAAA;AAClB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAEY,QAAA,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,UAAU,EAAE,uBAAe,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,EAAE,oCAAoC;IAC/E,QAAQ,EAAE,uBAAe,EAAE,+CAA+C;IAC1E,OAAO,EAAE,uBAAe,EAAE,0CAA0C;IACpE,iFAAiF;IACjF,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAChE,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC;QAClB,CAAC,CAAC,MAAM,CAAC;YACR,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;YACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC/B,CAAC;QACF,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KAC3B,CAAC;IACF,SAAS,EAAE,uBAAe;IAC1B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAoB;IAClC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,uBAAe,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7E,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;CACpC,CAAC,CAAC;AASI,MAAM,gBAAgB,GAAG,CAAC,MAAe,EAA4B,EAAE,CAAC,MAAM,CAAC,MAAM,KAAK,KAAK,CAAC;AAA1F,QAAA,gBAAgB,oBAA0E"}
|
package/dist/ICalendarEvent.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
2
2
|
import type { IUser } from './IUser';
|
|
3
|
+
import type { UserStatus } from './UserStatus';
|
|
3
4
|
export interface ICalendarEvent extends IRocketChatRecord {
|
|
4
5
|
startTime: Date;
|
|
6
|
+
endTime?: Date;
|
|
5
7
|
uid: IUser['_id'];
|
|
6
8
|
subject: string;
|
|
7
9
|
description: string;
|
|
8
10
|
notificationSent: boolean;
|
|
9
|
-
externalId?: string;
|
|
10
|
-
meetingUrl?: string;
|
|
11
|
+
externalId?: string | null;
|
|
12
|
+
meetingUrl?: string | null;
|
|
11
13
|
reminderMinutesBeforeStart?: number;
|
|
12
14
|
reminderTime?: Date;
|
|
15
|
+
busy?: boolean;
|
|
16
|
+
previousStatus?: UserStatus;
|
|
13
17
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { IMessage } from './IMessage/IMessage';
|
|
2
|
+
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
3
|
+
import type { IRoom } from './IRoom';
|
|
4
|
+
import type { IUser } from './IUser';
|
|
5
|
+
export type CallHistoryItemState =
|
|
6
|
+
/** One of the users ended the call */
|
|
7
|
+
'ended'
|
|
8
|
+
/** Call was not answered */
|
|
9
|
+
| 'not-answered'
|
|
10
|
+
/** The call could not be established */
|
|
11
|
+
| 'failed'
|
|
12
|
+
/** The call was established, but it ended due to an error */
|
|
13
|
+
| 'error'
|
|
14
|
+
/** The call ended due to a transfer */
|
|
15
|
+
| 'transferred';
|
|
16
|
+
interface ICallHistoryItem extends IRocketChatRecord {
|
|
17
|
+
uid: IUser['_id'];
|
|
18
|
+
ts: Date;
|
|
19
|
+
callId: string;
|
|
20
|
+
direction: 'inbound' | 'outbound';
|
|
21
|
+
state: CallHistoryItemState;
|
|
22
|
+
}
|
|
23
|
+
interface IMediaCallHistoryItem extends ICallHistoryItem {
|
|
24
|
+
type: 'media-call';
|
|
25
|
+
external: boolean;
|
|
26
|
+
duration: number;
|
|
27
|
+
endedAt: Date;
|
|
28
|
+
}
|
|
29
|
+
export interface IInternalMediaCallHistoryItem extends IMediaCallHistoryItem {
|
|
30
|
+
external: false;
|
|
31
|
+
contactId: IUser['_id'];
|
|
32
|
+
contactName?: IUser['name'];
|
|
33
|
+
contactUsername?: IUser['username'];
|
|
34
|
+
rid?: IRoom['_id'];
|
|
35
|
+
messageId?: IMessage['_id'];
|
|
36
|
+
}
|
|
37
|
+
export interface IExternalMediaCallHistoryItem extends IMediaCallHistoryItem {
|
|
38
|
+
external: true;
|
|
39
|
+
contactExtension: string;
|
|
40
|
+
}
|
|
41
|
+
export type CallHistoryItem = IInternalMediaCallHistoryItem | IExternalMediaCallHistoryItem;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICallHistoryItem.js","sourceRoot":"","sources":["../src/ICallHistoryItem.ts"],"names":[],"mappings":""}
|
package/dist/IEmojiCustom.d.ts
CHANGED
package/dist/IInquiry.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface IInquiry {
|
|
|
11
11
|
department?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare enum LivechatInquiryStatus {
|
|
14
|
+
VERIFYING = "verifying",
|
|
14
15
|
QUEUED = "queued",
|
|
15
16
|
TAKEN = "taken",
|
|
16
17
|
READY = "ready",
|
|
@@ -50,6 +51,7 @@ export interface ILivechatInquiryRecord extends IRocketChatRecord {
|
|
|
50
51
|
slaId?: string;
|
|
51
52
|
estimatedWaitingTimeQueue: IOmnichannelServiceLevelAgreements['dueTimeInMinutes'];
|
|
52
53
|
}
|
|
54
|
+
export declare const isLivechatInquiryRecord: (record: unknown) => record is ILivechatInquiryRecord;
|
|
53
55
|
export type InquiryWithAgentInfo = Pick<ILivechatInquiryRecord, '_id' | 'rid' | 'name' | 'ts' | 'status' | 'department' | 'v'> & {
|
|
54
56
|
position?: number;
|
|
55
57
|
defaultAgent?: SelectedAgent;
|
package/dist/IInquiry.js
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LivechatInquiryStatus = void 0;
|
|
3
|
+
exports.isLivechatInquiryRecord = exports.LivechatInquiryStatus = void 0;
|
|
4
4
|
var LivechatInquiryStatus;
|
|
5
5
|
(function (LivechatInquiryStatus) {
|
|
6
|
+
LivechatInquiryStatus["VERIFYING"] = "verifying";
|
|
6
7
|
LivechatInquiryStatus["QUEUED"] = "queued";
|
|
7
8
|
LivechatInquiryStatus["TAKEN"] = "taken";
|
|
8
9
|
LivechatInquiryStatus["READY"] = "ready";
|
|
9
10
|
LivechatInquiryStatus["OPEN"] = "open";
|
|
10
11
|
})(LivechatInquiryStatus || (exports.LivechatInquiryStatus = LivechatInquiryStatus = {}));
|
|
12
|
+
const isLivechatInquiryRecord = (record) => typeof record === 'object' &&
|
|
13
|
+
record !== null &&
|
|
14
|
+
'status' in record &&
|
|
15
|
+
typeof record.status === 'string' &&
|
|
16
|
+
['verifying', 'queued', 'taken', 'ready', 'open'].includes(record.status);
|
|
17
|
+
exports.isLivechatInquiryRecord = isLivechatInquiryRecord;
|
|
11
18
|
//# sourceMappingURL=IInquiry.js.map
|
package/dist/IInquiry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IInquiry.js","sourceRoot":"","sources":["../src/IInquiry.ts"],"names":[],"mappings":";;;AAcA,IAAY,
|
|
1
|
+
{"version":3,"file":"IInquiry.js","sourceRoot":"","sources":["../src/IInquiry.ts"],"names":[],"mappings":";;;AAcA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAChC,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;IACjB,wCAAe,CAAA;IACf,wCAAe,CAAA;IACf,sCAAa,CAAA;AACd,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AA0CM,MAAM,uBAAuB,GAAG,CAAC,MAAe,EAAoC,EAAE,CAC5F,OAAO,MAAM,KAAK,QAAQ;IAC1B,MAAM,KAAK,IAAI;IACf,QAAQ,IAAI,MAAM;IAClB,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ;IACjC,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAL9D,QAAA,uBAAuB,2BAKuC"}
|
package/dist/IIntegration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
2
2
|
import type { IUser } from './IUser';
|
|
3
|
-
export type IntegrationScriptEngine = '
|
|
3
|
+
export type IntegrationScriptEngine = 'isolated-vm';
|
|
4
4
|
export interface IIncomingIntegration extends IRocketChatRecord {
|
|
5
5
|
type: 'webhook-incoming';
|
|
6
6
|
_createdBy: Pick<IUser, 'username' | '_id'> | null;
|
package/dist/ILivechatAgent.d.ts
CHANGED
|
@@ -12,4 +12,15 @@ export interface ILivechatAgent extends IUser {
|
|
|
12
12
|
lastRoutingTime: Date;
|
|
13
13
|
livechatStatusSystemModified?: boolean;
|
|
14
14
|
openBusinessHours?: string[];
|
|
15
|
+
agentLockedAt?: Date;
|
|
16
|
+
agentLocked?: boolean;
|
|
15
17
|
}
|
|
18
|
+
export type AvailableAgentsAggregation = {
|
|
19
|
+
agentId: string;
|
|
20
|
+
username: string;
|
|
21
|
+
maxChatsForAgent: number;
|
|
22
|
+
queueInfo: {
|
|
23
|
+
chats: number;
|
|
24
|
+
chatsForDepartment?: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,22 +1,46 @@
|
|
|
1
|
+
import type { IVisitorEmail, IVisitorPhone } from './ILivechatVisitor';
|
|
1
2
|
import type { IRocketChatRecord } from './IRocketChatRecord';
|
|
3
|
+
import type { IOmnichannelSource, OmnichannelSourceType } from './IRoom';
|
|
4
|
+
export interface ILivechatContactVisitorAssociation {
|
|
5
|
+
visitorId: string;
|
|
6
|
+
source: {
|
|
7
|
+
type: OmnichannelSourceType;
|
|
8
|
+
id?: IOmnichannelSource['id'];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
2
11
|
export interface ILivechatContactChannel {
|
|
3
12
|
name: string;
|
|
4
13
|
verified: boolean;
|
|
5
|
-
|
|
14
|
+
visitor: ILivechatContactVisitorAssociation;
|
|
15
|
+
blocked: boolean;
|
|
16
|
+
field?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
verifiedAt?: Date;
|
|
19
|
+
details: IOmnichannelSource;
|
|
20
|
+
lastChat?: {
|
|
21
|
+
_id: string;
|
|
22
|
+
ts: Date;
|
|
23
|
+
};
|
|
6
24
|
}
|
|
7
25
|
export interface ILivechatContactConflictingField {
|
|
8
|
-
field: string
|
|
9
|
-
|
|
10
|
-
newValue: string;
|
|
26
|
+
field: 'name' | 'manager' | `customFields.${string}`;
|
|
27
|
+
value: string;
|
|
11
28
|
}
|
|
12
29
|
export interface ILivechatContact extends IRocketChatRecord {
|
|
13
30
|
name: string;
|
|
14
|
-
phones?:
|
|
15
|
-
emails?:
|
|
31
|
+
phones?: IVisitorPhone[];
|
|
32
|
+
emails?: IVisitorEmail[];
|
|
16
33
|
contactManager?: string;
|
|
17
34
|
unknown?: boolean;
|
|
18
|
-
hasConflict?: boolean;
|
|
19
35
|
conflictingFields?: ILivechatContactConflictingField[];
|
|
20
36
|
customFields?: Record<string, string | unknown>;
|
|
21
|
-
channels
|
|
37
|
+
channels: ILivechatContactChannel[];
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
lastChat?: {
|
|
40
|
+
_id: string;
|
|
41
|
+
ts: Date;
|
|
42
|
+
};
|
|
43
|
+
importIds?: string[];
|
|
44
|
+
activity?: string[];
|
|
45
|
+
preRegistration?: boolean;
|
|
22
46
|
}
|
|
@@ -33,4 +33,7 @@ export type LivechatDepartmentDTO = {
|
|
|
33
33
|
fallbackForwardDepartment?: string | undefined;
|
|
34
34
|
departmentsAllowedToForward?: string[] | undefined;
|
|
35
35
|
allowReceiveForwardOffline?: boolean;
|
|
36
|
+
offlineMessageChannelName?: string | undefined;
|
|
37
|
+
abandonedRoomsCloseCustomMessage?: string | undefined;
|
|
38
|
+
waitingQueueMessage?: string | undefined;
|
|
36
39
|
};
|