@hautechai/sdk 2.24.0 → 2.25.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/index.mjs CHANGED
@@ -16563,6 +16563,15 @@ var getUserProfiles = () => {
16563
16563
  options
16564
16564
  );
16565
16565
  };
16566
+ const getById = (id, options) => {
16567
+ return axiosMutator(
16568
+ {
16569
+ url: `/api/v1/user-profiles/${id}`,
16570
+ method: "GET"
16571
+ },
16572
+ options
16573
+ );
16574
+ };
16566
16575
  const updateUserProfile = (id, updateUserProfileDto, options) => {
16567
16576
  return axiosMutator(
16568
16577
  {
@@ -16574,7 +16583,7 @@ var getUserProfiles = () => {
16574
16583
  options
16575
16584
  );
16576
16585
  };
16577
- return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, updateUserProfile };
16586
+ return { createUserProfile, getUserProfiles: getUserProfiles2, getSelfProfile, getByHandle, getById, updateUserProfile };
16578
16587
  };
16579
16588
 
16580
16589
  // src/sdk/api-definitions/user-profiles.ts
@@ -16585,6 +16594,7 @@ var useUserProfilesApi = () => {
16585
16594
  list: api.getUserProfiles,
16586
16595
  self: api.getSelfProfile,
16587
16596
  getByHandle: wrapApiCallNullable(api.getByHandle),
16597
+ getById: wrapApiCallNullable(api.getById),
16588
16598
  update: api.updateUserProfile
16589
16599
  });
16590
16600
  };