atriusmaps-node-sdk 3.3.1065 → 3.3.1067

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "3.3.1065";
5
+ var version = "3.3.1067";
6
6
  var pkg = {
7
7
  version: version};
8
8
 
@@ -1 +1 @@
1
- var a="3.3.1065",e={version:a};export{e as default,a as version};
1
+ var a="3.3.1067",e={version:a};export{e as default,a as version};
@@ -85,6 +85,11 @@ export type BusDirectionsPayload = {
85
85
  accessible?: boolean;
86
86
  queueTypes?: string[];
87
87
  };
88
+ export type BusNavigationStepPosition = {
89
+ stopIndex: number;
90
+ stepIndex: number;
91
+ stepCounts: number[];
92
+ };
88
93
  export type BusDirectionsMultiplePayload = {
89
94
  locations: BusNavigationEndpoint[];
90
95
  accessible?: boolean;
@@ -161,6 +166,30 @@ export type BusPoiDynamicDataPayload = {
161
166
  idValuesMap: Record<string, unknown>;
162
167
  };
163
168
  export interface BusEventMap {
169
+ 'navigation/closeDirections': BusEventDefinition<{
170
+ reason: 'closed' | 'endRoute';
171
+ }>;
172
+ 'navigation/stepChanged': BusEventDefinition<BusNavigationStepPosition & {
173
+ kind: 'forward' | 'back' | 'select';
174
+ }>;
175
+ 'navigation/guidanceChanged': BusEventDefinition<BusNavigationStepPosition & {
176
+ active: boolean;
177
+ }>;
178
+ 'navigation/editStops': BusEventDefinition;
179
+ 'navigation/stopsChanged': BusEventDefinition<{
180
+ endpointIds: (Id | BusNavigationEndpoint | null)[];
181
+ userInitiated: boolean;
182
+ }>;
183
+ 'navigation/routeTypeChanged': BusEventDefinition<{
184
+ previous: 'direct' | 'accessible';
185
+ current: 'direct' | 'accessible';
186
+ userInitiated: boolean;
187
+ }>;
188
+ 'navigation/routeUnavailable': BusEventDefinition;
189
+ 'navigation/noAccessibleRoute': BusEventDefinition<{
190
+ endpointIds: (Id | BusNavigationEndpoint | null)[];
191
+ accessibleRequested: boolean;
192
+ }>;
164
193
  'venueData/getVenueData': BusEventDefinition<undefined, BusVenueData>;
165
194
  'venueData/getVenueId': BusEventDefinition<undefined, string>;
166
195
  'venueData/getStructures': BusEventDefinition<undefined, BusStructure[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atriusmaps-node-sdk",
3
- "version": "3.3.1065",
3
+ "version": "3.3.1067",
4
4
  "description": "This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information",
5
5
  "keywords": [
6
6
  "acuitybrands",