Skip to content

Commit

Permalink
feat(deprecation): octokit.orgs.enableOrDisableSecurityProductOnAllOr…
Browse files Browse the repository at this point in the history
…gRepos(), octokit.projects.getCard(), octokit.projects.updateCard(), octokit.teams.addOrUpdateRepoPermissionsInOrg(), octokit.teams.listChildInOrg(), octokit.teams.removeRepoInOrg() endpoints deprecated, octokit.projects.deleteCard() endpoint updated (#625)
  • Loading branch information
octokitbot authored Nov 28, 2023
1 parent 7d537bd commit 9b49db7
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 1,860 deletions.
16 changes: 0 additions & 16 deletions docs/ghe-310.md
Original file line number Diff line number Diff line change
Expand Up @@ -1247,11 +1247,6 @@ octokit.orgs.convertMemberToOutsideCollaborator({ org, username, async });
octokit.orgs.createWebhook({ org, name, config, events, active });
octokit.orgs.delete({ org });
octokit.orgs.deleteWebhook({ org, hook_id });
octokit.orgs.enableOrDisableSecurityProductOnAllOrgRepos({
org,
security_product,
enablement,
});
octokit.orgs.get({ org });
octokit.orgs.getMembershipForAuthenticatedUser({ org });
octokit.orgs.getMembershipForUser({ org, username });
Expand Down Expand Up @@ -1509,7 +1504,6 @@ octokit.projects.delete({ project_id });
octokit.projects.deleteCard({ card_id });
octokit.projects.deleteColumn({ column_id });
octokit.projects.get({ project_id });
octokit.projects.getCard({ card_id });
octokit.projects.getColumn({ column_id });
octokit.projects.getPermissionForUser({ project_id, username });
octokit.projects.listCards({ column_id, archived_state, per_page, page });
Expand All @@ -1529,7 +1523,6 @@ octokit.projects.update({
organization_permission,
private,
});
octokit.projects.updateCard({ card_id, note, archived });
octokit.projects.updateColumn({ column_id, name });
octokit.pulls.checkIfMerged({ owner, repo, pull_number });
octokit.pulls.create({
Expand Down Expand Up @@ -2444,13 +2437,6 @@ octokit.teams.addOrUpdateProjectPermissionsLegacy({
project_id,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsInOrg({
org,
team_slug,
owner,
repo,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsLegacy({
team_id,
owner,
Expand Down Expand Up @@ -2520,7 +2506,6 @@ octokit.teams.getMemberLegacy({ team_id, username });
octokit.teams.getMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.getMembershipForUserLegacy({ team_id, username });
octokit.teams.list({ org, per_page, page });
octokit.teams.listChildInOrg({ org, team_slug, per_page, page });
octokit.teams.listChildLegacy({ team_id, per_page, page });
octokit.teams.listDiscussionCommentsInOrg({
org,
Expand Down Expand Up @@ -2558,7 +2543,6 @@ octokit.teams.removeMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.removeMembershipForUserLegacy({ team_id, username });
octokit.teams.removeProjectInOrg({ org, team_slug, project_id });
octokit.teams.removeProjectLegacy({ team_id, project_id });
octokit.teams.removeRepoInOrg({ org, team_slug, owner, repo });
octokit.teams.removeRepoLegacy({ team_id, owner, repo });
octokit.teams.updateDiscussionCommentInOrg({
org,
Expand Down
16 changes: 0 additions & 16 deletions docs/ghe-37.md
Original file line number Diff line number Diff line change
Expand Up @@ -1082,11 +1082,6 @@ octokit.orgs.checkPublicMembershipForUser({ org, username });
octokit.orgs.convertMemberToOutsideCollaborator({ org, username, async });
octokit.orgs.createWebhook({ org, name, config, events, active });
octokit.orgs.deleteWebhook({ org, hook_id });
octokit.orgs.enableOrDisableSecurityProductOnAllOrgRepos({
org,
security_product,
enablement,
});
octokit.orgs.get({ org });
octokit.orgs.getMembershipForAuthenticatedUser({ org });
octokit.orgs.getMembershipForUser({ org, username });
Expand Down Expand Up @@ -1167,7 +1162,6 @@ octokit.projects.delete({ project_id });
octokit.projects.deleteCard({ card_id });
octokit.projects.deleteColumn({ column_id });
octokit.projects.get({ project_id });
octokit.projects.getCard({ card_id });
octokit.projects.getColumn({ column_id });
octokit.projects.getPermissionForUser({ project_id, username });
octokit.projects.listCards({ column_id, archived_state, per_page, page });
Expand All @@ -1187,7 +1181,6 @@ octokit.projects.update({
organization_permission,
private,
});
octokit.projects.updateCard({ card_id, note, archived });
octokit.projects.updateColumn({ column_id, name });
octokit.pulls.checkIfMerged({ owner, repo, pull_number });
octokit.pulls.create({
Expand Down Expand Up @@ -2051,13 +2044,6 @@ octokit.teams.addOrUpdateProjectPermissionsLegacy({
project_id,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsInOrg({
org,
team_slug,
owner,
repo,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsLegacy({
team_id,
owner,
Expand Down Expand Up @@ -2126,7 +2112,6 @@ octokit.teams.getMemberLegacy({ team_id, username });
octokit.teams.getMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.getMembershipForUserLegacy({ team_id, username });
octokit.teams.list({ org, per_page, page });
octokit.teams.listChildInOrg({ org, team_slug, per_page, page });
octokit.teams.listChildLegacy({ team_id, per_page, page });
octokit.teams.listDiscussionCommentsInOrg({
org,
Expand Down Expand Up @@ -2164,7 +2149,6 @@ octokit.teams.removeMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.removeMembershipForUserLegacy({ team_id, username });
octokit.teams.removeProjectInOrg({ org, team_slug, project_id });
octokit.teams.removeProjectLegacy({ team_id, project_id });
octokit.teams.removeRepoInOrg({ org, team_slug, owner, repo });
octokit.teams.removeRepoLegacy({ team_id, owner, repo });
octokit.teams.updateDiscussionCommentInOrg({
org,
Expand Down
16 changes: 0 additions & 16 deletions docs/ghe-38.md
Original file line number Diff line number Diff line change
Expand Up @@ -1198,11 +1198,6 @@ octokit.orgs.checkPublicMembershipForUser({ org, username });
octokit.orgs.convertMemberToOutsideCollaborator({ org, username, async });
octokit.orgs.createWebhook({ org, name, config, events, active });
octokit.orgs.deleteWebhook({ org, hook_id });
octokit.orgs.enableOrDisableSecurityProductOnAllOrgRepos({
org,
security_product,
enablement,
});
octokit.orgs.get({ org });
octokit.orgs.getMembershipForAuthenticatedUser({ org });
octokit.orgs.getMembershipForUser({ org, username });
Expand Down Expand Up @@ -1285,7 +1280,6 @@ octokit.projects.delete({ project_id });
octokit.projects.deleteCard({ card_id });
octokit.projects.deleteColumn({ column_id });
octokit.projects.get({ project_id });
octokit.projects.getCard({ card_id });
octokit.projects.getColumn({ column_id });
octokit.projects.getPermissionForUser({ project_id, username });
octokit.projects.listCards({ column_id, archived_state, per_page, page });
Expand All @@ -1305,7 +1299,6 @@ octokit.projects.update({
organization_permission,
private,
});
octokit.projects.updateCard({ card_id, note, archived });
octokit.projects.updateColumn({ column_id, name });
octokit.pulls.checkIfMerged({ owner, repo, pull_number });
octokit.pulls.create({
Expand Down Expand Up @@ -2185,13 +2178,6 @@ octokit.teams.addOrUpdateProjectPermissionsLegacy({
project_id,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsInOrg({
org,
team_slug,
owner,
repo,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsLegacy({
team_id,
owner,
Expand Down Expand Up @@ -2260,7 +2246,6 @@ octokit.teams.getMemberLegacy({ team_id, username });
octokit.teams.getMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.getMembershipForUserLegacy({ team_id, username });
octokit.teams.list({ org, per_page, page });
octokit.teams.listChildInOrg({ org, team_slug, per_page, page });
octokit.teams.listChildLegacy({ team_id, per_page, page });
octokit.teams.listDiscussionCommentsInOrg({
org,
Expand Down Expand Up @@ -2298,7 +2283,6 @@ octokit.teams.removeMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.removeMembershipForUserLegacy({ team_id, username });
octokit.teams.removeProjectInOrg({ org, team_slug, project_id });
octokit.teams.removeProjectLegacy({ team_id, project_id });
octokit.teams.removeRepoInOrg({ org, team_slug, owner, repo });
octokit.teams.removeRepoLegacy({ team_id, owner, repo });
octokit.teams.updateDiscussionCommentInOrg({
org,
Expand Down
16 changes: 0 additions & 16 deletions docs/ghe-39.md
Original file line number Diff line number Diff line change
Expand Up @@ -1207,11 +1207,6 @@ octokit.orgs.convertMemberToOutsideCollaborator({ org, username, async });
octokit.orgs.createWebhook({ org, name, config, events, active });
octokit.orgs.delete({ org });
octokit.orgs.deleteWebhook({ org, hook_id });
octokit.orgs.enableOrDisableSecurityProductOnAllOrgRepos({
org,
security_product,
enablement,
});
octokit.orgs.get({ org });
octokit.orgs.getMembershipForAuthenticatedUser({ org });
octokit.orgs.getMembershipForUser({ org, username });
Expand Down Expand Up @@ -1429,7 +1424,6 @@ octokit.projects.delete({ project_id });
octokit.projects.deleteCard({ card_id });
octokit.projects.deleteColumn({ column_id });
octokit.projects.get({ project_id });
octokit.projects.getCard({ card_id });
octokit.projects.getColumn({ column_id });
octokit.projects.getPermissionForUser({ project_id, username });
octokit.projects.listCards({ column_id, archived_state, per_page, page });
Expand All @@ -1449,7 +1443,6 @@ octokit.projects.update({
organization_permission,
private,
});
octokit.projects.updateCard({ card_id, note, archived });
octokit.projects.updateColumn({ column_id, name });
octokit.pulls.checkIfMerged({ owner, repo, pull_number });
octokit.pulls.create({
Expand Down Expand Up @@ -2333,13 +2326,6 @@ octokit.teams.addOrUpdateProjectPermissionsLegacy({
project_id,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsInOrg({
org,
team_slug,
owner,
repo,
permission,
});
octokit.teams.addOrUpdateRepoPermissionsLegacy({
team_id,
owner,
Expand Down Expand Up @@ -2408,7 +2394,6 @@ octokit.teams.getMemberLegacy({ team_id, username });
octokit.teams.getMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.getMembershipForUserLegacy({ team_id, username });
octokit.teams.list({ org, per_page, page });
octokit.teams.listChildInOrg({ org, team_slug, per_page, page });
octokit.teams.listChildLegacy({ team_id, per_page, page });
octokit.teams.listDiscussionCommentsInOrg({
org,
Expand Down Expand Up @@ -2446,7 +2431,6 @@ octokit.teams.removeMembershipForUserInOrg({ org, team_slug, username });
octokit.teams.removeMembershipForUserLegacy({ team_id, username });
octokit.teams.removeProjectInOrg({ org, team_slug, project_id });
octokit.teams.removeProjectLegacy({ team_id, project_id });
octokit.teams.removeRepoInOrg({ org, team_slug, owner, repo });
octokit.teams.removeRepoLegacy({ team_id, owner, repo });
octokit.teams.updateDiscussionCommentInOrg({
org,
Expand Down
Loading

0 comments on commit 9b49db7

Please sign in to comment.