@dronedeploy/rocos-js-sdk 3.0.1-alpha.8 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -29
- package/cjs/IRocosSDK.d.ts +4 -3
- package/cjs/RocosSDK.d.ts +19 -7
- package/cjs/RocosSDK.js +31 -10
- package/cjs/api/streams/caller/CallerStream.js +5 -2
- package/cjs/api/streams/caller/CallerStreamNode.js +2 -1
- package/cjs/api/streams/command/CommandStream.js +5 -2
- package/cjs/api/streams/command/CommandStreamNode.js +2 -1
- package/cjs/api/streams/control/ControlStream.js +5 -2
- package/cjs/api/streams/control/ControlStreamAbstract.d.ts +1 -1
- package/cjs/api/streams/control/ControlStreamNode.js +2 -1
- package/cjs/api/streams/fileAccessor/FileAccessorStream.js +4 -1
- package/cjs/api/streams/fileAccessor/FileAccessorStreamNode.js +3 -1
- package/cjs/api/streams/search/SearchStream.js +5 -2
- package/cjs/api/streams/search/SearchStreamNode.js +2 -1
- package/cjs/api/streams/telemetry/TelemetryStream.js +4 -1
- package/cjs/api/streams/telemetry/TelemetryStreamAbstract.d.ts +1 -1
- package/cjs/api/streams/telemetry/TelemetryStreamNode.js +2 -1
- package/cjs/api/streams/webRTCSignalling/WebRTCSignallingStream.js +5 -2
- package/cjs/constants/api.d.ts +31 -15
- package/cjs/constants/api.js +35 -18
- package/cjs/helpers/cleanObject.js +4 -1
- package/cjs/helpers/getUniqueConfigKey.d.ts +6 -2
- package/cjs/helpers/getUniqueConfigKey.js +7 -2
- package/cjs/helpers/index.d.ts +1 -0
- package/cjs/helpers/index.js +1 -0
- package/cjs/helpers/kscript/Context.d.ts +34 -0
- package/cjs/helpers/kscript/Context.js +52 -0
- package/cjs/helpers/kscript/index.d.ts +1 -0
- package/cjs/helpers/kscript/index.js +27 -0
- package/cjs/helpers/kscript/kscript.d.ts +6 -0
- package/cjs/helpers/kscript/kscript.js +115 -0
- package/cjs/helpers/kscript/nodes/Identifier.d.ts +12 -0
- package/cjs/helpers/kscript/nodes/Identifier.js +20 -0
- package/cjs/helpers/kscript/nodes/Literal.d.ts +11 -0
- package/cjs/helpers/kscript/nodes/Literal.js +22 -0
- package/cjs/helpers/kscript/nodes/Node.d.ts +9 -0
- package/cjs/helpers/kscript/nodes/Node.js +15 -0
- package/cjs/helpers/kscript/nodes/Program.d.ts +11 -0
- package/cjs/helpers/kscript/nodes/Program.js +24 -0
- package/cjs/helpers/kscript/nodes/TemplateLiteral.d.ts +23 -0
- package/cjs/helpers/kscript/nodes/TemplateLiteral.js +35 -0
- package/cjs/helpers/kscript/nodes/expressions/ArrayExpression.d.ts +7 -0
- package/cjs/helpers/kscript/nodes/expressions/ArrayExpression.js +31 -0
- package/cjs/helpers/kscript/nodes/expressions/ArrowFunctionExpression.d.ts +14 -0
- package/cjs/helpers/kscript/nodes/expressions/ArrowFunctionExpression.js +40 -0
- package/cjs/helpers/kscript/nodes/expressions/BinaryExpression.d.ts +16 -0
- package/cjs/helpers/kscript/nodes/expressions/BinaryExpression.js +104 -0
- package/cjs/helpers/kscript/nodes/expressions/CallExpression.d.ts +8 -0
- package/cjs/helpers/kscript/nodes/expressions/CallExpression.js +38 -0
- package/cjs/helpers/kscript/nodes/expressions/ChainExpression.d.ts +16 -0
- package/cjs/helpers/kscript/nodes/expressions/ChainExpression.js +25 -0
- package/cjs/helpers/kscript/nodes/expressions/ConditionalExpression.d.ts +14 -0
- package/cjs/helpers/kscript/nodes/expressions/ConditionalExpression.js +30 -0
- package/cjs/helpers/kscript/nodes/expressions/ExpressionStatement.d.ts +7 -0
- package/cjs/helpers/kscript/nodes/expressions/ExpressionStatement.js +18 -0
- package/cjs/helpers/kscript/nodes/expressions/LogicalExpression.d.ts +10 -0
- package/cjs/helpers/kscript/nodes/expressions/LogicalExpression.js +47 -0
- package/cjs/helpers/kscript/nodes/expressions/MemberExpression.d.ts +44 -0
- package/cjs/helpers/kscript/nodes/expressions/MemberExpression.js +98 -0
- package/cjs/helpers/kscript/nodes/expressions/ObjectExpression.d.ts +11 -0
- package/cjs/helpers/kscript/nodes/expressions/ObjectExpression.js +59 -0
- package/cjs/helpers/kscript/nodes/expressions/UnaryExpression.d.ts +12 -0
- package/cjs/helpers/kscript/nodes/expressions/UnaryExpression.js +44 -0
- package/cjs/helpers/kscript/nodes/expressions/index.d.ts +11 -0
- package/cjs/helpers/kscript/nodes/expressions/index.js +28 -0
- package/cjs/helpers/kscript/nodes/index.d.ts +4 -0
- package/cjs/helpers/kscript/nodes/index.js +10 -0
- package/cjs/helpers/kscript/nodes/nodeTypes.d.ts +33 -0
- package/cjs/helpers/kscript/nodes/nodeTypes.js +29 -0
- package/cjs/helpers/kscript/utils.d.ts +4 -0
- package/cjs/helpers/kscript/utils.js +15 -0
- package/cjs/helpers/websandbox/connection.d.ts +2 -1
- package/cjs/helpers/websandbox/connection.js +6 -5
- package/cjs/helpers/websandbox/frame/frame.js +4 -1
- package/cjs/helpers/websandbox/frame/frame.source.js +1 -1
- package/cjs/helpers/websandbox/frame/worker/manager.d.ts +8 -4
- package/cjs/helpers/websandbox/frame/worker/manager.js +32 -14
- package/cjs/helpers/websandbox/frame/worker/worker.source.js +1 -1
- package/cjs/helpers/websandbox/sandbox.d.ts +1 -1
- package/cjs/helpers/websandbox/sandbox.js +7 -7
- package/cjs/models/IConnectedCallsign.d.ts +10 -0
- package/cjs/models/IConnectedCallsign.js +8 -0
- package/cjs/models/RocosError.d.ts +3 -0
- package/cjs/models/RocosError.js +3 -0
- package/cjs/models/ServiceEnum.d.ts +20 -17
- package/cjs/models/ServiceEnum.js +20 -17
- package/cjs/models/TelemetryStatus.d.ts +12 -0
- package/cjs/models/TelemetryStatus.js +17 -0
- package/cjs/models/Token.d.ts +2 -2
- package/cjs/models/Token.js +5 -5
- package/cjs/models/asset-storage/{AssetModelItem.d.ts → AssetItem.d.ts} +2 -0
- package/cjs/models/asset-storage/SyncIntegrations.d.ts +1 -1
- package/cjs/models/device-credentials/DeviceCredentials.d.ts +61 -0
- package/cjs/models/device-credentials/DeviceCredentials.js +2 -0
- package/cjs/models/graph/Position.d.ts +6 -0
- package/cjs/models/graph/Position.js +2 -0
- package/cjs/models/graph/Quaternion.d.ts +6 -0
- package/cjs/models/graph/Quaternion.js +2 -0
- package/cjs/models/graph/Vector3.d.ts +5 -0
- package/cjs/models/graph/Vector3.js +2 -0
- package/cjs/models/graph/index.d.ts +3 -0
- package/cjs/models/graph/index.js +19 -0
- package/cjs/models/index.d.ts +9 -2
- package/cjs/models/index.js +9 -2
- package/cjs/models/integrations/Location.d.ts +24 -0
- package/cjs/models/integrations/Location.js +2 -0
- package/cjs/models/integrations/PaginatedResults.d.ts +4 -0
- package/cjs/models/integrations/PaginatedResults.js +2 -0
- package/cjs/models/maps/Panorama.d.ts +12 -21
- package/cjs/models/projects/ExternalProject.d.ts +10 -0
- package/cjs/models/projects/ExternalProject.js +2 -0
- package/cjs/models/projects/NewProjectRequest.d.ts +8 -0
- package/cjs/models/projects/NewProjectRequest.js +2 -0
- package/cjs/models/target/Target.d.ts +30 -0
- package/cjs/models/target/Target.js +15 -0
- package/cjs/node/RocosSDKNode.d.ts +1 -5
- package/cjs/node/RocosSDKNode.js +9 -9
- package/cjs/services/AssetStorageService.d.ts +19 -19
- package/cjs/services/AssetStorageService.js +20 -9
- package/cjs/services/AuthService.d.ts +12 -1
- package/cjs/services/AuthService.js +25 -1
- package/cjs/services/BaseServiceAbstract.d.ts +1 -1
- package/cjs/services/BaseServiceAbstract.js +2 -2
- package/cjs/services/DeviceCredentialsService.d.ts +15 -0
- package/cjs/services/DeviceCredentialsService.js +56 -0
- package/cjs/services/EnvironmentService.d.ts +28 -0
- package/cjs/services/EnvironmentService.js +48 -0
- package/cjs/services/EvaluatorService.js +1 -1
- package/cjs/services/IntegrationService.d.ts +7 -1
- package/cjs/services/IntegrationService.js +8 -0
- package/cjs/services/MapService.d.ts +18 -8
- package/cjs/services/MapService.js +37 -19
- package/cjs/services/ProfileService.d.ts +24 -0
- package/cjs/services/ProfileService.js +34 -0
- package/cjs/services/ProjectService.d.ts +7 -2
- package/cjs/services/ProjectService.js +7 -3
- package/cjs/services/RTPWebRTCService.d.ts +6 -1
- package/cjs/services/RTPWebRTCService.js +10 -2
- package/cjs/services/RobotService.d.ts +3 -1
- package/cjs/services/RobotService.js +6 -0
- package/cjs/services/SpotProvisioningService.d.ts +1 -1
- package/cjs/services/SpotProvisioningServiceNode.d.ts +1 -1
- package/cjs/services/TargetService.d.ts +16 -0
- package/cjs/services/TargetService.js +58 -0
- package/cjs/services/TelemetryService.d.ts +10 -1
- package/cjs/services/TelemetryService.js +27 -5
- package/cjs/services/WorkflowService.d.ts +18 -8
- package/cjs/services/WorkflowService.js +37 -11
- package/cjs/services/index.d.ts +11 -9
- package/cjs/services/index.js +11 -9
- package/cjs/store/RocosStore.d.ts +1 -2
- package/esm/IRocosSDK.d.ts +4 -3
- package/esm/RocosSDK.d.ts +19 -7
- package/esm/RocosSDK.js +32 -11
- package/esm/api/streams/caller/CallerStream.js +5 -2
- package/esm/api/streams/caller/CallerStreamNode.js +2 -1
- package/esm/api/streams/command/CommandStream.js +5 -2
- package/esm/api/streams/command/CommandStreamNode.js +2 -1
- package/esm/api/streams/control/ControlStream.js +5 -2
- package/esm/api/streams/control/ControlStreamAbstract.d.ts +1 -1
- package/esm/api/streams/control/ControlStreamNode.js +2 -1
- package/esm/api/streams/fileAccessor/FileAccessorStream.js +4 -1
- package/esm/api/streams/fileAccessor/FileAccessorStreamNode.js +3 -1
- package/esm/api/streams/search/SearchStream.js +5 -2
- package/esm/api/streams/search/SearchStreamNode.js +2 -1
- package/esm/api/streams/telemetry/TelemetryStream.js +4 -1
- package/esm/api/streams/telemetry/TelemetryStreamAbstract.d.ts +1 -1
- package/esm/api/streams/telemetry/TelemetryStreamNode.js +2 -1
- package/esm/api/streams/webRTCSignalling/WebRTCSignallingStream.js +5 -2
- package/esm/constants/api.d.ts +31 -15
- package/esm/constants/api.js +31 -15
- package/esm/helpers/cleanObject.js +4 -1
- package/esm/helpers/getUniqueConfigKey.d.ts +6 -2
- package/esm/helpers/getUniqueConfigKey.js +7 -2
- package/esm/helpers/index.d.ts +1 -0
- package/esm/helpers/index.js +1 -0
- package/esm/helpers/kscript/Context.d.ts +34 -0
- package/esm/helpers/kscript/Context.js +49 -0
- package/esm/helpers/kscript/index.d.ts +1 -0
- package/esm/helpers/kscript/index.js +1 -0
- package/esm/helpers/kscript/kscript.d.ts +6 -0
- package/esm/helpers/kscript/kscript.js +107 -0
- package/esm/helpers/kscript/nodes/Identifier.d.ts +12 -0
- package/esm/helpers/kscript/nodes/Identifier.js +14 -0
- package/esm/helpers/kscript/nodes/Literal.d.ts +11 -0
- package/esm/helpers/kscript/nodes/Literal.js +16 -0
- package/esm/helpers/kscript/nodes/Node.d.ts +9 -0
- package/esm/helpers/kscript/nodes/Node.js +12 -0
- package/esm/helpers/kscript/nodes/Program.d.ts +11 -0
- package/esm/helpers/kscript/nodes/Program.js +18 -0
- package/esm/helpers/kscript/nodes/TemplateLiteral.d.ts +23 -0
- package/esm/helpers/kscript/nodes/TemplateLiteral.js +29 -0
- package/esm/helpers/kscript/nodes/expressions/ArrayExpression.d.ts +7 -0
- package/esm/helpers/kscript/nodes/expressions/ArrayExpression.js +25 -0
- package/esm/helpers/kscript/nodes/expressions/ArrowFunctionExpression.d.ts +14 -0
- package/esm/helpers/kscript/nodes/expressions/ArrowFunctionExpression.js +34 -0
- package/esm/helpers/kscript/nodes/expressions/BinaryExpression.d.ts +16 -0
- package/esm/helpers/kscript/nodes/expressions/BinaryExpression.js +98 -0
- package/esm/helpers/kscript/nodes/expressions/CallExpression.d.ts +8 -0
- package/esm/helpers/kscript/nodes/expressions/CallExpression.js +32 -0
- package/esm/helpers/kscript/nodes/expressions/ChainExpression.d.ts +16 -0
- package/esm/helpers/kscript/nodes/expressions/ChainExpression.js +19 -0
- package/esm/helpers/kscript/nodes/expressions/ConditionalExpression.d.ts +14 -0
- package/esm/helpers/kscript/nodes/expressions/ConditionalExpression.js +24 -0
- package/esm/helpers/kscript/nodes/expressions/ExpressionStatement.d.ts +7 -0
- package/esm/helpers/kscript/nodes/expressions/ExpressionStatement.js +12 -0
- package/esm/helpers/kscript/nodes/expressions/LogicalExpression.d.ts +10 -0
- package/esm/helpers/kscript/nodes/expressions/LogicalExpression.js +41 -0
- package/esm/helpers/kscript/nodes/expressions/MemberExpression.d.ts +44 -0
- package/esm/helpers/kscript/nodes/expressions/MemberExpression.js +92 -0
- package/esm/helpers/kscript/nodes/expressions/ObjectExpression.d.ts +11 -0
- package/esm/helpers/kscript/nodes/expressions/ObjectExpression.js +53 -0
- package/esm/helpers/kscript/nodes/expressions/UnaryExpression.d.ts +12 -0
- package/esm/helpers/kscript/nodes/expressions/UnaryExpression.js +38 -0
- package/esm/helpers/kscript/nodes/expressions/index.d.ts +11 -0
- package/esm/helpers/kscript/nodes/expressions/index.js +11 -0
- package/esm/helpers/kscript/nodes/index.d.ts +4 -0
- package/esm/helpers/kscript/nodes/index.js +3 -0
- package/esm/helpers/kscript/nodes/nodeTypes.d.ts +33 -0
- package/esm/helpers/kscript/nodes/nodeTypes.js +24 -0
- package/esm/helpers/kscript/utils.d.ts +4 -0
- package/esm/helpers/kscript/utils.js +11 -0
- package/esm/helpers/websandbox/connection.d.ts +2 -1
- package/esm/helpers/websandbox/connection.js +6 -5
- package/esm/helpers/websandbox/frame/frame.js +4 -1
- package/esm/helpers/websandbox/frame/frame.source.js +1 -1
- package/esm/helpers/websandbox/frame/worker/manager.d.ts +8 -4
- package/esm/helpers/websandbox/frame/worker/manager.js +32 -14
- package/esm/helpers/websandbox/frame/worker/worker.source.js +1 -1
- package/esm/helpers/websandbox/sandbox.d.ts +1 -1
- package/esm/helpers/websandbox/sandbox.js +7 -7
- package/esm/models/IConnectedCallsign.d.ts +10 -0
- package/esm/models/IConnectedCallsign.js +5 -0
- package/esm/models/RocosError.d.ts +3 -0
- package/esm/models/RocosError.js +3 -0
- package/esm/models/ServiceEnum.d.ts +20 -17
- package/esm/models/ServiceEnum.js +20 -17
- package/esm/models/TelemetryStatus.d.ts +12 -0
- package/esm/models/TelemetryStatus.js +14 -0
- package/esm/models/Token.d.ts +2 -2
- package/esm/models/Token.js +5 -5
- package/esm/models/asset-storage/{AssetModelItem.d.ts → AssetItem.d.ts} +2 -0
- package/esm/models/asset-storage/SyncIntegrations.d.ts +1 -1
- package/esm/models/device-credentials/DeviceCredentials.d.ts +61 -0
- package/esm/models/graph/Position.d.ts +6 -0
- package/esm/models/graph/Quaternion.d.ts +6 -0
- package/esm/models/graph/Vector3.d.ts +5 -0
- package/esm/models/graph/index.d.ts +3 -0
- package/esm/models/graph/index.js +3 -0
- package/esm/models/index.d.ts +9 -2
- package/esm/models/index.js +9 -2
- package/esm/models/integrations/Location.d.ts +24 -0
- package/esm/models/integrations/PaginatedResults.d.ts +4 -0
- package/esm/models/maps/Panorama.d.ts +12 -21
- package/esm/models/projects/ExternalProject.d.ts +10 -0
- package/esm/models/projects/NewProjectRequest.d.ts +8 -0
- package/esm/models/target/Target.d.ts +30 -0
- package/esm/models/target/Target.js +9 -0
- package/esm/node/RocosSDKNode.d.ts +1 -5
- package/esm/node/RocosSDKNode.js +10 -10
- package/esm/services/AssetStorageService.d.ts +19 -19
- package/esm/services/AssetStorageService.js +20 -9
- package/esm/services/AuthService.d.ts +12 -1
- package/esm/services/AuthService.js +25 -1
- package/esm/services/BaseServiceAbstract.d.ts +1 -1
- package/esm/services/BaseServiceAbstract.js +3 -3
- package/esm/services/DeviceCredentialsService.d.ts +15 -0
- package/esm/services/DeviceCredentialsService.js +52 -0
- package/esm/services/EnvironmentService.d.ts +28 -0
- package/esm/services/EnvironmentService.js +44 -0
- package/esm/services/EvaluatorService.js +1 -1
- package/esm/services/IntegrationService.d.ts +7 -1
- package/esm/services/IntegrationService.js +10 -2
- package/esm/services/MapService.d.ts +18 -8
- package/esm/services/MapService.js +38 -20
- package/esm/services/ProfileService.d.ts +24 -0
- package/esm/services/ProfileService.js +35 -1
- package/esm/services/ProjectService.d.ts +7 -2
- package/esm/services/ProjectService.js +9 -5
- package/esm/services/RTPWebRTCService.d.ts +6 -1
- package/esm/services/RTPWebRTCService.js +10 -2
- package/esm/services/RobotService.d.ts +3 -1
- package/esm/services/RobotService.js +8 -2
- package/esm/services/SpotProvisioningService.d.ts +1 -1
- package/esm/services/SpotProvisioningServiceNode.d.ts +1 -1
- package/esm/services/TargetService.d.ts +16 -0
- package/esm/services/TargetService.js +54 -0
- package/esm/services/TelemetryService.d.ts +10 -1
- package/esm/services/TelemetryService.js +28 -6
- package/esm/services/WorkflowService.d.ts +18 -8
- package/esm/services/WorkflowService.js +38 -12
- package/esm/services/index.d.ts +11 -9
- package/esm/services/index.js +11 -9
- package/esm/store/RocosStore.d.ts +1 -2
- package/package.json +2 -2
- package/cjs/helpers/cleanObject.spec.js +0 -55
- package/cjs/helpers/flattenObject.spec.js +0 -31
- package/cjs/helpers/flattenOneOf.spec.js +0 -159
- package/cjs/helpers/formatServiceUrl.spec.js +0 -18
- package/cjs/helpers/getSha256Hex.spec.js +0 -19
- package/cjs/helpers/getSha256HexNode.spec.js +0 -10
- package/cjs/helpers/getURLSearchParams.spec.js +0 -21
- package/cjs/helpers/nanosecondToMillisecond.spec.js +0 -22
- package/cjs/helpers/splitRobotTopic.spec.js +0 -53
- package/cjs/helpers/standardDeviation.spec.d.ts +0 -1
- package/cjs/helpers/standardDeviation.spec.js +0 -13
- package/cjs/helpers/websandbox/frame/worker/manager.spec.d.ts +0 -4
- package/cjs/helpers/websandbox/frame/worker/manager.spec.js +0 -132
- package/cjs/models/CallsignStatus.d.ts +0 -6
- package/cjs/models/CallsignStatus.js +0 -10
- package/cjs/models/ExternalProject.d.ts +0 -6
- package/cjs/models/ExternalProject.js +0 -6
- package/cjs/models/Token.spec.d.ts +0 -1
- package/cjs/models/Token.spec.js +0 -110
- package/cjs/services/AuthService.spec.d.ts +0 -1
- package/cjs/services/AuthService.spec.js +0 -165
- package/cjs/services/CallerService.spec.d.ts +0 -1
- package/cjs/services/CallerService.spec.js +0 -229
- package/cjs/services/FunctionService.d.ts +0 -68
- package/cjs/services/FunctionService.js +0 -103
- package/cjs/services/PlatformTimeService.spec.d.ts +0 -1
- package/cjs/services/PlatformTimeService.spec.js +0 -182
- package/cjs/services/RTPWebRTCService.spec.d.ts +0 -4
- package/cjs/services/RTPWebRTCService.spec.js +0 -171
- package/cjs/services/TelemetryService.spec.d.ts +0 -1
- package/cjs/services/TelemetryService.spec.js +0 -39
- package/esm/helpers/cleanObject.spec.d.ts +0 -1
- package/esm/helpers/cleanObject.spec.js +0 -53
- package/esm/helpers/flattenObject.spec.d.ts +0 -1
- package/esm/helpers/flattenObject.spec.js +0 -29
- package/esm/helpers/flattenOneOf.spec.d.ts +0 -1
- package/esm/helpers/flattenOneOf.spec.js +0 -157
- package/esm/helpers/formatServiceUrl.spec.d.ts +0 -1
- package/esm/helpers/formatServiceUrl.spec.js +0 -16
- package/esm/helpers/getSha256Hex.spec.d.ts +0 -1
- package/esm/helpers/getSha256Hex.spec.js +0 -14
- package/esm/helpers/getSha256HexNode.spec.d.ts +0 -1
- package/esm/helpers/getSha256HexNode.spec.js +0 -8
- package/esm/helpers/getURLSearchParams.spec.d.ts +0 -1
- package/esm/helpers/getURLSearchParams.spec.js +0 -19
- package/esm/helpers/nanosecondToMillisecond.spec.d.ts +0 -1
- package/esm/helpers/nanosecondToMillisecond.spec.js +0 -20
- package/esm/helpers/splitRobotTopic.spec.d.ts +0 -1
- package/esm/helpers/splitRobotTopic.spec.js +0 -51
- package/esm/helpers/standardDeviation.spec.d.ts +0 -1
- package/esm/helpers/standardDeviation.spec.js +0 -11
- package/esm/helpers/websandbox/frame/worker/manager.spec.d.ts +0 -4
- package/esm/helpers/websandbox/frame/worker/manager.spec.js +0 -127
- package/esm/models/CallsignStatus.d.ts +0 -6
- package/esm/models/CallsignStatus.js +0 -7
- package/esm/models/ExternalProject.d.ts +0 -6
- package/esm/models/ExternalProject.js +0 -2
- package/esm/models/Token.spec.d.ts +0 -1
- package/esm/models/Token.spec.js +0 -108
- package/esm/models/asset-storage/AssetModelItem.js +0 -1
- package/esm/services/AuthService.spec.d.ts +0 -1
- package/esm/services/AuthService.spec.js +0 -163
- package/esm/services/CallerService.spec.d.ts +0 -1
- package/esm/services/CallerService.spec.js +0 -227
- package/esm/services/FunctionService.d.ts +0 -68
- package/esm/services/FunctionService.js +0 -99
- package/esm/services/PlatformTimeService.spec.d.ts +0 -1
- package/esm/services/PlatformTimeService.spec.js +0 -180
- package/esm/services/RTPWebRTCService.spec.d.ts +0 -4
- package/esm/services/RTPWebRTCService.spec.js +0 -169
- package/esm/services/TelemetryService.spec.d.ts +0 -1
- package/esm/services/TelemetryService.spec.js +0 -37
- /package/cjs/models/asset-storage/{AssetModelItem.js → AssetItem.js} +0 -0
- /package/{cjs/helpers/cleanObject.spec.d.ts → esm/models/asset-storage/AssetItem.js} +0 -0
- /package/{cjs/helpers/flattenObject.spec.d.ts → esm/models/device-credentials/DeviceCredentials.js} +0 -0
- /package/{cjs/helpers/flattenOneOf.spec.d.ts → esm/models/graph/Position.js} +0 -0
- /package/{cjs/helpers/formatServiceUrl.spec.d.ts → esm/models/graph/Quaternion.js} +0 -0
- /package/{cjs/helpers/getSha256Hex.spec.d.ts → esm/models/graph/Vector3.js} +0 -0
- /package/{cjs/helpers/getSha256HexNode.spec.d.ts → esm/models/integrations/Location.js} +0 -0
- /package/{cjs/helpers/getURLSearchParams.spec.d.ts → esm/models/integrations/PaginatedResults.js} +0 -0
- /package/{cjs/helpers/nanosecondToMillisecond.spec.d.ts → esm/models/projects/ExternalProject.js} +0 -0
- /package/{cjs/helpers/splitRobotTopic.spec.d.ts → esm/models/projects/NewProjectRequest.js} +0 -0
package/esm/RocosSDK.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EvaluatorService, EventService, FileAccessorService,
|
|
1
|
+
import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, DeviceCredentialsService, EnvironmentService, EvaluatorService, EventService, FileAccessorService, IntegrationService, MapService, ProfileService, ProjectService, RTPWebRTCService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TargetService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService } from './services';
|
|
2
2
|
import { AuthorisedConfig, IBaseService, IDebugLevel, IRocosSDKConfig, ServiceEnum } from './models';
|
|
3
3
|
import { IRocosSDK } from './IRocosSDK';
|
|
4
4
|
import { Logger } from 'loglevel';
|
|
@@ -19,13 +19,17 @@ export declare class RocosSDK implements IRocosSDK {
|
|
|
19
19
|
*/
|
|
20
20
|
getService<T extends IBaseService>(name: ServiceEnum): T;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Gets the authentication service.
|
|
23
23
|
*/
|
|
24
24
|
getAuthService(): AuthService;
|
|
25
25
|
/**
|
|
26
26
|
* Gets the robot service.
|
|
27
27
|
*/
|
|
28
28
|
getRobotService(): RobotService;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the event service.
|
|
31
|
+
*/
|
|
32
|
+
getEnvironmentService(): EnvironmentService;
|
|
29
33
|
/**
|
|
30
34
|
* Gets the event service.
|
|
31
35
|
*/
|
|
@@ -62,10 +66,6 @@ export declare class RocosSDK implements IRocosSDK {
|
|
|
62
66
|
* Gets the dashboard service
|
|
63
67
|
*/
|
|
64
68
|
getDashboardService(): DashboardService;
|
|
65
|
-
/**
|
|
66
|
-
* Gets the function service
|
|
67
|
-
*/
|
|
68
|
-
getFunctionService(): FunctionService;
|
|
69
69
|
/**
|
|
70
70
|
* Gets the stream service
|
|
71
71
|
*/
|
|
@@ -130,6 +130,16 @@ export declare class RocosSDK implements IRocosSDK {
|
|
|
130
130
|
* @returns EvaluatorService
|
|
131
131
|
*/
|
|
132
132
|
getEvaluatorService(): EvaluatorService;
|
|
133
|
+
/**
|
|
134
|
+
* Gets the device credentials service.
|
|
135
|
+
* @returns DeviceCredentialsService
|
|
136
|
+
*/
|
|
137
|
+
getDeviceCredentialsService(): DeviceCredentialsService;
|
|
138
|
+
/**
|
|
139
|
+
* Gets the asset service.
|
|
140
|
+
* @returns AssetService
|
|
141
|
+
*/
|
|
142
|
+
getTargetService(): TargetService;
|
|
133
143
|
get platformTimeOffset(): number;
|
|
134
144
|
get platformTime(): number;
|
|
135
145
|
/**
|
|
@@ -145,5 +155,7 @@ export declare class RocosSDK implements IRocosSDK {
|
|
|
145
155
|
*/
|
|
146
156
|
enableDebugMode(on: boolean): void;
|
|
147
157
|
setDebugLevel(level: IDebugLevel): void;
|
|
148
|
-
protected overrideConfig(service: ServiceEnum): AuthorisedConfig
|
|
158
|
+
protected overrideConfig(service: ServiceEnum): AuthorisedConfig & {
|
|
159
|
+
_parentConfig?: IRocosSDKConfig;
|
|
160
|
+
};
|
|
149
161
|
}
|
package/esm/RocosSDK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EvaluatorService, EventService, FileAccessorService,
|
|
1
|
+
import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, DeviceCredentialsService, EnvironmentService, EvaluatorService, EventService, FileAccessorService, IntegrationService, MapService, PlatFormTimeService, ProfileService, ProjectService, RTPWebRTCService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TargetService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService, } from './services';
|
|
2
2
|
import { ServiceEnum } from './models';
|
|
3
3
|
import { RocosLogger } from './logger/RocosLogger';
|
|
4
4
|
import { RocosStore } from './store/RocosStore';
|
|
@@ -35,6 +35,9 @@ export class RocosSDK {
|
|
|
35
35
|
case ServiceEnum.ROBOT:
|
|
36
36
|
this.services[name] = new RobotService(config);
|
|
37
37
|
break;
|
|
38
|
+
case ServiceEnum.ENVIRONMENT:
|
|
39
|
+
this.services[name] = new EnvironmentService(config);
|
|
40
|
+
break;
|
|
38
41
|
case ServiceEnum.EVENT:
|
|
39
42
|
this.services[name] = new EventService(config);
|
|
40
43
|
break;
|
|
@@ -59,9 +62,6 @@ export class RocosSDK {
|
|
|
59
62
|
case ServiceEnum.DASHBOARD:
|
|
60
63
|
this.services[name] = new DashboardService(config);
|
|
61
64
|
break;
|
|
62
|
-
case ServiceEnum.FUNCTION:
|
|
63
|
-
this.services[name] = new FunctionService(config);
|
|
64
|
-
break;
|
|
65
65
|
case ServiceEnum.STREAM:
|
|
66
66
|
this.services[name] = new StreamService(config);
|
|
67
67
|
break;
|
|
@@ -104,13 +104,19 @@ export class RocosSDK {
|
|
|
104
104
|
case ServiceEnum.EVALUATOR:
|
|
105
105
|
this.services[name] = new EvaluatorService(config);
|
|
106
106
|
break;
|
|
107
|
+
case ServiceEnum.DEVICE_CREDENTIALS:
|
|
108
|
+
this.services[name] = new DeviceCredentialsService(config);
|
|
109
|
+
break;
|
|
110
|
+
case ServiceEnum.TARGET:
|
|
111
|
+
this.services[name] = new TargetService(config);
|
|
112
|
+
break;
|
|
107
113
|
}
|
|
108
114
|
}
|
|
109
115
|
this.logger.debug(`Found service ${name}.`);
|
|
110
116
|
return this.services[name];
|
|
111
117
|
}
|
|
112
118
|
/**
|
|
113
|
-
*
|
|
119
|
+
* Gets the authentication service.
|
|
114
120
|
*/
|
|
115
121
|
getAuthService() {
|
|
116
122
|
return this.getService(ServiceEnum.AUTH);
|
|
@@ -121,6 +127,12 @@ export class RocosSDK {
|
|
|
121
127
|
getRobotService() {
|
|
122
128
|
return this.getService(ServiceEnum.ROBOT);
|
|
123
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Gets the event service.
|
|
132
|
+
*/
|
|
133
|
+
getEnvironmentService() {
|
|
134
|
+
return this.getService(ServiceEnum.ENVIRONMENT);
|
|
135
|
+
}
|
|
124
136
|
/**
|
|
125
137
|
* Gets the event service.
|
|
126
138
|
*/
|
|
@@ -175,12 +187,6 @@ export class RocosSDK {
|
|
|
175
187
|
getDashboardService() {
|
|
176
188
|
return this.getService(ServiceEnum.DASHBOARD);
|
|
177
189
|
}
|
|
178
|
-
/**
|
|
179
|
-
* Gets the function service
|
|
180
|
-
*/
|
|
181
|
-
getFunctionService() {
|
|
182
|
-
return this.getService(ServiceEnum.FUNCTION);
|
|
183
|
-
}
|
|
184
190
|
/**
|
|
185
191
|
* Gets the stream service
|
|
186
192
|
*/
|
|
@@ -273,6 +279,20 @@ export class RocosSDK {
|
|
|
273
279
|
getEvaluatorService() {
|
|
274
280
|
return this.getService(ServiceEnum.EVALUATOR);
|
|
275
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* Gets the device credentials service.
|
|
284
|
+
* @returns DeviceCredentialsService
|
|
285
|
+
*/
|
|
286
|
+
getDeviceCredentialsService() {
|
|
287
|
+
return this.getService(ServiceEnum.DEVICE_CREDENTIALS);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Gets the asset service.
|
|
291
|
+
* @returns AssetService
|
|
292
|
+
*/
|
|
293
|
+
getTargetService() {
|
|
294
|
+
return this.getService(ServiceEnum.TARGET);
|
|
295
|
+
}
|
|
276
296
|
get platformTimeOffset() {
|
|
277
297
|
return PlatFormTimeService.getInstance(this.getTimeSyncerService())?.platformTimeOffset;
|
|
278
298
|
}
|
|
@@ -319,6 +339,7 @@ export class RocosSDK {
|
|
|
319
339
|
return {
|
|
320
340
|
...config,
|
|
321
341
|
...this.config.overrides?.[service],
|
|
342
|
+
_parentConfig: this.config,
|
|
322
343
|
};
|
|
323
344
|
}
|
|
324
345
|
}
|
|
@@ -68,11 +68,14 @@ export class CallerStream extends CallerStreamAbstract {
|
|
|
68
68
|
return stringToUint8Array(payload);
|
|
69
69
|
}
|
|
70
70
|
getMetadata(projectId, callsign, subsystem) {
|
|
71
|
-
|
|
72
|
-
'authorization': this.token,
|
|
71
|
+
const meta = {
|
|
73
72
|
'r-p': projectId,
|
|
74
73
|
'r-cs': callsign,
|
|
75
74
|
'r-s': subsystem ?? '',
|
|
76
75
|
};
|
|
76
|
+
if (this.token) {
|
|
77
|
+
meta.authorization = this.token;
|
|
78
|
+
}
|
|
79
|
+
return meta;
|
|
77
80
|
}
|
|
78
81
|
}
|
|
@@ -109,7 +109,8 @@ export class CallerStreamNode extends CallerStreamAbstract {
|
|
|
109
109
|
meta.add('r-p', projectId);
|
|
110
110
|
meta.add('r-cs', callsign);
|
|
111
111
|
meta.add('r-s', subsystem ?? '');
|
|
112
|
-
|
|
112
|
+
if (this.token)
|
|
113
|
+
meta.add('authorization', this.token);
|
|
113
114
|
return meta;
|
|
114
115
|
}
|
|
115
116
|
}
|
|
@@ -58,10 +58,13 @@ export class CommandStream extends CommandStreamAbstract {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
getMetadata(projectId, callsign) {
|
|
61
|
-
|
|
62
|
-
'authorization': this.token,
|
|
61
|
+
const meta = {
|
|
63
62
|
'r-p': projectId,
|
|
64
63
|
'r-cs': callsign,
|
|
65
64
|
};
|
|
65
|
+
if (this.token) {
|
|
66
|
+
meta.authorization = this.token;
|
|
67
|
+
}
|
|
68
|
+
return meta;
|
|
66
69
|
}
|
|
67
70
|
}
|
|
@@ -58,12 +58,13 @@ export class CommandStreamNode extends CommandStreamAbstract {
|
|
|
58
58
|
}
|
|
59
59
|
getMetadata(projectId, callsign, subsystem) {
|
|
60
60
|
const meta = new grpc.Metadata();
|
|
61
|
-
meta.add('authorization', this.token);
|
|
62
61
|
meta.add('r-p', projectId);
|
|
63
62
|
meta.add('r-cs', callsign);
|
|
64
63
|
if (subsystem) {
|
|
65
64
|
meta.add('r-s', subsystem);
|
|
66
65
|
}
|
|
66
|
+
if (this.token)
|
|
67
|
+
meta.add('authorization', this.token);
|
|
67
68
|
return meta;
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -67,10 +67,13 @@ export class ControlStream extends ControlStreamAbstract {
|
|
|
67
67
|
return stringToUint8Array(payload);
|
|
68
68
|
}
|
|
69
69
|
getMetadata(projectId, callsign) {
|
|
70
|
-
|
|
71
|
-
'authorization': this.token,
|
|
70
|
+
const meta = {
|
|
72
71
|
'r-p': projectId,
|
|
73
72
|
'r-cs': callsign,
|
|
74
73
|
};
|
|
74
|
+
if (this.token) {
|
|
75
|
+
meta.authorization = this.token;
|
|
76
|
+
}
|
|
77
|
+
return meta;
|
|
75
78
|
}
|
|
76
79
|
}
|
|
@@ -5,7 +5,7 @@ import { Logger } from 'loglevel';
|
|
|
5
5
|
export declare abstract class ControlStreamAbstract implements IControlStream {
|
|
6
6
|
identifier: string;
|
|
7
7
|
statusStream$: BehaviorSubject<SubscriberStatusEnum>;
|
|
8
|
-
protected token
|
|
8
|
+
protected token?: string;
|
|
9
9
|
private readonly scope;
|
|
10
10
|
protected url: string;
|
|
11
11
|
protected subscriberStatus: SubscriberStatusEnum;
|
|
@@ -65,9 +65,10 @@ export class ControlStreamNode extends ControlStreamAbstract {
|
|
|
65
65
|
}
|
|
66
66
|
getMetadata(projectId, callsign) {
|
|
67
67
|
const meta = new grpc.Metadata();
|
|
68
|
-
meta.add('authorization', this.token);
|
|
69
68
|
meta.add('r-p', projectId);
|
|
70
69
|
meta.add('r-cs', callsign);
|
|
70
|
+
if (this.token)
|
|
71
|
+
meta.add('authorization', this.token);
|
|
71
72
|
return meta;
|
|
72
73
|
}
|
|
73
74
|
}
|
|
@@ -48,7 +48,10 @@ export class FileAccessorStream extends FileAccessorStreamAbstract {
|
|
|
48
48
|
throw new Error('Error in serverReqOp call');
|
|
49
49
|
}
|
|
50
50
|
getMetadata(projectId, callsign) {
|
|
51
|
-
const result = {
|
|
51
|
+
const result = {};
|
|
52
|
+
if (this.token) {
|
|
53
|
+
result.authorization = this.token;
|
|
54
|
+
}
|
|
52
55
|
if (projectId) {
|
|
53
56
|
result['r-p'] = projectId;
|
|
54
57
|
}
|
|
@@ -54,7 +54,9 @@ export class FileAccessorStreamNode extends FileAccessorStreamAbstract {
|
|
|
54
54
|
}
|
|
55
55
|
getMetadata(projectId, callsign) {
|
|
56
56
|
const meta = new grpc.Metadata();
|
|
57
|
-
|
|
57
|
+
if (this.token) {
|
|
58
|
+
meta.add('authorization', this.token);
|
|
59
|
+
}
|
|
58
60
|
if (projectId) {
|
|
59
61
|
meta.add('r-p', projectId);
|
|
60
62
|
}
|
|
@@ -89,9 +89,12 @@ export class SearchStream extends SearchStreamAbstract {
|
|
|
89
89
|
return response;
|
|
90
90
|
}
|
|
91
91
|
getMetadata(projectId) {
|
|
92
|
-
|
|
93
|
-
'authorization': this.token,
|
|
92
|
+
const meta = {
|
|
94
93
|
'r-p': projectId,
|
|
95
94
|
};
|
|
95
|
+
if (this.token) {
|
|
96
|
+
meta.authorization = this.token;
|
|
97
|
+
}
|
|
98
|
+
return meta;
|
|
96
99
|
}
|
|
97
100
|
}
|
|
@@ -111,8 +111,9 @@ export class SearchStreamNode extends SearchStreamAbstract {
|
|
|
111
111
|
}
|
|
112
112
|
getMetadata(projectId) {
|
|
113
113
|
const meta = new grpc.Metadata();
|
|
114
|
-
meta.add('authorization', this.token);
|
|
115
114
|
meta.add('r-p', projectId);
|
|
115
|
+
if (this.token)
|
|
116
|
+
meta.add('authorization', this.token);
|
|
116
117
|
return meta;
|
|
117
118
|
}
|
|
118
119
|
}
|
|
@@ -62,7 +62,10 @@ export class TelemetryStream extends TelemetryStreamAbstract {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
getMetadata(projectId) {
|
|
65
|
-
const result = {
|
|
65
|
+
const result = {};
|
|
66
|
+
if (this.token) {
|
|
67
|
+
result.authorization = this.token;
|
|
68
|
+
}
|
|
66
69
|
if (projectId) {
|
|
67
70
|
result['r-p'] = projectId;
|
|
68
71
|
}
|
|
@@ -11,7 +11,7 @@ export declare abstract class TelemetryStreamAbstract implements ITelemetryStrea
|
|
|
11
11
|
protected projectId: string;
|
|
12
12
|
private callsignsLookup;
|
|
13
13
|
private sources;
|
|
14
|
-
protected token
|
|
14
|
+
protected token?: string;
|
|
15
15
|
private scope;
|
|
16
16
|
protected url: string;
|
|
17
17
|
private timerIntervalInSec;
|
|
@@ -103,10 +103,11 @@ export class TelemetryStreamNode extends TelemetryStreamAbstract {
|
|
|
103
103
|
}
|
|
104
104
|
getMetaData() {
|
|
105
105
|
const meta = new grpc.Metadata();
|
|
106
|
-
meta.add('authorization', this.token);
|
|
107
106
|
meta.add('r-p', this.projectId);
|
|
108
107
|
meta.add('r-tid', uuid4());
|
|
109
108
|
meta.add('r-cs', 'rocos-js-sdk-agent');
|
|
109
|
+
if (this.token)
|
|
110
|
+
meta.add('authorization', this.token);
|
|
110
111
|
return meta;
|
|
111
112
|
}
|
|
112
113
|
requestTelemetry(req) {
|
|
@@ -77,9 +77,12 @@ export class WebRTCSignallingStream extends WebRTCSignallingStreamAbstract {
|
|
|
77
77
|
return this.webRTCOperatorclient.addIceCandidate(request, { meta: metadata }).response;
|
|
78
78
|
}
|
|
79
79
|
getMetadata(projectId) {
|
|
80
|
-
|
|
81
|
-
'authorization': this.token,
|
|
80
|
+
const meta = {
|
|
82
81
|
'r-p': projectId,
|
|
83
82
|
};
|
|
83
|
+
if (this.token) {
|
|
84
|
+
meta.authorization = this.token;
|
|
85
|
+
}
|
|
86
|
+
return meta;
|
|
84
87
|
}
|
|
85
88
|
}
|
package/esm/constants/api.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare const API_ACCOUNT_PROJECT_USER_URL = "https://{url}/accounts/{acc
|
|
|
28
28
|
export declare const API_ACCOUNT_PROJECT_USER_ID_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/users/{userId}";
|
|
29
29
|
export declare const API_ACCOUNT_PROJECT_APPLICATION_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/applications";
|
|
30
30
|
export declare const API_ACCOUNT_PROJECT_APPLICATION_ID_URL = "https://{url}/accounts/{accountId}/projects/{projectId}/applications/{applicationId}";
|
|
31
|
+
export declare const API_ACCOUNT_EXTERNAL_PROJECTS_URL = "https://{url}/accounts/{accountId}/external-projects";
|
|
31
32
|
export declare const API_PROJECT_URL = "https://{url}/projects";
|
|
32
33
|
export declare const API_PROJECT_ID_URL = "https://{url}/projects/{projectId}";
|
|
33
34
|
export declare const API_PROJECT_USERS_URL = "https://{url}/projects/{projectId}/users";
|
|
@@ -43,6 +44,7 @@ export declare const API_PROJECT_FLOW_ASSET_PATH_URL = "https://{url}/projects/{
|
|
|
43
44
|
export declare const API_PROJECT_MISSION_ASSETS_PATH_URL = "https://{url}/projects/{projectId}/missionassets";
|
|
44
45
|
export declare const API_PROJECT_MISSION_ASSET_PATH_URL = "https://{url}/projects/{projectId}/missionassets/{assetId}";
|
|
45
46
|
export declare const API_PROJECT_MAPPED_ASSETS_PATH_URL = "https://{url}/projects/{projectId}/mappedassets";
|
|
47
|
+
export declare const API_PROJECT_MAPPED_ASSET_PATH_URL = "https://{url}/projects/{projectId}/mappedassets/{assetId}";
|
|
46
48
|
export declare const API_PROJECT_ROBOT_URL = "https://{url}/projects/{projectId}/robots";
|
|
47
49
|
export declare const API_PROJECT_ROBOT_ID_URL = "https://{url}/projects/{projectId}/robots/{callsign}";
|
|
48
50
|
export declare const API_PROJECT_ROBOT_ATTRIBUTES_URL = "https://{url}/projects/{projectId}/robots/{callsign}/attributes";
|
|
@@ -57,6 +59,8 @@ export declare const API_PROJECT_ROBOT_COMMAND2_URL = "https://{url}/projects/{p
|
|
|
57
59
|
export declare const API_PROJECT_ROBOT_BUTTON_URL = "https://{url}/projects/{projectId}/robots/{callsign}/buttons";
|
|
58
60
|
export declare const API_PROJECT_ROBOT_TRIGGER_URL = "https://{url}/projects/{projectId}/robots/{callsign}/triggers";
|
|
59
61
|
export declare const API_PROJECT_ROBOT_GAMEPAD_URL = "https://{url}/projects/{projectId}/robots/{callsign}/gamepads";
|
|
62
|
+
export declare const API_PROJECT_ROBOT_CONFIGS_CONNECTIONS_URL = "https://{url}/robot-configs/connections/projects/{projectId}";
|
|
63
|
+
export declare const API_PROJECT_ROBOT_CONFIGS_CONNECTION_URL = "https://{url}/robot-configs/connections/projects/{projectId}/callsigns/{callsign}";
|
|
60
64
|
export declare const API_PROJECT_OPERATION_URL = "https://{url}/projects/{projectId}/operations";
|
|
61
65
|
export declare const API_PROJECT_OPERATION_ID_URL = "https://{url}/projects/{projectId}/operations/{operationId}";
|
|
62
66
|
export declare const API_PROJECT_DASHBOARD_URL = "https://{url}/projects/{projectId}/dashboards";
|
|
@@ -82,6 +86,9 @@ export declare const API_PROJECT_DEFINITION_ACTION_URL = "https://{url}/projects
|
|
|
82
86
|
export declare const API_PROJECT_DEFINITION_BUTTON_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/buttons";
|
|
83
87
|
export declare const API_PROJECT_DEFINITION_TRIGGER_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/triggers";
|
|
84
88
|
export declare const API_PROJECT_DEFINITION_GAMEPAD_URL = "https://{url}/projects/{projectId}/robot-definitions/{definitionId}/gamepads";
|
|
89
|
+
export declare const API_PROJECT_DEFINITION_EXPORT = "https://{url}/import-export/projects/{projectId}/robot-definitions/{definitionId}/export";
|
|
90
|
+
export declare const API_PROJECT_DEFINITION_IMPORT = "https://{url}/import-export/projects/{projectId}/robot-definitions/import";
|
|
91
|
+
export declare const API_PROJECT_ENVIRONMENT_URL = "https://{url}/graphs/projects/{projectId}/environments";
|
|
85
92
|
export declare const API_PROJECT_GROUP_TYPE_URL = "https://{url}/projects/{projectId}/config-groups/{type}";
|
|
86
93
|
export declare const API_PROJECT_GROUP_TYPE_ID_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}";
|
|
87
94
|
export declare const API_PROJECT_GROUP_TYPE_PUBLISH_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/publish";
|
|
@@ -89,10 +96,6 @@ export declare const API_PROJECT_GROUP_TYPE_CONFIG_URL = "https://{url}/projects
|
|
|
89
96
|
export declare const API_PROJECT_GROUP_TYPE_VERSION_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{version}";
|
|
90
97
|
export declare const API_PROJECT_GROUP_TYPE_OWNER_ID_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/owner/{ownerId}";
|
|
91
98
|
export declare const API_PROJECT_GROUP_TYPE_OWNER_OVERRIDE_URL = "https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{ownerId}/override";
|
|
92
|
-
export declare const API_PROJECT_FUNCTION_URL = "https://{url}/projects/{projectId}/functions";
|
|
93
|
-
export declare const API_PROJECT_FUNCTION_ID_URL = "https://{url}/projects/{projectId}/functions/{functionId}";
|
|
94
|
-
export declare const API_PROJECT_FUNCTION_RUN_URL = "https://{url}/projects/{projectId}/functions/{functionId}/run";
|
|
95
|
-
export declare const API_PROJECT_FUNCTION_POD_URL = "https://{url}/projects/{projectId}/functions/{functionId}/pods";
|
|
96
99
|
export declare const API_PROJECT_EXPORT_URL = "https://{url}/projects/{projectId}/export-jobs";
|
|
97
100
|
export declare const API_PROJECT_STREAM_URL = "https://{url}/projects/{projectId}/streams";
|
|
98
101
|
export declare const API_PROJECT_STREAM_ID_URL = "https://{url}/projects/{projectId}/streams/{streamId}";
|
|
@@ -118,18 +121,31 @@ export declare const API_DD_INTEGRATION_PLANS_URL = "https://{url}/projects/{pro
|
|
|
118
121
|
export declare const API_DD_INTEGRATION_PLAN_BY_ID_URL = "https://{url}/projects/{projectId}/dd/plan/{planId}";
|
|
119
122
|
export declare const API_DD_INTEGRATION_OVERLAYS_URL = "https://{url}/projects/{projectId}/dd/overlays";
|
|
120
123
|
export declare const API_DD_INTEGRATION_ISSUES_URL = "https://{url}/projects/{projectId}/dd/issues";
|
|
121
|
-
export declare const
|
|
122
|
-
export declare const
|
|
123
|
-
export declare const
|
|
124
|
-
export declare const
|
|
125
|
-
export declare const
|
|
126
|
-
export declare const
|
|
127
|
-
export declare const
|
|
128
|
-
export declare const
|
|
129
|
-
export declare const
|
|
130
|
-
export declare const
|
|
124
|
+
export declare const API_DD_INTEGRATION_LOCATIONS_URL = "https://{url}/projects/{projectId}/dd/locations";
|
|
125
|
+
export declare const API_GRAPHS_MAPS_URL = "https://{url}/graphs/projects/{projectId}/maps";
|
|
126
|
+
export declare const API_GRAPHS_MAPS_DEPLOYED_URL = "https://{url}/graphs/projects/{projectId}/maps/deployed?callsign={callsign}";
|
|
127
|
+
export declare const API_GRAPHS_MAPS_MERGE_URL = "https://{url}/graphs/projects/{projectId}/maps/merge";
|
|
128
|
+
export declare const API_GRAPHS_MAP_ID_URL = "https://{url}/graphs/projects/{projectId}/maps/{mapId}";
|
|
129
|
+
export declare const API_GRAPHS_MAPS_COPY_URL = "https://{url}/graphs/projects/{projectId}/maps/{mapId}/copy";
|
|
130
|
+
export declare const API_GRAPHS_MAPS_DEPLOY_URL = "https://{url}/graphs/projects/{projectId}/maps/{mapId}/deploy";
|
|
131
|
+
export declare const API_GRAPHS_MAPS_GEOJSON_URL = "https://{url}/graphs/projects/{projectId}/maps/{mapId}/geojson";
|
|
132
|
+
export declare const API_GRAPHS_PANORAMA = "https://{url}/graphs/projects/{projectId}/panoramas/{panoramaId}";
|
|
133
|
+
export declare const API_GRAPHS_PANORAMA_OBSERVATIONS_URL = "https://{url}/graphs/projects/{projectId}/panoramas/{panoramaId}/observations";
|
|
134
|
+
export declare const API_GRAPHS_OBSERVATIONS_URL = "https://{url}/graphs/projects/{projectId}/observations";
|
|
135
|
+
export declare const API_GRAPHS_OBSERVATION_KEYS_URL = "https://{url}/graphs/projects/{projectId}/observations/keys";
|
|
136
|
+
export declare const API_GRAPHS_TARGET_UPLOAD_URL = "https://{url}/graphs/projects/{projectId}/targets/upload";
|
|
137
|
+
export declare const API_GRAPHS_TARGETS_URL = "https://{url}/graphs/projects/{projectId}/targets";
|
|
138
|
+
export declare const API_GRAPHS_ASSETS_UPLOAD_URL = "https://{url}/graphs/projects/{projectId}/assets/upload";
|
|
139
|
+
export declare const API_GRAPHS_ASSETS_URL = "https://{url}/graphs/projects/{projectId}/assets";
|
|
131
140
|
export declare const API_PROJECT_WORKFLOW_URL = "https://{url}/projects/{projectId}/automate/flows";
|
|
132
141
|
export declare const API_PROJECT_WORKFLOW_ID_URL = "https://{url}/projects/{projectId}/automate/flows/{workflowId}";
|
|
133
142
|
export declare const API_PROJECT_WORKFLOW_ASSET_URL = "https://{url}/projects/{projectId}/automate/flows/{workflowId}/assets";
|
|
134
|
-
export declare const
|
|
143
|
+
export declare const API_PROJECT_ROBOT_DEPLOYMENTS_URL = "https://{url}/projects/{projectId}/robot-definitions/{profileId}/robots/{callsign}/automate/flows/deployments";
|
|
144
|
+
export declare const API_PROJECT_PROFILE_DEPLOYMENTS_URL = "https://{url}/projects/{projectId}/robot-definitions/{profileId}/automate/flows/deployments";
|
|
145
|
+
export declare const API_PROJECT_ROBOT_NO_PROFILE_DEPLOYMENTS_URL = "https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments";
|
|
146
|
+
export declare const API_PROJECT_PROFILE_DEPLOYED_WORKFLOW_URL = "https://{url}/projects/{projectId}/robot-definitions/{profileId}/automate/flows/deployments/{workflowId}";
|
|
147
|
+
export declare const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = "https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments/{workflowId}";
|
|
148
|
+
export declare const API_PROJECT_WORKFLOW_AFFECTED_URL = "https://{url}/projects/{projectId}/automate/flows/{flowId}/robots";
|
|
135
149
|
export declare const API_LINKED_PROJECT_URL = "https://{url}/linked-projects/{linkedProjectId}";
|
|
150
|
+
export declare const API_DEVICE_CREDENTIALS_URL = "https://{url}/projects/{projectId}/callsigns/{callsign}/device-credentials";
|
|
151
|
+
export declare const API_DEVICE_CREDENTIALS_AUTH_URL = "https://{url}/device-credentials/auth";
|
package/esm/constants/api.js
CHANGED
|
@@ -28,6 +28,7 @@ export const API_ACCOUNT_PROJECT_USER_URL = 'https://{url}/accounts/{accountId}/
|
|
|
28
28
|
export const API_ACCOUNT_PROJECT_USER_ID_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/users/{userId}';
|
|
29
29
|
export const API_ACCOUNT_PROJECT_APPLICATION_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/applications';
|
|
30
30
|
export const API_ACCOUNT_PROJECT_APPLICATION_ID_URL = 'https://{url}/accounts/{accountId}/projects/{projectId}/applications/{applicationId}';
|
|
31
|
+
export const API_ACCOUNT_EXTERNAL_PROJECTS_URL = 'https://{url}/accounts/{accountId}/external-projects';
|
|
31
32
|
export const API_PROJECT_URL = 'https://{url}/projects';
|
|
32
33
|
export const API_PROJECT_ID_URL = 'https://{url}/projects/{projectId}';
|
|
33
34
|
export const API_PROJECT_USERS_URL = 'https://{url}/projects/{projectId}/users';
|
|
@@ -43,6 +44,7 @@ export const API_PROJECT_FLOW_ASSET_PATH_URL = 'https://{url}/projects/{projectI
|
|
|
43
44
|
export const API_PROJECT_MISSION_ASSETS_PATH_URL = 'https://{url}/projects/{projectId}/missionassets';
|
|
44
45
|
export const API_PROJECT_MISSION_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/missionassets/{assetId}';
|
|
45
46
|
export const API_PROJECT_MAPPED_ASSETS_PATH_URL = 'https://{url}/projects/{projectId}/mappedassets';
|
|
47
|
+
export const API_PROJECT_MAPPED_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/mappedassets/{assetId}';
|
|
46
48
|
export const API_PROJECT_ROBOT_URL = 'https://{url}/projects/{projectId}/robots';
|
|
47
49
|
export const API_PROJECT_ROBOT_ID_URL = 'https://{url}/projects/{projectId}/robots/{callsign}';
|
|
48
50
|
export const API_PROJECT_ROBOT_ATTRIBUTES_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/attributes';
|
|
@@ -57,6 +59,8 @@ export const API_PROJECT_ROBOT_COMMAND2_URL = 'https://{url}/projects/{projectId
|
|
|
57
59
|
export const API_PROJECT_ROBOT_BUTTON_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/buttons';
|
|
58
60
|
export const API_PROJECT_ROBOT_TRIGGER_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/triggers';
|
|
59
61
|
export const API_PROJECT_ROBOT_GAMEPAD_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/gamepads';
|
|
62
|
+
export const API_PROJECT_ROBOT_CONFIGS_CONNECTIONS_URL = 'https://{url}/robot-configs/connections/projects/{projectId}';
|
|
63
|
+
export const API_PROJECT_ROBOT_CONFIGS_CONNECTION_URL = 'https://{url}/robot-configs/connections/projects/{projectId}/callsigns/{callsign}';
|
|
60
64
|
export const API_PROJECT_OPERATION_URL = 'https://{url}/projects/{projectId}/operations';
|
|
61
65
|
export const API_PROJECT_OPERATION_ID_URL = 'https://{url}/projects/{projectId}/operations/{operationId}';
|
|
62
66
|
export const API_PROJECT_DASHBOARD_URL = 'https://{url}/projects/{projectId}/dashboards';
|
|
@@ -82,6 +86,9 @@ export const API_PROJECT_DEFINITION_ACTION_URL = 'https://{url}/projects/{projec
|
|
|
82
86
|
export const API_PROJECT_DEFINITION_BUTTON_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/buttons';
|
|
83
87
|
export const API_PROJECT_DEFINITION_TRIGGER_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/triggers';
|
|
84
88
|
export const API_PROJECT_DEFINITION_GAMEPAD_URL = 'https://{url}/projects/{projectId}/robot-definitions/{definitionId}/gamepads';
|
|
89
|
+
export const API_PROJECT_DEFINITION_EXPORT = 'https://{url}/import-export/projects/{projectId}/robot-definitions/{definitionId}/export';
|
|
90
|
+
export const API_PROJECT_DEFINITION_IMPORT = 'https://{url}/import-export/projects/{projectId}/robot-definitions/import';
|
|
91
|
+
export const API_PROJECT_ENVIRONMENT_URL = 'https://{url}/graphs/projects/{projectId}/environments';
|
|
85
92
|
export const API_PROJECT_GROUP_TYPE_URL = 'https://{url}/projects/{projectId}/config-groups/{type}';
|
|
86
93
|
export const API_PROJECT_GROUP_TYPE_ID_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}';
|
|
87
94
|
export const API_PROJECT_GROUP_TYPE_PUBLISH_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/publish';
|
|
@@ -89,10 +96,6 @@ export const API_PROJECT_GROUP_TYPE_CONFIG_URL = 'https://{url}/projects/{projec
|
|
|
89
96
|
export const API_PROJECT_GROUP_TYPE_VERSION_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{version}';
|
|
90
97
|
export const API_PROJECT_GROUP_TYPE_OWNER_ID_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/owner/{ownerId}';
|
|
91
98
|
export const API_PROJECT_GROUP_TYPE_OWNER_OVERRIDE_URL = 'https://{url}/projects/{projectId}/config-groups/{type}/{configGroupId}/{ownerId}/override';
|
|
92
|
-
export const API_PROJECT_FUNCTION_URL = 'https://{url}/projects/{projectId}/functions';
|
|
93
|
-
export const API_PROJECT_FUNCTION_ID_URL = 'https://{url}/projects/{projectId}/functions/{functionId}';
|
|
94
|
-
export const API_PROJECT_FUNCTION_RUN_URL = 'https://{url}/projects/{projectId}/functions/{functionId}/run';
|
|
95
|
-
export const API_PROJECT_FUNCTION_POD_URL = 'https://{url}/projects/{projectId}/functions/{functionId}/pods';
|
|
96
99
|
export const API_PROJECT_EXPORT_URL = 'https://{url}/projects/{projectId}/export-jobs';
|
|
97
100
|
export const API_PROJECT_STREAM_URL = 'https://{url}/projects/{projectId}/streams';
|
|
98
101
|
export const API_PROJECT_STREAM_ID_URL = 'https://{url}/projects/{projectId}/streams/{streamId}';
|
|
@@ -118,18 +121,31 @@ export const API_DD_INTEGRATION_PLANS_URL = 'https://{url}/projects/{projectId}/
|
|
|
118
121
|
export const API_DD_INTEGRATION_PLAN_BY_ID_URL = 'https://{url}/projects/{projectId}/dd/plan/{planId}';
|
|
119
122
|
export const API_DD_INTEGRATION_OVERLAYS_URL = 'https://{url}/projects/{projectId}/dd/overlays';
|
|
120
123
|
export const API_DD_INTEGRATION_ISSUES_URL = 'https://{url}/projects/{projectId}/dd/issues';
|
|
121
|
-
export const
|
|
122
|
-
export const
|
|
123
|
-
export const
|
|
124
|
-
export const
|
|
125
|
-
export const
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
124
|
+
export const API_DD_INTEGRATION_LOCATIONS_URL = 'https://{url}/projects/{projectId}/dd/locations';
|
|
125
|
+
export const API_GRAPHS_MAPS_URL = 'https://{url}/graphs/projects/{projectId}/maps';
|
|
126
|
+
export const API_GRAPHS_MAPS_DEPLOYED_URL = 'https://{url}/graphs/projects/{projectId}/maps/deployed?callsign={callsign}';
|
|
127
|
+
export const API_GRAPHS_MAPS_MERGE_URL = 'https://{url}/graphs/projects/{projectId}/maps/merge';
|
|
128
|
+
export const API_GRAPHS_MAP_ID_URL = 'https://{url}/graphs/projects/{projectId}/maps/{mapId}';
|
|
129
|
+
export const API_GRAPHS_MAPS_COPY_URL = 'https://{url}/graphs/projects/{projectId}/maps/{mapId}/copy';
|
|
130
|
+
export const API_GRAPHS_MAPS_DEPLOY_URL = 'https://{url}/graphs/projects/{projectId}/maps/{mapId}/deploy';
|
|
131
|
+
export const API_GRAPHS_MAPS_GEOJSON_URL = 'https://{url}/graphs/projects/{projectId}/maps/{mapId}/geojson';
|
|
132
|
+
export const API_GRAPHS_PANORAMA = 'https://{url}/graphs/projects/{projectId}/panoramas/{panoramaId}';
|
|
133
|
+
export const API_GRAPHS_PANORAMA_OBSERVATIONS_URL = 'https://{url}/graphs/projects/{projectId}/panoramas/{panoramaId}/observations';
|
|
134
|
+
export const API_GRAPHS_OBSERVATIONS_URL = 'https://{url}/graphs/projects/{projectId}/observations';
|
|
135
|
+
export const API_GRAPHS_OBSERVATION_KEYS_URL = 'https://{url}/graphs/projects/{projectId}/observations/keys';
|
|
136
|
+
export const API_GRAPHS_TARGET_UPLOAD_URL = 'https://{url}/graphs/projects/{projectId}/targets/upload';
|
|
137
|
+
export const API_GRAPHS_TARGETS_URL = 'https://{url}/graphs/projects/{projectId}/targets';
|
|
138
|
+
export const API_GRAPHS_ASSETS_UPLOAD_URL = 'https://{url}/graphs/projects/{projectId}/assets/upload';
|
|
139
|
+
export const API_GRAPHS_ASSETS_URL = 'https://{url}/graphs/projects/{projectId}/assets';
|
|
131
140
|
export const API_PROJECT_WORKFLOW_URL = 'https://{url}/projects/{projectId}/automate/flows';
|
|
132
141
|
export const API_PROJECT_WORKFLOW_ID_URL = 'https://{url}/projects/{projectId}/automate/flows/{workflowId}';
|
|
133
142
|
export const API_PROJECT_WORKFLOW_ASSET_URL = 'https://{url}/projects/{projectId}/automate/flows/{workflowId}/assets';
|
|
134
|
-
export const
|
|
143
|
+
export const API_PROJECT_ROBOT_DEPLOYMENTS_URL = 'https://{url}/projects/{projectId}/robot-definitions/{profileId}/robots/{callsign}/automate/flows/deployments';
|
|
144
|
+
export const API_PROJECT_PROFILE_DEPLOYMENTS_URL = 'https://{url}/projects/{projectId}/robot-definitions/{profileId}/automate/flows/deployments';
|
|
145
|
+
export const API_PROJECT_ROBOT_NO_PROFILE_DEPLOYMENTS_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments';
|
|
146
|
+
export const API_PROJECT_PROFILE_DEPLOYED_WORKFLOW_URL = 'https://{url}/projects/{projectId}/robot-definitions/{profileId}/automate/flows/deployments/{workflowId}';
|
|
147
|
+
export const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments/{workflowId}';
|
|
148
|
+
export const API_PROJECT_WORKFLOW_AFFECTED_URL = 'https://{url}/projects/{projectId}/automate/flows/{flowId}/robots';
|
|
135
149
|
export const API_LINKED_PROJECT_URL = 'https://{url}/linked-projects/{linkedProjectId}';
|
|
150
|
+
export const API_DEVICE_CREDENTIALS_URL = 'https://{url}/projects/{projectId}/callsigns/{callsign}/device-credentials';
|
|
151
|
+
export const API_DEVICE_CREDENTIALS_AUTH_URL = 'https://{url}/device-credentials/auth';
|
|
@@ -2,7 +2,10 @@ export const cleanObject = (object) => {
|
|
|
2
2
|
return {
|
|
3
3
|
...(function _flatten(o) {
|
|
4
4
|
return [...Object.entries(o)].reduce((obj, [key, val]) => {
|
|
5
|
-
if (
|
|
5
|
+
if (val === null) {
|
|
6
|
+
obj[key] = val;
|
|
7
|
+
}
|
|
8
|
+
else if (typeof val === 'object') {
|
|
6
9
|
obj[key] = _flatten(val);
|
|
7
10
|
}
|
|
8
11
|
else if (typeof val === 'function') {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { IRocosSDKConfig } from '../models
|
|
1
|
+
import { IRocosSDKConfig } from '../models';
|
|
2
|
+
type ConfigWithParent = IRocosSDKConfig & {
|
|
3
|
+
_parentConfig?: ConfigWithParent;
|
|
4
|
+
};
|
|
2
5
|
/**
|
|
3
6
|
* Flattens and orders the sdk config props to make a unique key
|
|
4
7
|
*
|
|
5
8
|
* @param config - SDK config {@link IRocosSDKConfig}
|
|
6
9
|
*/
|
|
7
|
-
export declare const getUniqueConfigKey: (config:
|
|
10
|
+
export declare const getUniqueConfigKey: (config: ConfigWithParent) => string;
|
|
11
|
+
export {};
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
* @param config - SDK config {@link IRocosSDKConfig}
|
|
5
5
|
*/
|
|
6
6
|
export const getUniqueConfigKey = (config) => {
|
|
7
|
-
|
|
7
|
+
let rootConfig = config;
|
|
8
|
+
if (rootConfig._parentConfig) {
|
|
9
|
+
// assume there is only one level of nesting
|
|
10
|
+
rootConfig = rootConfig._parentConfig;
|
|
11
|
+
}
|
|
12
|
+
return Object.keys(rootConfig)
|
|
8
13
|
.sort()
|
|
9
14
|
.map((item) => {
|
|
10
|
-
return item !== 'token' ? `${item}:${
|
|
15
|
+
return item !== 'token' ? `${item}:${rootConfig[item]}` : false;
|
|
11
16
|
})
|
|
12
17
|
.filter(Boolean)
|
|
13
18
|
.join();
|
package/esm/helpers/index.d.ts
CHANGED
package/esm/helpers/index.js
CHANGED