@openrobops/iso21423 0.0.0-stage → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +358 -2
  2. package/dist/ccs-CU8XD5sl.d.cts +69 -0
  3. package/dist/ccs-CU8XD5sl.d.ts +69 -0
  4. package/dist/chunk-3JNSIJSX.js +31 -0
  5. package/dist/chunk-3JNSIJSX.js.map +1 -0
  6. package/dist/chunk-5ZIUSUHF.js +55 -0
  7. package/dist/chunk-5ZIUSUHF.js.map +1 -0
  8. package/dist/chunk-DMJ6T3RX.js +445 -0
  9. package/dist/chunk-DMJ6T3RX.js.map +1 -0
  10. package/dist/chunk-GPNR37CI.js +1915 -0
  11. package/dist/chunk-GPNR37CI.js.map +1 -0
  12. package/dist/chunk-JDO725KR.js +210 -0
  13. package/dist/chunk-JDO725KR.js.map +1 -0
  14. package/dist/chunk-JIYCTQXR.js +1 -0
  15. package/dist/chunk-JIYCTQXR.js.map +1 -0
  16. package/dist/chunk-JLUENXGS.js +48 -0
  17. package/dist/chunk-JLUENXGS.js.map +1 -0
  18. package/dist/chunk-JQAMNFAF.js +1 -0
  19. package/dist/chunk-JQAMNFAF.js.map +1 -0
  20. package/dist/chunk-LTPOAVGF.js +44 -0
  21. package/dist/chunk-LTPOAVGF.js.map +1 -0
  22. package/dist/chunk-ODBIFZN3.js +65 -0
  23. package/dist/chunk-ODBIFZN3.js.map +1 -0
  24. package/dist/chunk-OH2DOPKJ.js +107 -0
  25. package/dist/chunk-OH2DOPKJ.js.map +1 -0
  26. package/dist/chunk-QAA44UNO.js +1 -0
  27. package/dist/chunk-QAA44UNO.js.map +1 -0
  28. package/dist/chunk-RD7PYTIT.js +107 -0
  29. package/dist/chunk-RD7PYTIT.js.map +1 -0
  30. package/dist/chunk-UJC46NTA.js +13 -0
  31. package/dist/chunk-UJC46NTA.js.map +1 -0
  32. package/dist/chunk-UW6WTEPT.js +293 -0
  33. package/dist/chunk-UW6WTEPT.js.map +1 -0
  34. package/dist/chunk-W7DIDPTG.js +1 -0
  35. package/dist/chunk-W7DIDPTG.js.map +1 -0
  36. package/dist/core.cjs +2874 -0
  37. package/dist/core.cjs.map +1 -0
  38. package/dist/core.d.cts +996 -0
  39. package/dist/core.d.ts +996 -0
  40. package/dist/core.js +59 -0
  41. package/dist/core.js.map +1 -0
  42. package/dist/gateway.cjs +2937 -0
  43. package/dist/gateway.cjs.map +1 -0
  44. package/dist/gateway.d.cts +165 -0
  45. package/dist/gateway.d.ts +165 -0
  46. package/dist/gateway.js +21 -0
  47. package/dist/gateway.js.map +1 -0
  48. package/dist/geometry.cjs +98 -0
  49. package/dist/geometry.cjs.map +1 -0
  50. package/dist/geometry.d.cts +38 -0
  51. package/dist/geometry.d.ts +38 -0
  52. package/dist/geometry.js +14 -0
  53. package/dist/geometry.js.map +1 -0
  54. package/dist/identity-BGr2FJmC.d.cts +258 -0
  55. package/dist/identity-Bw8Dik5S.d.ts +258 -0
  56. package/dist/index.cjs +3327 -0
  57. package/dist/index.cjs.map +1 -0
  58. package/dist/index.d.cts +118 -0
  59. package/dist/index.d.ts +118 -0
  60. package/dist/index.js +193 -0
  61. package/dist/index.js.map +1 -0
  62. package/dist/schema.cjs +375 -0
  63. package/dist/schema.cjs.map +1 -0
  64. package/dist/schema.d.cts +28 -0
  65. package/dist/schema.d.ts +28 -0
  66. package/dist/schema.js +14 -0
  67. package/dist/schema.js.map +1 -0
  68. package/dist/session-RV32MFpV.d.cts +139 -0
  69. package/dist/session-ueiESY7Y.d.ts +139 -0
  70. package/dist/session.cjs +855 -0
  71. package/dist/session.cjs.map +1 -0
  72. package/dist/session.d.cts +94 -0
  73. package/dist/session.d.ts +94 -0
  74. package/dist/session.js +20 -0
  75. package/dist/session.js.map +1 -0
  76. package/dist/testing.cjs +205 -0
  77. package/dist/testing.cjs.map +1 -0
  78. package/dist/testing.d.cts +94 -0
  79. package/dist/testing.d.ts +94 -0
  80. package/dist/testing.js +169 -0
  81. package/dist/testing.js.map +1 -0
  82. package/dist/topics-BiVeZyTW.d.cts +43 -0
  83. package/dist/topics-BiVeZyTW.d.ts +43 -0
  84. package/dist/topics.cjs +134 -0
  85. package/dist/topics.cjs.map +1 -0
  86. package/dist/topics.d.cts +41 -0
  87. package/dist/topics.d.ts +41 -0
  88. package/dist/topics.js +30 -0
  89. package/dist/topics.js.map +1 -0
  90. package/dist/transport-BT4AjTn9.d.cts +61 -0
  91. package/dist/transport-BT4AjTn9.d.ts +61 -0
  92. package/dist/types.cjs +186 -0
  93. package/dist/types.cjs.map +1 -0
  94. package/dist/types.d.cts +83 -0
  95. package/dist/types.d.ts +83 -0
  96. package/dist/types.js +50 -0
  97. package/dist/types.js.map +1 -0
  98. package/dist/validators-Be0ce1b8.d.cts +29 -0
  99. package/dist/validators-Be0ce1b8.d.ts +29 -0
  100. package/package.json +48 -4
