@giosg/pub-sdk
Advanced tools
Comparing version 0.31.0 to 0.32.0
@@ -7,2 +7,5 @@ # Changelog | ||
## 0.32.0 | ||
- Change `Conference` interface. | ||
- Remove `ConferenceParticipant` interface. | ||
## 0.31.0 | ||
@@ -9,0 +12,0 @@ - Added `User` interface. |
@@ -280,12 +280,7 @@ import { UserUid, OrganizationUid } from "@giosg/types"; | ||
} | ||
export interface ConferenceParticipant { | ||
jid: string; | ||
display_name: string; | ||
email: string; | ||
} | ||
export interface Conference { | ||
id: PubChannelUid; | ||
participants: ConferenceParticipant[]; | ||
channel_id: PubChannelUid; | ||
participant_count: number; | ||
} | ||
export {}; | ||
//# sourceMappingURL=groupchats.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallLeaveMessage, PubSystemMessage, PubDeletedMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubCallRequestPayload, PubCallLeavePayload, PubUserMessagePayload, PubSystemMessagePayload, PubMessagePayload, ChannelPayload, TextChunk, VoiceChunk, FileChunk, ImageChunk, LinkChunk, VideoChunk, ChunkV2, ChunkV3, ExternalViewV1, PubMessageBody, PubMessageBodyV1, PubMessageBodyV2, PubMessageBodyV3, CallRequestBody, ConferenceTokenContext, ConferenceTokenResponse, ConferenceParticipant, Conference, } from "./groupchats"; | ||
export { PubChannel, PubChannelMember, PubMessage, PubReportingMessage, PubReportingBody, PubUserMessage, PubCallLeaveMessage, PubSystemMessage, PubDeletedMessage, PubCallRequestMessage, DMChannelPayload, PubChannelUid, PubChannelMemberUid, PubMessageUid, NotificationSettingsUid, NotificationMode, NotificationSettings, NotificationSettingsPayload, PubCallRequestPayload, PubCallLeavePayload, PubUserMessagePayload, PubSystemMessagePayload, PubMessagePayload, ChannelPayload, TextChunk, VoiceChunk, FileChunk, ImageChunk, LinkChunk, VideoChunk, ChunkV2, ChunkV3, ExternalViewV1, PubMessageBody, PubMessageBodyV1, PubMessageBodyV2, PubMessageBodyV3, CallRequestBody, ConferenceTokenContext, ConferenceTokenResponse, Conference, } from "./groupchats"; | ||
export { BasePubSdk } from "./sdk"; | ||
//# sourceMappingURL=index.d.ts.map |
import { IRealtimeSdk } from "@giosg/realtime-sdk"; | ||
import { Observable } from "rxjs"; | ||
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsPayload, ConferenceTokenResponse, ConferenceTokenContext, ConferenceParticipant, Conference } from "./groupchats"; | ||
import { PubChannel, DMChannelPayload, PubMessage, PubChannelMember, PubChannelUid, PubMessagePayload, ChannelPayload, PubMessageUid, NotificationSettings, NotificationSettingsPayload, ConferenceTokenResponse, ConferenceTokenContext, Conference } from "./groupchats"; | ||
import { OrganizationUid, UserUid } from "@giosg/types"; | ||
@@ -32,5 +32,4 @@ export declare class BasePubSdk { | ||
getConferenceToken(orgId: OrganizationUid, channelId: PubChannelUid, payload: ConferenceTokenContext): Promise<ConferenceTokenResponse>; | ||
getConferenceParticipants(orgId: OrganizationUid, channelId: PubChannelUid): Observable<Observable<ConferenceParticipant>>; | ||
getConferences(orgId: OrganizationUid, userId: UserUid): Observable<Observable<Conference>>; | ||
} | ||
//# sourceMappingURL=sdk.d.ts.map |
@@ -146,6 +146,2 @@ "use strict"; | ||
} | ||
getConferenceParticipants(orgId, channelId) { | ||
const apiUrl = `/api/pub/v1/orgs/${orgId}/channels/${channelId}/conference/participants`; | ||
return this.sdk.streamCollection(apiUrl); | ||
} | ||
getConferences(orgId, userId) { | ||
@@ -152,0 +148,0 @@ const apiUrl = `/api/pub/v1/orgs/${orgId}/users/${userId}/conferences`; |
{ | ||
"name": "@giosg/pub-sdk", | ||
"version": "0.31.0", | ||
"version": "0.32.0", | ||
"description": "TypeScript interfaces for Giosg Pub", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
38701
479