@delopay/sdk 0.57.0 → 0.58.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.cjs CHANGED
@@ -2384,9 +2384,21 @@ var Users = class {
2384
2384
  async listUserRoles(params) {
2385
2385
  return this.request("POST", "/user/employees", { body: params });
2386
2386
  }
2387
+ /**
2388
+ * Change a team member's role. `POST /user/employees/update-role`
2389
+ *
2390
+ * Pass `profile_id` to name the shop when managing a shop's team as a
2391
+ * merchant-scoped admin — see {@link UpdateUserRoleRequest.profile_id}.
2392
+ */
2387
2393
  async updateUserRole(params) {
2388
2394
  return this.request("POST", "/user/employees/update-role", { body: params });
2389
2395
  }
2396
+ /**
2397
+ * Remove a team member. `DELETE /user/employees/delete`
2398
+ *
2399
+ * Pass `profile_id` to name the shop when managing a shop's team as a
2400
+ * merchant-scoped admin — see {@link DeleteUserRoleRequest.profile_id}.
2401
+ */
2390
2402
  async deleteUserRole(params) {
2391
2403
  return this.request("DELETE", "/user/employees/delete", { body: params });
2392
2404
  }