@examplary/sdk 2.17.0 → 2.18.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.d.mts +56 -10
- package/dist/index.d.ts +56 -10
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -739,9 +739,13 @@ var Users = class {
|
|
|
739
739
|
const args = arg;
|
|
740
740
|
return request(this.ctx, "POST", "/users", [], [], true, args, options);
|
|
741
741
|
}
|
|
742
|
-
|
|
742
|
+
get(arg, options) {
|
|
743
743
|
const args = typeof arg === "string" ? { id: arg } : arg;
|
|
744
|
-
return request(this.ctx, "
|
|
744
|
+
return request(this.ctx, "GET", "/users/{id}", ["id"], [], false, args, options);
|
|
745
|
+
}
|
|
746
|
+
update(arg, options) {
|
|
747
|
+
const args = arg;
|
|
748
|
+
return request(this.ctx, "PATCH", "/users/{id}", ["id"], [], true, args, options);
|
|
745
749
|
}
|
|
746
750
|
delete(arg, options) {
|
|
747
751
|
const args = typeof arg === "string" ? { id: arg } : arg;
|