@delopay/sdk 0.190.0 → 0.192.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.
@@ -3073,6 +3073,12 @@ var Routing = class {
3073
3073
  * Every account named must belong to this shop; one that does not is refused.
3074
3074
  * So is an amount cap without a `currency`, and a payment cap with one.
3075
3075
  *
3076
+ * An account may appear twice — a payment count and a budget — and never
3077
+ * twice in one `unit`. Re-send a range with its `limit_max`, or it is stored
3078
+ * as its bottom. Never re-send `current_limit` as `set_current_limit`: the
3079
+ * value read belongs to the window it was read in, and pinning it into a
3080
+ * window that has since reset is a limit nobody chose.
3081
+ *
3076
3082
  * `PUT /routing/connector-caps/{profileId}`
3077
3083
  */
3078
3084
  async setConnectorCaps(profileId, params) {
@@ -4034,6 +4040,33 @@ var Users = class {
4034
4040
  async changeMemberScope(params) {
4035
4041
  return this.request("POST", "/user/employees/change-scope", { body: params });
4036
4042
  }
4043
+ /**
4044
+ * One member of your merchant, with the person fields the member list
4045
+ * omits. `GET /user/employees/{user_id}/details`
4046
+ *
4047
+ * Answers only for a member `listUsersInLineage` shows you. Any other id,
4048
+ * unknown or not yours, is a 404 `UR_68` with `data.reason:
4049
+ * 'member_not_found'`.
4050
+ */
4051
+ async getTeamMemberDetails(userId) {
4052
+ return this.request("GET", `/user/employees/${encodeURIComponent(userId)}/details`);
4053
+ }
4054
+ /**
4055
+ * Replace a team member's password with a temporary one, returned once.
4056
+ * `POST /user/employees/{user_id}/reset-password`
4057
+ *
4058
+ * Needs the *Users* write permission and the *Impersonation* permission,
4059
+ * and the member must be one you could sign in as with
4060
+ * `impersonateEmployee`. The member's sessions end, and their next sign-in
4061
+ * asks them to choose a new password. Two-factor authentication is left as
4062
+ * it is. `TeamMemberDetails.can_reset_password` answers the same rule. A
4063
+ * refusal is a `UR_68` error whose `data` is a {@link TeamMemberRefusal}.
4064
+ */
4065
+ async resetTeamMemberPassword(userId, params) {
4066
+ return this.request("POST", `/user/employees/${encodeURIComponent(userId)}/reset-password`, {
4067
+ body: params
4068
+ });
4069
+ }
4037
4070
  /** Sign in via OIDC. `POST /user/oidc` */
4038
4071
  async signInOidc(params) {
4039
4072
  return this.request("POST", "/user/oidc", { body: params });
@@ -11065,4 +11098,4 @@ export {
11065
11098
  decodeNativePanes,
11066
11099
  encodeNativePanes
11067
11100
  };
11068
- //# sourceMappingURL=chunk-YNJUCISZ.js.map
11101
+ //# sourceMappingURL=chunk-BIAYMQN7.js.map