ninchat-embed 1.0.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/README.md +1 -0
- package/dist/embed3.js +2 -0
- package/dist/embed3.js.map +1 -0
- package/dist/src/actions/app.d.ts +3 -0
- package/dist/src/actions/app.d.ts.map +1 -0
- package/dist/src/actions/jitsi/index.d.ts +6 -0
- package/dist/src/actions/jitsi/index.d.ts.map +1 -0
- package/dist/src/actions/jitsi/types/index.d.ts +21 -0
- package/dist/src/actions/jitsi/types/index.d.ts.map +1 -0
- package/dist/src/actions/modal/types/index.d.ts +85 -0
- package/dist/src/actions/modal/types/index.d.ts.map +1 -0
- package/dist/src/actions/ninchat/client/index.d.ts +3 -0
- package/dist/src/actions/ninchat/client/index.d.ts.map +1 -0
- package/dist/src/actions/ninchat/client/types/index.d.ts +34 -0
- package/dist/src/actions/ninchat/client/types/index.d.ts.map +1 -0
- package/dist/src/actions/ninchat/local/index.d.ts +4 -0
- package/dist/src/actions/ninchat/local/index.d.ts.map +1 -0
- package/dist/src/actions/ninchat/local/types/index.d.ts +15 -0
- package/dist/src/actions/ninchat/local/types/index.d.ts.map +1 -0
- package/dist/src/api/NinchatClient.d.ts +51 -0
- package/dist/src/api/NinchatClient.d.ts.map +1 -0
- package/dist/src/api/action/acceptAudience.d.ts +15 -0
- package/dist/src/api/action/acceptAudience.d.ts.map +1 -0
- package/dist/src/api/action/beginSso.d.ts +14 -0
- package/dist/src/api/action/beginSso.d.ts.map +1 -0
- package/dist/src/api/action/closeSession.d.ts +14 -0
- package/dist/src/api/action/closeSession.d.ts.map +1 -0
- package/dist/src/api/action/createAccess.d.ts +19 -0
- package/dist/src/api/action/createAccess.d.ts.map +1 -0
- package/dist/src/api/action/createComment.d.ts +19 -0
- package/dist/src/api/action/createComment.d.ts.map +1 -0
- package/dist/src/api/action/createIdentity.d.ts +19 -0
- package/dist/src/api/action/createIdentity.d.ts.map +1 -0
- package/dist/src/api/action/createIdentityWithAuthResetAccess.d.ts +19 -0
- package/dist/src/api/action/createIdentityWithAuthResetAccess.d.ts.map +1 -0
- package/dist/src/api/action/createSession.d.ts +16 -0
- package/dist/src/api/action/createSession.d.ts.map +1 -0
- package/dist/src/api/action/createTag.d.ts +19 -0
- package/dist/src/api/action/createTag.d.ts.map +1 -0
- package/dist/src/api/action/deleteIdentity.d.ts +19 -0
- package/dist/src/api/action/deleteIdentity.d.ts.map +1 -0
- package/dist/src/api/action/deleteMessage.d.ts +19 -0
- package/dist/src/api/action/deleteMessage.d.ts.map +1 -0
- package/dist/src/api/action/deleteTag.d.ts +19 -0
- package/dist/src/api/action/deleteTag.d.ts.map +1 -0
- package/dist/src/api/action/describeAccess.d.ts +14 -0
- package/dist/src/api/action/describeAccess.d.ts.map +1 -0
- package/dist/src/api/action/describeChannel.d.ts +19 -0
- package/dist/src/api/action/describeChannel.d.ts.map +1 -0
- package/dist/src/api/action/describeFile.d.ts +27 -0
- package/dist/src/api/action/describeFile.d.ts.map +1 -0
- package/dist/src/api/action/describeIdentity.d.ts +19 -0
- package/dist/src/api/action/describeIdentity.d.ts.map +1 -0
- package/dist/src/api/action/describeQueue.d.ts +19 -0
- package/dist/src/api/action/describeQueue.d.ts.map +1 -0
- package/dist/src/api/action/describeRealm.d.ts +19 -0
- package/dist/src/api/action/describeRealm.d.ts.map +1 -0
- package/dist/src/api/action/describeRealmQueues.d.ts +14 -0
- package/dist/src/api/action/describeRealmQueues.d.ts.map +1 -0
- package/dist/src/api/action/describeTag.d.ts +19 -0
- package/dist/src/api/action/describeTag.d.ts.map +1 -0
- package/dist/src/api/action/describeTags.d.ts +21 -0
- package/dist/src/api/action/describeTags.d.ts.map +1 -0
- package/dist/src/api/action/describeUser.d.ts +19 -0
- package/dist/src/api/action/describeUser.d.ts.map +1 -0
- package/dist/src/api/action/discoverJitsi.d.ts +14 -0
- package/dist/src/api/action/discoverJitsi.d.ts.map +1 -0
- package/dist/src/api/action/endAudience.d.ts +19 -0
- package/dist/src/api/action/endAudience.d.ts.map +1 -0
- package/dist/src/api/action/getAudienceRangeComments.d.ts +19 -0
- package/dist/src/api/action/getAudienceRangeComments.d.ts.map +1 -0
- package/dist/src/api/action/getQueueActivity.d.ts +19 -0
- package/dist/src/api/action/getQueueActivity.d.ts.map +1 -0
- package/dist/src/api/action/getTranscript.d.ts +14 -0
- package/dist/src/api/action/getTranscript.d.ts.map +1 -0
- package/dist/src/api/action/index.d.ts +4 -0
- package/dist/src/api/action/index.d.ts.map +1 -0
- package/dist/src/api/action/joinChannel.d.ts +19 -0
- package/dist/src/api/action/joinChannel.d.ts.map +1 -0
- package/dist/src/api/action/loadHistory.d.ts +16 -0
- package/dist/src/api/action/loadHistory.d.ts.map +1 -0
- package/dist/src/api/action/partChannel.d.ts +14 -0
- package/dist/src/api/action/partChannel.d.ts.map +1 -0
- package/dist/src/api/action/registerAudience.d.ts +19 -0
- package/dist/src/api/action/registerAudience.d.ts.map +1 -0
- package/dist/src/api/action/requestIdentityAuthResetAccess.d.ts +19 -0
- package/dist/src/api/action/requestIdentityAuthResetAccess.d.ts.map +1 -0
- package/dist/src/api/action/requestIdentityVerifyAccess.d.ts +19 -0
- package/dist/src/api/action/requestIdentityVerifyAccess.d.ts.map +1 -0
- package/dist/src/api/action/resetIdentityAuth.d.ts +19 -0
- package/dist/src/api/action/resetIdentityAuth.d.ts.map +1 -0
- package/dist/src/api/action/sendMessage.d.ts +20 -0
- package/dist/src/api/action/sendMessage.d.ts.map +1 -0
- package/dist/src/api/action/transferAudience.d.ts +16 -0
- package/dist/src/api/action/transferAudience.d.ts.map +1 -0
- package/dist/src/api/action/updateChannel.d.ts +19 -0
- package/dist/src/api/action/updateChannel.d.ts.map +1 -0
- package/dist/src/api/action/updateDialogue.d.ts +19 -0
- package/dist/src/api/action/updateDialogue.d.ts.map +1 -0
- package/dist/src/api/action/updateIdentity.d.ts +19 -0
- package/dist/src/api/action/updateIdentity.d.ts.map +1 -0
- package/dist/src/api/action/updateIdentityAuth.d.ts +19 -0
- package/dist/src/api/action/updateIdentityAuth.d.ts.map +1 -0
- package/dist/src/api/action/updateMember.d.ts +16 -0
- package/dist/src/api/action/updateMember.d.ts.map +1 -0
- package/dist/src/api/action/updateMessage.d.ts +19 -0
- package/dist/src/api/action/updateMessage.d.ts.map +1 -0
- package/dist/src/api/action/updateQueue.d.ts +19 -0
- package/dist/src/api/action/updateQueue.d.ts.map +1 -0
- package/dist/src/api/action/updateSession.d.ts +19 -0
- package/dist/src/api/action/updateSession.d.ts.map +1 -0
- package/dist/src/api/action/updateTag.d.ts +19 -0
- package/dist/src/api/action/updateTag.d.ts.map +1 -0
- package/dist/src/api/action/updateUser.d.ts +19 -0
- package/dist/src/api/action/updateUser.d.ts.map +1 -0
- package/dist/src/api/action/updateUserMessages.d.ts +19 -0
- package/dist/src/api/action/updateUserMessages.d.ts.map +1 -0
- package/dist/src/api/action/verifyIdentity.d.ts +19 -0
- package/dist/src/api/action/verifyIdentity.d.ts.map +1 -0
- package/dist/src/api/event/accessCreated.d.ts +4 -0
- package/dist/src/api/event/accessCreated.d.ts.map +1 -0
- package/dist/src/api/event/accessFound.d.ts +4 -0
- package/dist/src/api/event/accessFound.d.ts.map +1 -0
- package/dist/src/api/event/audienceRangeCommentContents.d.ts +4 -0
- package/dist/src/api/event/audienceRangeCommentContents.d.ts.map +1 -0
- package/dist/src/api/event/audienceRegistered.d.ts +4 -0
- package/dist/src/api/event/audienceRegistered.d.ts.map +1 -0
- package/dist/src/api/event/channelFound.d.ts +4 -0
- package/dist/src/api/event/channelFound.d.ts.map +1 -0
- package/dist/src/api/event/channelJoined.d.ts +4 -0
- package/dist/src/api/event/channelJoined.d.ts.map +1 -0
- package/dist/src/api/event/channelMemberJoined.d.ts +4 -0
- package/dist/src/api/event/channelMemberJoined.d.ts.map +1 -0
- package/dist/src/api/event/channelMemberParted.d.ts +4 -0
- package/dist/src/api/event/channelMemberParted.d.ts.map +1 -0
- package/dist/src/api/event/channelMemberUpdated.d.ts +4 -0
- package/dist/src/api/event/channelMemberUpdated.d.ts.map +1 -0
- package/dist/src/api/event/channelParted.d.ts +21 -0
- package/dist/src/api/event/channelParted.d.ts.map +1 -0
- package/dist/src/api/event/channelUpdated.d.ts +4 -0
- package/dist/src/api/event/channelUpdated.d.ts.map +1 -0
- package/dist/src/api/event/commentCreated.d.ts +4 -0
- package/dist/src/api/event/commentCreated.d.ts.map +1 -0
- package/dist/src/api/event/dialogueUpdated.d.ts +4 -0
- package/dist/src/api/event/dialogueUpdated.d.ts.map +1 -0
- package/dist/src/api/event/error.d.ts +4 -0
- package/dist/src/api/event/error.d.ts.map +1 -0
- package/dist/src/api/event/fileFound.d.ts +4 -0
- package/dist/src/api/event/fileFound.d.ts.map +1 -0
- package/dist/src/api/event/historyResults.d.ts +4 -0
- package/dist/src/api/event/historyResults.d.ts.map +1 -0
- package/dist/src/api/event/identityCreated.d.ts +4 -0
- package/dist/src/api/event/identityCreated.d.ts.map +1 -0
- package/dist/src/api/event/identityDeleted.d.ts +4 -0
- package/dist/src/api/event/identityDeleted.d.ts.map +1 -0
- package/dist/src/api/event/identityFound.d.ts +4 -0
- package/dist/src/api/event/identityFound.d.ts.map +1 -0
- package/dist/src/api/event/identityUpdated.d.ts +4 -0
- package/dist/src/api/event/identityUpdated.d.ts.map +1 -0
- package/dist/src/api/event/index.d.ts +294 -0
- package/dist/src/api/event/index.d.ts.map +1 -0
- package/dist/src/api/event/jitsiDiscovered.d.ts +4 -0
- package/dist/src/api/event/jitsiDiscovered.d.ts.map +1 -0
- package/dist/src/api/event/messageReceived.d.ts +31 -0
- package/dist/src/api/event/messageReceived.d.ts.map +1 -0
- package/dist/src/api/event/messageUpdated.d.ts +4 -0
- package/dist/src/api/event/messageUpdated.d.ts.map +1 -0
- package/dist/src/api/event/queueActivity.d.ts +4 -0
- package/dist/src/api/event/queueActivity.d.ts.map +1 -0
- package/dist/src/api/event/queueFound.d.ts +4 -0
- package/dist/src/api/event/queueFound.d.ts.map +1 -0
- package/dist/src/api/event/queueUpdated.d.ts +4 -0
- package/dist/src/api/event/queueUpdated.d.ts.map +1 -0
- package/dist/src/api/event/realmFound.d.ts +4 -0
- package/dist/src/api/event/realmFound.d.ts.map +1 -0
- package/dist/src/api/event/realmMemberUpdated.d.ts +4 -0
- package/dist/src/api/event/realmMemberUpdated.d.ts.map +1 -0
- package/dist/src/api/event/realmQueuesFound.d.ts +4 -0
- package/dist/src/api/event/realmQueuesFound.d.ts.map +1 -0
- package/dist/src/api/event/sessionCreated.d.ts +21 -0
- package/dist/src/api/event/sessionCreated.d.ts.map +1 -0
- package/dist/src/api/event/sessionStatusUpdated.d.ts +4 -0
- package/dist/src/api/event/sessionStatusUpdated.d.ts.map +1 -0
- package/dist/src/api/event/ssoBegun.d.ts +4 -0
- package/dist/src/api/event/ssoBegun.d.ts.map +1 -0
- package/dist/src/api/event/tagCreated.d.ts +4 -0
- package/dist/src/api/event/tagCreated.d.ts.map +1 -0
- package/dist/src/api/event/tagDeleted.d.ts +4 -0
- package/dist/src/api/event/tagDeleted.d.ts.map +1 -0
- package/dist/src/api/event/tagFound.d.ts +4 -0
- package/dist/src/api/event/tagFound.d.ts.map +1 -0
- package/dist/src/api/event/tagUpdated.d.ts +4 -0
- package/dist/src/api/event/tagUpdated.d.ts.map +1 -0
- package/dist/src/api/event/tagsFound.d.ts +4 -0
- package/dist/src/api/event/tagsFound.d.ts.map +1 -0
- package/dist/src/api/event/transcriptContents.d.ts +4 -0
- package/dist/src/api/event/transcriptContents.d.ts.map +1 -0
- package/dist/src/api/event/userFound.d.ts +4 -0
- package/dist/src/api/event/userFound.d.ts.map +1 -0
- package/dist/src/api/event/userUpdated.d.ts +12 -0
- package/dist/src/api/event/userUpdated.d.ts.map +1 -0
- package/dist/src/api/state.d.ts +8 -0
- package/dist/src/api/state.d.ts.map +1 -0
- package/dist/src/api/types/actions.d.ts +437 -0
- package/dist/src/api/types/actions.d.ts.map +1 -0
- package/dist/src/api/types/attributes.d.ts +117 -0
- package/dist/src/api/types/attributes.d.ts.map +1 -0
- package/dist/src/api/types/errors.d.ts +49 -0
- package/dist/src/api/types/errors.d.ts.map +1 -0
- package/dist/src/api/types/eventCauses.d.ts +13 -0
- package/dist/src/api/types/eventCauses.d.ts.map +1 -0
- package/dist/src/api/types/events.d.ts +639 -0
- package/dist/src/api/types/events.d.ts.map +1 -0
- package/dist/src/api/types/index.d.ts +9 -0
- package/dist/src/api/types/index.d.ts.map +1 -0
- package/dist/src/api/types/messages.d.ts +131 -0
- package/dist/src/api/types/messages.d.ts.map +1 -0
- package/dist/src/api/types/properties.d.ts +384 -0
- package/dist/src/api/types/properties.d.ts.map +1 -0
- package/dist/src/api/types/settings.d.ts +31 -0
- package/dist/src/api/types/settings.d.ts.map +1 -0
- package/dist/src/appconfig/index.d.ts +16 -0
- package/dist/src/appconfig/index.d.ts.map +1 -0
- package/dist/src/components/BoostHistory/types/index.d.ts +23 -0
- package/dist/src/components/BoostHistory/types/index.d.ts.map +1 -0
- package/dist/src/components/BrowserNotification/types.d.ts +45 -0
- package/dist/src/components/BrowserNotification/types.d.ts.map +1 -0
- package/dist/src/components/HtaConnector/types/index.d.ts +18 -0
- package/dist/src/components/HtaConnector/types/index.d.ts.map +1 -0
- package/dist/src/components/Send/types/index.d.ts +51 -0
- package/dist/src/components/Send/types/index.d.ts.map +1 -0
- package/dist/src/components/SendCannedMessages/types/index.d.ts +6 -0
- package/dist/src/components/SendCannedMessages/types/index.d.ts.map +1 -0
- package/dist/src/components/SendNotes/types/index.d.ts +13 -0
- package/dist/src/components/SendNotes/types/index.d.ts.map +1 -0
- package/dist/src/embed/index.d.ts +24 -0
- package/dist/src/embed/index.d.ts.map +1 -0
- package/dist/src/embed/schemas/index.d.ts +232 -0
- package/dist/src/embed/schemas/index.d.ts.map +1 -0
- package/dist/src/embed/types/errorEvents.d.ts +27 -0
- package/dist/src/embed/types/errorEvents.d.ts.map +1 -0
- package/dist/src/embed/types/errorTypes.d.ts +7 -0
- package/dist/src/embed/types/errorTypes.d.ts.map +1 -0
- package/dist/src/embed/types/events.d.ts +30 -0
- package/dist/src/embed/types/events.d.ts.map +1 -0
- package/dist/src/embed/types/index.d.ts +28 -0
- package/dist/src/embed/types/index.d.ts.map +1 -0
- package/dist/src/embed/types/routes.d.ts +23 -0
- package/dist/src/embed/types/routes.d.ts.map +1 -0
- package/dist/src/middlewares/app.d.ts +3 -0
- package/dist/src/middlewares/app.d.ts.map +1 -0
- package/dist/src/middlewares/listener.d.ts +54 -0
- package/dist/src/middlewares/listener.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/batch.d.ts +4 -0
- package/dist/src/middlewares/ninchat/batch.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/event.d.ts +3 -0
- package/dist/src/middlewares/ninchat/event.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/filter.d.ts +3 -0
- package/dist/src/middlewares/ninchat/filter.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/index.d.ts +5 -0
- package/dist/src/middlewares/ninchat/index.d.ts.map +1 -0
- package/dist/src/middlewares/ninchat/sessionless.d.ts +3 -0
- package/dist/src/middlewares/ninchat/sessionless.d.ts.map +1 -0
- package/dist/src/middlewares/ui.d.ts +3 -0
- package/dist/src/middlewares/ui.d.ts.map +1 -0
- package/dist/src/navigation/actions.d.ts +33 -0
- package/dist/src/navigation/actions.d.ts.map +1 -0
- package/dist/src/navigation/reducers.d.ts +4 -0
- package/dist/src/navigation/reducers.d.ts.map +1 -0
- package/dist/src/navigation/router.d.ts +22 -0
- package/dist/src/navigation/router.d.ts.map +1 -0
- package/dist/src/navigation/slice.d.ts +4 -0
- package/dist/src/navigation/slice.d.ts.map +1 -0
- package/dist/src/navigation/types.d.ts +97 -0
- package/dist/src/navigation/types.d.ts.map +1 -0
- package/dist/src/reducers/jitsi/index.d.ts +11 -0
- package/dist/src/reducers/jitsi/index.d.ts.map +1 -0
- package/dist/src/reducers/modal/index.d.ts +14 -0
- package/dist/src/reducers/modal/index.d.ts.map +1 -0
- package/dist/src/reducers/ninchat/index.d.ts +36 -0
- package/dist/src/reducers/ninchat/index.d.ts.map +1 -0
- package/dist/src/state/ui.d.ts +55 -0
- package/dist/src/state/ui.d.ts.map +1 -0
- package/dist/src/store/enhancers/idle.d.ts +3 -0
- package/dist/src/store/enhancers/idle.d.ts.map +1 -0
- package/dist/src/store/enhancers/index.d.ts +2 -0
- package/dist/src/store/enhancers/index.d.ts.map +1 -0
- package/dist/src/store/index.d.ts +16 -0
- package/dist/src/store/index.d.ts.map +1 -0
- package/dist/src/store/storage/engine.d.ts +9 -0
- package/dist/src/store/storage/engine.d.ts.map +1 -0
- package/dist/src/store/storage/index.d.ts +18 -0
- package/dist/src/store/storage/index.d.ts.map +1 -0
- package/dist/src/store/types/index.d.ts +3 -0
- package/dist/src/store/types/index.d.ts.map +1 -0
- package/dist/src/store/types/ninchat.d.ts +64 -0
- package/dist/src/store/types/ninchat.d.ts.map +1 -0
- package/dist/src/store/types/ui.d.ts +14 -0
- package/dist/src/store/types/ui.d.ts.map +1 -0
- package/dist/src/types/ui.d.ts +9 -0
- package/dist/src/types/ui.d.ts.map +1 -0
- package/dist/src/utils/HighlightRegExp.d.ts +6 -0
- package/dist/src/utils/HighlightRegExp.d.ts.map +1 -0
- package/dist/src/utils/cache.service/index.d.ts +10 -0
- package/dist/src/utils/cache.service/index.d.ts.map +1 -0
- package/package.json +15 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TO BE DONE...
|
package/dist/embed3.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,(function(){return function(){var e={435:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvironment=void 0;var i,o=n(491),r="production",a=null!=(i=o.environments[r])?i:{},s=a.apiHost,c=a.apiVersion;t.getEnvironment=function(){return Object.assign({apiHost:s,apiMode:r,apiVersion:c,devServerIp:""},"",{staticEmbedURL:"http://localhost:8082",staticLocaleURL:"http://localhost:8080",staticSiteURL:"http://localhost:8082",target:"embed"})}},546:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationType=void 0,t.NotificationType=n,function(e){e.AudienceRegistered="audience_registered",e.MessageReceivedChannel="message_received/channel",e.MessageReceivedChannelAudience="message_received/channel/audience",e.MessageReceivedChannelJoin="message_received/channel/join",e.MessageReceivedDialogue="message_received/dialogue",e.QueueUpdatedAudienceAcceptPeer="queue_updated/audience_accept_peer",e.QueueUpdatedAudienceRequest="queue_updated/audience_request"}(n||(t.NotificationType=n={}))},275:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedErrorType=void 0,t.EmbedErrorType=n,function(e){e.ContainerNotFoundError="container_not_found",e.SiteConfigFetchError="site_config_fetch_error",e.InvalidConfigKeyError="invalid_config_key",e.InvalidSiteConfigError="invalid_site_config"}(n||(t.EmbedErrorType=n={}))},79:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EmbedEvent=void 0,Object.defineProperty(t,"EmbedNotificationType",{enumerable:!0,get:function(){return o.NotificationType}});var i,o=n(546);t.EmbedEvent=i,function(e){e.ActivityCount="activity_count",e.ContainerInitialized="container_initialized",e.Error="error",e.Notification="notification",e.Route="route"}(i||(t.EmbedEvent=i={}))},582:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RouteName=void 0,t.RouteName=n,function(e){e.Channel="Channel",e.Else="Else"}(n||(t.RouteName=n={}))},100:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},870:function(e,t,n){var i=n(739);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},600:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},64:function(e,t,n){var i=n(425).default;e.exports=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},739:function(e,t,n){var i=n(425).default,o=n(64);e.exports=function(e){var t=o(e,"string");return"symbol"===i(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},425:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},491:function(e){"use strict";e.exports=JSON.parse('{"name":"NinchatApp","displayName":"NinchatApp","environments":{"development":{"apiHost":"api.luupi.net","apiVersion":"v2"},"production":{"apiHost":"api.ninchat.com","apiVersion":"v2"}},"routes":{"public":{"ForgotPassword":"/x/forgot-password","Login":"/x/login","Register":"/x/register","ResetPassword":"/x/reset/:token","SSOLogin":"/x/sso/:type/:name/:access_key"},"private":{"Channel":"/c/:channel_id","ChannelInvite":"/c/:channel_id/invite","ChannelSettings":"/c/:channel_id/settings(/:tab)","Dialogue":"/p/:dialogue_id","File":"/x/file/:file_id","Home":"/x/home","Playground":"/playground/:component","Queue":"/q/:queue_id","QueueSettings":"/q/:queue_id/settings(/:tab)","Realm":"/r/:realm_id(/:tab)","ScheduledAppointments":"/x/scheduled-appointments","Settings":"/x/settings(/:tab)","Transcript":"/t/audience/:audience_id"},"modal":{"ChannelInviteModal":"/i/:access_key"}}}')}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,n),r.exports}var i={};return function(){var e=i,t=n(600);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.NinchatEmbed=void 0;var o=t(n(100)),r=t(n(870)),a=n(79),s=n(275),c=n(582),u=n(435),l=function(){function e(){var t,n=this;(0,o.default)(this,e),this.ENVIRONMENT=(0,u.getEnvironment)(),this.EMBED_HOST=this.ENVIRONMENT.staticEmbedURL,this.EMBED_ORIGIN=this.EMBED_HOST&&new URL(this.EMBED_HOST).origin,this.ENTRY_POINT=null!=(t=this.EMBED_HOST)&&t.includes("localhost")?"embed3.html":"embed3",this.Event=a.EmbedEvent,this.ErrorType=s.EmbedErrorType,this.NotificationType=a.EmbedNotificationType,this.RouteName=c.RouteName,this.callbacks={},this.onMessage=function(e){e.origin===n.EMBED_ORIGIN&&n.emit(JSON.parse(e.data))},window.addEventListener("message",this.onMessage,!1)}return(0,r.default)(e,[{key:"emit",value:function(e){this.callbacks[e.event]&&this.callbacks[e.event].forEach((function(t){t(e)}))}},{key:"destruct",value:function(){window.removeEventListener("message",this.onMessage),this.callbacks={}}},{key:"off",value:function(e,t){if(this.callbacks[e])for(var n=0;n<this.callbacks[e].length;n+=1)if(this.callbacks[e][n]===t){this.callbacks[e].splice(n,1);break}}},{key:"on",value:function(e,t){this.callbacks[e]||=[],this.callbacks[e].push(t)}},{key:"init",value:function(e){var t=e.audienceMetadata,n=e.config,i=e.configKey,o=e.configUrls,r=e.containerId,c=e.environment,u=e.postConfigUrls,l=window.location.origin,d=document.querySelector("#"+r),f=new URLSearchParams;t&&f.set("audienceMetadata",JSON.stringify(t)),n&&f.set("config",JSON.stringify(n)),i&&f.set("configKey",JSON.stringify(i)),o&&f.set("configUrls",JSON.stringify(o)),c&&f.set("environment",JSON.stringify(c)),u&&f.set("postConfigUrls",JSON.stringify(u));var p=new URL(this.EMBED_HOST+"/"+this.ENTRY_POINT);if(p.searchParams.set("targetOrigin",l),d){var v=document.createElement("iframe");v.name="ninchat?"+f.toString(),v.allow="camera;microphone",v.src=p.toString(),v.style.border="0",v.style.height="100%",v.style.width="100%",d.appendChild(v)}else{var m={container_id:r,error_type:s.EmbedErrorType.ContainerNotFoundError,event:a.EmbedEvent.Error,targetOrigin:l};this.emit(m)}}}]),e}();e.NinchatEmbed=l;var d=l;e.default=d}(),i}()}));
|
|
2
|
+
//# sourceMappingURL=embed3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed3.js","mappings":"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","sources":["webpack://ninchat-embed/webpack/universalModuleDefinition","webpack://ninchat-embed/../../src/appconfig/index.ts","webpack://ninchat-embed/../../src/components/BrowserNotification/types.ts","webpack://ninchat-embed/../../src/embed/types/errorTypes.ts","webpack://ninchat-embed/../../src/embed/types/events.ts","webpack://ninchat-embed/../../src/embed/types/routes.ts","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/classCallCheck.js","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/createClass.js","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/toPrimitive.js","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack://ninchat-embed/../../node_modules/@babel/runtime/helpers/typeof.js","webpack://ninchat-embed/webpack/bootstrap","webpack://ninchat-embed/../../src/embed/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(self, function() {\nreturn ","import {environments} from '../../app.json'\n\ntype Environment = 'development' | 'production'\ntype Target = 'app' | 'embed' | 'sdk'\ntype Variant = 'live' | 'stage'\n\nexport interface AppEnvironment {\n apiHost: string\n apiMode: Environment\n apiVersion: string\n devServerIp?: string\n target: Target\n staticEmbedURL: string | null\n staticLocaleURL: string | null\n staticSiteURL: string | null\n siteSecret?: string\n}\n\nconst mode: Environment = process.env.MODE as Environment\nconst apiMode: Environment = (process.env.API || mode) as Environment\nconst devServerIp: string = process.env.DEV_SERVER_IP as string\nconst siteSecret: string = process.env.SITE_SECRET as string\nconst target: Target = process.env.TARGET as Target\nconst variant: Variant = process.env.VARIANT as Variant\n\nconst isNative = process.env.PLATFORM === 'native'\nconst isProduction = mode === 'production'\nconst isWeb = process.env.PLATFORM === 'web'\n\nconst dir = variant === 'stage' ? 'stage/new' : 'new'\nconst embedDir = variant === 'stage' ? 'stage/app' : 'app'\n\nconst {\n apiHost,\n apiVersion,\n} = environments[apiMode] ?? {}\n\n/* eslint-disable indent */\nconst staticLocaleURL =\n isWeb ?\n isProduction ? `https://ninchat.com/${dir}` : 'http://localhost:8080'\n :\n isNative ?\n isProduction ? `https://ninchat.com/${dir}` : `http://${devServerIp}:8082`\n :\n null\n\nconst staticSiteURL =\n isNative ?\n isProduction ? 'https://ninchat.com' : `http://${devServerIp}:8082`\n :\n isProduction ? `https://ninchat.com/${dir}` : 'http://localhost:8082'\n\nconst staticEmbedURL =\n isNative ?\n isProduction ? 'https://ninchat.com' : `http://${devServerIp}:8082`\n :\n isProduction ? `https://ninchat.com/${embedDir}` : 'http://localhost:8082'\n/* eslint-enable indent */\n\nexport const getEnvironment = (): AppEnvironment => ({\n apiHost,\n apiMode,\n apiVersion,\n devServerIp,\n ...siteSecret && {siteSecret},\n staticEmbedURL,\n staticLocaleURL,\n staticSiteURL,\n target,\n})\n","import {\n AnyAction,\n ListenerEffectAPI,\n UnsubscribeListener,\n} from '@reduxjs/toolkit'\nimport {\n AppDispatch,\n RootState,\n} from '../../store'\nimport {NinchatClientPromiseValue} from '../../api/NinchatClient'\n\nexport type EffectArgs = {\n action: AnyAction\n listenerApi: ListenerEffectAPI<RootState, AppDispatch>\n}\n\nexport type EffectProcessArgs = {\n flushNotificationQueue: () => void\n ignoreIdle?: boolean\n listener?: Listener\n notificationQueue: NotificationQueueEntry[]\n} & EffectArgs\n\nexport type EffectRetval = [NotificationType, NinchatClientPromiseValue]\n\nexport type Listener = {\n effects: Map<NotificationKey, (args: EffectArgs) => EffectRetval>\n unsubscribe: UnsubscribeListener\n}\n\nexport type NotificationEvent = {\n audio?: boolean\n channel_name?: string\n desktop?: boolean\n message?: string\n queue_name?: string\n realm_name?: string\n type: NotificationType\n user_name?: string\n}\n\nexport type NotificationKey =\n 'ignore_idle' | 'require_interaction' |\n 'private' | 'highlight' | 'channel_join' | 'channel' | 'audience_queue' | 'audience_queue_picked' | 'audience' | 'audience_register' |\n 'private_audio' | 'highlight_audio' | 'channel_join_audio' | 'channel_audio' | 'audience_queue_audio' | 'audience_queue_picked_audio' | 'audience_audio' | 'audience_register_audio'\n\nexport type NotificationQueueEntry = {\n audio: boolean\n desktop: boolean\n payload: NinchatClientPromiseValue\n type: NotificationType\n}\n\nexport enum NotificationType {\n AudienceRegistered = 'audience_registered',\n MessageReceivedChannel = 'message_received/channel',\n MessageReceivedChannelAudience = 'message_received/channel/audience',\n MessageReceivedChannelJoin = 'message_received/channel/join',\n MessageReceivedDialogue = 'message_received/dialogue',\n QueueUpdatedAudienceAcceptPeer = 'queue_updated/audience_accept_peer',\n QueueUpdatedAudienceRequest = 'queue_updated/audience_request',\n}\n","export enum EmbedErrorType {\n ContainerNotFoundError = 'container_not_found',\n SiteConfigFetchError = 'site_config_fetch_error',\n InvalidConfigKeyError = 'invalid_config_key',\n InvalidSiteConfigError = 'invalid_site_config'\n}\n","import {\n AudienceRoute,\n ChannelRoute,\n ElseRoute,\n} from './routes'\nimport {\n NotificationEvent as BrowserNotificationEvent,\n NotificationType,\n} from 'components/BrowserNotification/types'\nimport {EmbedErrorEvents} from './errorEvents'\nimport {NinchatEmbedConfig} from './'\n\nexport enum EmbedEvent {\n ActivityCount = 'activity_count',\n ContainerInitialized = 'container_initialized',\n Error = 'error',\n Notification = 'notification',\n Route = 'route'\n}\n\nexport {NotificationType as EmbedNotificationType}\n\nexport type BaseEvent = NinchatEmbedConfig\n\nexport interface ActivityCountEvent extends BaseEvent {\n event: EmbedEvent.ActivityCount\n activity: number\n highlights: number\n}\n\nexport interface ContainerInitializedEvent extends BaseEvent {\n event: EmbedEvent.ContainerInitialized\n}\n\nexport interface NotificationEvent extends BaseEvent, BrowserNotificationEvent {\n event: EmbedEvent.Notification\n}\n\nexport interface RouteEvent extends BaseEvent {\n event: EmbedEvent.Route\n route: AudienceRoute | ChannelRoute | ElseRoute\n}\n\nexport type EmbedEvents =\n ActivityCountEvent |\n ContainerInitializedEvent |\n EmbedErrorEvents |\n NotificationEvent |\n RouteEvent\n","import {\n AudienceID,\n ChannelID,\n} from 'api/types/properties'\n\nexport enum RouteName {\n Channel = 'Channel',\n Else = 'Else',\n}\n\nexport type ChannelRoute = {\n name: RouteName.Channel\n params: {\n channel_id: ChannelID\n }\n}\n\nexport type AudienceRoute = {\n audience_id: AudienceID\n name: RouteName.Channel\n metadata?: Record<string, unknown>[]\n params: {\n channel_id: ChannelID\n }\n}\n\nexport type ElseRoute = {\n name: RouteName.Else\n}\n","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}\nmodule.exports = _toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}\nmodule.exports = _toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import {\n EmbedEvent,\n EmbedEvents,\n EmbedNotificationType,\n} from './types/events'\nimport {\n NinchatCallbacks,\n NinchatEventCallback,\n NinchatOptions,\n} from './types'\nimport {ContainerNotFoundErrorEvent} from './types/errorEvents'\nimport {EmbedErrorType} from './types/errorTypes'\nimport {RouteName} from './types/routes'\nimport {getEnvironment} from 'appconfig'\n\nexport class NinchatEmbed {\n readonly ENVIRONMENT = getEnvironment()\n\n readonly EMBED_HOST = this.ENVIRONMENT.staticEmbedURL\n\n readonly EMBED_ORIGIN = this.EMBED_HOST && new URL(this.EMBED_HOST).origin\n\n readonly ENTRY_POINT = this.EMBED_HOST?.includes('localhost') ? 'embed3.html' : 'embed3'\n\n public readonly Event = EmbedEvent\n\n public readonly ErrorType = EmbedErrorType\n\n public readonly NotificationType = EmbedNotificationType\n\n public readonly RouteName = RouteName\n\n private callbacks = <NinchatCallbacks>{}\n\n private emit(event: EmbedEvents) {\n if (this.callbacks[event.event]) {\n this.callbacks[event.event].forEach((callback) => {\n callback(event)\n })\n }\n }\n\n private onMessage = (event: MessageEvent) => {\n if (event.origin === this.EMBED_ORIGIN) {\n this.emit(JSON.parse(event.data))\n }\n }\n\n public destruct() {\n window.removeEventListener('message', this.onMessage)\n this.callbacks = <NinchatCallbacks>{}\n }\n\n public off(event: EmbedEvent, callback: NinchatEventCallback) {\n if (this.callbacks[event]) {\n for (let i = 0; i < this.callbacks[event].length; i += 1) {\n if (this.callbacks[event][i] === callback) {\n this.callbacks[event].splice(i, 1)\n break\n }\n }\n }\n }\n\n public on(event: EmbedEvent, callback: NinchatEventCallback) {\n this.callbacks[event] ||= []\n this.callbacks[event].push(callback)\n }\n\n public init(options: NinchatOptions) {\n const {\n audienceMetadata,\n config,\n configKey,\n configUrls,\n containerId,\n environment,\n postConfigUrls,\n } = options\n\n const {origin} = window.location\n\n const container = document.querySelector(`#${containerId}`)\n\n // Params that are NOT sent to server via query (placed after #)\n // TODO: validate via Zod\n const searchParams = new URLSearchParams()\n\n if (audienceMetadata) {\n searchParams.set('audienceMetadata', JSON.stringify(audienceMetadata))\n }\n\n if (config) {\n searchParams.set('config', JSON.stringify(config))\n }\n\n if (configKey) {\n searchParams.set('configKey', JSON.stringify(configKey))\n }\n\n if (configUrls) {\n searchParams.set('configUrls', JSON.stringify(configUrls))\n }\n\n if (environment) {\n searchParams.set('environment', JSON.stringify(environment))\n }\n\n if (postConfigUrls) {\n searchParams.set('postConfigUrls', JSON.stringify(postConfigUrls))\n }\n\n const iframeUrl = new URL(`${this.EMBED_HOST}/${this.ENTRY_POINT}`)\n\n // Params that ARE sent to server via query\n iframeUrl.searchParams.set('targetOrigin', origin)\n\n if (container) {\n const iframe = document.createElement('iframe')\n iframe.name = `ninchat?${searchParams.toString()}`\n iframe.allow = 'camera;microphone'\n iframe.src = iframeUrl.toString()\n iframe.style.border = '0'\n iframe.style.height = '100%'\n iframe.style.width = '100%'\n container.appendChild(iframe)\n } else {\n const errorEvent: ContainerNotFoundErrorEvent = {\n container_id: containerId,\n error_type: EmbedErrorType.ContainerNotFoundError,\n event: EmbedEvent.Error,\n targetOrigin: origin,\n }\n\n this.emit(errorEvent)\n }\n }\n\n constructor() {\n window.addEventListener('message', this.onMessage, false)\n }\n}\n\nexport default NinchatEmbed\n\n"],"names":["root","factory","exports","module","define","amd","a","i","self","apiMode","process","environments","apiHost","apiVersion","devServerIp","staticEmbedURL","staticLocaleURL","staticSiteURL","target","NotificationType","EmbedErrorType","EmbedEvent","RouteName","instance","Constructor","TypeError","__esModule","toPropertyKey","_defineProperties","props","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","protoProps","staticProps","prototype","obj","_typeof","input","hint","prim","Symbol","toPrimitive","undefined","res","call","String","Number","arg","iterator","constructor","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","NinchatEmbed","ENVIRONMENT","getEnvironment","EMBED_HOST","this","EMBED_ORIGIN","URL","origin","ENTRY_POINT","includes","Event","ErrorType","EmbedNotificationType","callbacks","onMessage","event","emit","JSON","parse","data","window","addEventListener","forEach","callback","removeEventListener","splice","push","options","audienceMetadata","config","configKey","configUrls","containerId","environment","postConfigUrls","location","container","document","querySelector","searchParams","URLSearchParams","set","stringify","iframeUrl","iframe","createElement","name","toString","allow","src","style","border","height","width","appendChild","errorEvent","container_id","error_type","ContainerNotFoundError","Error","targetOrigin"],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../../src/actions/app.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,8EAAoD,CAAA;AACjF,eAAO,MAAM,UAAU,8EAA8C,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HangupAction, MeetAction, MeetRoomDetailsAction, ToggleChatAction } from './types';
|
|
2
|
+
export declare const jitsiHangup: () => HangupAction;
|
|
3
|
+
export declare const jitsiMeet: (channel_id: string) => MeetAction;
|
|
4
|
+
export declare const jitsiMeetRoomDetails: (roomDetails: Pick<MeetRoomDetailsAction, 'jitsi_room' | 'jitsi_token'>) => MeetRoomDetailsAction;
|
|
5
|
+
export declare const jitsiToggleChat: () => ToggleChatAction;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/actions/jitsi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EAKZ,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EACnB,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,WAAW,QAAO,YAAsC,CAAA;AACrE,eAAO,MAAM,SAAS,eAAgB,MAAM,KAAG,UAG7C,CAAA;AACF,eAAO,MAAM,oBAAoB,gBAAiB,KAAK,qBAAqB,EAAE,YAAY,GAAC,aAAa,CAAC,KAAG,qBAG1G,CAAA;AACF,eAAO,MAAM,eAAe,QAAO,gBAA+C,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const JITSI_HANGUP = "JITSI/HANGUP";
|
|
2
|
+
export declare const JITSI_MEET = "JITSI/MEET";
|
|
3
|
+
export declare const JITSI_TOGGLE_CHAT = "JITSI/TOGGLE_CHAT";
|
|
4
|
+
export declare const JITSI_MEET_ROOM_DETAILS = "JITSI/MEET_ROOM_DETAILS";
|
|
5
|
+
export interface HangupAction {
|
|
6
|
+
type: typeof JITSI_HANGUP;
|
|
7
|
+
}
|
|
8
|
+
export interface MeetAction {
|
|
9
|
+
channel_id: string;
|
|
10
|
+
type: typeof JITSI_MEET;
|
|
11
|
+
}
|
|
12
|
+
export interface MeetRoomDetailsAction {
|
|
13
|
+
jitsi_room: string;
|
|
14
|
+
jitsi_token: string;
|
|
15
|
+
type: typeof JITSI_MEET_ROOM_DETAILS;
|
|
16
|
+
}
|
|
17
|
+
export interface ToggleChatAction {
|
|
18
|
+
type: typeof JITSI_TOGGLE_CHAT;
|
|
19
|
+
}
|
|
20
|
+
export type JitsiActionTypes = HangupAction | MeetAction | ToggleChatAction | MeetRoomDetailsAction;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/actions/jitsi/types/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAC1C,eAAO,MAAM,UAAU,eAAe,CAAA;AACtC,eAAO,MAAM,iBAAiB,sBAAsB,CAAA;AACpD,eAAO,MAAM,uBAAuB,4BAA4B,CAAA;AAEhE,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,OAAO,YAAY,CAAC;CAC7B;AAED,MAAM,WAAW,UAAU;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,UAAU,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,uBAAuB,CAAC;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,OAAO,iBAAiB,CAAC;CAClC;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,UAAU,GAAG,gBAAgB,GAAG,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Identity } from 'api/types/properties';
|
|
2
|
+
export declare enum ModalActionType {
|
|
3
|
+
END_CONVERSATION = "MODAL/EndConversation",
|
|
4
|
+
CHANNEL_INVITE_MODAL = "MODAL/ChannelInviteModal",
|
|
5
|
+
CLOSE_CONVERSATION = "MODAL/CloseConversation",
|
|
6
|
+
CONFIRMATION_MODAL = "MODAL/ConfirmationModal",
|
|
7
|
+
EDIT_CANNED_MESSAGE = "MODAL/EditCannedMessage",
|
|
8
|
+
TRANSFER_CONVERSATION = "MODAL/TransferConversation",
|
|
9
|
+
IDENTITY = "MODAL/Identity"
|
|
10
|
+
}
|
|
11
|
+
export interface EndConversationAction {
|
|
12
|
+
meta: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
};
|
|
15
|
+
payload: {
|
|
16
|
+
channelId?: string;
|
|
17
|
+
};
|
|
18
|
+
type: typeof ModalActionType.END_CONVERSATION;
|
|
19
|
+
}
|
|
20
|
+
export interface ChannelInviteModal {
|
|
21
|
+
meta: {
|
|
22
|
+
show: boolean;
|
|
23
|
+
};
|
|
24
|
+
payload: {
|
|
25
|
+
accessKey?: string;
|
|
26
|
+
};
|
|
27
|
+
type: typeof ModalActionType.CHANNEL_INVITE_MODAL;
|
|
28
|
+
}
|
|
29
|
+
export interface CloseConversation {
|
|
30
|
+
meta: {
|
|
31
|
+
show: boolean;
|
|
32
|
+
};
|
|
33
|
+
payload: {
|
|
34
|
+
channelId?: string;
|
|
35
|
+
};
|
|
36
|
+
type: typeof ModalActionType.CLOSE_CONVERSATION;
|
|
37
|
+
}
|
|
38
|
+
export interface ConfirmationModal {
|
|
39
|
+
meta: {
|
|
40
|
+
show: boolean;
|
|
41
|
+
};
|
|
42
|
+
payload: {
|
|
43
|
+
onConfirm?: any;
|
|
44
|
+
text?: string;
|
|
45
|
+
title?: string;
|
|
46
|
+
};
|
|
47
|
+
type: typeof ModalActionType.CONFIRMATION_MODAL;
|
|
48
|
+
}
|
|
49
|
+
export interface EditCannedMessage {
|
|
50
|
+
meta: {
|
|
51
|
+
show: boolean;
|
|
52
|
+
};
|
|
53
|
+
payload: {
|
|
54
|
+
keyword?: string;
|
|
55
|
+
message?: string;
|
|
56
|
+
};
|
|
57
|
+
type: typeof ModalActionType.EDIT_CANNED_MESSAGE;
|
|
58
|
+
}
|
|
59
|
+
export interface TransferConversationAction {
|
|
60
|
+
meta: {
|
|
61
|
+
show: boolean;
|
|
62
|
+
};
|
|
63
|
+
payload: {
|
|
64
|
+
queueId?: string;
|
|
65
|
+
channelId?: string;
|
|
66
|
+
};
|
|
67
|
+
type: typeof ModalActionType.TRANSFER_CONVERSATION;
|
|
68
|
+
}
|
|
69
|
+
export declare enum IdentityModalTypes {
|
|
70
|
+
remove = "remove",
|
|
71
|
+
add = "add",
|
|
72
|
+
changePassword = "changePassword"
|
|
73
|
+
}
|
|
74
|
+
export interface IdentityModalAction {
|
|
75
|
+
meta: {
|
|
76
|
+
show: boolean;
|
|
77
|
+
};
|
|
78
|
+
payload: {
|
|
79
|
+
identity?: Identity;
|
|
80
|
+
identityType?: IdentityModalTypes;
|
|
81
|
+
};
|
|
82
|
+
type: typeof ModalActionType.IDENTITY;
|
|
83
|
+
}
|
|
84
|
+
export type ModalActions = EditCannedMessage | EndConversationAction | ChannelInviteModal | CloseConversation | ConfirmationModal | TransferConversationAction;
|
|
85
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/actions/modal/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAA;AAE7C,oBAAY,eAAe;IACvB,gBAAgB,0BAA0B;IAC1C,oBAAoB,6BAA6B;IACjD,kBAAkB,4BAA4B;IAC9C,kBAAkB,4BAA4B;IAC9C,mBAAmB,4BAA4B;IAC/C,qBAAqB,+BAA+B;IACpD,QAAQ,mBAAmB;CAC9B;AAED,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9B,IAAI,EAAE,OAAO,eAAe,CAAC,gBAAgB,CAAA;CAChD;AAED,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9B,IAAI,EAAE,OAAO,eAAe,CAAC,oBAAoB,CAAA;CACpD;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9B,IAAI,EAAE,OAAO,eAAe,CAAC,kBAAkB,CAAA;CAClD;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QAEL,SAAS,CAAC,EAAE,GAAG,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,KAAK,CAAC,EAAE,MAAM,CAAA;KACjB,CAAC;IACF,IAAI,EAAE,OAAO,eAAe,CAAC,kBAAkB,CAAA;CAClD;AAED,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QACL,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,OAAO,CAAC,EAAE,MAAM,CAAA;KACnB,CAAC;IACF,IAAI,EAAE,OAAO,eAAe,CAAC,mBAAmB,CAAA;CACnD;AAED,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QACL,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,SAAS,CAAC,EAAE,MAAM,CAAA;KACrB,CAAC;IACF,IAAI,EAAE,OAAO,eAAe,CAAC,qBAAqB,CAAA;CACrD;AAED,oBAAY,kBAAkB;IAC1B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,cAAc,mBAAmB;CACpC;AAED,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE;QAAC,IAAI,EAAE,OAAO,CAAA;KAAC,CAAC;IACtB,OAAO,EAAE;QAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;QAAC,YAAY,CAAC,EAAE,kBAAkB,CAAA;KAAC,CAAC;IAClE,IAAI,EAAE,OAAO,eAAe,CAAC,QAAQ,CAAA;CACxC;AAED,MAAM,MAAM,YAAY,GAAG,iBAAiB,GACxC,qBAAqB,GACrB,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/actions/ninchat/client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,wBAAwB,EAE3B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,IAAI,YAAa,wBAAwB,KAAG,iBAGvD,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { NinchatActions, NinchatProperties } from '../../../../api/types';
|
|
2
|
+
import { AnyAction } from '@reduxjs/toolkit';
|
|
3
|
+
import { AttachmentFile } from '../../../../types/ui';
|
|
4
|
+
export declare enum clientActionTypes {
|
|
5
|
+
CALL = "NINCHAT/CALL"
|
|
6
|
+
}
|
|
7
|
+
export interface NinchatCallAction {
|
|
8
|
+
payload: NinchatCallActionPayload;
|
|
9
|
+
type: typeof clientActionTypes.CALL;
|
|
10
|
+
}
|
|
11
|
+
export type NinchatCallActionMeta = {
|
|
12
|
+
caller?: {
|
|
13
|
+
caller_access_key?: NinchatProperties.AccessKey;
|
|
14
|
+
caller_auth?: NinchatProperties.IdentityAuth;
|
|
15
|
+
caller_id?: NinchatProperties.UserID;
|
|
16
|
+
caller_name?: NinchatProperties.IdentityName;
|
|
17
|
+
caller_type?: NinchatProperties.CallerIdentityType;
|
|
18
|
+
};
|
|
19
|
+
xhr?: {
|
|
20
|
+
method: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type NinchatCallActionPayload = {
|
|
25
|
+
header: NinchatActions.NinchatAction;
|
|
26
|
+
payload?: NinchatProperties.PayloadDataFrame[] | AttachmentFile | {
|
|
27
|
+
access_url: string;
|
|
28
|
+
identity_name?: NinchatProperties.IdentityName;
|
|
29
|
+
identity_type?: NinchatProperties.IdentityType;
|
|
30
|
+
};
|
|
31
|
+
meta?: NinchatCallActionMeta;
|
|
32
|
+
};
|
|
33
|
+
export type NinchatClientActions = AnyAction;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/actions/ninchat/client/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,iBAAiB,EACpB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAA;AAGnD,oBAAY,iBAAiB;IACzB,IAAI,iBAAiB;CACxB;AAED,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,wBAAwB,CAAC;IAClC,IAAI,EAAE,OAAO,iBAAiB,CAAC,IAAI,CAAC;CACvC;AAED,MAAM,MAAM,qBAAqB,GAAG;IAChC,MAAM,CAAC,EAAE;QACL,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAA;QAC/C,WAAW,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAA;QAC5C,SAAS,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAA;QACpC,WAAW,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAA;QAC5C,WAAW,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAA;KACrD,CAAA;IACD,GAAG,CAAC,EAAE;QACF,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,MAAM,EAAE,cAAc,CAAC,aAAa,CAAC;IACrC,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,GAAG,cAAc,GAAG;QAC9D,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAA;QAC9C,aAAa,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAA;KACjD,CAAC;IACF,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAChC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAC5B,SAAS,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { NinchatEvents, NinchatProperties } from '../../../api/types';
|
|
2
|
+
import { NinchatLocalFileErrorAction } from './types';
|
|
3
|
+
export declare const fileError: (file_id: NinchatProperties.FileID, error: NinchatEvents.NinchatErrorEvent) => NinchatLocalFileErrorAction;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/actions/ninchat/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EACb,iBAAiB,EACpB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACH,2BAA2B,EAE9B,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,SAAS,YAAa,kBAAkB,MAAM,SAAS,cAAc,iBAAiB,KAAG,2BAQpG,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NinchatEvents, NinchatProperties } from '../../../../api/types';
|
|
2
|
+
export declare enum localActionTypes {
|
|
3
|
+
fileError = "NINCHAT/legacyLocal/fileError"
|
|
4
|
+
}
|
|
5
|
+
export interface NinchatLocalFileErrorAction {
|
|
6
|
+
type: typeof localActionTypes.fileError;
|
|
7
|
+
payload: string;
|
|
8
|
+
error: boolean;
|
|
9
|
+
meta: {
|
|
10
|
+
event: NinchatEvents.NinchatErrorEvent;
|
|
11
|
+
file_id: NinchatProperties.FileID;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export type NinchatLocalActions = NinchatLocalFileErrorAction;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/actions/ninchat/local/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EACb,iBAAiB,EACpB,MAAM,uBAAuB,CAAA;AAE9B,oBAAY,gBAAgB;IACxB,SAAS,kCAAkC;CAC9C;AAED,MAAM,WAAW,2BAA2B;IACxC,IAAI,EAAE,OAAO,gBAAgB,CAAC,SAAS,CAAA;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE;QACF,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC;QACvC,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC;KACrC,CAAA;CACJ;AAED,MAAM,MAAM,mBAAmB,GAC3B,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Dispatch } from '@reduxjs/toolkit';
|
|
2
|
+
import { NinchatActions, NinchatEvents, NinchatMessages, NinchatProperties } from './types';
|
|
3
|
+
export type NinchatActionParams<T> = Omit<T, 'action' | 'action_id'> & Partial<T>;
|
|
4
|
+
export type NinchatActionPayload = {
|
|
5
|
+
payload?: NinchatProperties.PayloadDataFrame[];
|
|
6
|
+
};
|
|
7
|
+
export type NinchatEventActionPayload<T> = {
|
|
8
|
+
event: T;
|
|
9
|
+
payload: NinchatMessages.NinchatMessageProperties;
|
|
10
|
+
};
|
|
11
|
+
interface NinchatClientPromise<T> extends Promise<T> {
|
|
12
|
+
actionId?: NinchatProperties.ActionID;
|
|
13
|
+
then: <TResult1 = T, TResult2 = never, P = ArrayBuffer[], E = NinchatEvents.NinchatErrorEvent>(onfulfilled?: ((value: T, payload: P) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: E) => TResult2 | PromiseLike<TResult2>) | undefined | null, onnotified?: ((value: T, payload: P) => TResult1 | PromiseLike<TResult1>) | undefined | null) => Promise<TResult1 | TResult2>;
|
|
14
|
+
}
|
|
15
|
+
export type NinchatClientPromiseValue = NinchatEvents.NinchatEvent | EventActionPayload | (NinchatEvents.NinchatEvent | EventActionPayload)[];
|
|
16
|
+
type EventActionPayload = NinchatEventActionPayload<NinchatEvents.NinchatEvent>;
|
|
17
|
+
declare class NinchatClient {
|
|
18
|
+
private static actionTypeName;
|
|
19
|
+
private _dispatch;
|
|
20
|
+
private _session;
|
|
21
|
+
private apiHost;
|
|
22
|
+
private connActive;
|
|
23
|
+
private connActiveCheck;
|
|
24
|
+
private connState;
|
|
25
|
+
private sessionPromiseCallbacks;
|
|
26
|
+
private siteSecret;
|
|
27
|
+
closeAction: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<`${string}/close`>;
|
|
28
|
+
connStateAction: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<NinchatProperties.ConnState, string>;
|
|
29
|
+
logAction: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string, string>;
|
|
30
|
+
constructor();
|
|
31
|
+
private get session();
|
|
32
|
+
private set session(value);
|
|
33
|
+
get connected(): boolean;
|
|
34
|
+
get dispatch(): Dispatch<import("redux").AnyAction>;
|
|
35
|
+
set dispatch(dispatch: Dispatch<import("redux").AnyAction>);
|
|
36
|
+
private onClose;
|
|
37
|
+
private onConnActive;
|
|
38
|
+
private onConnState;
|
|
39
|
+
private onEvent;
|
|
40
|
+
private onLog;
|
|
41
|
+
private onSessionEvent;
|
|
42
|
+
private checkConnActive;
|
|
43
|
+
static stringifyFrame(data: Record<string, unknown>): string;
|
|
44
|
+
call(params: NinchatActionParams<NinchatActions.NinchatAction>): Promise<any>;
|
|
45
|
+
close(): void;
|
|
46
|
+
open(params: NinchatActionParams<NinchatActions.NinchatCreateSessionAction>): Promise<NinchatEvents.NinchatSessionCreatedEvent>;
|
|
47
|
+
send(params: NinchatActionParams<NinchatActions.NinchatAction>, payload?: NinchatProperties.PayloadDataFrame[]): NinchatClientPromise<NinchatClientPromiseValue>;
|
|
48
|
+
}
|
|
49
|
+
declare const _default: NinchatClient;
|
|
50
|
+
export default _default;
|
|
51
|
+
//# sourceMappingURL=NinchatClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NinchatClient.d.ts","sourceRoot":"","sources":["../../../../../src/api/NinchatClient.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NinchatAcceptAudienceAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
import { NinchatChannelJoinedEvent } from '../types/events';
|
|
4
|
+
import { RootState } from '../../store';
|
|
5
|
+
export declare const acceptAudience: import("@reduxjs/toolkit").AsyncThunk<NinchatChannelJoinedEvent, NinchatActionParams<NinchatAcceptAudienceAction>, {
|
|
6
|
+
state: RootState;
|
|
7
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
//# sourceMappingURL=acceptAudience.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptAudience.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/acceptAudience.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,2BAA2B,EAE9B,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAA;AAUrC,eAAO,MAAM,cAAc;WAHhB,SAAS;;;;;;;;EA2BnB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NinchatBeginSsoAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
import { NinchatSsoBegunEvent } from '../types/events';
|
|
4
|
+
export declare const beginSso: import("@reduxjs/toolkit").AsyncThunk<NinchatSsoBegunEvent, NinchatActionParams<NinchatBeginSsoAction>, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=beginSso.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beginSso.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/beginSso.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,qBAAqB,EACxB,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAA;AAKpD,eAAO,MAAM,QAAQ;;;;;;;;;EAapB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { initialState } from 'api/state';
|
|
2
|
+
export declare const closeSession: import("@reduxjs/toolkit").AsyncThunk<void, undefined, {
|
|
3
|
+
pendingMeta: {
|
|
4
|
+
reducer: () => typeof initialState;
|
|
5
|
+
};
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=closeSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeSession.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/closeSession.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,WAAW,CAAA;AAOtC,eAAO,MAAM,YAAY;iBAFyB;QAAC,OAAO,EAAE,MAAM,mBAAmB,CAAA;KAAC;;;;;;;;EAcrF,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NinchatCreateAccessAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
export declare const createAccess: import("@reduxjs/toolkit").AsyncThunk<import("../types/events").NinchatErrorEvent | import("../types/events").NinchatSessionStatusUpdatedEvent | import("../types/events").NinchatUserCreatedEvent | import("../types/events").NinchatUserFoundEvent | import("../types/events").NinchatUserUpdatedEvent | import("../types/events").NinchatUserDeletedEvent | import("../types/events").NinchatIdentityFoundEvent | import("../types/events").NinchatIdentityCreatedEvent | import("../types/events").NinchatIdentityUpdatedEvent | import("../types/events").NinchatIdentityDeletedEvent | import("../types/events").NinchatDialogueUpdatedEvent | import("../types/events").NinchatChannelFoundEvent | import("../types/events").NinchatChannelJoinedEvent | import("../types/events").NinchatChannelPartedEvent | import("../types/events").NinchatChannelUpdatedEvent | import("../types/events").NinchatChannelDeletedEvent | import("../types/events").NinchatChannelMemberJoinedEvent | import("../types/events").NinchatChannelMemberPartedEvent | import("../types/events").NinchatChannelMemberUpdatedEvent | import("../types/events").NinchatRealmFoundEvent | import("../types/events").NinchatRealmQueuesFoundEvent | import("../types/events").NinchatRealmJoinedEvent | import("../types/events").NinchatRealmPartedEvent | import("../types/events").NinchatRealmUpdatedEvent | import("../types/events").NinchatRealmDeletedEvent | import("../types/events").NinchatRealmMemberJoinedEvent | import("../types/events").NinchatRealmMemberPartedEvent | import("../types/events").NinchatRealmMemberUpdatedEvent | import("../types/events").NinchatQueueCreatedEvent | import("../types/events").NinchatQueueFoundEvent | import("../types/events").NinchatQueueUpdatedEvent | import("../types/events").NinchatQueueDeletedEvent | import("../types/events").NinchatQueueJoinedEvent | import("../types/events").NinchatQueuePartedEvent | import("../types/events").NinchatQueueMemberJoinedEvent | import("../types/events").NinchatQueueMemberPartedEvent | import("../types/events").NinchatAudienceEnqueuedEvent | import("../types/events").NinchatMessageReceivedEvent | import("../types/events").NinchatMessageUpdatedEvent | import("../types/events").NinchatHistoryResultsEvent | import("../types/events").NinchatHistoryDiscardedEvent | import("../types/events").NinchatAccessFoundEvent | import("../types/events").NinchatAccessCreatedEvent | import("../types/events").NinchatMasterKeysFoundEvent | import("../types/events").NinchatMasterKeyCreatedEvent | import("../types/events").NinchatMasterKeyDeletedEvent | import("../types/events").NinchatFileFoundEvent | import("../types/events").NinchatTranscriptContentsEvent | import("../types/events").NinchatTranscriptDeletedEvent | import("../types/events").NinchatQueueTranscriptsFoundEvent | import("../types/events").NinchatQueueTranscriptsDeletedEvent | import("../types/events").NinchatTagCreatedEvent | import("../types/events").NinchatTagFoundEvent | import("../types/events").NinchatTagsFoundEvent | import("../types/events").NinchatTagUpdatedEvent | import("../types/events").NinchatTagDeletedEvent | import("../types/events").NinchatQueueStatsContentsEvent | import("../types/events").NinchatIceBegunEvent | import("../types/events").NinchatSearchResultsEvent | import("../types/events").NinchatPongEvent | import("../types/events").NinchatAckEvent | import("../types/events").NinchatCommentCreatedEvent | import("../types/events").NinchatAudienceRangeCommentContentsEvent | import("../types/events").NinchatAudienceRegisteredEvent | import("../types/events").NinchatSsoBegunEvent | import("../types/events").NinchatJitsiDiscoveredEvent | import("../types/events").NinchatQueueActivityEvent | {
|
|
4
|
+
event: import("../types/events").NinchatEvent;
|
|
5
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
6
|
+
} | (import("../types/events").NinchatEvent | {
|
|
7
|
+
event: import("../types/events").NinchatEvent;
|
|
8
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
9
|
+
})[], NinchatActionParams<NinchatCreateAccessAction>, {
|
|
10
|
+
state?: unknown;
|
|
11
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
12
|
+
extra?: unknown;
|
|
13
|
+
rejectValue?: unknown;
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=createAccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createAccess.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/createAccess.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,yBAAyB,EAC5B,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;EAaxB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NinchatCreateCommentAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
export declare const createComment: import("@reduxjs/toolkit").AsyncThunk<import("../types/events").NinchatErrorEvent | import("../types/events").NinchatSessionStatusUpdatedEvent | import("../types/events").NinchatUserCreatedEvent | import("../types/events").NinchatUserFoundEvent | import("../types/events").NinchatUserUpdatedEvent | import("../types/events").NinchatUserDeletedEvent | import("../types/events").NinchatIdentityFoundEvent | import("../types/events").NinchatIdentityCreatedEvent | import("../types/events").NinchatIdentityUpdatedEvent | import("../types/events").NinchatIdentityDeletedEvent | import("../types/events").NinchatDialogueUpdatedEvent | import("../types/events").NinchatChannelFoundEvent | import("../types/events").NinchatChannelJoinedEvent | import("../types/events").NinchatChannelPartedEvent | import("../types/events").NinchatChannelUpdatedEvent | import("../types/events").NinchatChannelDeletedEvent | import("../types/events").NinchatChannelMemberJoinedEvent | import("../types/events").NinchatChannelMemberPartedEvent | import("../types/events").NinchatChannelMemberUpdatedEvent | import("../types/events").NinchatRealmFoundEvent | import("../types/events").NinchatRealmQueuesFoundEvent | import("../types/events").NinchatRealmJoinedEvent | import("../types/events").NinchatRealmPartedEvent | import("../types/events").NinchatRealmUpdatedEvent | import("../types/events").NinchatRealmDeletedEvent | import("../types/events").NinchatRealmMemberJoinedEvent | import("../types/events").NinchatRealmMemberPartedEvent | import("../types/events").NinchatRealmMemberUpdatedEvent | import("../types/events").NinchatQueueCreatedEvent | import("../types/events").NinchatQueueFoundEvent | import("../types/events").NinchatQueueUpdatedEvent | import("../types/events").NinchatQueueDeletedEvent | import("../types/events").NinchatQueueJoinedEvent | import("../types/events").NinchatQueuePartedEvent | import("../types/events").NinchatQueueMemberJoinedEvent | import("../types/events").NinchatQueueMemberPartedEvent | import("../types/events").NinchatAudienceEnqueuedEvent | import("../types/events").NinchatMessageReceivedEvent | import("../types/events").NinchatMessageUpdatedEvent | import("../types/events").NinchatHistoryResultsEvent | import("../types/events").NinchatHistoryDiscardedEvent | import("../types/events").NinchatAccessFoundEvent | import("../types/events").NinchatAccessCreatedEvent | import("../types/events").NinchatMasterKeysFoundEvent | import("../types/events").NinchatMasterKeyCreatedEvent | import("../types/events").NinchatMasterKeyDeletedEvent | import("../types/events").NinchatFileFoundEvent | import("../types/events").NinchatTranscriptContentsEvent | import("../types/events").NinchatTranscriptDeletedEvent | import("../types/events").NinchatQueueTranscriptsFoundEvent | import("../types/events").NinchatQueueTranscriptsDeletedEvent | import("../types/events").NinchatTagCreatedEvent | import("../types/events").NinchatTagFoundEvent | import("../types/events").NinchatTagsFoundEvent | import("../types/events").NinchatTagUpdatedEvent | import("../types/events").NinchatTagDeletedEvent | import("../types/events").NinchatQueueStatsContentsEvent | import("../types/events").NinchatIceBegunEvent | import("../types/events").NinchatSearchResultsEvent | import("../types/events").NinchatPongEvent | import("../types/events").NinchatAckEvent | import("../types/events").NinchatCommentCreatedEvent | import("../types/events").NinchatAudienceRangeCommentContentsEvent | import("../types/events").NinchatAudienceRegisteredEvent | import("../types/events").NinchatSsoBegunEvent | import("../types/events").NinchatJitsiDiscoveredEvent | import("../types/events").NinchatQueueActivityEvent | {
|
|
4
|
+
event: import("../types/events").NinchatEvent;
|
|
5
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
6
|
+
} | (import("../types/events").NinchatEvent | {
|
|
7
|
+
event: import("../types/events").NinchatEvent;
|
|
8
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
9
|
+
})[], NinchatActionParams<NinchatCreateCommentAction>, {
|
|
10
|
+
state?: unknown;
|
|
11
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
12
|
+
extra?: unknown;
|
|
13
|
+
rejectValue?: unknown;
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=createComment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/createComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,0BAA0B,EAC7B,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;EAazB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NinchatCreateIdentityAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
export declare const createIdentity: import("@reduxjs/toolkit").AsyncThunk<import("../types/events").NinchatErrorEvent | import("../types/events").NinchatSessionStatusUpdatedEvent | import("../types/events").NinchatUserCreatedEvent | import("../types/events").NinchatUserFoundEvent | import("../types/events").NinchatUserUpdatedEvent | import("../types/events").NinchatUserDeletedEvent | import("../types/events").NinchatIdentityFoundEvent | import("../types/events").NinchatIdentityCreatedEvent | import("../types/events").NinchatIdentityUpdatedEvent | import("../types/events").NinchatIdentityDeletedEvent | import("../types/events").NinchatDialogueUpdatedEvent | import("../types/events").NinchatChannelFoundEvent | import("../types/events").NinchatChannelJoinedEvent | import("../types/events").NinchatChannelPartedEvent | import("../types/events").NinchatChannelUpdatedEvent | import("../types/events").NinchatChannelDeletedEvent | import("../types/events").NinchatChannelMemberJoinedEvent | import("../types/events").NinchatChannelMemberPartedEvent | import("../types/events").NinchatChannelMemberUpdatedEvent | import("../types/events").NinchatRealmFoundEvent | import("../types/events").NinchatRealmQueuesFoundEvent | import("../types/events").NinchatRealmJoinedEvent | import("../types/events").NinchatRealmPartedEvent | import("../types/events").NinchatRealmUpdatedEvent | import("../types/events").NinchatRealmDeletedEvent | import("../types/events").NinchatRealmMemberJoinedEvent | import("../types/events").NinchatRealmMemberPartedEvent | import("../types/events").NinchatRealmMemberUpdatedEvent | import("../types/events").NinchatQueueCreatedEvent | import("../types/events").NinchatQueueFoundEvent | import("../types/events").NinchatQueueUpdatedEvent | import("../types/events").NinchatQueueDeletedEvent | import("../types/events").NinchatQueueJoinedEvent | import("../types/events").NinchatQueuePartedEvent | import("../types/events").NinchatQueueMemberJoinedEvent | import("../types/events").NinchatQueueMemberPartedEvent | import("../types/events").NinchatAudienceEnqueuedEvent | import("../types/events").NinchatMessageReceivedEvent | import("../types/events").NinchatMessageUpdatedEvent | import("../types/events").NinchatHistoryResultsEvent | import("../types/events").NinchatHistoryDiscardedEvent | import("../types/events").NinchatAccessFoundEvent | import("../types/events").NinchatAccessCreatedEvent | import("../types/events").NinchatMasterKeysFoundEvent | import("../types/events").NinchatMasterKeyCreatedEvent | import("../types/events").NinchatMasterKeyDeletedEvent | import("../types/events").NinchatFileFoundEvent | import("../types/events").NinchatTranscriptContentsEvent | import("../types/events").NinchatTranscriptDeletedEvent | import("../types/events").NinchatQueueTranscriptsFoundEvent | import("../types/events").NinchatQueueTranscriptsDeletedEvent | import("../types/events").NinchatTagCreatedEvent | import("../types/events").NinchatTagFoundEvent | import("../types/events").NinchatTagsFoundEvent | import("../types/events").NinchatTagUpdatedEvent | import("../types/events").NinchatTagDeletedEvent | import("../types/events").NinchatQueueStatsContentsEvent | import("../types/events").NinchatIceBegunEvent | import("../types/events").NinchatSearchResultsEvent | import("../types/events").NinchatPongEvent | import("../types/events").NinchatAckEvent | import("../types/events").NinchatCommentCreatedEvent | import("../types/events").NinchatAudienceRangeCommentContentsEvent | import("../types/events").NinchatAudienceRegisteredEvent | import("../types/events").NinchatSsoBegunEvent | import("../types/events").NinchatJitsiDiscoveredEvent | import("../types/events").NinchatQueueActivityEvent | {
|
|
4
|
+
event: import("../types/events").NinchatEvent;
|
|
5
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
6
|
+
} | (import("../types/events").NinchatEvent | {
|
|
7
|
+
event: import("../types/events").NinchatEvent;
|
|
8
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
9
|
+
})[], NinchatActionParams<NinchatCreateIdentityAction>, {
|
|
10
|
+
state?: unknown;
|
|
11
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
12
|
+
extra?: unknown;
|
|
13
|
+
rejectValue?: unknown;
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=createIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createIdentity.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/createIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,2BAA2B,EAC9B,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAa1B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NinchatCreateIdentityWithAuthResetAccessAction } from '../types/actions';
|
|
2
|
+
import { NinchatActionParams } from '../NinchatClient';
|
|
3
|
+
export declare const createIdentityWithAuthResetAccess: import("@reduxjs/toolkit").AsyncThunk<import("../types/events").NinchatErrorEvent | import("../types/events").NinchatSessionStatusUpdatedEvent | import("../types/events").NinchatUserCreatedEvent | import("../types/events").NinchatUserFoundEvent | import("../types/events").NinchatUserUpdatedEvent | import("../types/events").NinchatUserDeletedEvent | import("../types/events").NinchatIdentityFoundEvent | import("../types/events").NinchatIdentityCreatedEvent | import("../types/events").NinchatIdentityUpdatedEvent | import("../types/events").NinchatIdentityDeletedEvent | import("../types/events").NinchatDialogueUpdatedEvent | import("../types/events").NinchatChannelFoundEvent | import("../types/events").NinchatChannelJoinedEvent | import("../types/events").NinchatChannelPartedEvent | import("../types/events").NinchatChannelUpdatedEvent | import("../types/events").NinchatChannelDeletedEvent | import("../types/events").NinchatChannelMemberJoinedEvent | import("../types/events").NinchatChannelMemberPartedEvent | import("../types/events").NinchatChannelMemberUpdatedEvent | import("../types/events").NinchatRealmFoundEvent | import("../types/events").NinchatRealmQueuesFoundEvent | import("../types/events").NinchatRealmJoinedEvent | import("../types/events").NinchatRealmPartedEvent | import("../types/events").NinchatRealmUpdatedEvent | import("../types/events").NinchatRealmDeletedEvent | import("../types/events").NinchatRealmMemberJoinedEvent | import("../types/events").NinchatRealmMemberPartedEvent | import("../types/events").NinchatRealmMemberUpdatedEvent | import("../types/events").NinchatQueueCreatedEvent | import("../types/events").NinchatQueueFoundEvent | import("../types/events").NinchatQueueUpdatedEvent | import("../types/events").NinchatQueueDeletedEvent | import("../types/events").NinchatQueueJoinedEvent | import("../types/events").NinchatQueuePartedEvent | import("../types/events").NinchatQueueMemberJoinedEvent | import("../types/events").NinchatQueueMemberPartedEvent | import("../types/events").NinchatAudienceEnqueuedEvent | import("../types/events").NinchatMessageReceivedEvent | import("../types/events").NinchatMessageUpdatedEvent | import("../types/events").NinchatHistoryResultsEvent | import("../types/events").NinchatHistoryDiscardedEvent | import("../types/events").NinchatAccessFoundEvent | import("../types/events").NinchatAccessCreatedEvent | import("../types/events").NinchatMasterKeysFoundEvent | import("../types/events").NinchatMasterKeyCreatedEvent | import("../types/events").NinchatMasterKeyDeletedEvent | import("../types/events").NinchatFileFoundEvent | import("../types/events").NinchatTranscriptContentsEvent | import("../types/events").NinchatTranscriptDeletedEvent | import("../types/events").NinchatQueueTranscriptsFoundEvent | import("../types/events").NinchatQueueTranscriptsDeletedEvent | import("../types/events").NinchatTagCreatedEvent | import("../types/events").NinchatTagFoundEvent | import("../types/events").NinchatTagsFoundEvent | import("../types/events").NinchatTagUpdatedEvent | import("../types/events").NinchatTagDeletedEvent | import("../types/events").NinchatQueueStatsContentsEvent | import("../types/events").NinchatIceBegunEvent | import("../types/events").NinchatSearchResultsEvent | import("../types/events").NinchatPongEvent | import("../types/events").NinchatAckEvent | import("../types/events").NinchatCommentCreatedEvent | import("../types/events").NinchatAudienceRangeCommentContentsEvent | import("../types/events").NinchatAudienceRegisteredEvent | import("../types/events").NinchatSsoBegunEvent | import("../types/events").NinchatJitsiDiscoveredEvent | import("../types/events").NinchatQueueActivityEvent | {
|
|
4
|
+
event: import("../types/events").NinchatEvent;
|
|
5
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
6
|
+
} | (import("../types/events").NinchatEvent | {
|
|
7
|
+
event: import("../types/events").NinchatEvent;
|
|
8
|
+
payload: Partial<import("../types/messages").NinchatFileMessage & import("../types/messages").NinchatInfoUserMessage & import("../types/messages").NinchatInfoChannelMessage & import("../types/messages").NinchatInfoJoinMessage & import("../types/messages").NinchatInfoPartMessage & import("../types/messages").NinchatInfoMemberMessage & import("../types/messages").NinchatInfoTransferSourceMessage & import("../types/messages").NinchatInfoTransferTargetMessage & import("../types/messages").NinchatInfoAccessMessage & import("../types/messages").NinchatMetadataMessage & import("../types/messages").NinchatNoticeMessage & import("../types/messages").NinchatTextMessage & import("../types/messages").NinchatRTCAnswerMessage & import("../types/messages").NinchatRTCCallMessage & import("../types/messages").NinchatRTCIceCandidateMessage & import("../types/messages").NinchatRTCHangUpMessage & import("../types/messages").NinchatRTCOfferMessage & import("../types/messages").NinchatRTCPickUpMessage & import("../types/messages").NinchatUIActionMessage & import("../types/messages").NinchatUIComposeMessage & import("../types/messages").NinchatJsonMessage & import("../types/messages").NinchatWritingIndicatorMessage>;
|
|
9
|
+
})[], NinchatActionParams<NinchatCreateIdentityWithAuthResetAccessAction>, {
|
|
10
|
+
state?: unknown;
|
|
11
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
12
|
+
extra?: unknown;
|
|
13
|
+
rejectValue?: unknown;
|
|
14
|
+
serializedErrorType?: unknown;
|
|
15
|
+
pendingMeta?: unknown;
|
|
16
|
+
fulfilledMeta?: unknown;
|
|
17
|
+
rejectedMeta?: unknown;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=createIdentityWithAuthResetAccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createIdentityWithAuthResetAccess.d.ts","sourceRoot":"","sources":["../../../../../../src/api/action/createIdentityWithAuthResetAccess.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,8CAA8C,EACjD,MAAM,kBAAkB,CAAA;AACzB,OAAsB,EAClB,mBAAmB,EACtB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;EAa7C,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NinchatCreateSessionAction } from 'api/types/actions';
|
|
2
|
+
import { NinchatSessionCreatedEvent } from 'api/types/events';
|
|
3
|
+
import { RootState } from 'store';
|
|
4
|
+
export declare const createSession: import("@reduxjs/toolkit").AsyncThunk<NinchatSessionCreatedEvent, Partial<Omit<NinchatCreateSessionAction, "action" | "action_id"> & Partial<NinchatCreateSessionAction> & {
|
|
5
|
+
persist: boolean;
|
|
6
|
+
}>, {
|
|
7
|
+
state: RootState;
|
|
8
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction>;
|
|
9
|
+
extra?: unknown;
|
|
10
|
+
rejectValue?: unknown;
|
|
11
|
+
serializedErrorType?: unknown;
|
|
12
|
+
pendingMeta?: unknown;
|
|
13
|
+
fulfilledMeta?: unknown;
|
|
14
|
+
rejectedMeta?: unknown;
|
|
15
|
+
}>;
|
|
16
|
+
//# sourceMappingURL=createSession.d.ts.map
|