skapi-js 1.7.2-beta.1 → 1.7.3-beta.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.
package/dist/skapi.d.mts CHANGED
@@ -1071,6 +1071,15 @@ declare class Skapi {
1071
1071
  user_id: string;
1072
1072
  access_group: number;
1073
1073
  }): Promise<'SUCCESS: Access has been granted to the user.'>;
1074
+ /**
1075
+ * Updates another user's profile attributes from admin context.
1076
+ * Requires the target user's user_id plus at least one attribute to update.
1077
+ * @param params Target user_id and the attributes to update.
1078
+ * @returns A promise that resolves to Promise<'SUCCESS: User attributes updated.'>.
1079
+ */
1080
+ updateUserAttributes(params: UserAttributes & {
1081
+ user_id: string;
1082
+ }): Promise<'SUCCESS: User attributes updated.'>;
1074
1083
  /**
1075
1084
  * Lists realtime groups with optional search conditions and pagination.
1076
1085
  * @param params Request parameters.
package/dist/skapi.d.ts CHANGED
@@ -1071,6 +1071,15 @@ declare class Skapi {
1071
1071
  user_id: string;
1072
1072
  access_group: number;
1073
1073
  }): Promise<'SUCCESS: Access has been granted to the user.'>;
1074
+ /**
1075
+ * Updates another user's profile attributes from admin context.
1076
+ * Requires the target user's user_id plus at least one attribute to update.
1077
+ * @param params Target user_id and the attributes to update.
1078
+ * @returns A promise that resolves to Promise<'SUCCESS: User attributes updated.'>.
1079
+ */
1080
+ updateUserAttributes(params: UserAttributes & {
1081
+ user_id: string;
1082
+ }): Promise<'SUCCESS: User attributes updated.'>;
1074
1083
  /**
1075
1084
  * Lists realtime groups with optional search conditions and pagination.
1076
1085
  * @param params Request parameters.