connected-spaces-platform.web 4.31.0 → 5.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.
@@ -261,7 +261,7 @@ export declare namespace Multiplayer {
261
261
  * @description Enumerates the list of properties that can be replicated for an animated model component.
262
262
  */
263
263
  enum AnimatedModelPropertyKeys {
264
- Name = 0,
264
+ Name_DEPRECATED = 0,
265
265
  ExternalResourceAssetId = 1,
266
266
  ExternalResourceAssetCollectionId = 2,
267
267
  Position = 3,
@@ -390,7 +390,7 @@ export declare namespace Multiplayer {
390
390
  * @description Enumerates the list of properties that can be replicated for a button component.
391
391
  */
392
392
  enum ButtonPropertyKeys {
393
- Name = 0,
393
+ Name_DEPRECATED = 0,
394
394
  LabelText = 1,
395
395
  IconAssetId = 2,
396
396
  AssetCollectionId = 3,
@@ -489,7 +489,7 @@ export declare namespace Multiplayer {
489
489
  * @description The list of properties defined within an external link component.
490
490
  */
491
491
  enum ExternalLinkPropertyKeys {
492
- Name = 0,
492
+ Name_DEPRECATED = 0,
493
493
  LinkUrl = 1,
494
494
  Position = 2,
495
495
  Rotation = 3,
@@ -506,7 +506,7 @@ export declare namespace Multiplayer {
506
506
  * @description Enumerates the list of properties that can be replicated for a fiducial marker space component.
507
507
  */
508
508
  enum FiducialMarkerPropertyKeys {
509
- Name = 0,
509
+ Name_DEPRECATED = 0,
510
510
  MarkerAssetId = 1,
511
511
  AssetCollectionId = 2,
512
512
  Position = 3,
@@ -554,7 +554,7 @@ export declare namespace Multiplayer {
554
554
  * @description Enumerates the list of properties that can be replicated for a Gaussian Splat component.
555
555
  */
556
556
  enum GaussianSplatPropertyKeys {
557
- Name = 0,
557
+ Name_DEPRECATED = 0,
558
558
  ExternalResourceAssetId = 1,
559
559
  ExternalResourceAssetCollectionId = 2,
560
560
  Position = 3,
@@ -574,7 +574,7 @@ export declare namespace Multiplayer {
574
574
  enum HotspotPropertyKeys {
575
575
  Position = 0,
576
576
  Rotation = 1,
577
- Name = 2,
577
+ Name_DEPRECATED = 2,
578
578
  IsTeleportPoint = 3,
579
579
  IsSpawnPoint = 4,
580
580
  IsVisible = 5,
@@ -587,7 +587,7 @@ export declare namespace Multiplayer {
587
587
  * @description Enumerates the list of properties that can be replicated for an image space component.
588
588
  */
589
589
  enum ImagePropertyKeys {
590
- Name = 0,
590
+ Name_DEPRECATED = 0,
591
591
  ImageAssetId = 1,
592
592
  AssetCollectionId = 2,
593
593
  Position = 3,
@@ -648,7 +648,7 @@ export declare namespace Multiplayer {
648
648
  * @description Enumerates the list of properties that can be replicated for a light component.
649
649
  */
650
650
  enum LightPropertyKeys {
651
- Name = 0,
651
+ Name_DEPRECATED = 0,
652
652
  LightType = 1,
653
653
  Color = 2,
654
654
  Intensity = 3,
@@ -688,7 +688,7 @@ export declare namespace Multiplayer {
688
688
  * @description Enumerates the list of properties that can be replicated for a reflection component.
689
689
  */
690
690
  enum ReflectionPropertyKeys {
691
- Name = 0,
691
+ Name_DEPRECATED = 0,
692
692
  ReflectionAssetId = 1,
693
693
  AssetCollectionId = 2,
694
694
  Position = 3,
@@ -743,7 +743,7 @@ export declare namespace Multiplayer {
743
743
  * @description Enumerates the list of properties that can be replicated for a static model component.
744
744
  */
745
745
  enum StaticModelPropertyKeys {
746
- Name = 0,
746
+ Name_DEPRECATED = 0,
747
747
  ExternalResourceAssetId = 1,
748
748
  ExternalResourceAssetCollectionId = 2,
749
749
  Position = 3,
@@ -813,7 +813,7 @@ export declare namespace Multiplayer {
813
813
  * @description Enumerates the list of properties that can be replicated for a video player component.
814
814
  */
815
815
  enum VideoPlayerPropertyKeys {
816
- Name = 0,
816
+ Name_DEPRECATED = 0,
817
817
  VideoAssetId = 1,
818
818
  VideoAssetURL = 2,
819
819
  AssetCollectionId = 3,
@@ -3559,6 +3559,15 @@ export declare namespace Multiplayer {
3559
3559
  * @param inActionParams - Parameters for the action that will be passed to the action handler callback.
3560
3560
  */
3561
3561
  invokeAction(action: string, actionParams: string): void;
3562
+ /**
3563
+ * @description Gets the name of the component.
3564
+ */
3565
+ getComponentName(): string;
3566
+ /**
3567
+ * @description Sets the name for the component.
3568
+ * @param value - - The new name to assign to the componenent.
3569
+ */
3570
+ setComponentName(value: string): void;
3562
3571
  }
3563
3572
  }
3564
3573
  export declare namespace Multiplayer {
@@ -4664,6 +4673,11 @@ export declare namespace Systems {
4664
4673
  * @return Pointer to the sequence system class
4665
4674
  */
4666
4675
  getSequenceSystem(): Systems.SequenceSystem;
4676
+ /**
4677
+ * @description Retrieves the HotspotSequenceSystem system.
4678
+ * @return Pointer to the hotspotsequencesystem system class
4679
+ */
4680
+ getHotspotSequenceSystem(): Systems.HotspotSequenceSystem;
4667
4681
  getSpaceEntitySystem(): Multiplayer.SpaceEntitySystem;
4668
4682
  getMultiplayerConnection(): Multiplayer.MultiplayerConnection;
4669
4683
  }
@@ -5217,6 +5231,22 @@ export declare namespace Systems {
5217
5231
  set oAuthRedirectUrl(value: string);
5218
5232
  }
5219
5233
  }
5234
+ export declare namespace Systems {
5235
+ /**
5236
+ @ingroup HotspotSequence System
5237
+ * @description A basic class abstraction for a Hot Spot Group, including name, and items within the group.
5238
+ */
5239
+ class HotspotGroup extends NativeClassWrapper implements INativeResource {
5240
+ /** @internal */
5241
+ constructor(pointer: NativePointer);
5242
+ static create(): HotspotGroup;
5243
+ delete(): void;
5244
+ get name(): string;
5245
+ set name(value: string);
5246
+ get items(): Common.Array<string>;
5247
+ set items(value: Common.Array<string>);
5248
+ }
5249
+ }
5220
5250
  export declare namespace Systems {
5221
5251
  /**
5222
5252
  * @description A Connected Spaces Platform level Logger for debugging or printing to console, also handles logging to a file.
@@ -5486,6 +5516,8 @@ export declare namespace Systems {
5486
5516
  set referenceId(value: string);
5487
5517
  get items(): Common.Array<string>;
5488
5518
  set items(value: Common.Array<string>);
5519
+ get metaData(): Common.Map<string, string>;
5520
+ set metaData(value: Common.Map<string, string>);
5489
5521
  }
5490
5522
  }
5491
5523
  export declare namespace Systems {
@@ -6933,11 +6965,17 @@ export declare namespace Multiplayer {
6933
6965
  /**
6934
6966
  * @description Gets the name of this external link component.
6935
6967
  */
6968
+ /** @deprecated
6969
+ Deprecated in favour of ComponentBase::GetComponentName()
6970
+ */
6936
6971
  getName(): string;
6937
6972
  /**
6938
6973
  * @description Sets the name for this external link component.
6939
6974
  * @param value - - The new name to assign to this external link componenent.
6940
6975
  */
6976
+ /** @deprecated
6977
+ Deprecated in favour of ComponentBase::SetComponentName()
6978
+ */
6941
6979
  setName(value: string): void;
6942
6980
  /**
6943
6981
  * @description Gets the URL address to which this external link component redirects the user on trigger.
@@ -7042,11 +7080,17 @@ export declare namespace Multiplayer {
7042
7080
  * @description Gets the name of this fiducial marker space component.
7043
7081
  * @return The name of this fiducial marker space component.
7044
7082
  */
7083
+ /** @deprecated
7084
+ Deprecated in favour of ComponentBase::GetComponentName()
7085
+ */
7045
7086
  getName(): string;
7046
7087
  /**
7047
7088
  * @description Sets the name of this fiducial marker space component.
7048
7089
  * @param value - The name of this fiducial marker space component.
7049
7090
  */
7091
+ /** @deprecated
7092
+ Deprecated in favour of ComponentBase::SetComponentName()
7093
+ */
7050
7094
  setName(value: string): void;
7051
7095
  /**
7052
7096
  * @description Gets the ID of the image asset this image component refers to.
@@ -7445,11 +7489,17 @@ export declare namespace Multiplayer {
7445
7489
  * @description Gets the Name of the Hotspot.
7446
7490
  * @return The Name of the Hotspot.
7447
7491
  */
7492
+ /** @deprecated
7493
+ Deprecated in favour of ComponentBase::GetComponentName()
7494
+ */
7448
7495
  getName(): string;
7449
7496
  /**
7450
7497
  * @description Sets the Name of this Hotspot.
7451
7498
  * @param value - The Name of this Hotspot.
7452
7499
  */
7500
+ /** @deprecated
7501
+ Deprecated in favour of ComponentBase::SetComponentName()
7502
+ */
7453
7503
  setName(value: string): void;
7454
7504
  /**
7455
7505
  * @description Gets the IsTeleportPoint of this Hotspot.
@@ -7536,11 +7586,17 @@ export declare namespace Multiplayer {
7536
7586
  * @description Gets the name of this image space component.
7537
7587
  * @return The name of this image space component.
7538
7588
  */
7589
+ /** @deprecated
7590
+ Deprecated in favour of ComponentBase::GetComponentName()
7591
+ */
7539
7592
  getName(): string;
7540
7593
  /**
7541
7594
  * @description Sets the name of this image space component.
7542
7595
  * @param value - The name of this image space component.
7543
7596
  */
7597
+ /** @deprecated
7598
+ Deprecated in favour of ComponentBase::SetComponentName()
7599
+ */
7544
7600
  setName(value: string): void;
7545
7601
  /**
7546
7602
  * @description Gets the ID of the image asset this image component refers to.
@@ -7902,11 +7958,17 @@ export declare namespace Multiplayer {
7902
7958
  * @description Get the name of the Reflection component.
7903
7959
  * @return Csp::common::string specifying the component name.
7904
7960
  */
7961
+ /** @deprecated
7962
+ Deprecated in favour of ComponentBase::GetComponentName()
7963
+ */
7905
7964
  getName(): string;
7906
7965
  /**
7907
7966
  * @description Set the name for the Reflection component.
7908
7967
  * @param value - Name for the Reflection component.
7909
7968
  */
7969
+ /** @deprecated
7970
+ Deprecated in favour of ComponentBase::SetComponentName()
7971
+ */
7910
7972
  setName(value: string): void;
7911
7973
  /**
7912
7974
  * @description Get the Asset Id for the Reflection texture asset.
@@ -8327,11 +8389,17 @@ export declare namespace Multiplayer {
8327
8389
  * @description Gets the name of this video player.
8328
8390
  * @return The name of this video player.
8329
8391
  */
8392
+ /** @deprecated
8393
+ Deprecated in favour of ComponentBase::GetComponentName()
8394
+ */
8330
8395
  getName(): string;
8331
8396
  /**
8332
8397
  * @description Sets the name of this video player.
8333
8398
  * @param value - The name of this video player.
8334
8399
  */
8400
+ /** @deprecated
8401
+ Deprecated in favour of ComponentBase::SetComponentName()
8402
+ */
8335
8403
  setName(value: string): void;
8336
8404
  /**
8337
8405
  * @description Gets the ID of the video asset associated with this video player.
@@ -9394,6 +9462,83 @@ export declare namespace Systems {
9394
9462
  runQuery(queryText: string): Promise<Systems.GraphQLResult>;
9395
9463
  }
9396
9464
  }
9465
+ export declare namespace Systems {
9466
+ /**
9467
+ @ingroup HotspotSequence System
9468
+ * @description Data class used to contain information when attempting to get a Hot Spot Group.
9469
+ */
9470
+ class HotspotGroupResult extends Systems.ResultBase implements INativeResource {
9471
+ /** @internal */
9472
+ constructor(pointer: NativePointer);
9473
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.HotspotGroupResult;
9474
+ getHotspotGroup(): Systems.HotspotGroup;
9475
+ delete(): void;
9476
+ }
9477
+ }
9478
+ export declare namespace Systems {
9479
+ /**
9480
+ @ingroup HotspotSequence System
9481
+ * @description Data class used to contain information when attempting to get a Hot Spot Group.
9482
+ */
9483
+ class HotspotGroupsResult extends Systems.ResultBase implements INativeResource {
9484
+ /** @internal */
9485
+ constructor(pointer: NativePointer);
9486
+ static fromResultBase(baseInstance: Systems.ResultBase): Systems.HotspotGroupsResult;
9487
+ getHotspotGroups(): Common.Array<Systems.HotspotGroup>;
9488
+ delete(): void;
9489
+ }
9490
+ }
9491
+ export declare namespace Systems {
9492
+ /**
9493
+ @ingroup HotspotSequenceSystem System
9494
+ * @description Public facing system that allows the management of groupings of hotspots in a space.
9495
+ */
9496
+ class HotspotSequenceSystem extends Systems.SystemBase implements INativeResource {
9497
+ /** @internal */
9498
+ constructor(pointer: NativePointer);
9499
+ static fromSystemBase(baseInstance: Systems.SystemBase): Systems.HotspotSequenceSystem;
9500
+ static create_sequenceSystem_spaceSystem(sequenceSystem: Systems.SequenceSystem, spaceSystem: Systems.SpaceSystem): HotspotSequenceSystem;
9501
+ /**
9502
+ * @description Create a Hotspot group
9503
+ * @param groupName - The unique grouping name
9504
+ * @param hotspotIds - Set of hotspot ids to add to the group
9505
+ * @param callback - Callback to call when a response is received
9506
+ */
9507
+ createHotspotGroup(arg1: string, hotspotIds: Common.Array<string>): Promise<Systems.HotspotGroupResult>;
9508
+ /**
9509
+ * @description Rename a Hotspot group
9510
+ * @param currentGroupName - The unique grouping name
9511
+ * @param newGroupName - The unique grouping name
9512
+ * @param callback - Callback to call when a response is received
9513
+ */
9514
+ renameHotspotGroup(groupName: string, newGroupName: string): Promise<Systems.HotspotGroupResult>;
9515
+ /**
9516
+ * @description Update a Hotspot group
9517
+ * @param groupName - The unique grouping name
9518
+ * @param hotspotIds - Set of hotspot ids to replace
9519
+ * @param callback - Callback to call when a response is received
9520
+ */
9521
+ updateHotspotGroup(groupName: string, hotspotIds: Common.Array<string>): Promise<Systems.HotspotGroupResult>;
9522
+ /**
9523
+ * @description Get a Hotspot group by name
9524
+ * @param groupName - The unique grouping name
9525
+ * @param callback - Callback to call when a response is received
9526
+ */
9527
+ getHotspotGroup(groupName: string): Promise<Systems.HotspotGroupResult>;
9528
+ /**
9529
+ * @description Get all Hotspot groups for the current space and logged in user.
9530
+ * @param callback - Callback to call when a response is received
9531
+ */
9532
+ getHotspotGroups(): Promise<Systems.HotspotGroupsResult>;
9533
+ /**
9534
+ * @description Delete a Hotspot group by name
9535
+ * @param groupName - The unique grouping name
9536
+ * @param callback - Callback to call when a response is received
9537
+ */
9538
+ deleteHotspotGroup(groupName: string): Promise<Systems.NullResult>;
9539
+ delete(): void;
9540
+ }
9541
+ }
9397
9542
  export declare namespace Systems {
9398
9543
  /**
9399
9544
  @ingroup CSPFoundation
@@ -9767,22 +9912,24 @@ export declare namespace Systems {
9767
9912
  /**
9768
9913
  * @description Creates a new sequence. If a sequence already exists with this key, it will overwrite the current one.
9769
9914
  * This call will fail if the user isn't a creator of the space.
9770
- * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
9771
- * @param referenceType - The type of reference (GroupId, SpaceId etc.)
9915
+ * @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
9916
+ * @param referenceType - The type of reference (GroupId etc.)
9772
9917
  * @param referenceId - The id of the reference
9773
9918
  * @param items - An ordered array of members
9919
+ * @param metaData - Any additional data relating to the Sequence
9774
9920
  * @param callback - Callback to call when a response is received
9775
9921
  */
9776
- createSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>): Promise<Systems.SequenceResult>;
9922
+ createSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequenceResult>;
9777
9923
  /**
9778
9924
  * @description Updates an existing sequence. This call will fail if the user isn't a creator of the space.
9779
- * @param sequenceKey - The unique grouping name. The suggested convention is: Type:[Id]
9780
- * @param referenceType - The type of reference (GroupId, SpaceId etc.)
9925
+ * @param sequenceKey - The unique grouping name. Our naming convention is: Type:[SpaceId]:[GroupName]
9926
+ * @param referenceType - The type of reference (GroupId etc.)
9781
9927
  * @param referenceId - The id of the reference
9782
9928
  * @param items - An ordered array of members
9929
+ * @param metaData - Any additional data relating to the Sequence
9783
9930
  * @param callback - Callback to call when a response is received
9784
9931
  */
9785
- updateSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>): Promise<Systems.SequenceResult>;
9932
+ updateSequence(sequenceKey: string, referenceType: string, referenceId: string, items: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequenceResult>;
9786
9933
  /**
9787
9934
  * @description Renames a given sequence. This call will fail if the user isn't a creator of the space.
9788
9935
  * @param oldSequenceKey - The current sequence key name
@@ -9794,11 +9941,12 @@ export declare namespace Systems {
9794
9941
  * @description Finds sequences based on the given criteria
9795
9942
  * @param sequenceKeys - An array of sequence keys to search for
9796
9943
  * @param sequenceKeys - An optional regex string for searching keys
9797
- * @param referenceType - The type of reference (GroupId, SpaceId etc.). Must be used with ReferenceIds
9944
+ * @param referenceType - The type of reference (GroupId etc.). Must be used with ReferenceIds
9798
9945
  * @param referenceIds - The ids of the reference. Must be used with ReferenceType
9946
+ * @param metaData - Any additional data relating to the Sequence
9799
9947
  * @param callback - Callback to call when a response is received
9800
9948
  */
9801
- getSequencesByCriteria(sequenceKeys: Common.Array<string>, keyRegex: string | null, referenceType: string | null, referenceIds: Common.Array<string>): Promise<Systems.SequencesResult>;
9949
+ getSequencesByCriteria(sequenceKeys: Common.Array<string>, keyRegex: string | null, referenceType: string | null, referenceIds: Common.Array<string>, metaData: Common.Map<string, string>): Promise<Systems.SequencesResult>;
9802
9950
  /**
9803
9951
  * @description Gets a sequence by it's key
9804
9952
  * @param sequenceKey - The unique grouping name
@@ -10951,6 +11099,7 @@ export declare namespace Common {
10951
11099
  static ofcsp_systems_ProductInfo(): Array<Systems.ProductInfo>;
10952
11100
  static ofcsp_systems_ShopifyStoreInfo(): Array<Systems.ShopifyStoreInfo>;
10953
11101
  static ofcsp_systems_TicketedEvent(): Array<Systems.TicketedEvent>;
11102
+ static ofcsp_systems_HotspotGroup(): Array<Systems.HotspotGroup>;
10954
11103
  static ofcsp_systems_MaintenanceInfo(): Array<Systems.MaintenanceInfo>;
10955
11104
  static ofcsp_systems_EOrganizationRole(): Array<Systems.EOrganizationRole>;
10956
11105
  static ofcsp_systems_InviteOrganizationRoleInfo(): Array<Systems.InviteOrganizationRoleInfo>;
@@ -10992,6 +11141,7 @@ export declare namespace Common {
10992
11141
  static ofcsp_systems_ProductInfo_number(size: number): Array<Systems.ProductInfo>;
10993
11142
  static ofcsp_systems_ShopifyStoreInfo_number(size: number): Array<Systems.ShopifyStoreInfo>;
10994
11143
  static ofcsp_systems_TicketedEvent_number(size: number): Array<Systems.TicketedEvent>;
11144
+ static ofcsp_systems_HotspotGroup_number(size: number): Array<Systems.HotspotGroup>;
10995
11145
  static ofcsp_systems_MaintenanceInfo_number(size: number): Array<Systems.MaintenanceInfo>;
10996
11146
  static ofcsp_systems_EOrganizationRole_number(size: number): Array<Systems.EOrganizationRole>;
10997
11147
  static ofcsp_systems_InviteOrganizationRoleInfo_number(size: number): Array<Systems.InviteOrganizationRoleInfo>;