connected-spaces-platform.web 6.4.4 → 6.6.0

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.
@@ -1804,6 +1804,10 @@ export declare namespace Common {
1804
1804
  set userId(value: string);
1805
1805
  get deviceId(): string;
1806
1806
  set deviceId(value: string);
1807
+ get defaultApplicationSettings(): Common.List<Common.ApplicationSettings>;
1808
+ set defaultApplicationSettings(value: Common.List<Common.ApplicationSettings>);
1809
+ get defaultSettings(): Common.List<Common.SettingsCollection>;
1810
+ set defaultSettings(value: Common.List<Common.SettingsCollection>);
1807
1811
  }
1808
1812
  }
1809
1813
  export declare namespace Common {
@@ -3574,6 +3578,43 @@ export declare namespace Common {
3574
3578
  setStringMap(value: Common.Map<string, Common.ReplicatedValue>): void;
3575
3579
  }
3576
3580
  }
3581
+ export declare namespace Common {
3582
+ /**
3583
+ @ingroup Application Settings System
3584
+ * @description Represents configuration settings for an application context.
3585
+ */
3586
+ class ApplicationSettings extends NativeClassWrapper implements INativeResource {
3587
+ /** @internal */
3588
+ constructor(pointer: NativePointer);
3589
+ static create(): ApplicationSettings;
3590
+ delete(): void;
3591
+ get applicationName(): string;
3592
+ set applicationName(value: string);
3593
+ get context(): string;
3594
+ set context(value: string);
3595
+ get allowAnonymous(): boolean;
3596
+ set allowAnonymous(value: boolean);
3597
+ get settings(): Common.Map<string, string>;
3598
+ set settings(value: Common.Map<string, string>);
3599
+ }
3600
+ }
3601
+ export declare namespace Common {
3602
+ /**
3603
+ * @description Represents configuration settings related to a user in a specific context
3604
+ */
3605
+ class SettingsCollection extends NativeClassWrapper implements INativeResource {
3606
+ /** @internal */
3607
+ constructor(pointer: NativePointer);
3608
+ static create(): SettingsCollection;
3609
+ delete(): void;
3610
+ get userId(): string;
3611
+ set userId(value: string);
3612
+ get context(): string;
3613
+ set context(value: string);
3614
+ get settings(): Common.Map<string, string>;
3615
+ set settings(value: Common.Map<string, string>);
3616
+ }
3617
+ }
3577
3618
  export declare namespace Common {
3578
3619
  /**
3579
3620
  * @description Variant is an intermediate class that enables clients to pack data into types that are supported by Connected Spaces Platform replication
@@ -5779,44 +5820,6 @@ export declare namespace Systems {
5779
5820
  set metaData(value: Common.Map<string, string>);
5780
5821
  }
5781
5822
  }
5782
- export declare namespace Systems {
5783
- /**
5784
- @ingroup Application Settings System
5785
- * @description Represents configuration settings for an application context.
5786
- */
5787
- class ApplicationSettings extends NativeClassWrapper implements INativeResource {
5788
- /** @internal */
5789
- constructor(pointer: NativePointer);
5790
- static create(): ApplicationSettings;
5791
- delete(): void;
5792
- get applicationName(): string;
5793
- set applicationName(value: string);
5794
- get context(): string;
5795
- set context(value: string);
5796
- get allowAnonymous(): boolean;
5797
- set allowAnonymous(value: boolean);
5798
- get settings(): Common.Map<string, string>;
5799
- set settings(value: Common.Map<string, string>);
5800
- }
5801
- }
5802
- export declare namespace Systems {
5803
- /**
5804
- @ingroup Settings System
5805
- * @description Data representation of a Settings collection which maps to a UserService::Settings.
5806
- */
5807
- class SettingsCollection extends NativeClassWrapper implements INativeResource {
5808
- /** @internal */
5809
- constructor(pointer: NativePointer);
5810
- static create(): SettingsCollection;
5811
- delete(): void;
5812
- get userId(): string;
5813
- set userId(value: string);
5814
- get context(): string;
5815
- set context(value: string);
5816
- get settings(): Common.Map<string, string>;
5817
- set settings(value: Common.Map<string, string>);
5818
- }
5819
- }
5820
5823
  export declare namespace Systems {
5821
5824
  /**
5822
5825
  @ingroup Space System
@@ -10129,8 +10132,8 @@ export declare namespace Systems {
10129
10132
  constructor(pointer: NativePointer);
10130
10133
  static fromSystemBase(baseInstance: Systems.SystemBase): Systems.AnalyticsSystem;
10131
10134
  queueAnalyticsEvent(productContextSection: string, category: string, interactionType: string, subCategory: string, metadata: Common.Map<string, string>): void;
10132
- sendAnalyticsEvent(productContextSection: string, category: string, interactionType: string, subCategory: string, metadata: Common.Map<string, string>, callback: (result: Systems.NullResult) => void): void;
10133
- flushAnalyticsEventsQueue(callback: (result: Systems.NullResult) => void): void;
10135
+ sendAnalyticsEvent(productContextSection: string, category: string, interactionType: string, subCategory: string | null, metadata: Common.Map<string, string> | null): Promise<Systems.NullResult>;
10136
+ flushAnalyticsEventsQueue(): Promise<Systems.NullResult>;
10134
10137
  }
10135
10138
  }
10136
10139
  export declare namespace Systems {
@@ -11712,7 +11715,7 @@ export declare namespace Systems {
11712
11715
  /** @internal */
11713
11716
  constructor(pointer: NativePointer);
11714
11717
  static fromResultBase(baseInstance: Systems.ResultBase): Systems.ApplicationSettingsResult;
11715
- getApplicationSettings(): Systems.ApplicationSettings;
11718
+ getApplicationSettings(): Common.ApplicationSettings;
11716
11719
  delete(): void;
11717
11720
  }
