@dronedeploy/rocos-js-sdk 0.0.1 → 1.0.0-alpha-2
Sign up to get free protection for your applications and to get access to all the features.
- package/IRocosSDK.d.ts +55 -0
- package/IRocosSDK.js +2 -0
- package/README.md +108 -0
- package/RocosSDK.d.ts +138 -0
- package/RocosSDK.js +292 -0
- package/api/StreamRegister.d.ts +13 -0
- package/api/StreamRegister.js +69 -0
- package/api/atoms/StreamHeartbeat.d.ts +27 -0
- package/api/atoms/StreamHeartbeat.js +111 -0
- package/api/streams/caller/CallerStream.d.ts +13 -0
- package/api/streams/caller/CallerStream.js +77 -0
- package/api/streams/caller/CallerStreamAbstract.d.ts +23 -0
- package/api/streams/caller/CallerStreamAbstract.js +87 -0
- package/api/streams/caller/CallerStreamNode.d.ts +13 -0
- package/api/streams/caller/CallerStreamNode.js +115 -0
- package/api/streams/command/CommandStream.d.ts +10 -0
- package/api/streams/command/CommandStream.js +66 -0
- package/api/streams/command/CommandStreamAbstract.d.ts +20 -0
- package/api/streams/command/CommandStreamAbstract.js +63 -0
- package/api/streams/command/CommandStreamNode.d.ts +10 -0
- package/api/streams/command/CommandStreamNode.js +69 -0
- package/api/streams/control/ControlStream.d.ts +12 -0
- package/api/streams/control/ControlStream.js +75 -0
- package/api/streams/control/ControlStreamAbstract.d.ts +25 -0
- package/api/streams/control/ControlStreamAbstract.js +111 -0
- package/api/streams/control/ControlStreamNode.d.ts +12 -0
- package/api/streams/control/ControlStreamNode.js +73 -0
- package/api/streams/fileAccessor/FileAccessorStream.d.ts +8 -0
- package/api/streams/fileAccessor/FileAccessorStream.js +59 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +21 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.js +62 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.d.ts +8 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.js +66 -0
- package/api/streams/search/SearchStream.d.ts +13 -0
- package/api/streams/search/SearchStream.js +96 -0
- package/api/streams/search/SearchStreamAbstract.d.ts +25 -0
- package/api/streams/search/SearchStreamAbstract.js +72 -0
- package/api/streams/search/SearchStreamNode.d.ts +13 -0
- package/api/streams/search/SearchStreamNode.js +118 -0
- package/api/streams/telemetry/TelemetryStream.d.ts +17 -0
- package/api/streams/telemetry/TelemetryStream.js +97 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.d.ts +59 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.js +402 -0
- package/api/streams/telemetry/TelemetryStreamNode.d.ts +21 -0
- package/api/streams/telemetry/TelemetryStreamNode.js +175 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +39 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.js +84 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +29 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +65 -0
- package/constants/api.d.ts +126 -0
- package/constants/api.js +126 -0
- package/constants/auth.d.ts +2 -0
- package/constants/auth.js +2 -0
- package/constants/grpc.d.ts +5 -0
- package/constants/grpc.js +5 -0
- package/constants/identifier.d.ts +6 -0
- package/constants/identifier.js +6 -0
- package/constants/timezones.d.ts +2 -0
- package/constants/timezones.js +427 -0
- package/grpc/conker_pb.client.d.ts +78 -0
- package/grpc/conker_pb.client.js +55 -0
- package/grpc/conker_pb.d.ts +141 -0
- package/grpc/conker_pb.grpc-client.d.ts +81 -0
- package/grpc/conker_pb.grpc-client.js +58 -0
- package/grpc/conker_pb.js +104 -0
- package/grpc/filagree_pb.client.d.ts +68 -0
- package/grpc/filagree_pb.client.js +48 -0
- package/grpc/filagree_pb.d.ts +404 -0
- package/grpc/filagree_pb.grpc-client.d.ts +69 -0
- package/grpc/filagree_pb.grpc-client.js +51 -0
- package/grpc/filagree_pb.js +329 -0
- package/grpc/google/protobuf/descriptor_pb.d.ts +1798 -0
- package/grpc/google/protobuf/descriptor_pb.js +2378 -0
- package/grpc/google/protobuf/empty_pb.d.ts +23 -0
- package/grpc/google/protobuf/empty_pb.js +47 -0
- package/grpc/pigeon_pb.client.d.ts +96 -0
- package/grpc/pigeon_pb.client.js +72 -0
- package/grpc/pigeon_pb.d.ts +207 -0
- package/grpc/pigeon_pb.grpc-client.d.ts +98 -0
- package/grpc/pigeon_pb.grpc-client.js +68 -0
- package/grpc/pigeon_pb.js +144 -0
- package/grpc/rambo.uri.v1_pb.d.ts +73 -0
- package/grpc/rambo.uri.v1_pb.js +48 -0
- package/grpc/rambo.v1_pb.client.d.ts +66 -0
- package/grpc/rambo.v1_pb.client.js +48 -0
- package/grpc/rambo.v1_pb.d.ts +392 -0
- package/grpc/rambo.v1_pb.grpc-client.d.ts +56 -0
- package/grpc/rambo.v1_pb.grpc-client.js +44 -0
- package/grpc/rambo.v1_pb.js +272 -0
- package/grpc/serviette.uri.v1_pb.d.ts +89 -0
- package/grpc/serviette.uri.v1_pb.js +62 -0
- package/grpc/serviette.v1_pb.client.d.ts +225 -0
- package/grpc/serviette.v1_pb.client.js +174 -0
- package/grpc/serviette.v1_pb.d.ts +827 -0
- package/grpc/serviette.v1_pb.grpc-client.d.ts +215 -0
- package/grpc/serviette.v1_pb.grpc-client.js +162 -0
- package/grpc/serviette.v1_pb.js +553 -0
- package/grpc/slowlane_pb.client.d.ts +61 -0
- package/grpc/slowlane_pb.client.js +41 -0
- package/grpc/slowlane_pb.d.ts +303 -0
- package/grpc/slowlane_pb.grpc-client.d.ts +64 -0
- package/grpc/slowlane_pb.grpc-client.js +44 -0
- package/grpc/slowlane_pb.js +185 -0
- package/grpc/teletubby_pb.client.d.ts +145 -0
- package/grpc/teletubby_pb.client.js +104 -0
- package/grpc/teletubby_pb.d.ts +634 -0
- package/grpc/teletubby_pb.grpc-client.d.ts +152 -0
- package/grpc/teletubby_pb.grpc-client.js +100 -0
- package/grpc/teletubby_pb.js +1264 -0
- package/helpers/arrayRemove.d.ts +1 -0
- package/helpers/arrayRemove.js +3 -0
- package/helpers/arrayUnique.d.ts +1 -0
- package/helpers/arrayUnique.js +3 -0
- package/helpers/average.d.ts +1 -0
- package/helpers/average.js +6 -0
- package/helpers/cleanObject.d.ts +1 -0
- package/helpers/cleanObject.js +18 -0
- package/helpers/cleanObject.spec.d.ts +1 -0
- package/helpers/cleanObject.spec.js +53 -0
- package/helpers/enviroment.d.ts +8 -0
- package/helpers/enviroment.js +13 -0
- package/helpers/flattenCallsignsLookup.d.ts +2 -0
- package/helpers/flattenCallsignsLookup.js +6 -0
- package/helpers/flattenObject.d.ts +1 -0
- package/helpers/flattenObject.js +13 -0
- package/helpers/flattenObject.spec.d.ts +1 -0
- package/helpers/flattenObject.spec.js +29 -0
- package/helpers/flattenOneOf.d.ts +67 -0
- package/helpers/flattenOneOf.js +29 -0
- package/helpers/flattenOneOf.spec.d.ts +1 -0
- package/helpers/flattenOneOf.spec.js +157 -0
- package/helpers/formatServiceUrl.d.ts +1 -0
- package/helpers/formatServiceUrl.js +7 -0
- package/helpers/formatServiceUrl.spec.d.ts +1 -0
- package/helpers/formatServiceUrl.spec.js +16 -0
- package/helpers/generateUUID.d.ts +1 -0
- package/helpers/generateUUID.js +4 -0
- package/helpers/getSubscriptionsDifference.d.ts +10 -0
- package/helpers/getSubscriptionsDifference.js +35 -0
- package/helpers/getUniqueConfigKey.d.ts +7 -0
- package/helpers/getUniqueConfigKey.js +14 -0
- package/helpers/getUniqueId.d.ts +9 -0
- package/helpers/getUniqueId.js +11 -0
- package/helpers/getUnixTimeMs.d.ts +1 -0
- package/helpers/getUnixTimeMs.js +4 -0
- package/helpers/index.d.ts +3 -0
- package/helpers/index.js +3 -0
- package/helpers/nanosecondToMillisecond.d.ts +1 -0
- package/helpers/nanosecondToMillisecond.js +6 -0
- package/helpers/randomString.d.ts +1 -0
- package/helpers/randomString.js +3 -0
- package/helpers/standardDeviation.d.ts +1 -0
- package/helpers/standardDeviation.js +12 -0
- package/helpers/standardDeviation.spec.d.ts +1 -0
- package/helpers/standardDeviation.spec.js +11 -0
- package/helpers/stringToUint8Array.d.ts +1 -0
- package/helpers/stringToUint8Array.js +10 -0
- package/helpers/uint8ArrayToString.d.ts +1 -0
- package/helpers/uint8ArrayToString.js +10 -0
- package/index.d.ts +7 -0
- package/index.js +7 -0
- package/logger/RocosLogger.d.ts +7 -0
- package/logger/RocosLogger.js +37 -0
- package/models/CallsignStatus.d.ts +6 -0
- package/models/CallsignStatus.js +7 -0
- package/models/ExportDataQuery.d.ts +8 -0
- package/models/ExportDataQuery.js +13 -0
- package/models/ExternalProject.d.ts +6 -0
- package/models/ExternalProject.js +2 -0
- package/models/IBaseService.d.ts +4 -0
- package/models/IBaseService.js +1 -0
- package/models/IConfigGroup.d.ts +5 -0
- package/models/IConfigGroup.js +1 -0
- package/models/IDebugLevel.d.ts +2 -0
- package/models/IDebugLevel.js +1 -0
- package/models/IExportDataQuery.d.ts +9 -0
- package/models/IExportDataQuery.js +1 -0
- package/models/IFunctionConfig.d.ts +8 -0
- package/models/IFunctionConfig.js +1 -0
- package/models/IInvitation.d.ts +6 -0
- package/models/IInvitation.js +1 -0
- package/models/IInvitationExists.d.ts +4 -0
- package/models/IInvitationExists.js +1 -0
- package/models/IOperation.d.ts +6 -0
- package/models/IOperation.js +1 -0
- package/models/IPersonalAccessToken.d.ts +16 -0
- package/models/IPersonalAccessToken.js +1 -0
- package/models/IProject.d.ts +4 -0
- package/models/IProject.js +1 -0
- package/models/IProjectApplication.d.ts +6 -0
- package/models/IProjectApplication.js +1 -0
- package/models/IRobot.d.ts +18 -0
- package/models/IRobot.js +1 -0
- package/models/IRobotConfig.d.ts +8 -0
- package/models/IRobotConfig.js +1 -0
- package/models/IRobotPlugin.d.ts +3 -0
- package/models/IRobotPlugin.js +1 -0
- package/models/IRobotSettings.d.ts +28 -0
- package/models/IRobotSettings.js +1 -0
- package/models/IRobotTemplate.d.ts +10 -0
- package/models/IRobotTemplate.js +1 -0
- package/models/IRocosSDKConfig.d.ts +19 -0
- package/models/IRocosSDKConfig.js +1 -0
- package/models/ISource.d.ts +8 -0
- package/models/ISource.js +1 -0
- package/models/IStream.d.ts +9 -0
- package/models/IStream.js +1 -0
- package/models/IStreamConfig.d.ts +9 -0
- package/models/IStreamConfig.js +1 -0
- package/models/IStreamOptions.d.ts +7 -0
- package/models/IStreamOptions.js +1 -0
- package/models/IStreamSource.d.ts +8 -0
- package/models/IStreamSource.js +1 -0
- package/models/ISubscriberStatus.d.ts +5 -0
- package/models/ISubscriberStatus.js +1 -0
- package/models/ITelemetryStreamConfig.d.ts +7 -0
- package/models/ITelemetryStreamConfig.js +1 -0
- package/models/IToken.d.ts +9 -0
- package/models/IToken.js +1 -0
- package/models/IWidget.d.ts +25 -0
- package/models/IWidget.js +1 -0
- package/models/IWidgetLineGroup.d.ts +8 -0
- package/models/IWidgetLineGroup.js +1 -0
- package/models/ResponseLevelEnum.d.ts +10 -0
- package/models/ResponseLevelEnum.js +11 -0
- package/models/Robot.d.ts +20 -0
- package/models/Robot.js +8 -0
- package/models/RobotConfig.d.ts +10 -0
- package/models/RobotConfig.js +5 -0
- package/models/RobotPlugin.d.ts +5 -0
- package/models/RobotPlugin.js +5 -0
- package/models/RobotTemplate.d.ts +12 -0
- package/models/RobotTemplate.js +25 -0
- package/models/RocosError.d.ts +30 -0
- package/models/RocosError.js +39 -0
- package/models/ServiceEnum.d.ts +26 -0
- package/models/ServiceEnum.js +27 -0
- package/models/Stream.d.ts +10 -0
- package/models/Stream.js +11 -0
- package/models/StreamOptions.d.ts +9 -0
- package/models/StreamOptions.js +33 -0
- package/models/StreamSource.d.ts +10 -0
- package/models/StreamSource.js +11 -0
- package/models/SubscriberStatusEnum.d.ts +6 -0
- package/models/SubscriberStatusEnum.js +7 -0
- package/models/Token.d.ts +40 -0
- package/models/Token.js +78 -0
- package/models/Token.spec.d.ts +1 -0
- package/models/Token.spec.js +108 -0
- package/models/Widget.d.ts +27 -0
- package/models/Widget.js +12 -0
- package/models/WidgetLineGroup.d.ts +10 -0
- package/models/WidgetLineGroup.js +5 -0
- package/models/asset-storage/AssetModelItem.d.ts +29 -0
- package/models/asset-storage/AssetModelItem.js +1 -0
- package/models/caller/IRocosCallerMessageChunk.d.ts +10 -0
- package/models/caller/IRocosCallerMessageChunk.js +1 -0
- package/models/caller/IRocosCallerMessageChunks.d.ts +4 -0
- package/models/caller/IRocosCallerMessageChunks.js +1 -0
- package/models/caller/IRocosCallerMessageHeartbeat.d.ts +3 -0
- package/models/caller/IRocosCallerMessageHeartbeat.js +1 -0
- package/models/caller/IRocosCallerMessageResponse.d.ts +10 -0
- package/models/caller/IRocosCallerMessageResponse.js +1 -0
- package/models/caller/IRocosCallerMessageResponseAck.d.ts +16 -0
- package/models/caller/IRocosCallerMessageResponseAck.js +13 -0
- package/models/caller/IRocosCallerMessageResponseResult.d.ts +15 -0
- package/models/caller/IRocosCallerMessageResponseResult.js +12 -0
- package/models/caller/IRocosCallerMessageResponseReturn.d.ts +8 -0
- package/models/caller/IRocosCallerMessageResponseReturn.js +1 -0
- package/models/caller/IRocosCallerMessageResponseUid.d.ts +10 -0
- package/models/caller/IRocosCallerMessageResponseUid.js +7 -0
- package/models/caller/IRocosCallerMessageResponses.d.ts +4 -0
- package/models/caller/IRocosCallerMessageResponses.js +1 -0
- package/models/caller/RocosCallerResultStatus.d.ts +11 -0
- package/models/caller/RocosCallerResultStatus.js +12 -0
- package/models/caller/RocosResponseLevel.d.ts +6 -0
- package/models/caller/RocosResponseLevel.js +7 -0
- package/models/caller/index.d.ts +10 -0
- package/models/caller/index.js +10 -0
- package/models/callsigns/CallsignsEnums.d.ts +13 -0
- package/models/callsigns/CallsignsEnums.js +17 -0
- package/models/callsigns/CallsignsLookup.d.ts +8 -0
- package/models/callsigns/CallsignsLookup.js +28 -0
- package/models/callsigns/CallsignsQuery.d.ts +9 -0
- package/models/callsigns/CallsignsQuery.js +14 -0
- package/models/callsigns/CallsignsQueryPredicate.d.ts +9 -0
- package/models/callsigns/CallsignsQueryPredicate.js +15 -0
- package/models/command/IRocosCommandMessageHeartbeat.d.ts +1 -0
- package/models/command/IRocosCommandMessageHeartbeat.js +1 -0
- package/models/command/IRocosCommandMessageResponse.d.ts +55 -0
- package/models/command/IRocosCommandMessageResponse.js +29 -0
- package/models/command/RocosCommandResultStatus.d.ts +11 -0
- package/models/command/RocosCommandResultStatus.js +12 -0
- package/models/command/index.d.ts +4 -0
- package/models/command/index.js +4 -0
- package/models/file/FileEnums.d.ts +30 -0
- package/models/file/FileEnums.js +33 -0
- package/models/index.d.ts +75 -0
- package/models/index.js +75 -0
- package/models/integrations/Overlay.d.ts +49 -0
- package/models/integrations/Overlay.js +1 -0
- package/models/integrations/Plan.d.ts +324 -0
- package/models/integrations/Plan.js +1 -0
- package/models/maps/Map.d.ts +13 -0
- package/models/maps/Map.js +1 -0
- package/models/message/IRocosCallerMessage.d.ts +8 -0
- package/models/message/IRocosCallerMessage.js +1 -0
- package/models/message/IRocosChangeMessage.d.ts +6 -0
- package/models/message/IRocosChangeMessage.js +1 -0
- package/models/message/IRocosCommandMessage.d.ts +6 -0
- package/models/message/IRocosCommandMessage.js +1 -0
- package/models/message/IRocosControlMessage.d.ts +7 -0
- package/models/message/IRocosControlMessage.js +1 -0
- package/models/message/IRocosOpResultMessage.d.ts +6 -0
- package/models/message/IRocosOpResultMessage.js +1 -0
- package/models/message/IRocosSearchMessage.d.ts +5 -0
- package/models/message/IRocosSearchMessage.js +1 -0
- package/models/message/IRocosSearchRowMessage.d.ts +9 -0
- package/models/message/IRocosSearchRowMessage.js +1 -0
- package/models/message/IRocosSearchStatusMessage.d.ts +4 -0
- package/models/message/IRocosSearchStatusMessage.js +1 -0
- package/models/message/IRocosTelemetryMessage.d.ts +23 -0
- package/models/message/IRocosTelemetryMessage.js +1 -0
- package/models/message/IStreamStatusMessage.d.ts +5 -0
- package/models/message/IStreamStatusMessage.js +1 -0
- package/models/message/RocosCallerMessage.d.ts +10 -0
- package/models/message/RocosCallerMessage.js +32 -0
- package/models/message/RocosCommandMessage.d.ts +9 -0
- package/models/message/RocosCommandMessage.js +13 -0
- package/models/message/RocosControlMessage.d.ts +11 -0
- package/models/message/RocosControlMessage.js +14 -0
- package/models/message/RocosOpResultMessage.d.ts +10 -0
- package/models/message/RocosOpResultMessage.js +18 -0
- package/models/message/RocosSearchMessage.d.ts +9 -0
- package/models/message/RocosSearchMessage.js +24 -0
- package/models/message/RocosSearchRowMessage.d.ts +13 -0
- package/models/message/RocosSearchRowMessage.js +16 -0
- package/models/message/RocosTelemetryMessage.d.ts +10 -0
- package/models/message/RocosTelemetryMessage.js +63 -0
- package/models/message/index.d.ts +17 -0
- package/models/message/index.js +17 -0
- package/models/params/ICallerParams.d.ts +16 -0
- package/models/params/ICallerParams.js +1 -0
- package/models/params/ICommandParams.d.ts +9 -0
- package/models/params/ICommandParams.js +1 -0
- package/models/params/IControlParams.d.ts +8 -0
- package/models/params/IControlParams.js +1 -0
- package/models/params/IFileAccessorParams.d.ts +11 -0
- package/models/params/IFileAccessorParams.js +1 -0
- package/models/params/ISearchParams.d.ts +10 -0
- package/models/params/ISearchParams.js +1 -0
- package/models/params/ITelemetryParams.d.ts +18 -0
- package/models/params/ITelemetryParams.js +1 -0
- package/models/params/IWebRTCSignallingParams.d.ts +21 -0
- package/models/params/IWebRTCSignallingParams.js +1 -0
- package/models/projects/ProjectUser.d.ts +6 -0
- package/models/projects/ProjectUser.js +1 -0
- package/models/schedule/IScheduleAction.d.ts +13 -0
- package/models/schedule/IScheduleAction.js +6 -0
- package/models/schedule/IScheduleInfo.d.ts +11 -0
- package/models/schedule/IScheduleInfo.js +1 -0
- package/models/schedule/IScheduleJob.d.ts +12 -0
- package/models/schedule/IScheduleJob.js +1 -0
- package/models/search/SearchQueryFilter.d.ts +5 -0
- package/models/search/SearchQueryFilter.js +5 -0
- package/models/search/SearchStreamQuery.d.ts +15 -0
- package/models/search/SearchStreamQuery.js +6 -0
- package/models/stream/IBaseStream.d.ts +8 -0
- package/models/stream/IBaseStream.js +1 -0
- package/models/stream/ICallerStream.d.ts +8 -0
- package/models/stream/ICallerStream.js +1 -0
- package/models/stream/ICommandStream.d.ts +7 -0
- package/models/stream/ICommandStream.js +1 -0
- package/models/stream/IControlStream.d.ts +9 -0
- package/models/stream/IControlStream.js +1 -0
- package/models/stream/IFileAccessorStream.d.ts +9 -0
- package/models/stream/IFileAccessorStream.js +1 -0
- package/models/stream/ISearchStream.d.ts +11 -0
- package/models/stream/ISearchStream.js +1 -0
- package/models/stream/ITelemetryStream.d.ts +10 -0
- package/models/stream/ITelemetryStream.js +1 -0
- package/models/stream/IWebRTCSignallingStream.d.ts +76 -0
- package/models/stream/IWebRTCSignallingStream.js +1 -0
- package/models/types.d.ts +5 -0
- package/models/types.js +1 -0
- package/node/RocosSDKNode.d.ts +42 -0
- package/node/RocosSDKNode.js +143 -0
- package/node/index.d.ts +7 -0
- package/node/index.js +7 -0
- package/package.json +22 -6
- package/services/AssetStorageService.d.ts +99 -0
- package/services/AssetStorageService.js +158 -0
- package/services/AuthService.d.ts +93 -0
- package/services/AuthService.js +235 -0
- package/services/AuthService.spec.d.ts +1 -0
- package/services/AuthService.spec.js +163 -0
- package/services/BaseServiceAbstract.d.ts +36 -0
- package/services/BaseServiceAbstract.js +101 -0
- package/services/BaseStreamService.d.ts +18 -0
- package/services/BaseStreamService.js +47 -0
- package/services/CallerService.d.ts +10 -0
- package/services/CallerService.js +53 -0
- package/services/CallerServiceNode.d.ts +6 -0
- package/services/CallerServiceNode.js +7 -0
- package/services/CommandService.d.ts +9 -0
- package/services/CommandService.js +38 -0
- package/services/CommandServiceNode.d.ts +6 -0
- package/services/CommandServiceNode.js +7 -0
- package/services/ConfigGroupService.d.ts +89 -0
- package/services/ConfigGroupService.js +153 -0
- package/services/ControlService.d.ts +11 -0
- package/services/ControlService.js +57 -0
- package/services/ControlServiceNode.d.ts +6 -0
- package/services/ControlServiceNode.js +7 -0
- package/services/DashboardService.d.ts +97 -0
- package/services/DashboardService.js +142 -0
- package/services/EventService.d.ts +53 -0
- package/services/EventService.js +85 -0
- package/services/FileAccessorService.d.ts +11 -0
- package/services/FileAccessorService.js +37 -0
- package/services/FileAccessorServiceNode.d.ts +6 -0
- package/services/FileAccessorServiceNode.js +7 -0
- package/services/FunctionService.d.ts +68 -0
- package/services/FunctionService.js +99 -0
- package/services/IntegrationService.d.ts +48 -0
- package/services/IntegrationService.js +72 -0
- package/services/MapService.d.ts +109 -0
- package/services/MapService.js +149 -0
- package/services/PlatformTimeService.d.ts +35 -0
- package/services/PlatformTimeService.js +156 -0
- package/services/PlatformTimeService.spec.d.ts +1 -0
- package/services/PlatformTimeService.spec.js +180 -0
- package/services/ProfileService.d.ts +244 -0
- package/services/ProfileService.js +362 -0
- package/services/ProjectService.d.ts +110 -0
- package/services/ProjectService.js +160 -0
- package/services/RobotService.d.ts +278 -0
- package/services/RobotService.js +460 -0
- package/services/ScheduleService.d.ts +22 -0
- package/services/ScheduleService.js +36 -0
- package/services/SearchService.d.ts +12 -0
- package/services/SearchService.js +58 -0
- package/services/SearchServiceNode.d.ts +6 -0
- package/services/SearchServiceNode.js +7 -0
- package/services/SpotProvisioningService.d.ts +14 -0
- package/services/SpotProvisioningService.js +43 -0
- package/services/SpotProvisioningServiceNode.d.ts +15 -0
- package/services/SpotProvisioningServiceNode.js +43 -0
- package/services/StreamService.d.ts +98 -0
- package/services/StreamService.js +142 -0
- package/services/TelemetryService.d.ts +40 -0
- package/services/TelemetryService.js +142 -0
- package/services/TelemetryService.spec.d.ts +1 -0
- package/services/TelemetryService.spec.js +37 -0
- package/services/TelemetryServiceNode.d.ts +6 -0
- package/services/TelemetryServiceNode.js +7 -0
- package/services/TimeSyncerService.d.ts +13 -0
- package/services/TimeSyncerService.js +23 -0
- package/services/UserService.d.ts +200 -0
- package/services/UserService.js +315 -0
- package/services/WebRTCSignallingService.d.ts +22 -0
- package/services/WebRTCSignallingService.js +78 -0
- package/services/WorkflowService.d.ts +71 -0
- package/services/WorkflowService.js +118 -0
- package/services/index.d.ts +26 -0
- package/services/index.js +26 -0
- package/store/RocosStore.d.ts +31 -0
- package/store/RocosStore.js +47 -0
@@ -0,0 +1,84 @@
|
|
1
|
+
import { GrpcWebFetchTransport } from '@protobuf-ts/grpcweb-transport';
|
2
|
+
import { RocosLogger } from '../../../logger/RocosLogger';
|
3
|
+
import { WebRTCSignallingStreamAbstract } from './WebRTCSignallingStreamAbstract';
|
4
|
+
import { operatorClient } from '../../../grpc/pigeon_pb.client';
|
5
|
+
/**
|
6
|
+
* Web implementation for the WebRTC signalling stream
|
7
|
+
*/
|
8
|
+
export class WebRTCSignallingStream extends WebRTCSignallingStreamAbstract {
|
9
|
+
constructor(config) {
|
10
|
+
super(config);
|
11
|
+
this.logger = RocosLogger.getInstance(`WebRTCSignallingStream(${this.identifier})`);
|
12
|
+
const protocol = config.insecure ? 'http' : 'https';
|
13
|
+
const transport = new GrpcWebFetchTransport({
|
14
|
+
baseUrl: `${protocol}://${this.url}`,
|
15
|
+
});
|
16
|
+
this.webRTCOperatorclient = new operatorClient(transport);
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* Connect operator stream
|
20
|
+
* @param projectId
|
21
|
+
* @param request
|
22
|
+
* @returns
|
23
|
+
*/
|
24
|
+
connectOperatorStream(projectId, request) {
|
25
|
+
const metadata = this.getMetadata(projectId);
|
26
|
+
const abortController = new AbortController();
|
27
|
+
const stream = this.webRTCOperatorclient.connect(request, { meta: metadata, abort: abortController.signal });
|
28
|
+
return {
|
29
|
+
onError: (callback) => stream.responses.onError(callback),
|
30
|
+
onComplete: (callback) => stream.responses.onComplete(callback),
|
31
|
+
onNext: (callback) => stream.responses.onNext(callback),
|
32
|
+
onMessage: (callback) => stream.responses.onMessage(callback),
|
33
|
+
[Symbol.asyncIterator]: stream.responses[Symbol.asyncIterator],
|
34
|
+
async status() {
|
35
|
+
const status = await stream.status;
|
36
|
+
const metadata = await stream.headers;
|
37
|
+
return {
|
38
|
+
code: status.code,
|
39
|
+
details: status.detail,
|
40
|
+
metadata,
|
41
|
+
};
|
42
|
+
},
|
43
|
+
cancel() {
|
44
|
+
abortController.abort();
|
45
|
+
},
|
46
|
+
};
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* Get details for the peer
|
50
|
+
* @param projectId
|
51
|
+
* @param request
|
52
|
+
* @returns
|
53
|
+
*/
|
54
|
+
async getPeerDetails(projectId, request) {
|
55
|
+
const metadata = this.getMetadata(projectId);
|
56
|
+
return this.webRTCOperatorclient.get(request, { meta: metadata }).response;
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* Send offer connecction to peer
|
60
|
+
* @param projectId
|
61
|
+
* @param request
|
62
|
+
* @returns
|
63
|
+
*/
|
64
|
+
offerPeerConnection(projectId, request) {
|
65
|
+
const metadata = this.getMetadata(projectId);
|
66
|
+
return this.webRTCOperatorclient.offer(request, { meta: metadata }).response;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* Add ice candidate for peer
|
70
|
+
* @param projectId
|
71
|
+
* @param request
|
72
|
+
* @returns
|
73
|
+
*/
|
74
|
+
addPeerIceCandidate(projectId, request) {
|
75
|
+
const metadata = this.getMetadata(projectId);
|
76
|
+
return this.webRTCOperatorclient.addIceCandidate(request, { meta: metadata }).response;
|
77
|
+
}
|
78
|
+
getMetadata(projectId) {
|
79
|
+
return {
|
80
|
+
'authorization': this.token,
|
81
|
+
'r-p': projectId,
|
82
|
+
};
|
83
|
+
}
|
84
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { AddIceCandidateRequest, GetDetailsRequest, GetDetailsResponse, OfferRequest, OperatorConnectRequest } from '../../../grpc/pigeon_pb';
|
2
|
+
import { IAddIceCandidateRequest, IGetDetailsRequest, IOfferRequest, IOperatorConnectRequest, IStreamConfig, IWebRTCSignallingGetDetailsResponse, IWebRTCSignallingMessage, IWebRTCSignallingOutcome, IWebRTCSignallingResponseStream, IWebRTCSignallingStream, SubscriberStatusEnum } from '../../../models';
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
4
|
+
import { Logger } from 'loglevel';
|
5
|
+
export declare abstract class WebRTCSignallingStreamAbstract implements IWebRTCSignallingStream {
|
6
|
+
identifier: string;
|
7
|
+
protected token: string;
|
8
|
+
private readonly scope;
|
9
|
+
protected url: string;
|
10
|
+
protected subscriberStatus: SubscriberStatusEnum;
|
11
|
+
statusStream$: BehaviorSubject<SubscriberStatusEnum>;
|
12
|
+
protected logger: Logger;
|
13
|
+
protected constructor(config: IStreamConfig);
|
14
|
+
protected abstract connectOperatorStream(projectId: string, request: OperatorConnectRequest): IWebRTCSignallingResponseStream<IWebRTCSignallingMessage>;
|
15
|
+
protected abstract getPeerDetails(projectId: string, request: GetDetailsRequest): Promise<IWebRTCSignallingGetDetailsResponse>;
|
16
|
+
protected abstract offerPeerConnection(projectId: string, request: OfferRequest): Promise<IWebRTCSignallingOutcome>;
|
17
|
+
protected abstract addPeerIceCandidate(projectId: string, request: AddIceCandidateRequest): Promise<IWebRTCSignallingOutcome>;
|
18
|
+
setToken(token: string): void;
|
19
|
+
stopStream(): void;
|
20
|
+
/**
|
21
|
+
* Connect operator
|
22
|
+
* @param request
|
23
|
+
* @returns
|
24
|
+
*/
|
25
|
+
connectOperator(request: IOperatorConnectRequest): IWebRTCSignallingResponseStream<IWebRTCSignallingMessage>;
|
26
|
+
getDetails(request: IGetDetailsRequest): Promise<GetDetailsResponse>;
|
27
|
+
offerConnection(request: IOfferRequest): Promise<IWebRTCSignallingOutcome>;
|
28
|
+
addIceCandidate(request: IAddIceCandidateRequest): Promise<IWebRTCSignallingOutcome>;
|
29
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { AddIceCandidateRequest, GetDetailsRequest, OfferRequest, OperatorConnectRequest, } from '../../../grpc/pigeon_pb';
|
2
|
+
import { SubscriberStatusEnum, } from '../../../models';
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
4
|
+
import { IDENTIFIER_NAME_COMMAND } from '../../../constants/identifier';
|
5
|
+
import { RocosStore } from '../../../store/RocosStore';
|
6
|
+
import { StreamRegister } from '../../StreamRegister';
|
7
|
+
import { filter } from 'rxjs/operators';
|
8
|
+
export class WebRTCSignallingStreamAbstract {
|
9
|
+
constructor(config) {
|
10
|
+
this.subscriberStatus = SubscriberStatusEnum.STOPPED;
|
11
|
+
this.scope = config.scope;
|
12
|
+
this.identifier = StreamRegister.getIdentifier(IDENTIFIER_NAME_COMMAND, this.scope);
|
13
|
+
this.token = config.token;
|
14
|
+
this.url = config.url;
|
15
|
+
this.statusStream$ = new BehaviorSubject(SubscriberStatusEnum.STOPPED);
|
16
|
+
RocosStore.getChangeSubject()
|
17
|
+
.pipe(filter((message) => {
|
18
|
+
return message.type === 'token' && message.url === this.url;
|
19
|
+
}))
|
20
|
+
.subscribe((msg) => {
|
21
|
+
this.token = msg.data;
|
22
|
+
});
|
23
|
+
}
|
24
|
+
setToken(token) {
|
25
|
+
this.token = token;
|
26
|
+
}
|
27
|
+
stopStream() {
|
28
|
+
// do nothing for now
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Connect operator
|
32
|
+
* @param request
|
33
|
+
* @returns
|
34
|
+
*/
|
35
|
+
connectOperator(request) {
|
36
|
+
const operatorConnectRequest = OperatorConnectRequest.create({
|
37
|
+
videoId: request.videoId,
|
38
|
+
clientId: '',
|
39
|
+
});
|
40
|
+
return this.connectOperatorStream(request.projectId, operatorConnectRequest);
|
41
|
+
}
|
42
|
+
getDetails(request) {
|
43
|
+
const getDetailsRequest = GetDetailsRequest.create({
|
44
|
+
videoId: request.videoId,
|
45
|
+
});
|
46
|
+
return this.getPeerDetails(request.projectId, getDetailsRequest);
|
47
|
+
}
|
48
|
+
offerConnection(request) {
|
49
|
+
const offerConnectionRequest = OfferRequest.create({
|
50
|
+
sdp: btoa(JSON.stringify(request.rtcSessionDescription)),
|
51
|
+
videoCommand: request.videoCommand,
|
52
|
+
videoId: request.videoId,
|
53
|
+
clientId: request.clientId ?? '',
|
54
|
+
videoFormat: request.videoFormat ?? 'H264',
|
55
|
+
});
|
56
|
+
return this.offerPeerConnection(request.projectId, offerConnectionRequest);
|
57
|
+
}
|
58
|
+
addIceCandidate(request) {
|
59
|
+
const addIceCandidateRequest = AddIceCandidateRequest.create({
|
60
|
+
videoId: request.videoId,
|
61
|
+
candidate: request.candidate,
|
62
|
+
});
|
63
|
+
return this.addPeerIceCandidate(request.projectId, addIceCandidateRequest);
|
64
|
+
}
|
65
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
export declare const API_APPLICATION_AUTH_URL = "https://{url}/applications/auth";
|
2
|
+
export declare const API_ADMIN_USER_INVITATION_URL = "https://{url}/admin/users/invitations";
|
3
|
+
export declare const API_USER_URL = "https://{url}/users";
|
4
|
+
export declare const API_USER_AUTH_URL = "https://{url}/users/auth";
|
5
|
+
export declare const API_USER_TOKEN_URL = "https://{url}/users/token";
|
6
|
+
export declare const API_OTP_URL = "https://{url}/otp";
|
7
|
+
export declare const API_OTP_AUTH_URL = "https://{url}/otp/auth";
|
8
|
+
export declare const API_USER_PASSWORD_RESET_URL = "https://{url}/users/forgotten-password-reset";
|
9
|
+
export declare const API_USER_PASSWORD_FORGOT_URL = "https://{url}/users/forgotten-password";
|
10
|
+
export declare const API_USER_INVITATION_URL = "https://{url}/users/invitations";
|
11
|
+
export declare const API_USER_INVITATION_ACCEPT_URL = "https://{url}/users/invitations/{invitationId}/accept";
|
12
|
+
export declare const API_USER_INVITATION_CHECK_URL = "https://{url}/users/invitations/{invitationId}/check";
|
13
|
+
export declare const API_USER_VERIFY_EMAIL_URL = "https://{url}/users/verification-email";
|
14
|
+
export declare const API_USER_PAT_URL = "https://{url}/users/pat";
|
15
|
+
export declare const API_USER_PAT_TOKEN_URL = "https://{url}/users/pat/{token}";
|
16
|
+
export declare const API_ACCOUNT_URL = "https://{url}/accounts";
|
17
|
+
export declare const API_ACCOUNT_ID_URL = "https://{url}/accounts/{accountId}";
|
18
|
+
export declare const API_ACCOUNT_ACTIVATE_URL = "https://{url}/accounts/{accountId}/activate";
|
19
|
+
export declare const API_AUTH_USER_ACCOUNT_USER_URL = "https://{url}/accounts/{accountId}/users";
|
20
|
+
export declare const API_AUTH_USER_ACCOUNT_USER_ID_URL = "https://{url}/accounts/{accountId}/users/{userId}";
|
21
|
+
export declare const API_ACCOUNT_SETTINGS_URL = "https://{url}/accounts/{accountId}/settings";
|
22
|
+
export declare const API_ACCOUNT_INTEGRATION_URL = "https://{url}/accounts/{accountId}/integrations/{integrationId}";
|
23
|
+
export declare const API_ACCOUNT_INTEGRATION_TYPE_URL = "https://{url}/accounts/{accountId}/integrations/{integrationId}/{integrationType}";
|
24
|
+
export declare const API_SERVER_TIME_URL = "https://{url}/time";
|
25
|
+
export declare const API_ACCOUNT_PROJECT_URL = "https://{url}/accounts/{accountId}/projects";
|
26
|
+
export declare const API_ACCOUNT_PROJECT_ID_URL = "https://{url}/accounts/{accountId}/projects/{projectId}";
|
27
|
+
export declare const API_ACCOUNT_PROJECT_USER_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/users";
|
28
|
+
export declare const API_ACCOUNT_PROJECT_USER_ID_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/users/{userId}";
|
29
|
+
export declare const API_ACCOUNT_PROJECT_APPLICATION_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/applications";
|
30
|
+
export declare const API_ACCOUNT_PROJECT_APPLICATION_ID_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/applications/{applicationId}";
|
31
|
+
export declare const API_PROJECT_URL = "https://{url}/projects";
|
32
|
+
export declare const API_PROJECT_ID_URL = "https://{url}/projects/{projectId}";
|
33
|
+
export declare const API_PROJECT_USERS_URL = "https://{url}/projects/{projectId}/users";
|
34
|
+
export declare const API_PROJECT_ASSET_URL = "https://{url}/projects/{projectId}/assets";
|
35
|
+
export declare const API_PROJECT_ASSET_PATH_URL = "https://{url}/projects/{projectId}/assets/{filePath}";
|
36
|
+
export declare const API_PROJECT_ASSET_ROBOTS_SYNC_DEFINITION_PATH_URL = "https://{url}/projects/{projectId}/robots/{callsign}/sync-definitions";
|
37
|
+
export declare const API_PROJECT_ASSET_PROFILES_SYNC_DEFINITION_PATH_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/sync-definitions";
|
38
|
+
export declare const API_PROJECT_ROBOT_ASSET_PATH_URL = "https://{url}/projects/{projectId}/robots/{callsign}/assets";
|
39
|
+
export declare const API_PROJECT_FLOW_ASSET_PATH_URL = "https://{url}/projects/{projectId}/flows/{callsign}/assets";
|
40
|
+
export declare const API_PROJECT_MISSION_ASSET_PATH_URL = "https://{url}/projects/{projectId}/missionassets/{dataUUID}";
|
41
|
+
export declare const API_PROJECT_ROBOT_URL = "https://{url}/projects/{projectId}/robots";
|
42
|
+
export declare const API_PROJECT_ROBOT_ID_URL = "https://{url}/projects/{projectId}/robots/{callsign}";
|
43
|
+
export declare const API_PROJECT_ROBOT_ATTRIBUTES_URL = "https://{url}/projects/{projectId}/robots/{callsign}/attributes";
|
44
|
+
export declare const API_PROJECT_ROBOT_DEFINITION_URL = "https://{url}/projects/{projectId}/robots/{callsign}/robot-definitions";
|
45
|
+
export declare const API_PROJECT_ROBOT_REGISTER_URL = "https://{url}/projects/{projectId}/robots/{callsign}/register";
|
46
|
+
export declare const API_PROJECT_ROBOT_EVENT_URL = "https://{url}/projects/{projectId}/robots/{callsign}/event-definitions";
|
47
|
+
export declare const API_PROJECT_ROBOT_EVENT_HISTORY_URL = "https://{url}/projects/{projectId}/robots/{callsign}/event-definitions/{eventDefinitionId}/history";
|
48
|
+
export declare const API_PROJECT_ROBOT_SETTING_URL = "https://{url}/projects/{projectId}/robots/{callsign}/settings";
|
49
|
+
export declare const API_PROJECT_ROBOT_AGENT_URL = "https://{url}/projects/{projectId}/robots/{callsign}/agent-settings";
|
50
|
+
export declare const API_PROJECT_ROBOT_COMMAND_URL = "https://{url}/projects/{projectId}/robots/{callsign}/commands";
|
51
|
+
export declare const API_PROJECT_ROBOT_COMMAND2_URL = "https://{url}/projects/{projectId}/robots/{callsign}/commands-v2";
|
52
|
+
export declare const API_PROJECT_ROBOT_BUTTON_URL = "https://{url}/projects/{projectId}/robots/{callsign}/buttons";
|
53
|
+
export declare const API_PROJECT_ROBOT_TRIGGER_URL = "https://{url}/projects/{projectId}/robots/{callsign}/triggers";
|
54
|
+
export declare const API_PROJECT_ROBOT_GAMEPAD_URL = "https://{url}/projects/{projectId}/robots/{callsign}/gamepads";
|
55
|
+
export declare const API_PROJECT_OPERATION_URL = "https://{url}/projects/{projectId}/operations";
|
56
|
+
export declare const API_PROJECT_OPERATION_ID_URL = "https://{url}/projects/{projectId}/operations/{operationId}";
|
57
|
+
export declare const API_PROJECT_DASHBOARD_URL = "https://{url}/projects/{projectId}/dashboards";
|
58
|
+
export declare const API_PROJECT_DASHBOARD_ID_URL = "https://{url}/projects/{projectId}/dashboards/{dashboardId}";
|
59
|
+
export declare const API_PROJECT_DASHBOARD_WIDGET_URL = "https://{url}/projects/{projectId}/dashboards/{dashboardId}/widgets";
|
60
|
+
export declare const API_PROJECT_DASHBOARD_CUSTOM_WIDGET_URL = "https://{url}/projects/{projectId}/dashboards/{dashboardId}/custom-widgets";
|
61
|
+
export declare const API_PROJECT_COLLECTION_ID_URL = "https://{url}/projects/{projectId}/doc-collections/{collectionId}";
|
62
|
+
export declare const API_PROJECT_COLLECTION_DOCS_URL = "https://{url}/projects/{projectId}/doc-collections/{collectionId}/docs";
|
63
|
+
export declare const API_PROJECT_VROBOT_DETAILS_URL = "https://{url}/projects/{projectId}/vrobots/{callsign}/details";
|
64
|
+
export declare const API_PROJECT_VROBOT_DEPLOY_URL = "https://{url}/projects/{projectId}/vrobots/{callsign}/deploy";
|
65
|
+
export declare const API_PROJECT_DEFINITION_URL = "https://{url}/projects/{projectId}/robot-definitions";
|
66
|
+
export declare const API_PROJECT_DEFINITION_ID_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}";
|
67
|
+
export declare const API_PROJECT_DEFINITION_STREAM_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/streams";
|
68
|
+
export declare const API_PROJECT_DEFINITION_COPY_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/copy";
|
69
|
+
export declare const API_PROJECT_DEFINITION_DASHBOARD_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/dashboards";
|
70
|
+
export declare const API_PROJECT_DEFINITION_BLOB_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/dashboard-blob";
|
71
|
+
export declare const API_PROJECT_DEFINITION_SETTING_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/settings";
|
72
|
+
export declare const API_PROJECT_DEFINITION_AGENT_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/agent-settings";
|
73
|
+
export declare const API_PROJECT_DEFINITION_COMMAND_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/commands";
|
74
|
+
export declare const API_PROJECT_DEFINITION_COMMAND2_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/commands-v2";
|
75
|
+
export declare const API_PROJECT_DEFINITION_EVENT_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/event-definitions";
|
76
|
+
export declare const API_PROJECT_DEFINITION_ACTION_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/command-actions";
|
77
|
+
export declare const API_PROJECT_DEFINITION_BUTTON_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/buttons";
|
78
|
+
export declare const API_PROJECT_DEFINITION_TRIGGER_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/triggers";
|
79
|
+
export declare const API_PROJECT_DEFINITION_GAMEPAD_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/gamepads";
|
80
|
+
export declare const API_PROJECT_GROUP_TYPE_URL = "https://{url}/projects/{projectId}/config-groups/{type}";
|
81
|
+
export declare const API_PROJECT_GROUP_TYPE_ID_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}";
|
82
|
+
export declare const API_PROJECT_GROUP_TYPE_PUBLISH_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/publish";
|
83
|
+
export declare const API_PROJECT_GROUP_TYPE_CONFIG_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{configId}";
|
84
|
+
export declare const API_PROJECT_GROUP_TYPE_VERSION_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{version}";
|
85
|
+
export declare const API_PROJECT_GROUP_TYPE_OWNER_ID_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/owner/{ownerId}";
|
86
|
+
export declare const API_PROJECT_GROUP_TYPE_OWNER_OVERRIDE_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{ownerId}/override";
|
87
|
+
export declare const API_PROJECT_FUNCTION_URL = "https://{url}/projects/{projectId}/functions";
|
88
|
+
export declare const API_PROJECT_FUNCTION_ID_URL = "https://{url}/projects/{projectId}/functions/{functionId}";
|
89
|
+
export declare const API_PROJECT_FUNCTION_RUN_URL = "https://{url}/projects/{projectId}/functions/{functionId}/run";
|
90
|
+
export declare const API_PROJECT_FUNCTION_POD_URL = "https://{url}/projects/{projectId}/functions/{functionId}/pods";
|
91
|
+
export declare const API_PROJECT_EXPORT_URL = "https://{url}/projects/{projectId}/export-jobs";
|
92
|
+
export declare const API_PROJECT_STREAM_URL = "https://{url}/projects/{projectId}/streams";
|
93
|
+
export declare const API_PROJECT_STREAM_ID_URL = "https://{url}/projects/{projectId}/streams/{streamId}";
|
94
|
+
export declare const API_PROJECT_STREAM_DATA_URL = "https://{url}/projects/{projectId}/streams/{streamId}/data";
|
95
|
+
export declare const API_PROJECT_STREAM_CALLSIGN_URL = "https://{url}/projects/{projectId}/streams/{streamId}/callsigns";
|
96
|
+
export declare const API_PROJECT_ROBOT_DASHBOARD_URL = "https://{url}/projects/{projectId}/robots/{callsign}/dashboards";
|
97
|
+
export declare const API_PROJECT_ROBOT_DASHBOARD_ID_URL = "https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}";
|
98
|
+
export declare const API_PROJECT_ROBOT_DASHBOARD_CUSTOM_WIDGET_URL = "https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}/custom-widgets";
|
99
|
+
export declare const API_PROJECT_CALLSIGN_STREAM_URL = "https://{url}/projects/{projectId}/callsigns/{callsign}/streams";
|
100
|
+
export declare const API_PROJECT_CALLSIGN_WORKFLOW_URL = "https://{url}/projects/{projectId}/callsigns/{callsign}/workflows";
|
101
|
+
export declare const API_PROJECT_WORKFLOW_URL = "https://{url}/projects/{projectId}/workflows";
|
102
|
+
export declare const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = "https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments";
|
103
|
+
export declare const API_PROJECT_WORKFLOW_ID_URL = "https://{url}/projects/{projectId}/workflows/{workflowId}";
|
104
|
+
export declare const API_PROJECT_PROFILE_DASHBOARD_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards";
|
105
|
+
export declare const API_PROJECT_PROFILE_DASHBOARD_ID_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}";
|
106
|
+
export declare const API_PROJECT_PROFILE_DASHBOARD_CUSTOM_WIDGET_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}/custom-widgets";
|
107
|
+
export declare const API_TEMPLATE_DEPLOY_URL = "https://{url}/templates/vrobot-deployment";
|
108
|
+
export declare const API_TEMPLATE_PROVISION_URL = "https://{url}/templates/rocos-provisioning-templates";
|
109
|
+
export declare const API_TEMPLATE_PROVISION_ID_URL = "https://{url}/templates/rocos-provisioning-templates/exec/{templateId}";
|
110
|
+
export declare const API_TEMPLATE_EXPORTER_URL = "https://{url}/templates/project-stream-data-exporter";
|
111
|
+
export declare const API_SOURCE_SCHEMA_URL = "https://{url}/sourceschemas";
|
112
|
+
export declare const API_SOURCE_URL = "https://{url}/sources";
|
113
|
+
export declare const API_SOURCE_ID_URL = "https://{url}/sources/{sourceId}";
|
114
|
+
export declare const API_PROJECT_SCHEDULES_URL = "https://{url}/projects/{projectId}/robots/{callsign}/schedules";
|
115
|
+
export declare const API_SPOTTY_URL = "https://{url}/spotty";
|
116
|
+
export declare const API_DD_INTEGRATION_PLANS_URL = "https://{url}/projects/{projectId}/dd/plans";
|
117
|
+
export declare const API_DD_INTEGRATION_PLAN_BY_ID_URL = "https://{url}/projects/{projectId}/dd/plan/{planId}";
|
118
|
+
export declare const API_DD_INTEGRATION_OVERLAYS_URL = "https://{url}/projects/{projectId}/dd/overlays";
|
119
|
+
export declare const API_DD_INTEGRATION_ISSUES_URL = "https://{url}/projects/{projectId}/dd/issues";
|
120
|
+
export declare const API_MAPS_URL = "https://{url}/projects/{projectId}/maps";
|
121
|
+
export declare const API_MAPS_DEPLOYED_URL = "https://{url}/projects/{projectId}/maps/deployed?callsign={callsign}";
|
122
|
+
export declare const API_MAPS_MERGE_URL = "https://{url}/projects/{projectId}/maps/merge";
|
123
|
+
export declare const API_MAP_ID_URL = "https://{url}/projects/{projectId}/maps/{mapId}";
|
124
|
+
export declare const API_MAPS_COPY_URL = "https://{url}/projects/{projectId}/maps/{mapId}/copy";
|
125
|
+
export declare const API_MAPS_DEPLOY_URL = "https://{url}/projects/{projectId}/maps/{mapId}/deploy";
|
126
|
+
export declare const API_MAPS_GEOJSON_URL = "https://{url}/projects/{projectId}/maps/{mapId}/geojson";
|
package/constants/api.js
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
export const API_APPLICATION_AUTH_URL = 'https://{url}/applications/auth';
|
2
|
+
export const API_ADMIN_USER_INVITATION_URL = 'https://{url}/admin/users/invitations';
|
3
|
+
export const API_USER_URL = 'https://{url}/users';
|
4
|
+
export const API_USER_AUTH_URL = 'https://{url}/users/auth';
|
5
|
+
export const API_USER_TOKEN_URL = 'https://{url}/users/token';
|
6
|
+
export const API_OTP_URL = 'https://{url}/otp';
|
7
|
+
export const API_OTP_AUTH_URL = 'https://{url}/otp/auth';
|
8
|
+
export const API_USER_PASSWORD_RESET_URL = 'https://{url}/users/forgotten-password-reset';
|
9
|
+
export const API_USER_PASSWORD_FORGOT_URL = 'https://{url}/users/forgotten-password';
|
10
|
+
export const API_USER_INVITATION_URL = 'https://{url}/users/invitations';
|
11
|
+
export const API_USER_INVITATION_ACCEPT_URL = 'https://{url}/users/invitations/{invitationId}/accept';
|
12
|
+
export const API_USER_INVITATION_CHECK_URL = 'https://{url}/users/invitations/{invitationId}/check';
|
13
|
+
export const API_USER_VERIFY_EMAIL_URL = 'https://{url}/users/verification-email';
|
14
|
+
export const API_USER_PAT_URL = 'https://{url}/users/pat';
|
15
|
+
export const API_USER_PAT_TOKEN_URL = 'https://{url}/users/pat/{token}';
|
16
|
+
export const API_ACCOUNT_URL = 'https://{url}/accounts';
|
17
|
+
export const API_ACCOUNT_ID_URL = 'https://{url}/accounts/{accountId}';
|
18
|
+
export const API_ACCOUNT_ACTIVATE_URL = 'https://{url}/accounts/{accountId}/activate';
|
19
|
+
export const API_AUTH_USER_ACCOUNT_USER_URL = 'https://{url}/accounts/{accountId}/users';
|
20
|
+
export const API_AUTH_USER_ACCOUNT_USER_ID_URL = 'https://{url}/accounts/{accountId}/users/{userId}';
|
21
|
+
export const API_ACCOUNT_SETTINGS_URL = 'https://{url}/accounts/{accountId}/settings';
|
22
|
+
export const API_ACCOUNT_INTEGRATION_URL = 'https://{url}/accounts/{accountId}/integrations/{integrationId}';
|
23
|
+
export const API_ACCOUNT_INTEGRATION_TYPE_URL = 'https://{url}/accounts/{accountId}/integrations/{integrationId}/{integrationType}';
|
24
|
+
export const API_SERVER_TIME_URL = 'https://{url}/time';
|
25
|
+
export const API_ACCOUNT_PROJECT_URL = 'https://{url}/accounts/{accountId}/projects';
|
26
|
+
export const API_ACCOUNT_PROJECT_ID_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}';
|
27
|
+
export const API_ACCOUNT_PROJECT_USER_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/users';
|
28
|
+
export const API_ACCOUNT_PROJECT_USER_ID_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/users/{userId}';
|
29
|
+
export const API_ACCOUNT_PROJECT_APPLICATION_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/applications';
|
30
|
+
export const API_ACCOUNT_PROJECT_APPLICATION_ID_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/applications/{applicationId}';
|
31
|
+
export const API_PROJECT_URL = 'https://{url}/projects';
|
32
|
+
export const API_PROJECT_ID_URL = 'https://{url}/projects/{projectId}';
|
33
|
+
export const API_PROJECT_USERS_URL = 'https://{url}/projects/{projectId}/users';
|
34
|
+
export const API_PROJECT_ASSET_URL = 'https://{url}/projects/{projectId}/assets';
|
35
|
+
export const API_PROJECT_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/assets/{filePath}';
|
36
|
+
export const API_PROJECT_ASSET_ROBOTS_SYNC_DEFINITION_PATH_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/sync-definitions';
|
37
|
+
export const API_PROJECT_ASSET_PROFILES_SYNC_DEFINITION_PATH_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/sync-definitions';
|
38
|
+
export const API_PROJECT_ROBOT_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/assets';
|
39
|
+
export const API_PROJECT_FLOW_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/flows/{callsign}/assets';
|
40
|
+
export const API_PROJECT_MISSION_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/missionassets/{dataUUID}';
|
41
|
+
export const API_PROJECT_ROBOT_URL = 'https://{url}/projects/{projectId}/robots';
|
42
|
+
export const API_PROJECT_ROBOT_ID_URL = 'https://{url}/projects/{projectId}/robots/{callsign}';
|
43
|
+
export const API_PROJECT_ROBOT_ATTRIBUTES_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/attributes';
|
44
|
+
export const API_PROJECT_ROBOT_DEFINITION_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/robot-definitions';
|
45
|
+
export const API_PROJECT_ROBOT_REGISTER_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/register';
|
46
|
+
export const API_PROJECT_ROBOT_EVENT_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/event-definitions';
|
47
|
+
export const API_PROJECT_ROBOT_EVENT_HISTORY_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/event-definitions/{eventDefinitionId}/history';
|
48
|
+
export const API_PROJECT_ROBOT_SETTING_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/settings';
|
49
|
+
export const API_PROJECT_ROBOT_AGENT_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/agent-settings';
|
50
|
+
export const API_PROJECT_ROBOT_COMMAND_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/commands';
|
51
|
+
export const API_PROJECT_ROBOT_COMMAND2_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/commands-v2';
|
52
|
+
export const API_PROJECT_ROBOT_BUTTON_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/buttons';
|
53
|
+
export const API_PROJECT_ROBOT_TRIGGER_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/triggers';
|
54
|
+
export const API_PROJECT_ROBOT_GAMEPAD_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/gamepads';
|
55
|
+
export const API_PROJECT_OPERATION_URL = 'https://{url}/projects/{projectId}/operations';
|
56
|
+
export const API_PROJECT_OPERATION_ID_URL = 'https://{url}/projects/{projectId}/operations/{operationId}';
|
57
|
+
export const API_PROJECT_DASHBOARD_URL = 'https://{url}/projects/{projectId}/dashboards';
|
58
|
+
export const API_PROJECT_DASHBOARD_ID_URL = 'https://{url}/projects/{projectId}/dashboards/{dashboardId}';
|
59
|
+
export const API_PROJECT_DASHBOARD_WIDGET_URL = 'https://{url}/projects/{projectId}/dashboards/{dashboardId}/widgets';
|
60
|
+
export const API_PROJECT_DASHBOARD_CUSTOM_WIDGET_URL = 'https://{url}/projects/{projectId}/dashboards/{dashboardId}/custom-widgets';
|
61
|
+
export const API_PROJECT_COLLECTION_ID_URL = 'https://{url}/projects/{projectId}/doc-collections/{collectionId}';
|
62
|
+
export const API_PROJECT_COLLECTION_DOCS_URL = 'https://{url}/projects/{projectId}/doc-collections/{collectionId}/docs';
|
63
|
+
export const API_PROJECT_VROBOT_DETAILS_URL = 'https://{url}/projects/{projectId}/vrobots/{callsign}/details';
|
64
|
+
export const API_PROJECT_VROBOT_DEPLOY_URL = 'https://{url}/projects/{projectId}/vrobots/{callsign}/deploy';
|
65
|
+
export const API_PROJECT_DEFINITION_URL = 'https://{url}/projects/{projectId}/robot-definitions';
|
66
|
+
export const API_PROJECT_DEFINITION_ID_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}';
|
67
|
+
export const API_PROJECT_DEFINITION_STREAM_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/streams';
|
68
|
+
export const API_PROJECT_DEFINITION_COPY_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/copy';
|
69
|
+
export const API_PROJECT_DEFINITION_DASHBOARD_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/dashboards';
|
70
|
+
export const API_PROJECT_DEFINITION_BLOB_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/dashboard-blob';
|
71
|
+
export const API_PROJECT_DEFINITION_SETTING_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/settings';
|
72
|
+
export const API_PROJECT_DEFINITION_AGENT_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/agent-settings';
|
73
|
+
export const API_PROJECT_DEFINITION_COMMAND_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/commands';
|
74
|
+
export const API_PROJECT_DEFINITION_COMMAND2_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/commands-v2';
|
75
|
+
export const API_PROJECT_DEFINITION_EVENT_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/event-definitions';
|
76
|
+
export const API_PROJECT_DEFINITION_ACTION_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/command-actions';
|
77
|
+
export const API_PROJECT_DEFINITION_BUTTON_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/buttons';
|
78
|
+
export const API_PROJECT_DEFINITION_TRIGGER_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/triggers';
|
79
|
+
export const API_PROJECT_DEFINITION_GAMEPAD_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/gamepads';
|
80
|
+
export const API_PROJECT_GROUP_TYPE_URL = 'https://{url}/projects/{projectId}/config-groups/{type}';
|
81
|
+
export const API_PROJECT_GROUP_TYPE_ID_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}';
|
82
|
+
export const API_PROJECT_GROUP_TYPE_PUBLISH_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/publish';
|
83
|
+
export const API_PROJECT_GROUP_TYPE_CONFIG_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{configId}';
|
84
|
+
export const API_PROJECT_GROUP_TYPE_VERSION_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{version}';
|
85
|
+
export const API_PROJECT_GROUP_TYPE_OWNER_ID_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/owner/{ownerId}';
|
86
|
+
export const API_PROJECT_GROUP_TYPE_OWNER_OVERRIDE_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{ownerId}/override';
|
87
|
+
export const API_PROJECT_FUNCTION_URL = 'https://{url}/projects/{projectId}/functions';
|
88
|
+
export const API_PROJECT_FUNCTION_ID_URL = 'https://{url}/projects/{projectId}/functions/{functionId}';
|
89
|
+
export const API_PROJECT_FUNCTION_RUN_URL = 'https://{url}/projects/{projectId}/functions/{functionId}/run';
|
90
|
+
export const API_PROJECT_FUNCTION_POD_URL = 'https://{url}/projects/{projectId}/functions/{functionId}/pods';
|
91
|
+
export const API_PROJECT_EXPORT_URL = 'https://{url}/projects/{projectId}/export-jobs';
|
92
|
+
export const API_PROJECT_STREAM_URL = 'https://{url}/projects/{projectId}/streams';
|
93
|
+
export const API_PROJECT_STREAM_ID_URL = 'https://{url}/projects/{projectId}/streams/{streamId}';
|
94
|
+
export const API_PROJECT_STREAM_DATA_URL = 'https://{url}/projects/{projectId}/streams/{streamId}/data';
|
95
|
+
export const API_PROJECT_STREAM_CALLSIGN_URL = 'https://{url}/projects/{projectId}/streams/{streamId}/callsigns';
|
96
|
+
export const API_PROJECT_ROBOT_DASHBOARD_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/dashboards';
|
97
|
+
export const API_PROJECT_ROBOT_DASHBOARD_ID_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}';
|
98
|
+
export const API_PROJECT_ROBOT_DASHBOARD_CUSTOM_WIDGET_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}/custom-widgets';
|
99
|
+
export const API_PROJECT_CALLSIGN_STREAM_URL = 'https://{url}/projects/{projectId}/callsigns/{callsign}/streams';
|
100
|
+
export const API_PROJECT_CALLSIGN_WORKFLOW_URL = 'https://{url}/projects/{projectId}/callsigns/{callsign}/workflows';
|
101
|
+
export const API_PROJECT_WORKFLOW_URL = 'https://{url}/projects/{projectId}/workflows';
|
102
|
+
export const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments';
|
103
|
+
export const API_PROJECT_WORKFLOW_ID_URL = 'https://{url}/projects/{projectId}/workflows/{workflowId}';
|
104
|
+
export const API_PROJECT_PROFILE_DASHBOARD_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards';
|
105
|
+
export const API_PROJECT_PROFILE_DASHBOARD_ID_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}';
|
106
|
+
export const API_PROJECT_PROFILE_DASHBOARD_CUSTOM_WIDGET_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}/custom-widgets';
|
107
|
+
export const API_TEMPLATE_DEPLOY_URL = 'https://{url}/templates/vrobot-deployment';
|
108
|
+
export const API_TEMPLATE_PROVISION_URL = 'https://{url}/templates/rocos-provisioning-templates';
|
109
|
+
export const API_TEMPLATE_PROVISION_ID_URL = 'https://{url}/templates/rocos-provisioning-templates/exec/{templateId}';
|
110
|
+
export const API_TEMPLATE_EXPORTER_URL = 'https://{url}/templates/project-stream-data-exporter';
|
111
|
+
export const API_SOURCE_SCHEMA_URL = 'https://{url}/sourceschemas';
|
112
|
+
export const API_SOURCE_URL = 'https://{url}/sources';
|
113
|
+
export const API_SOURCE_ID_URL = 'https://{url}/sources/{sourceId}';
|
114
|
+
export const API_PROJECT_SCHEDULES_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/schedules';
|
115
|
+
export const API_SPOTTY_URL = 'https://{url}/spotty';
|
116
|
+
export const API_DD_INTEGRATION_PLANS_URL = 'https://{url}/projects/{projectId}/dd/plans';
|
117
|
+
export const API_DD_INTEGRATION_PLAN_BY_ID_URL = 'https://{url}/projects/{projectId}/dd/plan/{planId}';
|
118
|
+
export const API_DD_INTEGRATION_OVERLAYS_URL = 'https://{url}/projects/{projectId}/dd/overlays';
|
119
|
+
export const API_DD_INTEGRATION_ISSUES_URL = 'https://{url}/projects/{projectId}/dd/issues';
|
120
|
+
export const API_MAPS_URL = 'https://{url}/projects/{projectId}/maps';
|
121
|
+
export const API_MAPS_DEPLOYED_URL = 'https://{url}/projects/{projectId}/maps/deployed?callsign={callsign}';
|
122
|
+
export const API_MAPS_MERGE_URL = 'https://{url}/projects/{projectId}/maps/merge';
|
123
|
+
export const API_MAP_ID_URL = 'https://{url}/projects/{projectId}/maps/{mapId}';
|
124
|
+
export const API_MAPS_COPY_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/copy';
|
125
|
+
export const API_MAPS_DEPLOY_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/deploy';
|
126
|
+
export const API_MAPS_GEOJSON_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/geojson';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const GRPC_SOURCE_SUBSCRIBED = "/rocos/agent/telemetry/subscribed";
|
2
|
+
export declare const GRPC_SOURCE_SOURCES = "/rocos/agent/telemetry/sources";
|
3
|
+
export declare const GRPC_SOURCE_NOOP = "/rocos/agent/telemetry/noop";
|
4
|
+
export declare const GRPC_SOURCE_HEARTBEAT = "/rocos/agent/telemetry/heartbeat";
|
5
|
+
export declare const GRPC_SOURCE_VIDEO = "/video/camera";
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export const GRPC_SOURCE_SUBSCRIBED = '/rocos/agent/telemetry/subscribed';
|
2
|
+
export const GRPC_SOURCE_SOURCES = '/rocos/agent/telemetry/sources';
|
3
|
+
export const GRPC_SOURCE_NOOP = '/rocos/agent/telemetry/noop';
|
4
|
+
export const GRPC_SOURCE_HEARTBEAT = '/rocos/agent/telemetry/heartbeat';
|
5
|
+
export const GRPC_SOURCE_VIDEO = '/video/camera';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const IDENTIFIER_NAME_TELEMETRY = "telemetry";
|
2
|
+
export declare const IDENTIFIER_NAME_CALLER = "caller";
|
3
|
+
export declare const IDENTIFIER_NAME_COMMAND = "command";
|
4
|
+
export declare const IDENTIFIER_NAME_CONTROL = "control";
|
5
|
+
export declare const IDENTIFIER_NAME_SEARCH = "search";
|
6
|
+
export declare const IDENTIFIER_NAME_FILE_ACCESSOR = "fileAccessor";
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export const IDENTIFIER_NAME_TELEMETRY = 'telemetry';
|
2
|
+
export const IDENTIFIER_NAME_CALLER = 'caller';
|
3
|
+
export const IDENTIFIER_NAME_COMMAND = 'command';
|
4
|
+
export const IDENTIFIER_NAME_CONTROL = 'control';
|
5
|
+
export const IDENTIFIER_NAME_SEARCH = 'search';
|
6
|
+
export const IDENTIFIER_NAME_FILE_ACCESSOR = 'fileAccessor';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export declare const timezoneData: readonly ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Bahia", "America/Bahia_Banderas", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Costa_Rica", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson", "America/Dawson_Creek", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Fort_Nelson", "America/Fortaleza", "America/Glace_Bay", "America/Godthab", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port-au-Prince", "America/Port_of_Spain", "America/Porto_Velho", "America/Puerto_Rico", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Chita", "Asia/Choibalsan", "Asia/Colombo", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kathmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qyzylorda", "Asia/Riyadh", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ulaanbaatar", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faroe", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/Perth", "Australia/Sydney", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kiev", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Enderbury", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Johnston", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Wake", "Pacific/Wallis", "UTC"];
|
2
|
+
export type Timezone = (typeof timezoneData)[number];
|