Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 0 additions & 116 deletions clients/GitHub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5064,62 +5064,6 @@ $client->operations()->copilot()->copilotMetricsForOrganizationListing( o
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization).


### copilot/usage-metrics-for-org

Get a summary of Copilot usage for organization members

Using the `call` method:
```php
$client->call('GET /orgs/{org}/copilot/usage', [
'org' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
```

Operations method:
```php
$client->operations()->copilot()->usageMetricsForOrg( org: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members).


### copilot/usage-metrics-for-org

Get a summary of Copilot usage for organization members

Using the `call` method:
```php
$client->call('LIST /orgs/{org}/copilot/usage', [
'org' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
```

Operations method:
```php
$client->operations()->copilot()->usageMetricsForOrgListing( org: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members).


### dependabot/list-alerts-for-org

List Dependabot alerts for an organization
Expand Down Expand Up @@ -9366,66 +9310,6 @@ $client->operations()->copilot()->copilotMetricsForTeamListing( org: 'gen
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team).


### copilot/usage-metrics-for-team

Get a summary of Copilot usage for a team

Using the `call` method:
```php
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
'org' => 'generated',
'team_slug' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
```

Operations method:
```php
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
team_slug: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).


### copilot/usage-metrics-for-team

Get a summary of Copilot usage for a team

Using the `call` method:
```php
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
'org' => 'generated',
'team_slug' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
```

Operations method:
```php
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
team_slug: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team).


### teams/list

List teams
Expand Down
102 changes: 23 additions & 79 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "82b1087a8dddd5516c99b2197699c7e0",
"specHash": "55d97765ea3cb2894a2648379d436234",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -5648,7 +5648,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/WebHooks.php",
"hash": "8e06faae0c1f83928f13fca56c080687"
"hash": "5e87e17620f2a239e6f7196fcd4a0a98"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEB301A03\/Tiet504AADCF\/Tiet2FEB0C19\/TietF58BE94A.php",
Expand Down Expand Up @@ -11596,7 +11596,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
"hash": "5386ba4f053f8b06addfd3e116f8f239"
"hash": "7e8fc207164af17a15c60afa4a5096cf"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
Expand Down Expand Up @@ -24396,7 +24396,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
"hash": "8870c549432ff6bf472984f40ad36d03"
"hash": "e421affeb5724d2e223a833a9b099c6d"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
Expand Down Expand Up @@ -24832,15 +24832,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
"hash": "f5ec8d2962554a8e1637fe776cd73689"
"hash": "1470151f57b0bb2ed984fbcf0a6479fa"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
"hash": "1f657d72925483e30400b4d03125ecaa"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
"hash": "07a5439e2e2ba1ce74ee3b591b121aea"
"hash": "92bf43c403f0f05df8f79db9dc8c3068"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
Expand Down Expand Up @@ -24936,15 +24936,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
"hash": "7516af6b41f8a9d3b475684f306347be"
"hash": "b81eaa835bb21072d3811764248d3b57"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
"hash": "a5061ea4823a62a9b695f2069666686c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
"hash": "7579a0df9b97ccb18fd4808677b0fb20"
"hash": "87ee70baea774f897f7d4c1491a32786"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php",
Expand Down Expand Up @@ -25040,7 +25040,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operators.php",
"hash": "f2ceef7e71ccd284a09ce93ae9c220ff"
"hash": "ed308ca7a7ccf5c7eebd61022dfd4ed9"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
Expand Down Expand Up @@ -27032,7 +27032,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
"hash": "245c69396bc3105967a88ad7efe55ac0"
"hash": "bc5667333bc20d054926ba14c188578e"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php",
Expand Down Expand Up @@ -27612,11 +27612,11 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "4f02e5b34a80cfafc1844f8d4fe755f8"
"hash": "8485757d6d972f201b9c70db93c29e29"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "082aa496c548d70ebcb9479d705b81ca"
"hash": "9becc8bfb24bfd145592db2e53c7d381"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand Down Expand Up @@ -27724,7 +27724,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/WebHook\/Issues.php",
"hash": "8a83f8f543b2926d4a0f6f0f21198796"
"hash": "3723c4483e1b12a682b9cbdc39ee24fb"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/WebHook\/Label.php",
Expand Down Expand Up @@ -28008,7 +28008,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Issues.php",
"hash": "dc9c2dfe3a3aa4364434212e630c4b94"
"hash": "bd23d29e18e4082ea0fac363f9858904"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Label.php",
Expand Down Expand Up @@ -28594,45 +28594,9 @@
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Vulnerability\/Package.php",
"hash": "d94656843729ac738d0d39b3c9c434c4"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrg.php",
"hash": "5bca15d0e2a35430dd664b5782752716"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForOrg.php",
"hash": "1ac482eba473efd056d763adfd064add"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgTest.php",
"hash": "114b8da8e69c9c9e8c5edf8a505fdfdf"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgListing.php",
"hash": "0fd83f6a977ebf1d5cbd36721eee9d42"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForOrgListing.php",
"hash": "50c1c053446f7b46b8bc54ea8969884c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgListingTest.php",
"hash": "fb300544d3616bd54c9079321779e656"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetrics.php",
"hash": "566784795617796c70ef6618bc1b5d7b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetrics\/Breakdown.php",
"hash": "8cfce05d0569f5890f9931c256c8c1f9"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Copilot.php",
"hash": "e546bd03456028ce830f55778d2051f1"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Usage.php",
"hash": "8371ad7c6ffb9c94a5d5bd32db118807"
"hash": "f2f2ec5f12dd1893b65eeac5f4355a27"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhooksCodeScanningCommitOid.php",
Expand Down Expand Up @@ -29854,30 +29818,6 @@
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleMergeQueue\/Parameters.php",
"hash": "63ead8aaf1cd72853d94b3eb5ff59de1"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeam.php",
"hash": "113b3a54860b29bc12312d2cc4af45ce"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForTeam.php",
"hash": "69f9eecd27b4e8f83fdf9a703960383c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamTest.php",
"hash": "0941b1c9be05e43f7c68a610b167787a"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamListing.php",
"hash": "8330bcfe41dbe83811fe156c079af711"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForTeamListing.php",
"hash": "f512dfba05563759a7300fb1d783d57b"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamListingTest.php",
"hash": "a129221a550089c22fc71b36beb1beb4"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/CreatePushProtectionBypass.php",
"hash": "0fdf70664c2f874a8b95b7a28b30c57b"
Expand Down Expand Up @@ -29930,10 +29870,6 @@
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/SecretScanning.php",
"hash": "e9b48e37f29f3d15231b927f237b8828"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Team\/TeamSlug\/Copilot\/Usage.php",
"hash": "2b00fb60528bfaeb5f964cd186782e4c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/PushProtectionBypasses.php",
"hash": "70d7c83f4b3dcc00b0389c8592451317"
Expand Down Expand Up @@ -32005,6 +31941,14 @@
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCustomPropertyPromotedToEnterprise.php",
"hash": "ae2c793115e89b5b5acde4596bc61330"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTyped.php",
"hash": "6b74b6a8490ebaa6af4bc7f656c28537"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUntyped.php",
"hash": "9130c6b8acbb8251bfbfa85c424f74b6"
}
]
},
Expand Down
Loading
Loading