11718
11721
  }
@@ -11759,7 +11762,7 @@ export declare namespace Systems {
11759
11762
  * @description Retrieves the settings collection result.
11760
11763
  * @return Const ref of settings collection class
11761
11764
  */
11762
- getSettingsCollection(): Systems.SettingsCollection;
11765
+ getSettingsCollection(): Common.SettingsCollection;
11763
11766
  delete(): void;
11764
11767
  }
11765
11768
  }
@@ -13085,12 +13088,18 @@ export declare namespace Common {
13085
13088
  constructor(pointer: NativePointer, TTypeFactory: ProxyClassFactory, TTypeName: string);
13086
13089
  private TTypeFactory;
13087
13090
  private TTypeName;
13091
+ static ofcsp_common_ApplicationSettings(): List<Common.ApplicationSettings>;
13092
+ static ofcsp_common_SettingsCollection(): List<Common.SettingsCollection>;
13088
13093
  static ofcsp_multiplayer_SpaceEntity(): List<Multiplayer.SpaceEntity>;
13089
13094
  static ofString(): List<string>;
13090
13095
  static ofcsp_common_Vector3(): List<Common.Vector3>;
13096
+ static ofcsp_common_ApplicationSettings_number(minimumSize: number): List<Common.ApplicationSettings>;
13097
+ static ofcsp_common_SettingsCollection_number(minimumSize: number): List<Common.SettingsCollection>;
13091
13098
  static ofcsp_multiplayer_SpaceEntity_number(minimumSize: number): List<Multiplayer.SpaceEntity>;
13092
13099
  static ofString_number(minimumSize: number): List<string>;
13093
13100
  static ofcsp_common_Vector3_number(minimumSize: number): List<Common.Vector3>;
13101
+ static ofcsp_common_ApplicationSettings_List(other: Common.List<Common.ApplicationSettings>): List<Common.ApplicationSettings>;
13102
+ static ofcsp_common_SettingsCollection_List(other: Common.List<Common.SettingsCollection>): List<Common.SettingsCollection>;
13094
13103
  static ofcsp_multiplayer_SpaceEntity_List(other: Common.List<Multiplayer.SpaceEntity>): List<Multiplayer.SpaceEntity>;
13095
13104
  static ofString_List(other: Common.List<string>): List<string>;
13096
13105
  static ofcsp_common_Vector3_List(other: Common.List<Common.Vector3>): List<Common.Vector3>;
@@ -13115,16 +13124,16 @@ export declare namespace Common {
13115
13124
  private TValueTypeFactory;
13116
13125
  private TValueTypeName;
13117
13126
  static ofStringAndcsp_common_ReplicatedValue(): Map<string, Common.ReplicatedValue>;
13127
+ static ofStringAndString(): Map<string, string>;
13118
13128
  static ofUInt32Andcsp_common_ReplicatedValue(): Map<number, Common.ReplicatedValue>;
13119
13129
  static ofUInt16Andcsp_multiplayer_ComponentBase(): Map<number, Multiplayer.ComponentBase>;
13120
- static ofStringAndString(): Map<string, string>;
13121
13130
  static ofStringAndcsp_systems_Asset(): Map<string, Systems.Asset>;
13122
13131
  static ofStringAndcsp_common_Map_String_String(): Map<string, Common.Map<string, string>>;
13123
13132
  static ofStringAndcsp_common_Array_String(): Map<string, Common.Array<string>>;
13124
13133
  static ofStringAndcsp_common_ReplicatedValue_Map(other: Common.Map<string, Common.ReplicatedValue>): Map<string, Common.ReplicatedValue>;
13134
+ static ofStringAndString_Map(other: Common.Map<string, string>): Map<string, string>;
13125
13135
  static ofUInt32Andcsp_common_ReplicatedValue_Map(other: Common.Map<number, Common.ReplicatedValue>): Map<number, Common.ReplicatedValue>;
13126
13136
  static ofUInt16Andcsp_multiplayer_ComponentBase_Map(other: Common.Map<number, Multiplayer.ComponentBase>): Map<number, Multiplayer.ComponentBase>;
13127
- static ofStringAndString_Map(other: Common.Map<string, string>): Map<string, string>;
13128
13137
  static ofStringAndcsp_systems_Asset_Map(other: Common.Map<string, Systems.Asset>): Map<string, Systems.Asset>;
13129
13138
  static ofStringAndcsp_common_Map_String_String_Map(other: Common.Map<string, Common.Map<string, string>>): Map<string, Common.Map<string, string>>;
13130
13139
  static ofStringAndcsp_common_Array_String_Map(other: Common.Map<string, Common.Array<string>>): Map<string, Common.Array<string>>;