@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.
package/dist/index.cjs CHANGED
@@ -3315,6 +3315,12 @@ var Routing = class {
3315
3315
  * Every account named must belong to this shop; one that does not is refused.
3316
3316
  * So is an amount cap without a `currency`, and a payment cap with one.
3317
3317
  *
3318
+ * An account may appear twice — a payment count and a budget — and never
3319
+ * twice in one `unit`. Re-send a range with its `limit_max`, or it is stored
3320
+ * as its bottom. Never re-send `current_limit` as `set_current_limit`: the
3321
+ * value read belongs to the window it was read in, and pinning it into a
3322
+ * window that has since reset is a limit nobody chose.
3323
+ *
3318
3324
  * `PUT /routing/connector-caps/{profileId}`
3319
3325
  */
3320
3326
  async setConnectorCaps(profileId, params) {
@@ -4276,6 +4282,33 @@ var Users = class {
4276
4282
  async changeMemberScope(params) {
4277
4283
  return this.request("POST", "/user/employees/change-scope", { body: params });
4278
4284
  }
4285
+ /**
4286
+ * One member of your merchant, with the person fields the member list
4287
+ * omits. `GET /user/employees/{user_id}/details`
4288
+ *
4289
+ * Answers only for a member `listUsersInLineage` shows you. Any other id,
4290
+ * unknown or not yours, is a 404 `UR_68` with `data.reason:
4291
+ * 'member_not_found'`.
4292
+ */
4293
+ async getTeamMemberDetails(userId) {
4294
+ return this.request("GET", `/user/employees/${encodeURIComponent(userId)}/details`);
4295
+ }
4296
+ /**
4297
+ * Replace a team member's password with a temporary one, returned once.
4298
+ * `POST /user/employees/{user_id}/reset-password`
4299
+ *
4300
+ * Needs the *Users* write permission and the *Impersonation* permission,
4301
+ * and the member must be one you could sign in as with
4302
+ * `impersonateEmployee`. The member's sessions end, and their next sign-in
4303
+ * asks them to choose a new password. Two-factor authentication is left as
4304
+ * it is. `TeamMemberDetails.can_reset_password` answers the same rule. A
4305
+ * refusal is a `UR_68` error whose `data` is a {@link TeamMemberRefusal}.
4306
+ */
4307
+ async resetTeamMemberPassword(userId, params) {
4308
+ return this.request("POST", `/user/employees/${encodeURIComponent(userId)}/reset-password`, {
4309
+ body: params
4310
+ });
4311
+ }
4279
4312
  /** Sign in via OIDC. `POST /user/oidc` */
4280
4313
  async signInOidc(params) {
4281
4314
  return this.request("POST", "/user/oidc", { body: params });