connected-spaces-platform.web 5.10.0 → 5.11.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.
@@ -6157,8 +6157,6 @@ export declare namespace Systems {
6157
6157
  set displayName(value: string);
6158
6158
  get avatarId(): string;
6159
6159
  set avatarId(value: string);
6160
- get lastPlatform(): string;
6161
- set lastPlatform(value: string);
6162
6160
  }
6163
6161
  }
6164
6162
  export declare namespace Systems {
@@ -11712,6 +11710,8 @@ export declare namespace Systems {
11712
11710
  * @param password - Csp::common::string
11713
11711
  * @param userHasVerifiedAge - An optional bool to specify whether or not the user has verified that they are over 18
11714
11712
  * @param callback - Callback to call when a response is received
11713
+ @pre One of either UserName or Email must not be empty.
11714
+ @pre Password must not be empty.
11715
11715
  */
11716
11716
  login(userName: string, email: string, password: string, userHasVerifiedAge: boolean | null): Promise<Systems.LoginStateResult>;
11717
11717
  /**
@@ -11720,6 +11720,7 @@ export declare namespace Systems {
11720
11720
  * @param userId - User ID for the previous session
11721
11721
  * @param refreshToken - Refresh token to be used for refreshing the authentication token
11722
11722
  * @param callback - Callback when asynchronous task finishes
11723
+ @pre UserId must not be empty.
11723
11724
  */
11724
11725
  loginWithRefreshToken(userId: string, refreshToken: string): Promise<Systems.LoginStateResult>;
11725
11726
  /**
@@ -14959,13 +14959,6 @@ export class CSPFoundation {
14959
14959
  set avatarId(value) {
14960
14960
  Module.ccall("csp_systems_BasicProfile__Set_AvatarId", "void", ["number", "string"], [this.pointer, value]);
14961
14961
  }
14962
- get lastPlatform() {
14963
- let _result = Module.ccall("csp_systems_BasicProfile__Get_LastPlatform", "string", ["number"], [this.pointer]);
14964
- return _result;
14965
- }
14966
- set lastPlatform(value) {
14967
- Module.ccall("csp_systems_BasicProfile__Set_LastPlatform", "void", ["number", "string"], [this.pointer, value]);
14968
- }
14969
14962
  }
14970
14963
  Systems.BasicProfile = BasicProfile;
14971
14964
  })(Systems || (Systems = {}));
@@ -27628,6 +27621,8 @@ export class CSPFoundation {
27628
27621
  * @param password - Csp::common::string
27629
27622
  * @param userHasVerifiedAge - An optional bool to specify whether or not the user has verified that they are over 18
27630
27623
  * @param callback - Callback to call when a response is received
27624
+ @pre One of either UserName or Email must not be empty.
27625
+ @pre Password must not be empty.
27631
27626
  */
27632
27627
  async login(userName, email, password, userHasVerifiedAge) {
27633
27628
  var _resolve;
@@ -27670,6 +27665,7 @@ export class CSPFoundation {
27670
27665
  * @param userId - User ID for the previous session
27671
27666
  * @param refreshToken - Refresh token to be used for refreshing the authentication token
27672
27667
  * @param callback - Callback when asynchronous task finishes
27668
+ @pre UserId must not be empty.
27673
27669
  */
27674
27670
  async loginWithRefreshToken(userId, refreshToken) {
27675
27671
  var _resolve;