@formant/realtime-sdk 1.4.8 → 1.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/index.js +1 -2
  2. package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.d.ts +45 -45
  3. package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.js +1 -626
  4. package/dist/protos/api/signaling/v1/signaling_pb.d.ts +4 -0
  5. package/dist/protos/api/signaling/v1/signaling_pb.js +1 -3854
  6. package/dist/realtime-sdk/src/index.d.ts +6 -6
  7. package/dist/rtc-client/IHasRemoteDeviceId.d.ts +1 -1
  8. package/dist/rtc-client/RtcClient.d.ts +5 -5
  9. package/dist/rtc-client/RtcClientV1.d.ts +4 -4
  10. package/dist/rtc-client/RtcConnection.d.ts +2 -2
  11. package/dist/rtc-client/RtcConnectionV1.d.ts +1 -1
  12. package/dist/rtc-client/RtcSessionMetrics.d.ts +1 -1
  13. package/dist/rtc-client/gatherPingMetrics.d.ts +2 -2
  14. package/dist/rtc-client/models/IBinaryH264Message.d.ts +1 -1
  15. package/dist/rtc-client/models/IPingPayload.d.ts +2 -2
  16. package/dist/rtc-client/models/IRtcClientConfiguration.d.ts +2 -2
  17. package/dist/rtc-client/models/IRtcConnectionBaseConfiguration.d.ts +2 -2
  18. package/dist/rtc-client/models/IRtcConnectionRemoteConfiguration.d.ts +2 -2
  19. package/dist/rtc-client/models/IRtcPointCloud.d.ts +1 -1
  20. package/dist/rtc-client/models/IRtcStreamMessageHeader.d.ts +2 -2
  21. package/dist/rtc-client/models/IRtcStreamPayload.d.ts +16 -16
  22. package/dist/rtc-client/models/IRtcStreamsInfo.d.ts +1 -1
  23. package/dist/rtc-client/models-v1/IRtcClientConfigurationV1.d.ts +3 -3
  24. package/dist/rtc-client/models-v1/IRtcConnectionConfigurationV1.d.ts +3 -3
  25. package/dist/rtc-client/utils/createRtcStreamMessage.d.ts +1 -1
  26. package/dist/rtc-client/utils/encodeStreamId.d.ts +1 -1
  27. package/dist/rtc-client/utils/peerToRtcPeer.d.ts +1 -1
  28. package/dist/rtc-client/utils/streamIsEqual.d.ts +1 -1
  29. package/package.json +5 -7
  30. package/dist/client/AuthClient.d.ts +0 -42
  31. package/dist/client/Credentials.d.ts +0 -10
  32. package/dist/client/LanAgentClient.d.ts +0 -7
  33. package/dist/client/RtcSignalingClient.d.ts +0 -20
  34. package/dist/common/BaseClient.d.ts +0 -45
  35. package/dist/common/ConnectionError.d.ts +0 -6
  36. package/dist/common/FormantBaseClient.d.ts +0 -13
  37. package/dist/common/LogApiTransport.d.ts +0 -11
  38. package/dist/common/LogClient.d.ts +0 -6
  39. package/dist/common/LogReporter.d.ts +0 -6
  40. package/dist/common/LruCache.d.ts +0 -20
  41. package/dist/common/PromiseLruCache.d.ts +0 -11
  42. package/dist/common/ResponseError.d.ts +0 -11
  43. package/dist/common/ResponseHeadersError.d.ts +0 -7
  44. package/dist/common/StatsManager.d.ts +0 -39
  45. package/dist/common/StatsReporter.d.ts +0 -17
  46. package/dist/common/assertUnreachable.d.ts +0 -1
  47. package/dist/common/browser.d.ts +0 -2
  48. package/dist/common/collectErrors.d.ts +0 -1
  49. package/dist/common/config/index.d.ts +0 -24
  50. package/dist/common/defined.d.ts +0 -6
  51. package/dist/common/delay.d.ts +0 -1
  52. package/dist/common/errorConstants.d.ts +0 -7
  53. package/dist/common/errorToObject.d.ts +0 -16
  54. package/dist/common/errorToString.d.ts +0 -6
  55. package/dist/common/filterIceServers.d.ts +0 -8
  56. package/dist/common/instanceId.d.ts +0 -1
  57. package/dist/common/isErrorType.d.ts +0 -1
  58. package/dist/common/isObject.d.ts +0 -1
  59. package/dist/common/isValidTagString.d.ts +0 -3
  60. package/dist/common/logger.d.ts +0 -4
  61. package/dist/common/narrowError.d.ts +0 -1
  62. package/dist/common/objectMapValues.d.ts +0 -9
  63. package/dist/common/redact.d.ts +0 -6
  64. package/dist/common/setPromiseInterval.d.ts +0 -17
  65. package/dist/common/stats.d.ts +0 -2
  66. package/dist/common/toStringSafe.d.ts +0 -8
  67. package/dist/common/truncate.d.ts +0 -4
  68. package/dist/date-fns/parseIsoDate.d.ts +0 -1
  69. package/dist/index.js.LICENSE.txt +0 -19
  70. package/dist/model/AnnotationAreaType.d.ts +0 -2
  71. package/dist/model/AuditLogActionType.d.ts +0 -5
  72. package/dist/model/CognitoRegion.d.ts +0 -2
  73. package/dist/model/Feature.d.ts +0 -3
  74. package/dist/model/HealthStatus.d.ts +0 -2
  75. package/dist/model/HexRgbColor.d.ts +0 -1
  76. package/dist/model/IAdminSignupRequest.d.ts +0 -14
  77. package/dist/model/IAnnotationAreaTypeMap.d.ts +0 -4
  78. package/dist/model/IAudioChunk.d.ts +0 -5
  79. package/dist/model/IAuditLog.d.ts +0 -15
  80. package/dist/model/IAuthentication.d.ts +0 -8
  81. package/dist/model/IBaseEntity.d.ts +0 -7
  82. package/dist/model/IBattery.d.ts +0 -6
  83. package/dist/model/IBitset.d.ts +0 -9
  84. package/dist/model/IBoundingBox.d.ts +0 -6
  85. package/dist/model/IChallenge.d.ts +0 -7
  86. package/dist/model/ICheckSsoResult.d.ts +0 -5
  87. package/dist/model/IColorRGBA.d.ts +0 -6
  88. package/dist/model/ICompressedImage.d.ts +0 -3
  89. package/dist/model/ICreateServiceAccountResponse.d.ts +0 -5
  90. package/dist/model/IDeviceCredentials.d.ts +0 -9
  91. package/dist/model/IDictionary.d.ts +0 -3
  92. package/dist/model/IFile.d.ts +0 -6
  93. package/dist/model/IFilter.d.ts +0 -11
  94. package/dist/model/IGetFeaturesResponse.d.ts +0 -4
  95. package/dist/model/IGoal.d.ts +0 -5
  96. package/dist/model/IGoalID.d.ts +0 -3
  97. package/dist/model/IGoogleLoginRequest.d.ts +0 -4
  98. package/dist/model/IH264VideoFrame.d.ts +0 -5
  99. package/dist/model/IHealth.d.ts +0 -5
  100. package/dist/model/IImage.d.ts +0 -6
  101. package/dist/model/IImageAnnotation.d.ts +0 -9
  102. package/dist/model/IJointState.d.ts +0 -8
  103. package/dist/model/IJoy.d.ts +0 -4
  104. package/dist/model/IJsonString.d.ts +0 -3
  105. package/dist/model/IListResponse.d.ts +0 -9
  106. package/dist/model/ILocalization.d.ts +0 -14
  107. package/dist/model/ILocation.d.ts +0 -6
  108. package/dist/model/ILogLine.d.ts +0 -9
  109. package/dist/model/ILoginRequest.d.ts +0 -5
  110. package/dist/model/ILoginResult.d.ts +0 -7
  111. package/dist/model/IMap.d.ts +0 -10
  112. package/dist/model/IMarker3D.d.ts +0 -23
  113. package/dist/model/IMarker3DArray.d.ts +0 -4
  114. package/dist/model/IMetric.d.ts +0 -7
  115. package/dist/model/INumericSetEntry.d.ts +0 -5
  116. package/dist/model/IOdometry.d.ts +0 -7
  117. package/dist/model/IPath.d.ts +0 -7
  118. package/dist/model/IPoint.d.ts +0 -2
  119. package/dist/model/IPointCloud.d.ts +0 -6
  120. package/dist/model/IPoseWithCovariance.d.ts +0 -5
  121. package/dist/model/IPostLanRtcOfferRequest.d.ts +0 -3
  122. package/dist/model/IPostLanRtcOfferResponse.d.ts +0 -3
  123. package/dist/model/IQuaternion.d.ts +0 -6
  124. package/dist/model/IRequestToken.d.ts +0 -4
  125. package/dist/model/IRtcAddSignalsRequest.d.ts +0 -4
  126. package/dist/model/IRtcCapabilitySet.d.ts +0 -6
  127. package/dist/model/IRtcCreatePeerRequest.d.ts +0 -6
  128. package/dist/model/IRtcCreateSessionRequest.d.ts +0 -5
  129. package/dist/model/IRtcIceServer.d.ts +0 -5
  130. package/dist/model/IRtcInfo.d.ts +0 -7
  131. package/dist/model/IRtcPeer.d.ts +0 -11
  132. package/dist/model/IRtcPeerDescription.d.ts +0 -6
  133. package/dist/model/IRtcPortForwardingConfiguration.d.ts +0 -3
  134. package/dist/model/IRtcSession.d.ts +0 -12
  135. package/dist/model/IRtcSignal.d.ts +0 -3
  136. package/dist/model/IRtcStream.d.ts +0 -9
  137. package/dist/model/IRtcStreamCapability.d.ts +0 -6
  138. package/dist/model/IRtcStreamingConfiguration.d.ts +0 -4
  139. package/dist/model/IScopeFilter.d.ts +0 -6
  140. package/dist/model/IStat.d.ts +0 -21
  141. package/dist/model/IStreamTypeMap.d.ts +0 -27
  142. package/dist/model/ITagFilter.d.ts +0 -4
  143. package/dist/model/ITagSets.d.ts +0 -3
  144. package/dist/model/ITaggedEntity.d.ts +0 -5
  145. package/dist/model/ITags.d.ts +0 -2
  146. package/dist/model/ITransform.d.ts +0 -6
  147. package/dist/model/ITransformNode.d.ts +0 -8
  148. package/dist/model/ITwist.d.ts +0 -5
  149. package/dist/model/IUser.d.ts +0 -40
  150. package/dist/model/IUserScope.d.ts +0 -16
  151. package/dist/model/IValidation.d.ts +0 -3
  152. package/dist/model/IVector3.d.ts +0 -5
  153. package/dist/model/IVideo.d.ts +0 -7
  154. package/dist/model/IsoDate.d.ts +0 -1
  155. package/dist/model/LanguageType.d.ts +0 -2
  156. package/dist/model/LogLevel.d.ts +0 -2
  157. package/dist/model/Marker3DAction.d.ts +0 -2
  158. package/dist/model/Marker3DType.d.ts +0 -2
  159. package/dist/model/OrganizationPlan.d.ts +0 -2
  160. package/dist/model/RequireKeys.d.ts +0 -3
  161. package/dist/model/RtcConnectionStatus.d.ts +0 -2
  162. package/dist/model/RtcIceServerProtocol.d.ts +0 -2
  163. package/dist/model/RtcIceTransportPolicy.d.ts +0 -2
  164. package/dist/model/RtcSessionType.d.ts +0 -2
  165. package/dist/model/RtcStreamType.d.ts +0 -3
  166. package/dist/model/SmsOptInStatus.d.ts +0 -2
  167. package/dist/model/StreamType.d.ts +0 -2
  168. package/dist/model/Timeout.d.ts +0 -1
  169. package/dist/model/Timestamp.d.ts +0 -1
  170. package/dist/model/Uuid.d.ts +0 -1
  171. package/dist/model/VideoMimeType.d.ts +0 -2
  172. package/dist/model/auditLogActionTypes.d.ts +0 -1
  173. package/dist/model/bytes.d.ts +0 -9
  174. package/dist/model/cognitoRegions.d.ts +0 -1
  175. package/dist/model/duration.d.ts +0 -10
  176. package/dist/model/features.d.ts +0 -2
  177. package/dist/model/healthStatuses.d.ts +0 -5
  178. package/dist/model/languageTypes.d.ts +0 -1
  179. package/dist/model/logLevels.d.ts +0 -1
  180. package/dist/model/marker3DActions.d.ts +0 -1
  181. package/dist/model/marker3DTypes.d.ts +0 -1
  182. package/dist/model/organizationPlans.d.ts +0 -1
  183. package/dist/model/reservedTagValues.d.ts +0 -3
  184. package/dist/model/rtcConnectionStatuses.d.ts +0 -1
  185. package/dist/model/rtcIceServerProtocols.d.ts +0 -1
  186. package/dist/model/rtcIceTransportPolicies.d.ts +0 -1
  187. package/dist/model/rtcSessionTypes.d.ts +0 -1
  188. package/dist/model/rtcStreamTypes.d.ts +0 -32
  189. package/dist/model/smsOptInStatuses.d.ts +0 -1
  190. package/dist/model/userResources.d.ts +0 -1
  191. package/dist/model/videoMimeTypes.d.ts +0 -1
  192. package/dist/protos/api/signaling/v1/signaling.proto +0 -114
