vercel-api-js 0.1.18 → 0.1.19
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/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +13 -3
- package/dist/index.d.ts +1889 -1338
- package/dist/index.mjs +13 -3
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.1.
|
|
2
|
+
> vercel-api-js@0.1.19 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.ts[22m → [1mdist/index.cjs, dist/index.mjs[22m...[39m
|
|
7
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [
|
|
7
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m7.3s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m7.
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m7.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
14
14
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */
|
|
17
|
-
/* global Reflect, Promise */
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
@@ -28,7 +28,12 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
28
28
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
29
29
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
30
30
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
34
|
+
var e = new Error(message);
|
|
35
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
36
|
+
};
|
|
32
37
|
|
|
33
38
|
function notEmpty(value) {
|
|
34
39
|
return value !== null && value !== undefined;
|
|
@@ -511,7 +516,12 @@ const getTeamMembers = (variables, signal) => fetch$1({
|
|
|
511
516
|
/**
|
|
512
517
|
* Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
|
|
513
518
|
*/
|
|
514
|
-
const inviteUserToTeam = (variables, signal) => fetch$1({
|
|
519
|
+
const inviteUserToTeam = (variables, signal) => fetch$1({
|
|
520
|
+
url: '/v1/teams/{teamId}/members',
|
|
521
|
+
method: 'post',
|
|
522
|
+
...variables,
|
|
523
|
+
signal
|
|
524
|
+
});
|
|
515
525
|
/**
|
|
516
526
|
* Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
|
|
517
527
|
*/
|