@delopay/sdk 0.210.0 → 0.211.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/{chunk-IFP4THPD.js → chunk-2OYT52HK.js} +17 -1
- package/dist/chunk-2OYT52HK.js.map +1 -0
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +84 -1
- package/dist/index.d.ts +84 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +16 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-IFP4THPD.js.map +0 -1
|
@@ -4151,6 +4151,22 @@ var Users = class {
|
|
|
4151
4151
|
async changeMemberScope(params) {
|
|
4152
4152
|
return this.request("POST", "/user/employees/change-scope", { body: params });
|
|
4153
4153
|
}
|
|
4154
|
+
/**
|
|
4155
|
+
* Set or clear when a team member's access to your merchant ends.
|
|
4156
|
+
* `POST /user/employees/update-expiry`
|
|
4157
|
+
*
|
|
4158
|
+
* Every merchant-, shop- and project-level role the member holds in your
|
|
4159
|
+
* merchant, accepted or still an invitation, gets the same `expires_at`.
|
|
4160
|
+
* From that instant the roles grant nothing: every request, sign-in, token
|
|
4161
|
+
* refresh and switch made with them is refused, and `listUsersInLineage`
|
|
4162
|
+
* reports the instant in `MinimalRoleInfo.expires_at`. Send `null` to remove
|
|
4163
|
+
* the expiry. A shop-level caller reaches only members whose every role is
|
|
4164
|
+
* on its own shop. A refusal is a `UR_70` error whose `data` is an
|
|
4165
|
+
* {@link AccessExpiryRefusal}.
|
|
4166
|
+
*/
|
|
4167
|
+
async updateMemberExpiry(params) {
|
|
4168
|
+
return this.request("POST", "/user/employees/update-expiry", { body: params });
|
|
4169
|
+
}
|
|
4154
4170
|
/**
|
|
4155
4171
|
* One member of your merchant, with the person fields the member list
|
|
4156
4172
|
* omits. `GET /user/employees/{user_id}/details`
|
|
@@ -11646,4 +11662,4 @@ export {
|
|
|
11646
11662
|
decodeNativePanes,
|
|
11647
11663
|
encodeNativePanes
|
|
11648
11664
|
};
|
|
11649
|
-
//# sourceMappingURL=chunk-
|
|
11665
|
+
//# sourceMappingURL=chunk-2OYT52HK.js.map
|