Skip to content

Commit f7133f5

Browse files
authored
Merge pull request #1592 from php-api-clients/GitHub/from-1.1.4-55d97765ea3cb2894a2648379d436234-from-1.1.4-55d97765ea3cb2894a2648379d436234
2 parents efe9562 + 4454616 commit f7133f5

35 files changed

+8652
-2983
lines changed

clients/GitHub/README.md

-116
Original file line numberDiff line numberDiff line change
@@ -5064,62 +5064,6 @@ $client->operations()->copilot()->copilotMetricsForOrganizationListing( o
50645064
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).
50655065

50665066

5067-
### copilot/usage-metrics-for-org
5068-
5069-
Get a summary of Copilot usage for organization members
5070-
5071-
Using the `call` method:
5072-
```php
5073-
$client->call('GET /orgs/{org}/copilot/usage', [
5074-
'org' => 'generated',
5075-
'since' => 'generated',
5076-
'until' => 'generated',
5077-
'page' => 1,
5078-
'per_page' => 8,
5079-
]);
5080-
```
5081-
5082-
Operations method:
5083-
```php
5084-
$client->operations()->copilot()->usageMetricsForOrg( org: 'generated',
5085-
since: 'generated',
5086-
until: 'generated',
5087-
page: 1,
5088-
per_page: 8,
5089-
);
5090-
```
5091-
5092-
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).
5093-
5094-
5095-
### copilot/usage-metrics-for-org
5096-
5097-
Get a summary of Copilot usage for organization members
5098-
5099-
Using the `call` method:
5100-
```php
5101-
$client->call('LIST /orgs/{org}/copilot/usage', [
5102-
'org' => 'generated',
5103-
'since' => 'generated',
5104-
'until' => 'generated',
5105-
'page' => 1,
5106-
'per_page' => 8,
5107-
]);
5108-
```
5109-
5110-
Operations method:
5111-
```php
5112-
$client->operations()->copilot()->usageMetricsForOrgListing( org: 'generated',
5113-
since: 'generated',
5114-
until: 'generated',
5115-
page: 1,
5116-
per_page: 8,
5117-
);
5118-
```
5119-
5120-
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).
5121-
5122-
51235067
### dependabot/list-alerts-for-org
51245068

51255069
List Dependabot alerts for an organization
@@ -9366,66 +9310,6 @@ $client->operations()->copilot()->copilotMetricsForTeamListing( org: 'gen
93669310
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).
93679311

93689312

9369-
### copilot/usage-metrics-for-team
9370-
9371-
Get a summary of Copilot usage for a team
9372-
9373-
Using the `call` method:
9374-
```php
9375-
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
9376-
'org' => 'generated',
9377-
'team_slug' => 'generated',
9378-
'since' => 'generated',
9379-
'until' => 'generated',
9380-
'page' => 1,
9381-
'per_page' => 8,
9382-
]);
9383-
```
9384-
9385-
Operations method:
9386-
```php
9387-
$client->operations()->copilot()->usageMetricsForTeam( org: 'generated',
9388-
team_slug: 'generated',
9389-
since: 'generated',
9390-
until: 'generated',
9391-
page: 1,
9392-
per_page: 8,
9393-
);
9394-
```
9395-
9396-
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).
9397-
9398-
9399-
### copilot/usage-metrics-for-team
9400-
9401-
Get a summary of Copilot usage for a team
9402-
9403-
Using the `call` method:
9404-
```php
9405-
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
9406-
'org' => 'generated',
9407-
'team_slug' => 'generated',
9408-
'since' => 'generated',
9409-
'until' => 'generated',
9410-
'page' => 1,
9411-
'per_page' => 8,
9412-
]);
9413-
```
9414-
9415-
Operations method:
9416-
```php
9417-
$client->operations()->copilot()->usageMetricsForTeamListing( org: 'generated',
9418-
team_slug: 'generated',
9419-
since: 'generated',
9420-
until: 'generated',
9421-
page: 1,
9422-
per_page: 8,
9423-
);
9424-
```
9425-
9426-
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).
9427-
9428-
94299313
### teams/list
94309314

94319315
List teams

clients/GitHub/etc/openapi-client-generator.state