@@ -1,5 +0,0 @@
1
- export interface IRtcIceServer {
2
- urls: string[];
3
- username?: string;
4
- credential?: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { RtcIceServerProtocol } from "./RtcIceServerProtocol";
2
- import { RtcIceTransportPolicy } from "./RtcIceTransportPolicy";
3
- export interface IRtcInfo {
4
- rtcIceTransportPolicies?: RtcIceTransportPolicy[];
5
- rtcIceServerProtocol?: RtcIceServerProtocol;
6
- useAllServers?: boolean;
7
- }
@@ -1,11 +0,0 @@
1
- import { IRtcCapabilitySet } from "./IRtcCapabilitySet";
2
- import { IRtcStreamCapability } from "./IRtcStreamCapability";
3
- import { Uuid } from "./Uuid";
4
- export interface IRtcPeer {
5
- id: Uuid;
6
- organizationId: Uuid;
7
- deviceId?: Uuid;
8
- userId?: Uuid;
9
- capabilities: IRtcStreamCapability[];
10
- capabilitySet: IRtcCapabilitySet;
11
- }
@@ -1,6 +0,0 @@
1
- import { IRtcPeer } from "./IRtcPeer";
2
- import { IRtcSignal } from "./IRtcSignal";
3
- export interface IRtcPeerDescription {
4
- peer: IRtcPeer;
5
- signals: IRtcSignal[];
6
- }
@@ -1,3 +0,0 @@
1
- export interface IRtcPortForwardingConfiguration {
2
- ports?: number[] | null;
3
- }
@@ -1,12 +0,0 @@
1
- import { IRtcPeerDescription } from "./IRtcPeerDescription";
2
- import { IsoDate } from "./IsoDate";
3
- import { RtcSessionType } from "./RtcSessionType";
4
- import { Uuid } from "./Uuid";
5
- export interface IRtcSession {
6
- id: Uuid;
7
- organizationId: Uuid;
8
- offer: IRtcPeerDescription;
9
- answer: IRtcPeerDescription;
10
- created: IsoDate;
11
- sessionType?: RtcSessionType;
12
- }
@@ -1,3 +0,0 @@
1
- export interface IRtcSignal {
2
- payload: string;
3
- }
@@ -1,9 +0,0 @@
1
- import { RtcStreamType } from "./RtcStreamType";
2
- import { Uuid } from "./Uuid";
3
- export interface IRtcStream {
4
- entityId: Uuid;
5
- streamName: string;
6
- streamType: RtcStreamType;
7
- label?: string;
8
- buttonLabel?: string;
9
- }
@@ -1,6 +0,0 @@
1
- import { IRtcStream } from "./IRtcStream";
2
- export interface IRtcStreamCapability {
3
- stream: IRtcStream;
4
- send: boolean;
5
- receive: boolean;
6
- }
@@ -1,4 +0,0 @@
1
- import { IRtcStreamCapability } from "./IRtcStreamCapability";
2
- export interface IRtcStreamingConfiguration {
3
- streams: IRtcStreamCapability[];
4
- }
@@ -1,6 +0,0 @@
1
- import { IFilter } from "./IFilter";
2
- import { IsoDate } from "./IsoDate";
3
- export interface IScopeFilter extends IFilter {
4
- start?: IsoDate;
5
- end?: IsoDate;
6
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * An aggregation of metric samples collected during a sample period.
3
- */
4
- export interface IStat {
5
- /**
6
- * The minimum sampled value.
7
- */
8
- min: number;
9
- /**
10
- * The maximum sampled value.
11
- */
12
- max: number;
13
- /**
14
- * The sum of sampled values.
15
- */
16
- sum: number;
17
- /**
18
- * The count of sampled values.
19
- */
20
- count: number;
21
- }
@@ -1,27 +0,0 @@
1
- import { IBattery } from "./IBattery";
2
- import { IBitset } from "./IBitset";
3
- import { IFile } from "./IFile";
4
- import { IHealth } from "./IHealth";
5
- import { IImage } from "./IImage";
6
- import { ILocalization } from "./ILocalization";
7
- import { ILocation } from "./ILocation";
8
- import { INumericSetEntry } from "./INumericSetEntry";
9
- import { IPointCloud } from "./IPointCloud";
10
- import { ITransformNode } from "./ITransformNode";
11
- import { IVideo } from "./IVideo";
12
- export interface IStreamTypeMap {
13
- bitset: IBitset;
14
- localization: ILocalization;
15
- "point cloud": IPointCloud;
16
- location: ILocation;
17
- file: IFile;
18
- health: IHealth;
19
- "transform tree": ITransformNode;
20
- battery: IBattery;
21
- video: IVideo;
22
- "numeric set": INumericSetEntry[];
23
- json: string;
24
- image: IImage;
25
- numeric: number;
26
- text: string;
27
- }
@@ -1,4 +0,0 @@
1
- import { ITagSets } from "./ITagSets";
2
- export interface ITagFilter {
3
- tags?: ITagSets | ITagSets[];
4
- }
@@ -1,3 +0,0 @@
1
- export interface ITagSets {
2
- [key: string]: string[];
3
- }
@@ -1,5 +0,0 @@
1
- import { IBaseEntity } from "./IBaseEntity";
2
- import { ITags } from "./ITags";
3
- export interface ITaggedEntity extends IBaseEntity {
4
- tags: ITags;
5
- }
@@ -1,2 +0,0 @@
1
- import { IDictionary } from "./IDictionary";
2
- export type ITags = IDictionary;
@@ -1,6 +0,0 @@
1
- import { IQuaternion } from "./IQuaternion";
2
- import { IVector3 } from "./IVector3";
3
- export interface ITransform {
4
- translation: IVector3;
5
- rotation: IQuaternion;
6
- }
@@ -1,8 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface ITransformNode {
3
- name?: string;
4
- transform?: ITransform;
5
- children?: ITransformNode[];
6
- url?: string;
7
- size?: number;
8
- }
@@ -1,5 +0,0 @@
1
- import { IVector3 } from "./IVector3";
2
- export interface ITwist {
3
- linear: IVector3;
4
- angular: IVector3;
5
- }
@@ -1,40 +0,0 @@
1
- import { CognitoRegion } from "./CognitoRegion";
2
- import { IDictionary } from "./IDictionary";
3
- import { IsoDate } from "./IsoDate";
4
- import { ITaggedEntity } from "./ITaggedEntity";
5
- import { ITagSets } from "./ITagSets";
6
- import { IUserScope } from "./IUserScope";
7
- import { LanguageType } from "./LanguageType";
8
- import { SmsOptInStatus } from "./SmsOptInStatus";
9
- import { Uuid } from "./Uuid";
10
- export interface IUser extends ITaggedEntity {
11
- organizationId?: Uuid;
12
- accountId?: Uuid | null;
13
- roleId: Uuid | null;
14
- email?: string;
15
- externalUserId?: string | null;
16
- firstName?: string;
17
- lastName?: string;
18
- scope?: IUserScope | null;
19
- teamId?: Uuid | null;
20
- eventTriggerGroupId?: Uuid | null;
21
- phoneNumber?: string;
22
- enabled?: boolean;
23
- isOrganizationOwner?: boolean;
24
- termsAccepted?: string;
25
- lastLoggedIn?: IsoDate | null;
26
- passwordHash?: string | null;
27
- isSingleSignOn?: boolean;
28
- isServiceAccount?: boolean;
29
- smsOptInStatus?: SmsOptInStatus | null;
30
- region: CognitoRegion;
31
- jobTitle?: string;
32
- language?: LanguageType;
33
- units?: string;
34
- timezone?: string;
35
- allowCustomEmailConfiguration?: boolean;
36
- title?: string | null;
37
- description?: string | null;
38
- metadata?: IDictionary | null;
39
- grants?: ITagSets;
40
- }
@@ -1,16 +0,0 @@
1
- import { IScopeFilter } from "./IScopeFilter";
2
- import { RequireKeys } from "./RequireKeys";
3
- export interface IUserResourceScope {
4
- roles?: IScopeFilter;
5
- users?: IScopeFilter;
6
- teams?: IScopeFilter;
7
- devices?: IScopeFilter;
8
- fleets?: IScopeFilter;
9
- events?: IScopeFilter;
10
- views?: IScopeFilter;
11
- keyValue?: IScopeFilter;
12
- }
13
- export interface IUserScope extends IScopeFilter, IUserResourceScope {
14
- }
15
- export type IFullUserScope = IScopeFilter & RequireKeys<IUserResourceScope>;
16
- export declare const fullAccessUserScope: IFullUserScope;
@@ -1,3 +0,0 @@
1
- export interface IValidation {
2
- [key: string]: string[];
3
- }
@@ -1,5 +0,0 @@
1
- export interface IVector3 {
2
- x: number;
3
- y: number;
4
- z: number;
5
- }
@@ -1,7 +0,0 @@
1
- import { VideoMimeType } from "./VideoMimeType";
2
- export interface IVideo {
3
- url: string;
4
- size?: number;
5
- duration: number;
6
- mimeType: VideoMimeType;
7
- }
@@ -1 +0,0 @@
1
- export type IsoDate = string;
@@ -1,2 +0,0 @@
1
- import { languageTypes } from "./languageTypes";
2
- export type LanguageType = (typeof languageTypes)[number];
@@ -1,2 +0,0 @@
1
- import { logLevels } from "./logLevels";
2
- export type LogLevel = (typeof logLevels)[number];
@@ -1,2 +0,0 @@
1
- import { marker3DActions } from "./marker3DActions";
2
- export type Marker3DAction = (typeof marker3DActions)[number];
@@ -1,2 +0,0 @@
1
- import { marker3DTypes } from "./marker3DTypes";
2
- export type Marker3DType = (typeof marker3DTypes)[number];
@@ -1,2 +0,0 @@
1
- import { organizationPlans } from "./organizationPlans";
2
- export type OrganizationPlan = (typeof organizationPlans)[number];
@@ -1,3 +0,0 @@
1
- export type RequireKeys<T> = {
2
- [K in keyof Required<T>]: T[K];
3
- };
@@ -1,2 +0,0 @@
1
- import { rtcConnectionStatuses } from "./rtcConnectionStatuses";
2
- export type RtcConnectionStatus = (typeof rtcConnectionStatuses)[number];
@@ -1,2 +0,0 @@
1
- import { rtcIceServerProtocols } from "./rtcIceServerProtocols";
2
- export type RtcIceServerProtocol = (typeof rtcIceServerProtocols)[number];
@@ -1,2 +0,0 @@
1
- import { rtcIceTransportPolicies } from "./rtcIceTransportPolicies";
2
- export type RtcIceTransportPolicy = (typeof rtcIceTransportPolicies)[number];
@@ -1,2 +0,0 @@
1
- import { rtcSessionTypes } from "./rtcSessionTypes";
2
- export type RtcSessionType = (typeof rtcSessionTypes)[number];
@@ -1,3 +0,0 @@
1
- import { rtcImageStreamTypes, rtcStreamTypes } from "./rtcStreamTypes";
2
- export type RtcStreamType = (typeof rtcStreamTypes)[number];
3
- export type RtcImageStreamType = (typeof rtcImageStreamTypes)[number];
@@ -1,2 +0,0 @@
1
- import { smsOptInStatuses } from "./smsOptInStatuses";
2
- export type SmsOptInStatus = (typeof smsOptInStatuses)[number];
@@ -1,2 +0,0 @@
1
- import { IStreamTypeMap } from "./IStreamTypeMap";
2
- export type StreamType = keyof IStreamTypeMap;
@@ -1 +0,0 @@
1
- export type Timeout = ReturnType<typeof setTimeout>;
@@ -1 +0,0 @@
1
- export type Timestamp = number;
@@ -1 +0,0 @@
1
- export type Uuid = string;
@@ -1,2 +0,0 @@
1
- import { videoMimeTypes } from "./videoMimeTypes";
2
- export type VideoMimeType = (typeof videoMimeTypes)[number];
@@ -1 +0,0 @@
1
- export declare const auditLogActionTypes: readonly ["create", "update", "delete", "provision", "unprovision", "login", "sso-login", "forgot-password"];
@@ -1,9 +0,0 @@
1
- export declare const bytes: {
2
- readonly byte: number;
3
- readonly kilobyte: number;
4
- readonly kibibyte: number;
5
- readonly megabyte: number;
6
- readonly mebibyte: number;
7
- readonly gigabyte: number;
8
- readonly gibibyte: number;
9
- };
@@ -1 +0,0 @@
1
- export declare const cognitoRegions: readonly ["AMER", "EMEA", "JAPAC"];
@@ -1,10 +0,0 @@
1
- export declare const duration: {
2
- readonly millisecond: 1;
3
- readonly second: 1000;
4
- readonly minute: number;
5
- readonly hour: number;
6
- readonly day: number;
7
- readonly week: number;
8
- readonly month: number;
9
- readonly year: number;
10
- };
@@ -1,2 +0,0 @@
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", "annotations", "observability", "diagnostics", "advancedConfiguration", "dataExport", "share", "adapters", "s3Export", "fileStorage", "roleViewer", "teams", "schedules", "teleop2.0", "billing", "taskSummaries"];
@@ -1,5 +0,0 @@
1
- export declare const healthStatuses: readonly ["unknown", "operational", "offline", "error"];
2
- type HealthStatusValues = (typeof healthStatuses)[number];
3
- export declare function healthStatusToOrdinal(a: HealthStatusValues): number;
4
- export declare function ordinalToHealthStatus(a: number): HealthStatusValues;
5
- export {};
@@ -1 +0,0 @@
1
- export declare const languageTypes: readonly ["en-US", "fr-CA"];
@@ -1 +0,0 @@
1
- export declare const logLevels: readonly ["error", "warn", "info", "debug"];
@@ -1 +0,0 @@
1
- export declare const marker3DActions: readonly ["add", "modify", "delete", "delete_all"];
@@ -1 +0,0 @@
1
- export declare const marker3DTypes: readonly ["arrow", "cube", "sphere", "cylinder", "line_strip", "line_list", "cube_list", "sphere_list", "points", "text_view_facing", "mesh_resource", "triangle_list"];
@@ -1 +0,0 @@
1
- export declare const organizationPlans: readonly ["self-serve", "paid"];
@@ -1,3 +0,0 @@
1
- export declare const anyTagValue = "*";
2
- export declare const notTagKey = "";
3
- export declare const reservedTagValues: readonly ["*", ""];
@@ -1 +0,0 @@
1
- export declare const rtcConnectionStatuses: readonly ["disconnected", "connecting", "connected"];
@@ -1 +0,0 @@
1
- export declare const rtcIceServerProtocols: readonly ["udp", "tcp"];
@@ -1 +0,0 @@
1
- export declare const rtcIceTransportPolicies: readonly ["stun", "turn"];
@@ -1 +0,0 @@
1
- export declare const rtcSessionTypes: readonly ["teleop", "port-forwarding", "observe"];
@@ -1,32 +0,0 @@
1
- export declare const rtcPingStreamType: "ping";
2
- export declare const rtcPongStreamType: "pong";
3
- export declare const rtcPingV2StreamType: "ping-v2";
4
- export declare const rtcPongV2StreamType: "pong-v2";
5
- export declare const rtcStreamControlStreamType: "stream-control";
6
- export declare const rtcStreamsInfoStreamType: "streams-info";
7
- export declare const rtcAgentInfoStreamType: "agent-info";
8
- export declare const rtcNumericStreamType: "numeric";
9
- export declare const rtcBooleanStreamType: "boolean";
10
- export declare const rtcBitsetStreamType: "bitset";
11
- export declare const rtcTwistStreamType: "twist";
12
- export declare const rtcCompressedImageStreamType: "compressed-image";
13
- export declare const rtcH264VideoFrameStreamType: "h264-video-frame";
14
- export declare const rtcVideoMetadataStreamType: "video-metadata";
15
- export declare const rtcAudioChunkStreamType: "audio-chunk";
16
- export declare const rtcPoseStreamType: "pose";
17
- export declare const rtcGoalIDStreamType: "goal-id";
18
- export declare const rtcJointStateStreamType: "joint-state";
19
- export declare const rtcPoseWithCovarianceStreamType: "pose-with-covariance";
20
- export declare const rtcPointCloudStreamType: "point-cloud";
21
- export declare const rtcMarkerArrayStreamType: "marker-array";
22
- export declare const rtcPointStreamType: "point";
23
- export declare const rtcJsonStringType: "json-string";
24
- export declare const rtcOdometryStreamType: "odometry";
25
- export declare const rtcJoyStreamType: "joy";
26
- export declare const rtcTextStreamType: "text";
27
- export declare const rtcMapStreamType: "map";
28
- export declare const rtcLocationStreamType: "location";
29
- export declare const rtcNumericSetStreamType: "numeric-set";
30
- export declare const rtcStreamTypes: readonly ["ping", "pong", "ping-v2", "pong-v2", "stream-control", "streams-info", "agent-info", "numeric", "boolean", "bitset", "twist", "compressed-image", "h264-video-frame", "audio-chunk", "pose", "goal-id", "joint-state", "pose-with-covariance", "point-cloud", "point", "marker-array", "json-string", "odometry", "joy", "text", "map", "location", "numeric-set"];
31
- export declare const rtcImageStreamTypes: string[];
32
- export declare const rtcSystemStreamTypes: string[];
@@ -1 +0,0 @@
1
- export declare const smsOptInStatuses: readonly ["OPT_IN", "OPT_OUT"];
@@ -1 +0,0 @@
1
- export declare const userResources: readonly ["roles", "users", "teams", "devices", "fleets", "events", "views", "keyValue"];
@@ -1 +0,0 @@
1
- export declare const videoMimeTypes: readonly ["video/mp4"];
@@ -1,114 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package v1.signaling.api;
4
-
5
- import "google/protobuf/wrappers.proto";
6
- option go_package = "github.com/FormantIO/genproto/go/v1/api/signaling";
7
-
8
- service Signaling {
9
- rpc GetHealth(GetHealthRequest)
10
- returns (GetHealthResponse) {}
11
- rpc CreatePeer(CreatePeerRequest)
12
- returns (CreatePeerResponse) {}
13
- rpc DeletePeer(DeletePeerRequest)
14
- returns (DeletePeerResponse) {}
15
- rpc RefreshPeer(RefreshPeerRequest)
16
- returns (RefreshPeerResponse) {}
17
- rpc GetPeers(GetPeersRequest)
18
- returns (GetPeersResponse) {}
19
- rpc GetIceServers(GetIceServersRequest)
20
- returns (GetIceServersResponse) {}
21
- rpc SendSignal(SendSignalRequest)
22
- returns (SendSignalResponse) {}
23
- rpc ReceiveSignalStream(ReceiveSignalStreamRequest)
24
- returns (stream ReceiveSignalStreamResponse) {}
25
- rpc GetSessions(GetSessionsRequest)
26
- returns (GetSessionsResponse) {}
27
- }
28
-
29
- message Peer {
30
- string peer_id = 1;
31
- string organization_id = 2;
32
- google.protobuf.StringValue user_id = 3;
33
- google.protobuf.StringValue device_id = 4;
34
- repeated string session_ids = 5;
35
- google.protobuf.Int64Value peer_created_timestamp = 6; // No value means it's for a new peer
36
- }
37
-
38
- enum SessionType {
39
- UNKNOWN = 0;
40
- TELEOP = 1;
41
- PORT_FORWARD = 2;
42
- OBSERVE = 3;
43
- HEADLESS = 4;
44
- }
45
-
46
- message Signal {
47
- google.protobuf.StringValue session_id = 1; // No value means it's for a new session
48
- google.protobuf.Int64Value session_created_timestamp = 2; // No value means it's for a new session
49
- string sender_id = 3;
50
- string receiver_id = 4;
51
- string payload = 5;
52
- string ice_servers = 6; // JSON-encoded RTCIceServer list
53
- string ice_transport_policy = 7;
54
- SessionType session_type = 8;
55
- }
56
-
57
- message RtcSession {
58
- string session_id = 1;
59
- string offer_peer_id = 2;
60
- string answer_peer_id = 3;
61
- string organization_id = 4;
62
- string session_type = 5;
63
- }
64
-
65
- message GetSessionsRequest {
66
- }
67
- message GetSessionsResponse {
68
- repeated RtcSession sessions = 1;
69
- }
70
-
71
- message GetHealthRequest {}
72
- message GetHealthResponse {
73
- string version = 1;
74
- }
75
-
76
- message CreatePeerRequest {}
77
- message CreatePeerResponse {
78
- Peer peer = 1;
79
- }
80
-
81
- message DeletePeerRequest {
82
- string peer_id = 1;
83
- }
84
- message DeletePeerResponse {}
85
-
86
- message RefreshPeerRequest {
87
- Peer peer = 1;
88
- }
89
- message RefreshPeerResponse {}
90
-
91
- message GetPeersRequest {}
92
- message GetPeersResponse {
93
- repeated Peer peers = 1;
94
- }
95
-
96
- message GetIceServersRequest {}
97
- message GetIceServersResponse {
98
- string ice_servers = 1; // JSON-encoded RTCIceServer list
99
- }
100
-
101
- message SendSignalRequest {
102
- Signal signal = 1;
103
- }
104
- message SendSignalResponse {
105
- google.protobuf.StringValue session_id = 1;
106
- google.protobuf.Int64Value session_created_timestamp = 2;
107
- }
108
-
109
- message ReceiveSignalStreamRequest {
110
- string peer_id = 1;
111
- }
112
- message ReceiveSignalStreamResponse {
113
- Signal signal = 1;
114
- }