@formant/realtime-sdk 1.4.9 → 1.4.11

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 (194) 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 +8 -6
  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 +6 -2
  17. package/dist/rtc-client/models/IRtcConnectionBaseConfiguration.d.ts +4 -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 +6 -8
  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
  193. package/dist/protos/index.d.ts +0 -3
  194. package/dist/protos/index.js +0 -14
@@ -1,24 +0,0 @@
1
- export declare const workflowGoogleDriveClientId: string;
2
- export declare const environment: string;
3
- export declare const app: string;
4
- export declare const appPath: string;
5
- export declare const apiEndpoint: string;
6
- export declare const namespace: string;
7
- export declare const version: string;
8
- export declare const buildTag: string;
9
- export declare const gitCommit: string;
10
- export declare const enableSentry: boolean;
11
- export declare const enableSentryProfiling: boolean;
12
- export declare const sentryDsn: string;
13
- export declare const logLevel: string;
14
- export declare const logJson: boolean;
15
- export declare const logToConsole: boolean;
16
- export declare const stableAgentVersion: string;
17
- export declare const logApiEndpoint: string | undefined;
18
- export declare const jestWorkerId: string | undefined;
19
- export declare const sheetExportMaxRowCount: number;
20
- export declare const logToFile: boolean;
21
- export declare const enableSelfServe: boolean;
22
- export type UsageMetricsAggregateLevel = "day" | "hour" | "minute";
23
- export declare const aggregateLevel: UsageMetricsAggregateLevel;
24
- export declare const auditLogsEnabled: boolean;
@@ -1,6 +0,0 @@
1
- export declare function assertsDefined<T>(value: T | undefined, message?: string): asserts value is T;
2
- export declare function assertsNotNull<T>(value: T | null, message?: string): asserts value is T;
3
- export declare function assertsDefinedAndNotNull<T>(value: T | undefined | null, message?: string): asserts value is T;
4
- export declare function defined<T>(value: T | undefined): T;
5
- export declare function notNull<T>(value: T | null): T;
6
- export declare function definedAndNotNull<T>(value: T | undefined | null): T;
@@ -1 +0,0 @@
1
- export declare const delay: (time?: number) => Promise<unknown>;
@@ -1,7 +0,0 @@
1
- export declare const temporaryPasswordExpired = "temporary password expired";
2
- export declare const peerDoesNotExist = "peer does not exist";
3
- export declare const deviceDisabled = "device disabled";
4
- export declare const tagRestricted = "missing tag(s) to access this resource";
5
- export declare const groupNameConflict = "group name already exists";
6
- export declare const groupTagConflict = "group tag key and value already exists";
7
- export declare const tooManyEventsToUpdate = "too many events to update";
@@ -1,16 +0,0 @@
1
- /**
2
- * Convert an error object to plain javascript object, including any custom properties.
3
- */
4
- export declare function errorToObject(error: any, options?: {
5
- redacted?: boolean;
6
- }): {
7
- message: string;
8
- name?: undefined;
9
- stack?: undefined;
10
- meta?: undefined;
11
- } | {
12
- name: any;
13
- message: any;
14
- stack: any;
15
- meta: any;
16
- };
@@ -1,6 +0,0 @@
1
- /**
2
- * Serialize an error object to a string, including any custom properties.
3
- */
4
- export declare function errorToString(error: any, options?: {
5
- redacted?: boolean;
6
- }): string;
@@ -1,8 +0,0 @@
1
- import { IRtcIceServer } from "../model/IRtcIceServer";
2
- import { IRtcInfo } from "../model/IRtcInfo";
3
- import { RtcIceServerProtocol } from "../model/RtcIceServerProtocol";
4
- import { RtcIceTransportPolicy } from "../model/RtcIceTransportPolicy";
5
- import { Uuid } from "../model/Uuid";
6
- export declare function filterIceServers(iceServers: IRtcIceServer[], rtcInfo: IRtcInfo | undefined, organizationId?: Uuid): IRtcIceServer[];
7
- export declare function isPolicy(url: string, policy: RtcIceTransportPolicy): boolean;
8
- export declare function isProtocol(url: string, protocol: RtcIceServerProtocol): boolean;
@@ -1 +0,0 @@
1
- export declare const instanceId: string;
@@ -1 +0,0 @@
1
- export declare function isErrorType<T extends Error>(error: unknown, constructor: new (...x: any[]) => T, predicate?: (t: T) => boolean): error is T;
@@ -1 +0,0 @@
1
- export declare function isObject(value: any): boolean;
@@ -1,3 +0,0 @@
1
- export declare function isValidTagString(keyOrValue: string, config?: {
2
- allowStar?: boolean;
3
- }): boolean;
@@ -1,4 +0,0 @@
1
- import { IAuditLog } from "../model/IAuditLog";
2
- export declare function setLogMetadata(key: string, value: string): void;
3
- export declare const logger: import("winston").Logger;
4
- export declare function audit(auditLog: IAuditLog): void;
@@ -1 +0,0 @@
1
- export declare function narrowError<T extends Error>(error: unknown, constructor: new (...x: any[]) => T, predicate?: (t: T) => boolean): T;
@@ -1,9 +0,0 @@
1
- /**
2
- * Creates an object with the same keys as obj and values
3
- * produced by mapping each keyed property with mapF.
4
- */
5
- export declare function objectMapValues<T1, T2>(obj: {
6
- [key: string]: T1;
7
- }, mapF: (value: T1) => T2): {
8
- [key: string]: T2;
9
- };
@@ -1,6 +0,0 @@
1
- export declare const redactKeys: string[];
2
- /**
3
- * Returns a copy of an object with sensitive information redacted.
4
- */
5
- export declare function redact(object: unknown, visited?: WeakSet<any>): any;
6
- export declare const redactStringifiedFields: (offerSignal: any) => Record<any, any>;
@@ -1,17 +0,0 @@
1
- export interface IPromiseIntervalOptions {
2
- func: () => Promise<void>;
3
- delay: number;
4
- immediate?: boolean;
5
- }
6
- export interface IPromiseIntervalHandle {
7
- stop(): Promise<void>;
8
- pending(): Promise<void>;
9
- }
10
- /**
11
- * Runs callback function f periodically.
12
- * The next call is queued only after the
13
- * promise returned by f is resolved.
14
- *
15
- * Returns a function that stops execution if invoked.
16
- */
17
- export declare function setPromiseInterval({ func, delay, immediate, }: IPromiseIntervalOptions): IPromiseIntervalHandle;
@@ -1,2 +0,0 @@
1
- import { StatsManager } from "./StatsManager";
2
- export declare const stats: StatsManager;
@@ -1,8 +0,0 @@
1
- /**
2
- * Safely stringify input.
3
- * Similar to `JSON.stringify` but
4
- * doesn't throw an error if input includes circular properties.
5
- *
6
- * Warning: output is not guaranteed to be a valid JSON string.
7
- */
8
- export declare function toStringSafe(input: any): string;
@@ -1,4 +0,0 @@
1
- export declare function truncate(message: string, options?: {
2
- maxMessageLength?: number;
3
- truncatedMessageEndLength?: number;
4
- }): string;
@@ -1 +0,0 @@
1
- export declare function parseIsoDate(timestamp: string): Date;
@@ -1,19 +0,0 @@
1
- /*!
2
- * The buffer module from node.js, for the browser.
3
- *
4
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
5
- * @license MIT
6
- */
7
-
8
- /*!
9
- * The buffer module from node.js, for the browser.
10
- *
11
- * @author Feross Aboukhadijeh <https://feross.org>
12
- * @license MIT
13
- */
14
-
15
- /*! https://mths.be/punycode v1.4.1 by @mathias */
16
-
17
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
18
-
19
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -1,2 +0,0 @@
1
- import { IAnnotationAreaTypeMap } from "./IAnnotationAreaTypeMap";
2
- export type AnnotationAreaType = keyof IAnnotationAreaTypeMap;
@@ -1,5 +0,0 @@
1
- import { auditLogActionTypes } from "./auditLogActionTypes";
2
- export type AuditLogActionType = (typeof auditLogActionTypes)[number];
3
- export declare const httpMethodToAuditLogTypeMap: {
4
- [httpMethod: string]: AuditLogActionType;
5
- };
@@ -1,2 +0,0 @@
1
- import { cognitoRegions } from "./cognitoRegions";
2
- export type CognitoRegion = (typeof cognitoRegions)[number];
@@ -1,3 +0,0 @@
1
- import { agentFeatures, features } from "./features";
2
- export type Feature = (typeof features)[number];
3
- export type AgentFeature = (typeof agentFeatures)[number];
@@ -1,2 +0,0 @@
1
- import { healthStatuses } from "./healthStatuses";
2
- export type HealthStatus = (typeof healthStatuses)[number];
@@ -1 +0,0 @@
1
- export type HexRgbColor = string;
@@ -1,14 +0,0 @@
1
- import { IsoDate } from "./IsoDate";
2
- import { OrganizationPlan } from "./OrganizationPlan";
3
- export interface IAdminSignupRequest {
4
- email: string;
5
- password?: string;
6
- firstName: string;
7
- lastName: string;
8
- organizationName?: string;
9
- organizationPlan?: OrganizationPlan;
10
- stripeBillingEnabled?: boolean;
11
- stripeSubscriptionEnabled?: boolean;
12
- isSingleSignOn?: boolean;
13
- trialPeriodEnd?: IsoDate | null;
14
- }
@@ -1,4 +0,0 @@
1
- import { IBoundingBox } from "./IBoundingBox";
2
- export interface IAnnotationAreaTypeMap {
3
- "bounding box": IBoundingBox;
4
- }
@@ -1,5 +0,0 @@
1
- export interface IAudioChunk {
2
- index: number;
3
- format: string;
4
- chunk_data: string;
5
- }
@@ -1,15 +0,0 @@
1
- import { AuditLogActionType } from "./AuditLogActionType";
2
- import { Uuid } from "./Uuid";
3
- export interface IAuditLog {
4
- traceId?: Uuid;
5
- organizationId: Uuid;
6
- userId?: Uuid;
7
- deviceId?: Uuid;
8
- impersonatorUserId?: Uuid;
9
- action: AuditLogActionType;
10
- statusOk: boolean;
11
- entityName: string;
12
- entityId: Uuid;
13
- entity?: any;
14
- lastFiveDigitsPhoneNumber?: string;
15
- }
@@ -1,8 +0,0 @@
1
- import { Uuid } from "./Uuid";
2
- export interface IAuthentication {
3
- accessToken: string;
4
- refreshToken?: string;
5
- organizationId: Uuid;
6
- userId: Uuid;
7
- isSuperuser?: boolean;
8
- }
@@ -1,7 +0,0 @@
1
- import { IsoDate } from "./IsoDate";
2
- import { Uuid } from "./Uuid";
3
- export interface IBaseEntity {
4
- id?: Uuid;
5
- createdAt?: IsoDate;
6
- updatedAt?: IsoDate;
7
- }
@@ -1,6 +0,0 @@
1
- export interface IBattery {
2
- percentage: number;
3
- voltage?: number;
4
- current?: number;
5
- charge?: number;
6
- }
@@ -1,9 +0,0 @@
1
- export interface IBitset {
2
- keys: string[];
3
- values: boolean[];
4
- aggregateData?: {
5
- key: string;
6
- trueCount: number;
7
- falseCount: number;
8
- }[];
9
- }
@@ -1,6 +0,0 @@
1
- export interface IBoundingBox {
2
- x: number;
3
- y: number;
4
- width: number;
5
- height: number;
6
- }
@@ -1,7 +0,0 @@
1
- import { Uuid } from "./Uuid";
2
- export interface IChallenge {
3
- type: "new-password-required";
4
- userId: Uuid;
5
- email: string;
6
- session: string;
7
- }
@@ -1,5 +0,0 @@
1
- export interface ICheckSsoResult {
2
- issuer: string;
3
- clientId: string;
4
- isSso?: boolean;
5
- }
@@ -1,6 +0,0 @@
1
- export interface IColorRGBA {
2
- r: number;
3
- g: number;
4
- b: number;
5
- a: number;
6
- }
@@ -1,3 +0,0 @@
1
- export interface ICompressedImage {
2
- data: string;
3
- }
@@ -1,5 +0,0 @@
1
- import { IUser } from "./IUser";
2
- export interface ICreateServiceAccountResponse {
3
- user: IUser;
4
- password: string;
5
- }
@@ -1,9 +0,0 @@
1
- import { IsoDate } from "./IsoDate";
2
- export interface IDeviceCredentials {
3
- accessKeyId: string;
4
- secretAccessKey: string;
5
- sessionToken: string;
6
- expiration: IsoDate;
7
- s3Region: string;
8
- s3UploadBucket: string;
9
- }
@@ -1,3 +0,0 @@
1
- export interface IDictionary<T = string> {
2
- [key: string]: T;
3
- }
@@ -1,6 +0,0 @@
1
- export interface IFile {
2
- url: string;
3
- filename: string;
4
- size: number;
5
- previewUrl?: string;
6
- }
@@ -1,11 +0,0 @@
1
- import { ITagFilter } from "./ITagFilter";
2
- import { ITagSets } from "./ITagSets";
3
- import { StreamType } from "./StreamType";
4
- import { Uuid } from "./Uuid";
5
- export interface IFilter extends ITagFilter {
6
- deviceIds?: Uuid[];
7
- names?: string[];
8
- types?: StreamType[];
9
- notTags?: ITagSets | ITagSets[];
10
- notNames?: string[];
11
- }
@@ -1,4 +0,0 @@
1
- import { Feature } from "./Feature";
2
- export interface IGetFeaturesResponse {
3
- features: Feature[];
4
- }
@@ -1,5 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IGoal {
3
- worldToLocal: ITransform;
4
- pose: ITransform;
5
- }
@@ -1,3 +0,0 @@
1
- export interface IGoalID {
2
- id?: string;
3
- }
@@ -1,4 +0,0 @@
1
- export interface IGoogleLoginRequest {
2
- token: string;
3
- autoCreateOrg?: boolean;
4
- }
@@ -1,5 +0,0 @@
1
- export interface IH264VideoFrame {
2
- index: number;
3
- flags: number;
4
- frame_data: string;
5
- }
@@ -1,5 +0,0 @@
1
- import { HealthStatus } from "./HealthStatus";
2
- export interface IHealth {
3
- status: HealthStatus;
4
- clockSkewMs?: number;
5
- }
@@ -1,6 +0,0 @@
1
- import { IImageAnnotation } from "./IImageAnnotation";
2
- export interface IImage {
3
- url: string;
4
- size?: number;
5
- annotations?: IImageAnnotation[];
6
- }
@@ -1,9 +0,0 @@
1
- import { AnnotationAreaType } from "./AnnotationAreaType";
2
- import { HexRgbColor } from "./HexRgbColor";
3
- import { IAnnotationAreaTypeMap } from "./IAnnotationAreaTypeMap";
4
- export interface IImageAnnotation<T extends AnnotationAreaType = AnnotationAreaType> {
5
- label: string;
6
- type: AnnotationAreaType;
7
- area: IAnnotationAreaTypeMap[T];
8
- color: HexRgbColor;
9
- }
@@ -1,8 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IJointState {
3
- world_to_local?: ITransform;
4
- name: string[];
5
- position: number[];
6
- velocity?: number[];
7
- effort?: number[];
8
- }
@@ -1,4 +0,0 @@
1
- export interface IJoy {
2
- axes: number[];
3
- buttons: number[];
4
- }
@@ -1,3 +0,0 @@
1
- export interface IJsonString {
2
- value: string;
3
- }
@@ -1,9 +0,0 @@
1
- export interface IListResponse<T> {
2
- items: T[];
3
- paging?: {
4
- page: number;
5
- pageSize: number;
6
- totalCount: number;
7
- totalPages: number;
8
- };
9
- }
@@ -1,14 +0,0 @@
1
- import { IGoal } from "./IGoal";
2
- import { IMap } from "./IMap";
3
- import { IOdometry } from "./IOdometry";
4
- import { IPath } from "./IPath";
5
- import { IPointCloud } from "./IPointCloud";
6
- export interface ILocalization {
7
- odometry?: IOdometry;
8
- map?: IMap;
9
- pointClouds?: IPointCloud[];
10
- path?: IPath;
11
- goal?: IGoal;
12
- url?: string;
13
- size?: number;
14
- }
@@ -1,6 +0,0 @@
1
- export interface ILocation {
2
- latitude: number;
3
- longitude: number;
4
- altitude?: number;
5
- orientation?: number;
6
- }
@@ -1,9 +0,0 @@
1
- import { IsoDate } from "./IsoDate";
2
- import { LogLevel } from "./LogLevel";
3
- export interface ILogLine {
4
- timestamp: IsoDate;
5
- level: LogLevel;
6
- message: string;
7
- error?: any;
8
- meta?: any;
9
- }
@@ -1,5 +0,0 @@
1
- export interface ILoginRequest {
2
- email: string;
3
- password: string;
4
- tokenExpirationSeconds?: number;
5
- }
@@ -1,7 +0,0 @@
1
- import { IAuthentication } from "./IAuthentication";
2
- import { IChallenge } from "./IChallenge";
3
- export interface ILoginResult {
4
- authentication?: IAuthentication;
5
- challenge?: IChallenge;
6
- isExistingUser?: boolean;
7
- }
@@ -1,10 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IMap {
3
- url: string;
4
- size?: number;
5
- width: number;
6
- height: number;
7
- resolution: number;
8
- origin: ITransform;
9
- worldToLocal: ITransform;
10
- }
@@ -1,23 +0,0 @@
1
- import { IColorRGBA } from "./IColorRGBA";
2
- import { ITransform } from "./ITransform";
3
- import { IVector3 } from "./IVector3";
4
- import { Marker3DAction } from "./Marker3DAction";
5
- import { Marker3DType } from "./Marker3DType";
6
- export interface IMarker3D {
7
- world_to_local?: ITransform;
8
- ns: string;
9
- id: number;
10
- type: Marker3DType;
11
- action: Marker3DAction;
12
- pose: ITransform;
13
- scale: IVector3;
14
- color: IColorRGBA;
15
- lifetime: number;
16
- frame_id: string;
17
- frame_locked: boolean;
18
- points: IVector3[];
19
- colors: IColorRGBA[];
20
- text: string;
21
- mesh_resource: string;
22
- mesh_use_embedded_materials: boolean;
23
- }
@@ -1,4 +0,0 @@
1
- import { IMarker3D } from "./IMarker3D";
2
- export interface IMarker3DArray {
3
- markers: IMarker3D[];
4
- }
@@ -1,7 +0,0 @@
1
- import { IStat } from "./IStat";
2
- import { ITags } from "./ITags";
3
- export interface IMetric {
4
- name: string;
5
- tags?: ITags;
6
- stat: IStat;
7
- }
@@ -1,5 +0,0 @@
1
- export interface INumericSetEntry {
2
- label: string;
3
- value: number;
4
- unit?: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- import { ITwist } from "./ITwist";
3
- export interface IOdometry {
4
- pose: ITransform;
5
- twist: ITwist;
6
- worldToLocal: ITransform;
7
- }
@@ -1,7 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IPath {
3
- worldToLocal: ITransform;
4
- poses?: ITransform[];
5
- url?: string;
6
- size?: number;
7
- }
@@ -1,2 +0,0 @@
1
- import { IVector3 } from "./IVector3";
2
- export type IPoint = IVector3;
@@ -1,6 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IPointCloud {
3
- url: string;
4
- size?: number;
5
- worldToLocal?: ITransform;
6
- }
@@ -1,5 +0,0 @@
1
- import { ITransform } from "./ITransform";
2
- export interface IPoseWithCovariance {
3
- pose: ITransform;
4
- covariance: Array<number>;
5
- }
@@ -1,3 +0,0 @@
1
- export interface IPostLanRtcOfferRequest {
2
- offer: string;
3
- }
@@ -1,3 +0,0 @@
1
- export interface IPostLanRtcOfferResponse {
2
- answer: string;
3
- }
@@ -1,6 +0,0 @@
1
- export interface IQuaternion {
2
- x: number;
3
- y: number;
4
- z: number;
5
- w: number;
6
- }