@vitalfit/sdk 0.3.11 → 0.3.12
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.cjs +12 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -447,13 +447,22 @@ var UserService = class {
|
|
|
447
447
|
this.getMedicalProfile = this.getMedicalProfile.bind(this);
|
|
448
448
|
this.updateMedicalProfile = this.updateMedicalProfile.bind(this);
|
|
449
449
|
}
|
|
450
|
-
async getStaffUsers({
|
|
450
|
+
async getStaffUsers({
|
|
451
|
+
page = 1,
|
|
452
|
+
limit = 10,
|
|
453
|
+
sort = "desc",
|
|
454
|
+
search,
|
|
455
|
+
role
|
|
456
|
+
}, jwt) {
|
|
451
457
|
const response = await this.client.get({
|
|
452
458
|
url: "/user/users",
|
|
453
459
|
jwt,
|
|
454
460
|
params: {
|
|
455
461
|
search,
|
|
456
|
-
role
|
|
462
|
+
role,
|
|
463
|
+
page,
|
|
464
|
+
limit,
|
|
465
|
+
sort
|
|
457
466
|
}
|
|
458
467
|
});
|
|
459
468
|
return response;
|
|
@@ -2793,7 +2802,7 @@ var VitalFit = class _VitalFit {
|
|
|
2793
2802
|
return _VitalFit.instance;
|
|
2794
2803
|
}
|
|
2795
2804
|
version() {
|
|
2796
|
-
return "0.3.
|
|
2805
|
+
return "0.3.12";
|
|
2797
2806
|
}
|
|
2798
2807
|
};
|
|
2799
2808
|
// Annotate the CommonJS export names for ESM import in node:
|