@octokit/plugin-rest-endpoint-methods
Advanced tools
Comparing version 5.11.4 to 5.12.0
@@ -83,2 +83,3 @@ 'use strict'; | ||
downloadJobLogsForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"], | ||
downloadWorkflowRunAttemptLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"], | ||
downloadWorkflowRunLogs: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"], | ||
@@ -108,2 +109,3 @@ enableSelectedRepositoryGithubActionsOrganization: ["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"], | ||
getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], | ||
getWorkflowRunAttempt: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"], | ||
getWorkflowRunUsage: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"], | ||
@@ -127,3 +129,2 @@ getWorkflowUsage: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"], | ||
removeSelectedRepoFromOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"], | ||
retryWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/retry"], | ||
reviewPendingDeploymentsForRun: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"], | ||
@@ -171,3 +172,6 @@ setAllowedActionsOrganization: ["PUT /orgs/{org}/actions/permissions/selected-actions"], | ||
apps: { | ||
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], | ||
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}", {}, { | ||
renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"] | ||
}], | ||
addRepoToInstallationForAuthenticatedUser: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"], | ||
checkToken: ["POST /applications/{client_id}/token"], | ||
@@ -211,3 +215,6 @@ createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", { | ||
redeliverWebhookDelivery: ["POST /app/hook/deliveries/{delivery_id}/attempts"], | ||
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"], | ||
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}", {}, { | ||
renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"] | ||
}], | ||
removeRepoFromInstallationForAuthenticatedUser: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"], | ||
resetToken: ["PATCH /applications/{client_id}/token"], | ||
@@ -237,2 +244,3 @@ revokeInstallationAccessToken: ["DELETE /installation/token"], | ||
listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], | ||
rerequestRun: ["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"], | ||
rerequestSuite: ["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"], | ||
@@ -411,4 +419,7 @@ setSuitesPreferences: ["PATCH /repos/{owner}/{repo}/check-suites/preferences"], | ||
listForOrg: ["GET /orgs/{org}/migrations"], | ||
listReposForAuthenticatedUser: ["GET /user/migrations/{migration_id}/repositories"], | ||
listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"], | ||
listReposForUser: ["GET /user/migrations/{migration_id}/repositories"], | ||
listReposForUser: ["GET /user/migrations/{migration_id}/repositories", {}, { | ||
renamed: ["migrations", "listReposForAuthenticatedUser"] | ||
}], | ||
mapCommitAuthor: ["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"], | ||
@@ -580,3 +591,6 @@ setLfsPreference: ["PATCH /repos/{owner}/{repo}/import/lfs"], | ||
repos: { | ||
acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}"], | ||
acceptInvitation: ["PATCH /user/repository_invitations/{invitation_id}", {}, { | ||
renamed: ["repos", "acceptInvitationForAuthenticatedUser"] | ||
}], | ||
acceptInvitationForAuthenticatedUser: ["PATCH /user/repository_invitations/{invitation_id}"], | ||
addAppAccessRestrictions: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", {}, { | ||
@@ -601,7 +615,3 @@ mapToData: "apps" | ||
createCommitComment: ["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"], | ||
createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { | ||
mediaType: { | ||
previews: ["zzzax"] | ||
} | ||
}], | ||
createCommitSignatureProtection: ["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"], | ||
createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], | ||
@@ -617,15 +627,10 @@ createDeployKey: ["POST /repos/{owner}/{repo}/keys"], | ||
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], | ||
createPagesSite: ["POST /repos/{owner}/{repo}/pages", { | ||
mediaType: { | ||
previews: ["switcheroo"] | ||
} | ||
}], | ||
createPagesSite: ["POST /repos/{owner}/{repo}/pages"], | ||
createRelease: ["POST /repos/{owner}/{repo}/releases"], | ||
createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate", { | ||
mediaType: { | ||
previews: ["baptiste"] | ||
} | ||
createUsingTemplate: ["POST /repos/{template_owner}/{template_repo}/generate"], | ||
createWebhook: ["POST /repos/{owner}/{repo}/hooks"], | ||
declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}", {}, { | ||
renamed: ["repos", "declineInvitationForAuthenticatedUser"] | ||
}], | ||
createWebhook: ["POST /repos/{owner}/{repo}/hooks"], | ||
declineInvitation: ["DELETE /user/repository_invitations/{invitation_id}"], | ||
declineInvitationForAuthenticatedUser: ["DELETE /user/repository_invitations/{invitation_id}"], | ||
delete: ["DELETE /repos/{owner}/{repo}"], | ||
@@ -638,7 +643,3 @@ deleteAccessRestrictions: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], | ||
deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], | ||
deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { | ||
mediaType: { | ||
previews: ["zzzax"] | ||
} | ||
}], | ||
deleteCommitSignatureProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"], | ||
deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], | ||
@@ -648,7 +649,3 @@ deleteDeployment: ["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"], | ||
deleteInvitation: ["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"], | ||
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages", { | ||
mediaType: { | ||
previews: ["switcheroo"] | ||
} | ||
}], | ||
deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"], | ||
deletePullRequestReviewProtection: ["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"], | ||
@@ -669,2 +666,3 @@ deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], | ||
enableVulnerabilityAlerts: ["PUT /repos/{owner}/{repo}/vulnerability-alerts"], | ||
generateReleaseNotes: ["POST /repos/{owner}/{repo}/releases/generate-notes"], | ||
get: ["GET /repos/{owner}/{repo}"], | ||
@@ -691,7 +689,3 @@ getAccessRestrictions: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"], | ||
getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], | ||
getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", { | ||
mediaType: { | ||
previews: ["zzzax"] | ||
} | ||
}], | ||
getCommitSignatureProtection: ["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"], | ||
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], | ||
@@ -814,7 +808,3 @@ getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], | ||
code: ["GET /search/code"], | ||
commits: ["GET /search/commits", { | ||
mediaType: { | ||
previews: ["cloak"] | ||
} | ||
}], | ||
commits: ["GET /search/commits"], | ||
issuesAndPullRequests: ["GET /search/issues"], | ||
@@ -869,3 +859,6 @@ labels: ["GET /search/labels"], | ||
users: { | ||
addEmailForAuthenticated: ["POST /user/emails"], | ||
addEmailForAuthenticated: ["POST /user/emails", {}, { | ||
renamed: ["users", "addEmailForAuthenticatedUser"] | ||
}], | ||
addEmailForAuthenticatedUser: ["POST /user/emails"], | ||
block: ["PUT /user/blocks/{username}"], | ||
@@ -875,7 +868,22 @@ checkBlocked: ["GET /user/blocks/{username}"], | ||
checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], | ||
createGpgKeyForAuthenticated: ["POST /user/gpg_keys"], | ||
createPublicSshKeyForAuthenticated: ["POST /user/keys"], | ||
deleteEmailForAuthenticated: ["DELETE /user/emails"], | ||
deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}"], | ||
deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}"], | ||
createGpgKeyForAuthenticated: ["POST /user/gpg_keys", {}, { | ||
renamed: ["users", "createGpgKeyForAuthenticatedUser"] | ||
}], | ||
createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"], | ||
createPublicSshKeyForAuthenticated: ["POST /user/keys", {}, { | ||
renamed: ["users", "createPublicSshKeyForAuthenticatedUser"] | ||
}], | ||
createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"], | ||
deleteEmailForAuthenticated: ["DELETE /user/emails", {}, { | ||
renamed: ["users", "deleteEmailForAuthenticatedUser"] | ||
}], | ||
deleteEmailForAuthenticatedUser: ["DELETE /user/emails"], | ||
deleteGpgKeyForAuthenticated: ["DELETE /user/gpg_keys/{gpg_key_id}", {}, { | ||
renamed: ["users", "deleteGpgKeyForAuthenticatedUser"] | ||
}], | ||
deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"], | ||
deletePublicSshKeyForAuthenticated: ["DELETE /user/keys/{key_id}", {}, { | ||
renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"] | ||
}], | ||
deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"], | ||
follow: ["PUT /user/following/{username}"], | ||
@@ -885,17 +893,44 @@ getAuthenticated: ["GET /user"], | ||
getContextForUser: ["GET /users/{username}/hovercard"], | ||
getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}"], | ||
getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}"], | ||
getGpgKeyForAuthenticated: ["GET /user/gpg_keys/{gpg_key_id}", {}, { | ||
renamed: ["users", "getGpgKeyForAuthenticatedUser"] | ||
}], | ||
getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"], | ||
getPublicSshKeyForAuthenticated: ["GET /user/keys/{key_id}", {}, { | ||
renamed: ["users", "getPublicSshKeyForAuthenticatedUser"] | ||
}], | ||
getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"], | ||
list: ["GET /users"], | ||
listBlockedByAuthenticated: ["GET /user/blocks"], | ||
listEmailsForAuthenticated: ["GET /user/emails"], | ||
listFollowedByAuthenticated: ["GET /user/following"], | ||
listBlockedByAuthenticated: ["GET /user/blocks", {}, { | ||
renamed: ["users", "listBlockedByAuthenticatedUser"] | ||
}], | ||
listBlockedByAuthenticatedUser: ["GET /user/blocks"], | ||
listEmailsForAuthenticated: ["GET /user/emails", {}, { | ||
renamed: ["users", "listEmailsForAuthenticatedUser"] | ||
}], | ||
listEmailsForAuthenticatedUser: ["GET /user/emails"], | ||
listFollowedByAuthenticated: ["GET /user/following", {}, { | ||
renamed: ["users", "listFollowedByAuthenticatedUser"] | ||
}], | ||
listFollowedByAuthenticatedUser: ["GET /user/following"], | ||
listFollowersForAuthenticatedUser: ["GET /user/followers"], | ||
listFollowersForUser: ["GET /users/{username}/followers"], | ||
listFollowingForUser: ["GET /users/{username}/following"], | ||
listGpgKeysForAuthenticated: ["GET /user/gpg_keys"], | ||
listGpgKeysForAuthenticated: ["GET /user/gpg_keys", {}, { | ||
renamed: ["users", "listGpgKeysForAuthenticatedUser"] | ||
}], | ||
listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"], | ||
listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], | ||
listPublicEmailsForAuthenticated: ["GET /user/public_emails"], | ||
listPublicEmailsForAuthenticated: ["GET /user/public_emails", {}, { | ||
renamed: ["users", "listPublicEmailsForAuthenticatedUser"] | ||
}], | ||
listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"], | ||
listPublicKeysForUser: ["GET /users/{username}/keys"], | ||
listPublicSshKeysForAuthenticated: ["GET /user/keys"], | ||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"], | ||
listPublicSshKeysForAuthenticated: ["GET /user/keys", {}, { | ||
renamed: ["users", "listPublicSshKeysForAuthenticatedUser"] | ||
}], | ||
listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"], | ||
setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility", {}, { | ||
renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"] | ||
}], | ||
setPrimaryEmailVisibilityForAuthenticatedUser: ["PATCH /user/email/visibility"], | ||
unblock: ["DELETE /user/blocks/{username}"], | ||
@@ -907,3 +942,3 @@ unfollow: ["DELETE /user/following/{username}"], | ||
const VERSION = "5.11.4"; | ||
const VERSION = "5.12.0"; | ||
@@ -910,0 +945,0 @@ function endpointsToMethods(octokit, endpointsMap) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "5.11.4"; | ||
export const VERSION = "5.12.0"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "5.11.4"; | ||
export declare const VERSION = "5.12.0"; |
{ | ||
"name": "@octokit/plugin-rest-endpoint-methods", | ||
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints", | ||
"version": "5.11.4", | ||
"version": "5.12.0", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "files": [ | ||
"dependencies": { | ||
"@octokit/types": "^6.31.2", | ||
"@octokit/types": "^6.32.0", | ||
"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 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
1201124
15555
Updated@octokit/types@^6.32.0