+23-79
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "82b1087a8dddd5516c99b2197699c7e0",
2+
"specHash": "55d97765ea3cb2894a2648379d436234",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5648,7 +5648,7 @@
56485648
},
56495649
{
56505650
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/WebHooks.php",
5651-
"hash": "8e06faae0c1f83928f13fca56c080687"
5651+
"hash": "5e87e17620f2a239e6f7196fcd4a0a98"
56525652
},
56535653
{
56545654
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEB301A03\/Tiet504AADCF\/Tiet2FEB0C19\/TietF58BE94A.php",
@@ -11596,7 +11596,7 @@
1159611596
},
1159711597
{
1159811598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
11599-
"hash": "5386ba4f053f8b06addfd3e116f8f239"
11599+
"hash": "7e8fc207164af17a15c60afa4a5096cf"
1160011600
},
1160111601
{
1160211602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -24396,7 +24396,7 @@
2439624396
},
2439724397
{
2439824398
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
24399-
"hash": "8870c549432ff6bf472984f40ad36d03"
24399+
"hash": "e421affeb5724d2e223a833a9b099c6d"
2440024400
},
2440124401
{
2440224402
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
@@ -24832,15 +24832,15 @@
2483224832
},
2483324833
{
2483424834
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
24835-
"hash": "f5ec8d2962554a8e1637fe776cd73689"
24835+
"hash": "1470151f57b0bb2ed984fbcf0a6479fa"
2483624836
},
2483724837
{
2483824838
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
2483924839
"hash": "1f657d72925483e30400b4d03125ecaa"
2484024840
},
2484124841
{
2484224842
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
24843-
"hash": "07a5439e2e2ba1ce74ee3b591b121aea"
24843+
"hash": "92bf43c403f0f05df8f79db9dc8c3068"
2484424844
},
2484524845
{
2484624846
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
@@ -24936,15 +24936,15 @@
2493624936
},
2493724937
{
2493824938
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
24939-
"hash": "7516af6b41f8a9d3b475684f306347be"
24939+
"hash": "b81eaa835bb21072d3811764248d3b57"
2494024940
},
2494124941
{
2494224942
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
2494324943
"hash": "a5061ea4823a62a9b695f2069666686c"
2494424944
},
2494524945
{
2494624946
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
24947-
"hash": "7579a0df9b97ccb18fd4808677b0fb20"
24947+
"hash": "87ee70baea774f897f7d4c1491a32786"
2494824948
},
2494924949
{
2495024950
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Eight.php",
@@ -25040,7 +25040,7 @@
2504025040
},
2504125041
{
2504225042
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operators.php",
25043-
"hash": "f2ceef7e71ccd284a09ce93ae9c220ff"
25043+
"hash": "ed308ca7a7ccf5c7eebd61022dfd4ed9"
2504425044
},
2504525045
{
2504625046
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
@@ -27032,7 +27032,7 @@
2703227032
},
2703327033
{
2703427034
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
27035-
"hash": "245c69396bc3105967a88ad7efe55ac0"
27035+
"hash": "bc5667333bc20d054926ba14c188578e"
2703627036
},
2703727037
{
2703827038
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php",
@@ -27612,11 +27612,11 @@
2761227612
},
2761327613
{
2761427614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27615-
"hash": "4f02e5b34a80cfafc1844f8d4fe755f8"
27615+
"hash": "8485757d6d972f201b9c70db93c29e29"
2761627616
},
2761727617
{
2761827618
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27619-
"hash": "082aa496c548d70ebcb9479d705b81ca"
27619+
"hash": "9becc8bfb24bfd145592db2e53c7d381"
2762027620
},
2762127621
{
2762227622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27724,7 +27724,7 @@
2772427724
},
2772527725
{
2772627726
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/WebHook\/Issues.php",
27727-
"hash": "8a83f8f543b2926d4a0f6f0f21198796"
27727+
"hash": "3723c4483e1b12a682b9cbdc39ee24fb"
2772827728
},
2772927729
{
2773027730
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/WebHook\/Label.php",
@@ -28008,7 +28008,7 @@
2800828008
},
2800928009
{
2801028010
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Issues.php",
28011-
"hash": "dc9c2dfe3a3aa4364434212e630c4b94"
28011+
"hash": "bd23d29e18e4082ea0fac363f9858904"
2801228012
},
2801328013
{
2801428014
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/Label.php",
@@ -28594,45 +28594,9 @@
2859428594
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Vulnerability\/Package.php",
2859528595
"hash": "d94656843729ac738d0d39b3c9c434c4"
2859628596
},
28597-
{
28598-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrg.php",
28599-
"hash": "5bca15d0e2a35430dd664b5782752716"
28600-
},
28601-
{
28602-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForOrg.php",
28603-
"hash": "1ac482eba473efd056d763adfd064add"
28604-
},
28605-
{
28606-
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgTest.php",
28607-
"hash": "114b8da8e69c9c9e8c5edf8a505fdfdf"
28608-
},
28609-
{
28610-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgListing.php",
28611-
"hash": "0fd83f6a977ebf1d5cbd36721eee9d42"
28612-
},
28613-
{
28614-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForOrgListing.php",
28615-
"hash": "50c1c053446f7b46b8bc54ea8969884c"
28616-
},
28617-
{
28618-
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForOrgListingTest.php",
28619-
"hash": "fb300544d3616bd54c9079321779e656"
28620-
},
28621-
{
28622-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetrics.php",
28623-
"hash": "566784795617796c70ef6618bc1b5d7b"
28624-
},
28625-
{
28626-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotUsageMetrics\/Breakdown.php",
28627-
"hash": "8cfce05d0569f5890f9931c256c8c1f9"
28628-
},
2862928597
{
2863028598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Copilot.php",
28631-
"hash": "e546bd03456028ce830f55778d2051f1"
28632-
},
28633-
{
28634-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Usage.php",
28635-
"hash": "8371ad7c6ffb9c94a5d5bd32db118807"
28599+
"hash": "f2f2ec5f12dd1893b65eeac5f4355a27"
2863628600
},
2863728601
{
2863828602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhooksCodeScanningCommitOid.php",
@@ -29854,30 +29818,6 @@
2985429818
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleMergeQueue\/Parameters.php",
2985529819
"hash": "63ead8aaf1cd72853d94b3eb5ff59de1"
2985629820
},
29857-
{
29858-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeam.php",
29859-
"hash": "113b3a54860b29bc12312d2cc4af45ce"
29860-
},
29861-
{
29862-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForTeam.php",
29863-
"hash": "69f9eecd27b4e8f83fdf9a703960383c"
29864-
},
29865-
{
29866-
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamTest.php",
29867-
"hash": "0941b1c9be05e43f7c68a610b167787a"
29868-
},
29869-
{
29870-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamListing.php",
29871-
"hash": "8330bcfe41dbe83811fe156c079af711"
29872-
},
29873-
{
29874-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/UsageMetricsForTeamListing.php",
29875-
"hash": "f512dfba05563759a7300fb1d783d57b"
29876-
},
29877-
{
29878-
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/UsageMetricsForTeamListingTest.php",
29879-
"hash": "a129221a550089c22fc71b36beb1beb4"
29880-
},
2988129821
{
2988229822
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/SecretScanning\/CreatePushProtectionBypass.php",
2988329823
"hash": "0fdf70664c2f874a8b95b7a28b30c57b"
@@ -29930,10 +29870,6 @@
2993029870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Post\/SecretScanning.php",
2993129871
"hash": "e9b48e37f29f3d15231b927f237b8828"
2993229872
},
29933-
{
29934-
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Team\/TeamSlug\/Copilot\/Usage.php",
29935-
"hash": "2b00fb60528bfaeb5f964cd186782e4c"
29936-
},
2993729873
{
2993829874
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/PushProtectionBypasses.php",
2993929875
"hash": "70d7c83f4b3dcc00b0389c8592451317"
@@ -32005,6 +31941,14 @@
3200531941
{
3200631942
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookCustomPropertyPromotedToEnterprise.php",
3200731943
"hash": "ae2c793115e89b5b5acde4596bc61330"
31944+
},
31945+
{
31946+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesTyped.php",
31947+
"hash": "6b74b6a8490ebaa6af4bc7f656c28537"
31948+
},
31949+
{
31950+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookIssuesUntyped.php",
31951+
"hash": "9130c6b8acbb8251bfbfa85c424f74b6"
3200831952
}
3200931953
]
3201031954
},

0 commit comments

Comments
 (0)