@mappedin/mappedin-js 6.0.1-alpha.10 → 6.0.1-alpha.12

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.
@@ -491,7 +491,7 @@ declare module '@mappedin/mappedin-js/maker/src/events' {
491
491
  }
492
492
 
493
493
  declare module '@mappedin/mappedin-js/packages/get-venue' {
494
- import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata } from '@mappedin/mappedin-js/packages/get-venue/Mappedin.types';
494
+ import type { TAllGetVenueOptions, TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata, ThingsOption } from '@mappedin/mappedin-js/packages/get-venue/Mappedin.types';
495
495
  import { Mappedin } from '@mappedin/mappedin-js/packages/get-venue/Mappedin';
496
496
  import { defaultThings } from '@mappedin/mappedin-js/packages/get-venue/default-things';
497
497
  import { GET_VENUE_EVENT } from '@mappedin/mappedin-js/packages/get-venue/internal';
@@ -529,6 +529,7 @@ declare module '@mappedin/mappedin-js/packages/get-venue' {
529
529
  export type { TOperationHoursMap } from '@mappedin/mappedin-js/packages/get-venue/MappedinLocation';
530
530
  export type { TMappedinCoordinateOptions } from '@mappedin/mappedin-js/packages/get-venue/MappedinCoordinate';
531
531
  export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/mappedin-js/packages/get-venue/internal';
532
+ export type { ThingsOption };
532
533
  export { OfflineSearch } from '@mappedin/mappedin-js/packages/get-venue/Mappedin.OfflineSearch';
533
534
  export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/mappedin-js/packages/get-venue/Mappedin.OfflineSearch';
534
535
  export { defaultThings };
@@ -954,7 +955,7 @@ declare module '@mappedin/mappedin-js/packages/legacy-renderer/private/controlle
954
955
  #private;
955
956
  static ENABLED: boolean;
956
957
  static OPTIONS: Required<TShowWatermarkOptions>;
957
- object: Sprite;
958
+ object?: Sprite;
958
959
  constructor(core: ICore);
959
960
  show: () => void;
960
961
  hide: () => void;
@@ -5400,7 +5401,7 @@ declare module '@mappedin/mappedin-js/packages/legacy-renderer/MapView.enums' {
5400
5401
  }
5401
5402
 
5402
5403
  declare module '@mappedin/mappedin-js/packages/legacy-renderer/MapView.types' {
5403
- import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/mappedin-js/packages/get-venue';
5404
+ import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon, ThingsOption } from '@mappedin/mappedin-js/packages/get-venue';
5404
5405
  import type { TFloatingLabelAppearance } from '@mappedin/mappedin-js/packages/legacy-renderer/internal/Mappedin.FloatingLabel';
5405
5406
  import type { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/mappedin-js/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
5406
5407
  import type { Euler, Object3D, Vector3 } from 'three';
@@ -5408,7 +5409,7 @@ declare module '@mappedin/mappedin-js/packages/legacy-renderer/MapView.types' {
5408
5409
  import { TOOLTIP_ANCHOR } from '@mappedin/mappedin-js/packages/legacy-renderer/internal/Mappedin.SmartTooltip';
5409
5410
  import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON } from '@mappedin/mappedin-js/packages/legacy-renderer/MapView.enums';
5410
5411
  import { TOutdoorViewOptions, TOutdoorViewOptionsWithHeaders, TOutdoorViewOptionsWithAuthURL } from '@mappedin/mappedin-js/packages/legacy-renderer/private/controllers/OutdoorViewController';
5411
- export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
5412
+ export type { TEnableBlueDotOptions, TFloatingLabelAppearance, ThingsOption };
5412
5413
  /** @internal */
5413
5414
  export type Without<T, U> = {
5414
5415
  [P in Exclude<keyof T, keyof U>]?: never;
@@ -11938,60 +11939,73 @@ declare module '@mappedin/mappedin-js/packages/get-venue/MappedinVenue' {
11938
11939
  import type { Mappedin } from '@mappedin/mappedin-js/packages/get-venue/internal';
11939
11940
  import type { TLogo, TOpeningHours } from '@mappedin/mappedin-js/packages/get-venue/Mappedin.API.types';
11940
11941
  /**
11941
- * A {@link MappedinVenue} is a specific place (like a mall) with one or more Maps (typically representing different floors) and Locations (stores, washrooms, elevators, etc).
11942
- *
11943
- * A Venue can have more properties such as 'name' and 'slug'. The {@link Mappedin} 'things' object is where you would specify what properties you want to download for Venues. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.
11944
- *
11945
- * See below for an example a 'things' object with available Venue properties specified:
11946
- *
11947
- * things: {
11948
- * venue: ['slug', 'name', 'language', 'address', 'city', 'state', 'postal', 'telephone', 'latitude', 'longitude', 'website', 'operationHours'],
11949
- * locations: [],
11950
- * categories: [],
11951
- * maps: []
11952
- * }
11953
- *
11954
- *
11955
- * @class MappedinVenue
11956
- */
11942
+ * A {@link MappedinVenue} is a specific place (like a mall) with one or more Maps (typically representing different floors) and Locations (stores, washrooms, elevators, etc).
11943
+ *
11944
+ * A Venue can have more properties such as 'name' and 'slug'. The {@link Mappedin} 'things' object is where you would specify what properties you want to download for Venues. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.
11945
+ *
11946
+ * See below for an example a 'things' object with available Venue properties specified:
11947
+ *
11948
+ * things: {
11949
+ * venue: ['slug', 'name', 'language', 'address', 'city', 'state', 'postal', 'telephone', 'latitude', 'longitude', 'website', 'operationHours'],
11950
+ * locations: [],
11951
+ * categories: [],
11952
+ * maps: []
11953
+ * }
11954
+ *
11955
+ *
11956
+ * @class MappedinVenue
11957
+ */
11957
11958
  export class MappedinVenue {
11958
- #private;
11959
- defaultMap: string;
11960
- address: string;
11961
- city: string;
11962
- countrycode: string;
11963
- externalId: string;
11964
- id: string;
11965
- latitude?: number;
11966
- logo?: TLogo;
11967
- longitude?: number;
11968
- name: string;
11969
- operationHours?: TOpeningHours[];
11970
- postal: string;
11971
- slug: string;
11972
- state: string;
11973
- telephone: string;
11974
- tzid: string;
11975
- tzidOverride: string;
11976
- utcOffset: string;
11977
- website: string;
11978
- secureContentStorage: boolean;
11979
- defaultLanguage: {
11980
- code: string;
11981
- name: string;
11982
- };
11983
- languages: {
11959
+ #private;
11960
+ defaultMap: string;
11961
+ address: string;
11962
+ city: string;
11963
+ countrycode: string;
11964
+ externalId: string;
11965
+ id: string;
11966
+ latitude?: number;
11967
+ logo?: TLogo;
11968
+ longitude?: number;
11984
11969
  name: string;
11985
- code: string;
11986
- }[];
11987
- topLocations?: string[];
11988
- constructor(mappedin: Mappedin, data: any);
11989
- get metadata(): any;
11990
- set metadata(value: any);
11991
- static hydrate(data: any, mappedin: Mappedin): MappedinVenue;
11992
- static fetch(mappedin: Mappedin): Promise<MappedinVenue>;
11993
- get isMultiBuilding(): any;
11994
- toJSON(): any;
11970
+ operationHours?: TOpeningHours[];
11971
+ postal: string;
11972
+ slug: string;
11973
+ state: string;
11974
+ telephone: string;
11975
+ tzid: string;
11976
+ tzidOverride: string;
11977
+ utcOffset: string;
11978
+ website: string;
11979
+ secureContentStorage: boolean;
11980
+ defaultLanguage: {
11981
+ code: string;
11982
+ name: string;
11983
+ };
11984
+ languages: {
11985
+ name: string;
11986
+ code: string;
11987
+ }[];
11988
+ topLocations?: string[];
11989
+ /**
11990
+ * Venue render options provided by the server.
11991
+ */
11992
+ renderOptions: {
11993
+ /**
11994
+ * Whether the venue should use perspectives to render the map or {@link Mappedin.polygons}.
11995
+ */
11996
+ useLivePolygons: boolean;
11997
+ /**
11998
+ * Whether the venue should automatically apply {@link TDirectionToOptions} `simplify: { enabled: true }` to all directions.
11999
+ */
12000
+ simplifyDirections: boolean;
12001
+ };
12002
+ constructor(mappedin: Mappedin, data: any);
12003
+ get metadata(): any;
12004
+ set metadata(value: any);
12005
+ static hydrate(data: any, mappedin: Mappedin): MappedinVenue;
12006
+ static fetch(mappedin: Mappedin): Promise<MappedinVenue>;
12007
+ get isMultiBuilding(): any;
12008
+ toJSON(): any;
11995
12009
  }
11996
12010
  }
11997
12011