Skip to content

Commit 0520476

Browse files
feat: new org campaign endpoints, remove deprecated Copilot usage endpoints (#784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 <webmaster@wolfy1339.com> BREAKING CHANGE: remove deprecated Copilot usage endpoints
1 parent 067a96e commit 0520476

File tree

3 files changed

+109
-48
lines changed

3 files changed

+109
-48
lines changed

package-lock.json

Lines changed: 88 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"author": "Simon Grondin (http://github.com/SGrondin)",
2323
"license": "MIT",
2424
"dependencies": {
25-
"@octokit/types": "^13.7.0",
25+
"@octokit/types": "^14.0.0",
2626
"bottleneck": "^2.15.3"
2727
},
2828
"peerDependencies": {

scripts/update-endpoints/generated/endpoints.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,26 @@
10671067
"url": "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource",
10681068
"triggersNotification": null
10691069
},
1070+
{
1071+
"url": "/orgs/{org}/campaigns",
1072+
"triggersNotification": null
1073+
},
1074+
{
1075+
"url": "/orgs/{org}/campaigns/{campaign_number}",
1076+
"triggersNotification": null
1077+
},
1078+
{
1079+
"url": "/orgs/{org}/campaigns/{campaign_number}",
1080+
"triggersNotification": null
1081+
},
1082+
{
1083+
"url": "/orgs/{org}/campaigns",
1084+
"triggersNotification": null
1085+
},
1086+
{
1087+
"url": "/orgs/{org}/campaigns/{campaign_number}",
1088+
"triggersNotification": null
1089+
},
10701090
{
10711091
"url": "/repos/{owner}/{repo}/check-runs",
10721092
"triggersNotification": null
@@ -1559,22 +1579,6 @@
15591579
"url": "/enterprises/{enterprise}/copilot/billing/seats",
15601580
"triggersNotification": null
15611581
},
1562-
{
1563-
"url": "/enterprises/{enterprise}/copilot/usage",
1564-
"triggersNotification": null
1565-
},
1566-
{
1567-
"url": "/enterprises/{enterprise}/team/{team_slug}/copilot/usage",
1568-
"triggersNotification": null
1569-
},
1570-
{
1571-
"url": "/orgs/{org}/copilot/usage",
1572-
"triggersNotification": null
1573-
},
1574-
{
1575-
"url": "/orgs/{org}/team/{team_slug}/copilot/usage",
1576-
"triggersNotification": null
1577-
},
15781582
{
15791583
"url": "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}",
15801584
"triggersNotification": null

0 commit comments

Comments
 (0)