@delopay/sdk 0.330.0 → 0.332.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-UOU5JU35.js → chunk-FAUZMLOT.js} +22 -2
- package/dist/chunk-FAUZMLOT.js.map +1 -0
- package/dist/{index-rPQTPa8y.d.cts → index-21zlB2D1.d.cts} +72 -3
- package/dist/{index-rPQTPa8y.d.ts → index-21zlB2D1.d.ts} +72 -3
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +21 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +182 -7
- package/dist/internal.d.ts +182 -7
- package/dist/internal.js +1 -1
- package/package.json +17 -18
- package/dist/chunk-UOU5JU35.js.map +0 -1
|
@@ -5420,10 +5420,30 @@ var Users = class {
|
|
|
5420
5420
|
query: params
|
|
5421
5421
|
});
|
|
5422
5422
|
}
|
|
5423
|
-
/**
|
|
5423
|
+
/**
|
|
5424
|
+
* Send a pending member a new invitation link. `POST /user/resend-invite`
|
|
5425
|
+
*
|
|
5426
|
+
* The new link replaces the one before it, which stops working. It works
|
|
5427
|
+
* for `link_valid_for_days` days, 7 by default. Works for any pending member
|
|
5428
|
+
* `listUsersInLineage` shows you. A refusal is a `UR_68` error
|
|
5429
|
+
* (`no_pending_invitation`, `invite_link_validity_out_of_range`) or a
|
|
5430
|
+
* `UR_70` `invitation_expired` when the access the invitation offers has
|
|
5431
|
+
* ended.
|
|
5432
|
+
*/
|
|
5424
5433
|
async resendInvite(params) {
|
|
5425
5434
|
return this.request("POST", "/user/resend-invite", { body: params });
|
|
5426
5435
|
}
|
|
5436
|
+
/**
|
|
5437
|
+
* A pending member's current invitation link, or why it is not shown.
|
|
5438
|
+
* `GET /user/employees/{user_id}/invite-link`
|
|
5439
|
+
*
|
|
5440
|
+
* Only the link of an account the invitation created, that nobody has used
|
|
5441
|
+
* since, is returned: the link signs its holder in without a password. Every
|
|
5442
|
+
* link returned is audited. Needs team write access.
|
|
5443
|
+
*/
|
|
5444
|
+
async getInviteLink(userId) {
|
|
5445
|
+
return this.request("GET", `/user/employees/${encodeURIComponent(userId)}/invite-link`);
|
|
5446
|
+
}
|
|
5427
5447
|
/**
|
|
5428
5448
|
* Get the caller's parent permission groups + scopes.
|
|
5429
5449
|
*
|
|
@@ -15999,4 +16019,4 @@ export {
|
|
|
15999
16019
|
decodeNativePanes,
|
|
16000
16020
|
encodeNativePanes
|
|
16001
16021
|
};
|
|
16002
|
-
//# sourceMappingURL=chunk-
|
|
16022
|
+
//# sourceMappingURL=chunk-FAUZMLOT.js.map
|