@formant/realtime-sdk 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/AuthClient.d.ts +2 -1
- package/dist/common/BaseClient.d.ts +5 -1
- package/dist/common/toStringSafe.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/model/ITaggedEntity.d.ts +5 -0
- package/dist/model/IUser.d.ts +2 -4
- package/dist/model/features.d.ts +1 -1
- package/dist/model/rtcIceTransportPolicies.d.ts +1 -1
- package/dist/protos/api/signaling/v1/signaling.proto +1 -0
- package/dist/protos/api/signaling/v1/signaling_pb.d.ts +1 -0
- package/dist/protos/api/signaling/v1/signaling_pb.js +2 -1
- package/dist/rtc-client/RtcClient.d.ts +2 -1
- package/dist/rtc-client/models/IRtcConnectConfiguration.d.ts +1 -1
- package/package.json +1 -1
package/dist/model/IUser.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { IBaseEntity } from "./IBaseEntity";
|
|
2
1
|
import { IsoDate } from "./IsoDate";
|
|
3
|
-
import {
|
|
2
|
+
import { ITaggedEntity } from "./ITaggedEntity";
|
|
4
3
|
import { Uuid } from "./Uuid";
|
|
5
|
-
export interface IUser extends
|
|
4
|
+
export interface IUser extends ITaggedEntity {
|
|
6
5
|
organizationId?: Uuid;
|
|
7
6
|
email: string;
|
|
8
7
|
firstName: string;
|
|
9
8
|
lastName: string;
|
|
10
9
|
roleId: Uuid;
|
|
11
10
|
teamId?: Uuid | null;
|
|
12
|
-
tags: ITags;
|
|
13
11
|
phoneNumber?: string;
|
|
14
12
|
enabled?: boolean;
|
|
15
13
|
isOrganizationOwner?: boolean;
|
package/dist/model/features.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const agentFeatures: readonly ["telemetry", "internalTelemetry", "teleop", "ssh", "customEvents", "triggeredEvents", "portForwarding", "commands", "interventions", "onDemand", "appConfig", "blobStorage"];
|
|
2
|
-
export declare const features: readonly ["telemetry", "internalTelemetry", "teleop", "ssh", "customEvents", "triggeredEvents", "portForwarding", "commands", "interventions", "onDemand", "appConfig", "blobStorage", "events", "analytics", "annotations", "observability", "diagnostics", "advancedConfiguration", "dataExport", "onDemand", "share", "adapters", "s3Export", "fileStorage", "roleViewer", "teams"];
|
|
2
|
+
export declare const features: readonly ["telemetry", "internalTelemetry", "teleop", "ssh", "customEvents", "triggeredEvents", "portForwarding", "commands", "interventions", "onDemand", "appConfig", "blobStorage", "events", "analytics", "annotations", "observability", "diagnostics", "advancedConfiguration", "dataExport", "onDemand", "share", "adapters", "s3Export", "fileStorage", "roleViewer", "teams", "schedules"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const rtcIceTransportPolicies: readonly ["
|
|
1
|
+
export declare const rtcIceTransportPolicies: readonly ["stun", "turn"];
|
|
@@ -2988,7 +2988,8 @@ proto.v1.signaling.api.ReceiveSignalStreamResponse.prototype.hasSignal = functio
|
|
|
2988
2988
|
proto.v1.signaling.api.SessionType = {
|
|
2989
2989
|
UNKNOWN: 0,
|
|
2990
2990
|
TELEOP: 1,
|
|
2991
|
-
PORT_FORWARD: 2
|
|
2991
|
+
PORT_FORWARD: 2,
|
|
2992
|
+
OBSERVE: 3
|
|
2992
2993
|
};
|
|
2993
2994
|
|
|
2994
2995
|
goog.object.extend(exports, proto.v1.signaling.api);
|
|
@@ -2,6 +2,7 @@ import { IRtcPeer } from "../model/IRtcPeer";
|
|
|
2
2
|
import { RtcConnectionStatus } from "../model/RtcConnectionStatus";
|
|
3
3
|
import { Timestamp } from "../model/Timestamp";
|
|
4
4
|
import { Uuid } from "../model/Uuid";
|
|
5
|
+
import { SessionType } from "../protos/api/signaling/v1/signaling_pb";
|
|
5
6
|
import { IRtcClientConfiguration } from "./models/IRtcClientConfiguration";
|
|
6
7
|
import { IRtcConnectConfiguration } from "./models/IRtcConnectConfiguration";
|
|
7
8
|
import { IRtcConnectionStatsInfo } from "./models/IRtcConnectionStatsInfo";
|
|
@@ -36,7 +37,7 @@ export declare class RtcClient {
|
|
|
36
37
|
* Connects to a peer given its id.
|
|
37
38
|
* Returns the id of the session, if one is created.
|
|
38
39
|
*/
|
|
39
|
-
connect(remotePeerId: Uuid, config?: IRtcConnectConfiguration): Promise<Uuid | undefined>;
|
|
40
|
+
connect(remotePeerId: Uuid, config?: IRtcConnectConfiguration, sessionType?: SessionType): Promise<Uuid | undefined>;
|
|
40
41
|
connectLan(agentEndpoint: string): Promise<Uuid | false>;
|
|
41
42
|
getConnections(): RtcConnection[];
|
|
42
43
|
createCustomDataChannel(remotePeerId: Uuid, channelName: string, init: RTCDataChannelInit, isBinary: boolean, listener: (peerId: Uuid, channel: RTCDataChannel) => void): () => void;
|
|
@@ -2,5 +2,5 @@ import { RtcIceServerProtocol } from "../../model/RtcIceServerProtocol";
|
|
|
2
2
|
import { RtcIceTransportPolicy } from "../../model/RtcIceTransportPolicy";
|
|
3
3
|
export interface IRtcConnectConfiguration {
|
|
4
4
|
rtcIceServerProtocol?: RtcIceServerProtocol;
|
|
5
|
-
|
|
5
|
+
rtcIceTransportPolicies?: RtcIceTransportPolicy[];
|
|
6
6
|
}
|