@@ -0,0 +1,118 @@
1
+ export { C as Ccs, I as IsoTimestamp, L as LocationPoint, O as Orientation, P as Point, R as ReferencePoint, U as Uuid, n as nowTimestamp, p as parseTimestamp } from './ccs-CU8XD5sl.cjs';
2
+ import { D as DetailState, R as RequestState } from './identity-BGr2FJmC.cjs';
3
+ export { A as AdditionalProperty, B as BATTERY_HEALTH, a as BatteryHealth, b as BatteryStatus, C as CHARGING_STATES, c as Capabilities, d as ChargingState, e as DETAIL_STATES, f as DOCK_ACTIONS, g as DetailStatusBody, h as DockAction, E as ENTITY_TYPES, i as EntityIdentity, j as EntityType, G as GlobalPath, k as GlobalPlan, I as ImrDetails, l as ImrfmDetails, K as KNOWN_OPERATING_STATES, m as KNOWN_REASON_CODES, n as KnownEntityType, o as KnownOperatingState, L as LOST_CONNECTION_STATE, p as LocalTrajectory, q as LocationPointStamped, N as NurbsControlPoint, r as NurbsCurve, O as OPERATING_MODES, s as Odometry, t as OperatingState, P as PROTOCOL_VERSION, u as REQUEST_STATES, v as ROOT_NAMESPACE, w as ReasonCode, x as Request, y as RequestDetail, z as RequestDetailStatus, F as RequestStatus, S as SoftwareVersion, H as SupportVendorContactInformation } from './identity-BGr2FJmC.cjs';
4
+ export { CancelProps, DockProps, EntityStatus, MoveProps, OrientationTolerance, cancelRequest, dock, move, pauseImr, resumeImr, undock } from './types.cjs';
5
+ export { E as EntityRef, P as ParsedTopic, d as disconnectionTopic, i as identityWildcard, p as parseTopic, r as requestStatusTopic, a as requestTopic, t as topicFilterMatches, b as topicFor } from './topics-BiVeZyTW.cjs';
6
+ export { RESOURCE_CONFIG, ResourceConfig, isStandardResource, registerExtensionResource } from './topics.cjs';
7
+ export { M as MessageKind, V as ValidationResult, a as assertValid, v as validateMessage } from './validators-Be0ce1b8.cjs';
8
+ export { normalizeInbound } from './schema.cjs';
9
+ export { RigidTransform2D, applyTransform, fitTransform, invertTransform, transformYaw } from './geometry.cjs';
10
+ export { C as ConnectionState, M as MqttTransport, T as TransportConnectOptions, a as TransportMessage, W as WillOptions } from './transport-BT4AjTn9.cjs';
11
+ export { I as Iso21423Session, S as SessionOptions, a as SessionSubscription, T as TopicMeta, V as ValidationWarningEvent } from './session-RV32MFpV.cjs';
12
+ export { MqttClientLike, MqttTransportOptions, RateGate, createMqttTransport, wrapMqttClient } from './session.cjs';
13
+ export { ActionContext, ActionExecutor, ActionHandler, ActionResult, AdmissionDecision, ClientHealth, ClientOptions, DEFAULT_EXECUTION_POLICY, DEFAULT_PRIORITY, DiagnosticCode, DiagnosticEvent, DispatchInterceptor, DispatchTarget, EntityCache, EntityCatalog, EntityCatalogEntry, EntityContext, EntityFilter, EntityHandle, EntityRegistration, EntitySelector, ExecutionPolicy, FileSequenceStore, IncomingRequest, Iso21423Client, LocalTrajectoryUpdate, ManagedEntityRegistration, RESOURCE_MESSAGE_KIND, RequestAcceptanceFilter, RequestCommand, RequestDetailStatusUpdate, RequestEvent, RequestFilter, RequestHandle, RequestKey, RequestServer, RequestStatusFilter, RequestStatusUpdate, RequestTerminalUpdate, ResourceEvent, ResourceKind, SecurityOptions, SequenceCounter, SequenceStore, StatusReason, StatusSink, StatusUpdate, Subscription, TypedRequestDetail, WithOptionalTimestamp, composeSubscription, defaultStateDir, messageKindFor, policies, resolveCancelRequest, toTimestamp } from './core.cjs';
14
+ export { FleetGateway, FleetGatewayOptions, ImrRegistration, RetainedRequestJanitor, publishSelfCheck } from './gateway.cjs';
15
+
16
+ /**
17
+ * Copyright 2026 InOrbit, Inc.
18
+ *
19
+ * Licensed under the Apache License, Version 2.0 (the "License");
20
+ * you may not use this file except in compliance with the License.
21
+ * You may obtain a copy of the License at
22
+ *
23
+ * http://www.apache.org/licenses/LICENSE-2.0
24
+ *
25
+ * Unless required by applicable law or agreed to in writing, software
26
+ * distributed under the License is distributed on an "AS IS" BASIS,
27
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
+ * See the License for the specific language governing permissions and
29
+ * limitations under the License.
30
+ */
31
+ /** Base class for all errors this SDK throws; `name` is set to the concrete subclass name so it survives serialization. */
32
+ declare class Iso21423Error extends Error {
33
+ constructor(message: string);
34
+ }
35
+ /** Thrown when a payload fails ISO 21423 JSON Schema validation; `errors` holds the raw Ajv error list. */
36
+ declare class ValidationError extends Iso21423Error {
37
+ readonly errors: unknown[];
38
+ constructor(message: string, errors: unknown[]);
39
+ }
40
+ /** Thrown when a request/detail reaches a terminal failure state; `finalStatus` carries the last status received. */
41
+ declare class RequestFailed extends Iso21423Error {
42
+ readonly finalStatus: unknown;
43
+ constructor(message: string, finalStatus: unknown);
44
+ }
45
+ declare class RequestTimeout extends Iso21423Error {
46
+ }
47
+ declare class BrokerUnavailable extends Iso21423Error {
48
+ }
49
+ /** Thrown when a broker/ACL rejects a publish or subscribe; `topic` names the topic that was denied. */
50
+ declare class AuthorizationDenied extends Iso21423Error {
51
+ readonly topic: string;
52
+ constructor(message: string, topic: string);
53
+ }
54
+ declare class NotCapableError extends Iso21423Error {
55
+ }
56
+ /** Thrown by {@link Lifecycle.transition} when the requested state change isn't allowed from the current state. */
57
+ declare class IllegalTransition extends Iso21423Error {
58
+ }
59
+
60
+ /**
61
+ * Copyright 2026 InOrbit, Inc.
62
+ *
63
+ * Licensed under the Apache License, Version 2.0 (the "License");
64
+ * you may not use this file except in compliance with the License.
65
+ * You may obtain a copy of the License at
66
+ *
67
+ * http://www.apache.org/licenses/LICENSE-2.0
68
+ *
69
+ * Unless required by applicable law or agreed to in writing, software
70
+ * distributed under the License is distributed on an "AS IS" BASIS,
71
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72
+ * See the License for the specific language governing permissions and
73
+ * limitations under the License.
74
+ */
75
+
76
+ /** Figure C.3 — request message state transitions. */
77
+ declare const REQUEST_TRANSITIONS: Record<RequestState, readonly RequestState[]>;
78
+ /** Figure C.4 — requestDetail state transitions (no RECOVERY at detail level). */
79
+ declare const DETAIL_TRANSITIONS: Record<DetailState, readonly DetailState[]>;
80
+ declare function isTerminalRequestState(s: RequestState): boolean;
81
+ /** Generic state machine driven by a transition table; starts at `initial` and rejects any move not listed for the current state. */
82
+ declare class Lifecycle<S extends string> {
83
+ #private;
84
+ private readonly table;
85
+ constructor(table: Record<S, readonly S[]>, initial: S);
86
+ get state(): S;
87
+ canTransition(to: S): boolean;
88
+ /** Moves to `to` if legal; throws {@link IllegalTransition} otherwise. */
89
+ transition(to: S): void;
90
+ isTerminal(): boolean;
91
+ }
92
+ /** Tracks a {@link Request}'s overall lifecycle per {@link REQUEST_TRANSITIONS}, starting at RECEIVED. */
93
+ declare class RequestLifecycle extends Lifecycle<RequestState> {
94
+ constructor();
95
+ }
96
+ /** Tracks a single request detail's lifecycle per {@link DETAIL_TRANSITIONS}, starting at RECEIVED. */
97
+ declare class DetailLifecycle extends Lifecycle<DetailState> {
98
+ constructor();
99
+ }
100
+
101
+ /**
102
+ * Copyright 2026 InOrbit, Inc.
103
+ *
104
+ * Licensed under the Apache License, Version 2.0 (the "License");
105
+ * you may not use this file except in compliance with the License.
106
+ * You may obtain a copy of the License at
107
+ *
108
+ * http://www.apache.org/licenses/LICENSE-2.0
109
+ *
110
+ * Unless required by applicable law or agreed to in writing, software
111
+ * distributed under the License is distributed on an "AS IS" BASIS,
112
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113
+ * See the License for the specific language governing permissions and
114
+ * limitations under the License.
115
+ */
116
+ declare const SDK_NAME = "@openrobops/iso21423";
117
+
118
+ export { AuthorizationDenied, BrokerUnavailable, DETAIL_TRANSITIONS, DetailLifecycle, DetailState, IllegalTransition, Iso21423Error, NotCapableError, REQUEST_TRANSITIONS, RequestFailed, RequestLifecycle, RequestState, RequestTimeout, SDK_NAME, ValidationError, isTerminalRequestState };
@@ -0,0 +1,118 @@
1
+ export { C as Ccs, I as IsoTimestamp, L as LocationPoint, O as Orientation, P as Point, R as ReferencePoint, U as Uuid, n as nowTimestamp, p as parseTimestamp } from './ccs-CU8XD5sl.js';
2
+ import { D as DetailState, R as RequestState } from './identity-Bw8Dik5S.js';
3
+ export { A as AdditionalProperty, B as BATTERY_HEALTH, a as BatteryHealth, b as BatteryStatus, C as CHARGING_STATES, c as Capabilities, d as ChargingState, e as DETAIL_STATES, f as DOCK_ACTIONS, g as DetailStatusBody, h as DockAction, E as ENTITY_TYPES, i as EntityIdentity, j as EntityType, G as GlobalPath, k as GlobalPlan, I as ImrDetails, l as ImrfmDetails, K as KNOWN_OPERATING_STATES, m as KNOWN_REASON_CODES, n as KnownEntityType, o as KnownOperatingState, L as LOST_CONNECTION_STATE, p as LocalTrajectory, q as LocationPointStamped, N as NurbsControlPoint, r as NurbsCurve, O as OPERATING_MODES, s as Odometry, t as OperatingState, P as PROTOCOL_VERSION, u as REQUEST_STATES, v as ROOT_NAMESPACE, w as ReasonCode, x as Request, y as RequestDetail, z as RequestDetailStatus, F as RequestStatus, S as SoftwareVersion, H as SupportVendorContactInformation } from './identity-Bw8Dik5S.js';
4
+ export { CancelProps, DockProps, EntityStatus, MoveProps, OrientationTolerance, cancelRequest, dock, move, pauseImr, resumeImr, undock } from './types.js';
5
+ export { E as EntityRef, P as ParsedTopic, d as disconnectionTopic, i as identityWildcard, p as parseTopic, r as requestStatusTopic, a as requestTopic, t as topicFilterMatches, b as topicFor } from './topics-BiVeZyTW.js';
6
+ export { RESOURCE_CONFIG, ResourceConfig, isStandardResource, registerExtensionResource } from './topics.js';
7
+ export { M as MessageKind, V as ValidationResult, a as assertValid, v as validateMessage } from './validators-Be0ce1b8.js';
8
+ export { normalizeInbound } from './schema.js';
9
+ export { RigidTransform2D, applyTransform, fitTransform, invertTransform, transformYaw } from './geometry.js';
10
+ export { C as ConnectionState, M as MqttTransport, T as TransportConnectOptions, a as TransportMessage, W as WillOptions } from './transport-BT4AjTn9.js';
11
+ export { I as Iso21423Session, S as SessionOptions, a as SessionSubscription, T as TopicMeta, V as ValidationWarningEvent } from './session-ueiESY7Y.js';
12
+ export { MqttClientLike, MqttTransportOptions, RateGate, createMqttTransport, wrapMqttClient } from './session.js';
13
+ export { ActionContext, ActionExecutor, ActionHandler, ActionResult, AdmissionDecision, ClientHealth, ClientOptions, DEFAULT_EXECUTION_POLICY, DEFAULT_PRIORITY, DiagnosticCode, DiagnosticEvent, DispatchInterceptor, DispatchTarget, EntityCache, EntityCatalog, EntityCatalogEntry, EntityContext, EntityFilter, EntityHandle, EntityRegistration, EntitySelector, ExecutionPolicy, FileSequenceStore, IncomingRequest, Iso21423Client, LocalTrajectoryUpdate, ManagedEntityRegistration, RESOURCE_MESSAGE_KIND, RequestAcceptanceFilter, RequestCommand, RequestDetailStatusUpdate, RequestEvent, RequestFilter, RequestHandle, RequestKey, RequestServer, RequestStatusFilter, RequestStatusUpdate, RequestTerminalUpdate, ResourceEvent, ResourceKind, SecurityOptions, SequenceCounter, SequenceStore, StatusReason, StatusSink, StatusUpdate, Subscription, TypedRequestDetail, WithOptionalTimestamp, composeSubscription, defaultStateDir, messageKindFor, policies, resolveCancelRequest, toTimestamp } from './core.js';
14
+ export { FleetGateway, FleetGatewayOptions, ImrRegistration, RetainedRequestJanitor, publishSelfCheck } from './gateway.js';
15
+
16
+ /**
17
+ * Copyright 2026 InOrbit, Inc.
18
+ *
19
+ * Licensed under the Apache License, Version 2.0 (the "License");
20
+ * you may not use this file except in compliance with the License.
21
+ * You may obtain a copy of the License at
22
+ *
23
+ * http://www.apache.org/licenses/LICENSE-2.0
24
+ *
25
+ * Unless required by applicable law or agreed to in writing, software
26
+ * distributed under the License is distributed on an "AS IS" BASIS,
27
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
+ * See the License for the specific language governing permissions and
29
+ * limitations under the License.
30
+ */
31
+ /** Base class for all errors this SDK throws; `name` is set to the concrete subclass name so it survives serialization. */
32
+ declare class Iso21423Error extends Error {
33
+ constructor(message: string);
34
+ }
35
+ /** Thrown when a payload fails ISO 21423 JSON Schema validation; `errors` holds the raw Ajv error list. */
36
+ declare class ValidationError extends Iso21423Error {
37
+ readonly errors: unknown[];
38
+ constructor(message: string, errors: unknown[]);
39
+ }
40
+ /** Thrown when a request/detail reaches a terminal failure state; `finalStatus` carries the last status received. */
41
+ declare class RequestFailed extends Iso21423Error {
42
+ readonly finalStatus: unknown;
43
+ constructor(message: string, finalStatus: unknown);
44
+ }
45
+ declare class RequestTimeout extends Iso21423Error {
46
+ }
47
+ declare class BrokerUnavailable extends Iso21423Error {
48
+ }
49
+ /** Thrown when a broker/ACL rejects a publish or subscribe; `topic` names the topic that was denied. */
50
+ declare class AuthorizationDenied extends Iso21423Error {
51
+ readonly topic: string;
52
+ constructor(message: string, topic: string);
53
+ }
54
+ declare class NotCapableError extends Iso21423Error {
55
+ }
56
+ /** Thrown by {@link Lifecycle.transition} when the requested state change isn't allowed from the current state. */
57
+ declare class IllegalTransition extends Iso21423Error {
58
+ }
59
+
60
+ /**
61
+ * Copyright 2026 InOrbit, Inc.
62
+ *
63
+ * Licensed under the Apache License, Version 2.0 (the "License");
64
+ * you may not use this file except in compliance with the License.
65
+ * You may obtain a copy of the License at
66
+ *
67
+ * http://www.apache.org/licenses/LICENSE-2.0
68
+ *
69
+ * Unless required by applicable law or agreed to in writing, software
70
+ * distributed under the License is distributed on an "AS IS" BASIS,
71
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72
+ * See the License for the specific language governing permissions and
73
+ * limitations under the License.
74
+ */
75
+
76
+ /** Figure C.3 — request message state transitions. */
77
+ declare const REQUEST_TRANSITIONS: Record<RequestState, readonly RequestState[]>;
78
+ /** Figure C.4 — requestDetail state transitions (no RECOVERY at detail level). */
79
+ declare const DETAIL_TRANSITIONS: Record<DetailState, readonly DetailState[]>;
80
+ declare function isTerminalRequestState(s: RequestState): boolean;
81
+ /** Generic state machine driven by a transition table; starts at `initial` and rejects any move not listed for the current state. */
82
+ declare class Lifecycle<S extends string> {
83
+ #private;
84
+ private readonly table;
85
+ constructor(table: Record<S, readonly S[]>, initial: S);
86
+ get state(): S;
87
+ canTransition(to: S): boolean;
88
+ /** Moves to `to` if legal; throws {@link IllegalTransition} otherwise. */
89
+ transition(to: S): void;
90
+ isTerminal(): boolean;
91
+ }
92
+ /** Tracks a {@link Request}'s overall lifecycle per {@link REQUEST_TRANSITIONS}, starting at RECEIVED. */
93
+ declare class RequestLifecycle extends Lifecycle<RequestState> {
94
+ constructor();
95
+ }
96
+ /** Tracks a single request detail's lifecycle per {@link DETAIL_TRANSITIONS}, starting at RECEIVED. */
97
+ declare class DetailLifecycle extends Lifecycle<DetailState> {
98
+ constructor();
99
+ }
100
+
101
+ /**
102
+ * Copyright 2026 InOrbit, Inc.
103
+ *
104
+ * Licensed under the Apache License, Version 2.0 (the "License");
105
+ * you may not use this file except in compliance with the License.
106
+ * You may obtain a copy of the License at
107
+ *
108
+ * http://www.apache.org/licenses/LICENSE-2.0
109
+ *
110
+ * Unless required by applicable law or agreed to in writing, software
111
+ * distributed under the License is distributed on an "AS IS" BASIS,
112
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113
+ * See the License for the specific language governing permissions and
114
+ * limitations under the License.
115
+ */
116
+ declare const SDK_NAME = "@openrobops/iso21423";
117
+
118
+ export { AuthorizationDenied, BrokerUnavailable, DETAIL_TRANSITIONS, DetailLifecycle, DetailState, IllegalTransition, Iso21423Error, NotCapableError, REQUEST_TRANSITIONS, RequestFailed, RequestLifecycle, RequestState, RequestTimeout, SDK_NAME, ValidationError, isTerminalRequestState };
package/dist/index.js ADDED
@@ -0,0 +1,193 @@
1
+ import "./chunk-W7DIDPTG.js";
2
+ import "./chunk-JIYCTQXR.js";
3
+ import "./chunk-QAA44UNO.js";
4
+ import {
5
+ applyTransform,
6
+ fitTransform,
7
+ invertTransform,
8
+ transformYaw
9
+ } from "./chunk-ODBIFZN3.js";
10
+ import "./chunk-JQAMNFAF.js";
11
+ import {
12
+ EntityFilter,
13
+ RequestAcceptanceFilter,
14
+ RequestFilter,
15
+ RequestStatusFilter
16
+ } from "./chunk-OH2DOPKJ.js";
17
+ import {
18
+ FleetGateway,
19
+ RetainedRequestJanitor
20
+ } from "./chunk-JDO725KR.js";
21
+ import {
22
+ ActionExecutor,
23
+ DEFAULT_EXECUTION_POLICY,
24
+ DEFAULT_PRIORITY,
25
+ DETAIL_TRANSITIONS,
26
+ DetailLifecycle,
27
+ EntityCache,
28
+ EntityHandle,
29
+ FileSequenceStore,
30
+ IncomingRequest,
31
+ Iso21423Client,
32
+ REQUEST_TRANSITIONS,
33
+ RESOURCE_MESSAGE_KIND,
34
+ RequestHandle,
35
+ RequestLifecycle,
36
+ RequestServer,
37
+ SequenceCounter,
38
+ composeSubscription,
39
+ defaultStateDir,
40
+ isTerminalRequestState,
41
+ messageKindFor,
42
+ policies,
43
+ publishSelfCheck,
44
+ resolveCancelRequest,
45
+ toTimestamp
46
+ } from "./chunk-GPNR37CI.js";
47
+ import {
48
+ cancelRequest,
49
+ dock,
50
+ move,
51
+ pauseImr,
52
+ resumeImr,
53
+ undock
54
+ } from "./chunk-3JNSIJSX.js";
55
+ import {
56
+ Iso21423Session,
57
+ RateGate,
58
+ createMqttTransport,
59
+ wrapMqttClient
60
+ } from "./chunk-DMJ6T3RX.js";
61
+ import {
62
+ nowTimestamp,
63
+ parseTimestamp
64
+ } from "./chunk-UJC46NTA.js";
65
+ import {
66
+ assertValid,
67
+ normalizeInbound,
68
+ validateMessage
69
+ } from "./chunk-UW6WTEPT.js";
70
+ import {
71
+ RESOURCE_CONFIG,
72
+ isStandardResource,
73
+ registerExtensionResource
74
+ } from "./chunk-LTPOAVGF.js";
75
+ import {
76
+ disconnectionTopic,
77
+ identityWildcard,
78
+ parseTopic,
79
+ requestStatusTopic,
80
+ requestTopic,
81
+ topicFilterMatches,
82
+ topicFor
83
+ } from "./chunk-5ZIUSUHF.js";
84
+ import {
85
+ BATTERY_HEALTH,
86
+ CHARGING_STATES,
87
+ DETAIL_STATES,
88
+ DOCK_ACTIONS,
89
+ ENTITY_TYPES,
90
+ KNOWN_OPERATING_STATES,
91
+ KNOWN_REASON_CODES,
92
+ LOST_CONNECTION_STATE,
93
+ OPERATING_MODES,
94
+ PROTOCOL_VERSION,
95
+ REQUEST_STATES,
96
+ ROOT_NAMESPACE
97
+ } from "./chunk-RD7PYTIT.js";
98
+ import {
99
+ AuthorizationDenied,
100
+ BrokerUnavailable,
101
+ IllegalTransition,
102
+ Iso21423Error,
103
+ NotCapableError,
104
+ RequestFailed,
105
+ RequestTimeout,
106
+ ValidationError
107
+ } from "./chunk-JLUENXGS.js";
108
+
109
+ // src/index.ts
110
+ var SDK_NAME = "@openrobops/iso21423";
111
+ export {
112
+ ActionExecutor,
113
+ AuthorizationDenied,
114
+ BATTERY_HEALTH,
115
+ BrokerUnavailable,
116
+ CHARGING_STATES,
117
+ DEFAULT_EXECUTION_POLICY,
118
+ DEFAULT_PRIORITY,
119
+ DETAIL_STATES,
120
+ DETAIL_TRANSITIONS,
121
+ DOCK_ACTIONS,
122
+ DetailLifecycle,
123
+ ENTITY_TYPES,
124
+ EntityCache,
125
+ EntityFilter,
126
+ EntityHandle,
127
+ FileSequenceStore,
128
+ FleetGateway,
129
+ IllegalTransition,
130
+ IncomingRequest,
131
+ Iso21423Client,
132
+ Iso21423Error,
133
+ Iso21423Session,
134
+ KNOWN_OPERATING_STATES,
135
+ KNOWN_REASON_CODES,
136
+ LOST_CONNECTION_STATE,
137
+ NotCapableError,
138
+ OPERATING_MODES,
139
+ PROTOCOL_VERSION,
140
+ REQUEST_STATES,
141
+ REQUEST_TRANSITIONS,
142
+ RESOURCE_CONFIG,
143
+ RESOURCE_MESSAGE_KIND,
144
+ ROOT_NAMESPACE,
145
+ RateGate,
146
+ RequestAcceptanceFilter,
147
+ RequestFailed,
148
+ RequestFilter,
149
+ RequestHandle,
150
+ RequestLifecycle,
151
+ RequestServer,
152
+ RequestStatusFilter,
153
+ RequestTimeout,
154
+ RetainedRequestJanitor,
155
+ SDK_NAME,
156
+ SequenceCounter,
157
+ ValidationError,
158
+ applyTransform,
159
+ assertValid,
160
+ cancelRequest,
161
+ composeSubscription,
162
+ createMqttTransport,
163
+ defaultStateDir,
164
+ disconnectionTopic,
165
+ dock,
166
+ fitTransform,
167
+ identityWildcard,
168
+ invertTransform,
169
+ isStandardResource,
170
+ isTerminalRequestState,
171
+ messageKindFor,
172
+ move,
173
+ normalizeInbound,
174
+ nowTimestamp,
175
+ parseTimestamp,
176
+ parseTopic,
177
+ pauseImr,
178
+ policies,
179
+ publishSelfCheck,
180
+ registerExtensionResource,
181
+ requestStatusTopic,
182
+ requestTopic,
183
+ resolveCancelRequest,
184
+ resumeImr,
185
+ toTimestamp,
186
+ topicFilterMatches,
187
+ topicFor,
188
+ transformYaw,
189
+ undock,
190
+ validateMessage,
191
+ wrapMqttClient
192
+ };
193
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright 2026 InOrbit, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const SDK_NAME = '@openrobops/iso21423';\n\nexport * from './types/index.js';\nexport * from './errors.js';\nexport * from './topics/index.js';\nexport * from './schema/index.js';\nexport * from './geometry/index.js';\nexport * from './requests/index.js';\nexport * from './session/index.js';\nexport * from './core/index.js';\nexport * from './gateway/index.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBO,IAAM,WAAW;","names":[]}