@supernova-studio/client 0.55.3 → 0.55.4
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/index.d.mts +107 -1
- package/dist/index.d.ts +107 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/users/user.ts +4 -0
- package/src/api/endpoints/users.ts +9 -1
package/dist/index.mjs
CHANGED
|
@@ -6447,6 +6447,7 @@ var DTOUser = z230.object({
|
|
|
6447
6447
|
var DTOUserGetResponse = z230.object({
|
|
6448
6448
|
user: DTOUser
|
|
6449
6449
|
});
|
|
6450
|
+
var DTOUserProfileUpdate = UserProfileUpdate;
|
|
6450
6451
|
|
|
6451
6452
|
// src/api/dto/users/authenticated-user.ts
|
|
6452
6453
|
var DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
@@ -6549,6 +6550,12 @@ var UsersEndpoint = class {
|
|
|
6549
6550
|
delete(uid) {
|
|
6550
6551
|
return this.requestExecutor.json(`/users/${uid}`, DTOAuthenticatedUserResponse, { method: "DELETE" });
|
|
6551
6552
|
}
|
|
6553
|
+
updateProfile(uid, body) {
|
|
6554
|
+
return this.requestExecutor.json(`/users/${uid}/profile`, DTOAuthenticatedUserResponse, {
|
|
6555
|
+
method: "PUT",
|
|
6556
|
+
body
|
|
6557
|
+
});
|
|
6558
|
+
}
|
|
6552
6559
|
};
|
|
6553
6560
|
|
|
6554
6561
|
// src/api/endpoints/workspace-invites.ts
|
|
@@ -11676,6 +11683,7 @@ export {
|
|
|
11676
11683
|
DTOUserOnboardingDepartment,
|
|
11677
11684
|
DTOUserOnboardingJobLevel,
|
|
11678
11685
|
DTOUserProfile,
|
|
11686
|
+
DTOUserProfileUpdate,
|
|
11679
11687
|
DTOUserProfileUpdatePayload,
|
|
11680
11688
|
DTOUserProfileUpdateResponse,
|
|
11681
11689
|
DTOUserSource,
|