@octokit/plugin-rest-endpoint-methods
Advanced tools
Comparing version 4.4.3 to 4.5.0
@@ -140,2 +140,3 @@ 'use strict'; | ||
revokeInstallationAccessToken: ["DELETE /installation/token"], | ||
scopeToken: ["POST /applications/{client_id}/token/scoped"], | ||
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], | ||
@@ -396,12 +397,4 @@ unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"], | ||
orgs: { | ||
blockUser: ["PUT /orgs/{org}/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
blockUser: ["PUT /orgs/{org}/blocks/{username}"], | ||
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], | ||
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], | ||
@@ -420,7 +413,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], | ||
listAppInstallations: ["GET /orgs/{org}/installations"], | ||
listBlockedUsers: ["GET /orgs/{org}/blocks", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
listBlockedUsers: ["GET /orgs/{org}/blocks"], | ||
listForAuthenticatedUser: ["GET /user/orgs"], | ||
@@ -442,7 +431,3 @@ listForUser: ["GET /users/{username}/orgs"], | ||
setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"], | ||
unblockUser: ["DELETE /orgs/{org}/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], | ||
update: ["PATCH /orgs/{org}"], | ||
@@ -1019,12 +1004,4 @@ updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"], | ||
addEmailForAuthenticated: ["POST /user/emails"], | ||
block: ["PUT /user/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
checkBlocked: ["GET /user/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
block: ["PUT /user/blocks/{username}"], | ||
checkBlocked: ["GET /user/blocks/{username}"], | ||
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], | ||
@@ -1044,7 +1021,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], | ||
list: ["GET /users"], | ||
listBlockedByAuthenticated: ["GET /user/blocks", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
listBlockedByAuthenticated: ["GET /user/blocks"], | ||
listEmailsForAuthenticated: ["GET /user/emails"], | ||
@@ -1061,7 +1034,3 @@ listFollowedByAuthenticated: ["GET /user/following"], | ||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], | ||
unblock: ["DELETE /user/blocks/{username}", { | ||
mediaType: { | ||
previews: ["giant-sentry-fist"] | ||
} | ||
}], | ||
unblock: ["DELETE /user/blocks/{username}"], | ||
unfollow: ["DELETE /user/following/{username}"], | ||
@@ -1072,3 +1041,3 @@ updateAuthenticated: ["PATCH /user"] | ||
const VERSION = "4.4.3"; | ||
const VERSION = "4.5.0"; | ||
@@ -1075,0 +1044,0 @@ function endpointsToMethods(octokit, endpointsMap) { |
@@ -243,2 +243,3 @@ const Endpoints = { | ||
revokeInstallationAccessToken: ["DELETE /installation/token"], | ||
scopeToken: ["POST /applications/{client_id}/token/scoped"], | ||
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], | ||
@@ -538,10 +539,4 @@ unsuspendInstallation: [ | ||
orgs: { | ||
blockUser: [ | ||
"PUT /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
checkBlockedUser: [ | ||
"GET /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
blockUser: ["PUT /orgs/{org}/blocks/{username}"], | ||
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], | ||
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], | ||
@@ -562,6 +557,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], | ||
listAppInstallations: ["GET /orgs/{org}/installations"], | ||
listBlockedUsers: [ | ||
"GET /orgs/{org}/blocks", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
listBlockedUsers: ["GET /orgs/{org}/blocks"], | ||
listForAuthenticatedUser: ["GET /user/orgs"], | ||
@@ -589,6 +581,3 @@ listForUser: ["GET /users/{username}/orgs"], | ||
], | ||
unblockUser: [ | ||
"DELETE /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], | ||
update: ["PATCH /orgs/{org}"], | ||
@@ -1256,10 +1245,4 @@ updateMembershipForAuthenticatedUser: [ | ||
addEmailForAuthenticated: ["POST /user/emails"], | ||
block: [ | ||
"PUT /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
checkBlocked: [ | ||
"GET /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
block: ["PUT /user/blocks/{username}"], | ||
checkBlocked: ["GET /user/blocks/{username}"], | ||
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], | ||
@@ -1279,6 +1262,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], | ||
list: ["GET /users"], | ||
listBlockedByAuthenticated: [ | ||
"GET /user/blocks", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
listBlockedByAuthenticated: ["GET /user/blocks"], | ||
listEmailsForAuthenticated: ["GET /user/emails"], | ||
@@ -1295,6 +1275,3 @@ listFollowedByAuthenticated: ["GET /user/following"], | ||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], | ||
unblock: [ | ||
"DELETE /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
unblock: ["DELETE /user/blocks/{username}"], | ||
unfollow: ["DELETE /user/following/{username}"], | ||
@@ -1301,0 +1278,0 @@ updateAuthenticated: ["PATCH /user"], |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "4.4.3"; | ||
export const VERSION = "4.5.0"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "4.4.3"; | ||
export declare const VERSION = "4.5.0"; |
@@ -243,2 +243,3 @@ const Endpoints = { | ||
revokeInstallationAccessToken: ["DELETE /installation/token"], | ||
scopeToken: ["POST /applications/{client_id}/token/scoped"], | ||
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], | ||
@@ -538,10 +539,4 @@ unsuspendInstallation: [ | ||
orgs: { | ||
blockUser: [ | ||
"PUT /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
checkBlockedUser: [ | ||
"GET /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
blockUser: ["PUT /orgs/{org}/blocks/{username}"], | ||
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], | ||
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], | ||
@@ -562,6 +557,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], | ||
listAppInstallations: ["GET /orgs/{org}/installations"], | ||
listBlockedUsers: [ | ||
"GET /orgs/{org}/blocks", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
listBlockedUsers: ["GET /orgs/{org}/blocks"], | ||
listForAuthenticatedUser: ["GET /user/orgs"], | ||
@@ -589,6 +581,3 @@ listForUser: ["GET /users/{username}/orgs"], | ||
], | ||
unblockUser: [ | ||
"DELETE /orgs/{org}/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], | ||
update: ["PATCH /orgs/{org}"], | ||
@@ -1256,10 +1245,4 @@ updateMembershipForAuthenticatedUser: [ | ||
addEmailForAuthenticated: ["POST /user/emails"], | ||
block: [ | ||
"PUT /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
checkBlocked: [ | ||
"GET /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
block: ["PUT /user/blocks/{username}"], | ||
checkBlocked: ["GET /user/blocks/{username}"], | ||
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], | ||
@@ -1279,6 +1262,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], | ||
list: ["GET /users"], | ||
listBlockedByAuthenticated: [ | ||
"GET /user/blocks", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
listBlockedByAuthenticated: ["GET /user/blocks"], | ||
listEmailsForAuthenticated: ["GET /user/emails"], | ||
@@ -1295,6 +1275,3 @@ listFollowedByAuthenticated: ["GET /user/following"], | ||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], | ||
unblock: [ | ||
"DELETE /user/blocks/{username}", | ||
{ mediaType: { previews: ["giant-sentry-fist"] } }, | ||
], | ||
unblock: ["DELETE /user/blocks/{username}"], | ||
unfollow: ["DELETE /user/following/{username}"], | ||
@@ -1305,3 +1282,3 @@ updateAuthenticated: ["PATCH /user"], | ||
const VERSION = "4.4.3"; | ||
const VERSION = "4.5.0"; | ||
@@ -1308,0 +1285,0 @@ function endpointsToMethods(octokit, endpointsMap) { |
{ | ||
"name": "@octokit/plugin-rest-endpoint-methods", | ||
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", | ||
"version": "4.4.3", | ||
"version": "4.5.0", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "files": [ | ||
"dependencies": { | ||
"@octokit/types": "^6.1.0", | ||
"@octokit/types": "^6.3.1", | ||
"deprecation": "^2.3.1" | ||
@@ -23,0 +23,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1042622
13610
Updated@octokit/types@^6.3.1