@smplrspace/smplr-loader 2.50.1-beta.0 → 2.50.1-beta.10

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.
@@ -1839,6 +1839,7 @@ export declare interface MapViewerOptions {
1839
1839
  cameraPlacement?: PartialMapCameraPlacement;
1840
1840
  protectScroll?: boolean;
1841
1841
  map3dBuildings?: boolean;
1842
+ enableSatelliteButton?: boolean;
1842
1843
  }
1843
1844
 
1844
1845
  declare interface Material {
@@ -2275,10 +2276,12 @@ export declare class QueryClient {
2275
2276
  private checkOptions;
2276
2277
  checkApiConnection(): Promise<string>;
2277
2278
  getApiVersion(): Promise<string>;
2278
- createSpace({ name, notes, tags }: {
2279
+ createSpace({ organizationId, name, notes, tags, addToProjectId, }: {
2280
+ organizationId?: string;
2279
2281
  name: string;
2280
2282
  notes?: string;
2281
2283
  tags?: string[];
2284
+ addToProjectId?: string;
2282
2285
  }): Promise<{
2283
2286
  sid: string;
2284
2287
  }>;
@@ -2290,10 +2293,14 @@ export declare class QueryClient {
2290
2293
  }>;
2291
2294
  deleteSpace(spaceId: string): Promise<void>;
2292
2295
  listSpaces(options?: {
2296
+ organizationId?: string;
2293
2297
  tagged?: string[];
2294
2298
  }): Promise<{
2295
2299
  sid: string;
2296
2300
  status: string;
2301
+ projects: {
2302
+ project_sid: string;
2303
+ }[];
2297
2304
  name: string;
2298
2305
  created_at: string;
2299
2306
  deprecated_id: string;
@@ -2303,6 +2310,9 @@ export declare class QueryClient {
2303
2310
  }): Promise<{
2304
2311
  sid: string;
2305
2312
  status: string;
2313
+ projects: {
2314
+ project_sid: string;
2315
+ }[];
2306
2316
  name: string;
2307
2317
  georeference?: {} | null | undefined;
2308
2318
  definition?: {} | null | undefined;
@@ -2316,6 +2326,9 @@ export declare class QueryClient {
2316
2326
  getSpaceFromCache(spaceId: string): {
2317
2327
  sid: string;
2318
2328
  status: string;
2329
+ projects: {
2330
+ project_sid: string;
2331
+ }[];
2319
2332
  name: string;
2320
2333
  georeference?: {} | null | undefined;
2321
2334
  definition?: {} | null | undefined;
@@ -2494,7 +2507,7 @@ export declare class QueryClient {
2494
2507
  }
2495
2508
 
2496
2509
  export declare interface QueryClientOptions {
2497
- organizationId: string;
2510
+ organizationId?: string;
2498
2511
  clientToken: string;
2499
2512
  internal?: boolean;
2500
2513
  sideLoadedAuth0?: Pick<Auth0ContextValue, 'getTokenSilently'>;
@@ -3538,6 +3551,13 @@ railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3538
3551
  stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3539
3552
  annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3540
3553
  annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3554
+ wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3555
+ groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3556
+ doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3557
+ windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3558
+ stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3559
+ objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3560
+ annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3541
3561
  }, {
3542
3562
  setUnit(unit: string): void;
3543
3563
  setGroundThickness(groundThickness: number): void;
@@ -3556,6 +3576,13 @@ setRailingHeight(railingHeight: number): void;
3556
3576
  setStairsStepSize(stairsStepSize: number): void;
3557
3577
  setAnnotationHeight(annotationHeight: number): void;
3558
3578
  setAnnotationSize(annotationSize: number): void;
3579
+ setWallLayers(layers: string[]): void;
3580
+ setGroundLayers(layers: string[]): void;
3581
+ setDoorLayers(layers: string[]): void;
3582
+ setWindowLayers(layers: string[]): void;
3583
+ setStairsLayers(layers: string[]): void;
3584
+ setObjectLayers(layers: string[]): void;
3585
+ setAnnotationLayers(layers: string[]): void;
3559
3586
  }, _NotCustomized, _NotCustomized>, [undefined]>;
3560
3587
  }, {
3561
3588
  readonly json: JsonSpace;
@@ -3607,6 +3634,13 @@ railingHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3607
3634
  stairsStepSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3608
3635
  annotationHeight: IOptionalIType<ISimpleType<number>, [undefined]>;
3609
3636
  annotationSize: IOptionalIType<ISimpleType<number>, [undefined]>;
3637
+ wallLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3638
+ groundLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3639
+ doorLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3640
+ windowLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3641
+ stairsLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3642
+ objectLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3643
+ annotationLayers: IOptionalIType<IArrayType<ISimpleType<string>>, [undefined]>;
3610
3644
  }, {
3611
3645
  setUnit(unit: string): void;
3612
3646
  setGroundThickness(groundThickness: number): void;
@@ -3625,6 +3659,13 @@ setRailingHeight(railingHeight: number): void;
3625
3659
  setStairsStepSize(stairsStepSize: number): void;
3626
3660
  setAnnotationHeight(annotationHeight: number): void;
3627
3661
  setAnnotationSize(annotationSize: number): void;
3662
+ setWallLayers(layers: string[]): void;
3663
+ setGroundLayers(layers: string[]): void;
3664
+ setDoorLayers(layers: string[]): void;
3665
+ setWindowLayers(layers: string[]): void;
3666
+ setStairsLayers(layers: string[]): void;
3667
+ setObjectLayers(layers: string[]): void;
3668
+ setAnnotationLayers(layers: string[]): void;
3628
3669
  }, _NotCustomized, _NotCustomized>;
3629
3670
 
3630
3671
  export declare type SpaceNoData = NoData & {
@@ -3924,7 +3965,7 @@ declare interface Vector3Coord extends Vector2Coord {
3924
3965
  z: number;
3925
3966
  }
3926
3967
 
3927
- export declare const version = "2.50.1-beta.0";
3968
+ export declare const version = "2.50.1-beta.10";
3928
3969
 
3929
3970
  declare interface ViewerRendererHandle {
3930
3971
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.50.1-beta.0",
3
+ "version": "2.50.1-beta.10",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [