Skip to content

Commit 70e326d

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-0479485a780820e347c408d64af6de00 from 1.1.4-c3f89da8f4e736748f0a13e02db3c36d
Detected Schema changes: starting work. Building original model for commit 3f3bff ``` SPEC: extracted 2 commits from history └─┬Paths └──[➖] path (1425:3)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 1 | 1 | Date: 06/19/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _1_ out of _1_ - **Removals**: _1_ - **Breaking Removals**: _1_ ERROR: breaking changes discovered
1 parent 9ce85bd commit 70e326d

File tree

32 files changed

+2572
-1657
lines changed

32 files changed

+2572
-1657
lines changed

clients/GitHub/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,30 @@ $client->operations()->emojis()->get();
828828
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/emojis/emojis#get-emojis).
829829

830830

831+
### copilot/list-copilot-seats-for-enterprise
832+
833+
List all Copilot seat assignments for an enterprise
834+
835+
Using the `call` method:
836+
```php
837+
$client->call('GET /enterprises/{enterprise}/copilot/billing/seats', [
838+
'enterprise' => 'generated',
839+
'page' => 1,
840+
'per_page' => 8,
841+
]);
842+
```
843+
844+
Operations method:
845+
```php
846+
$client->operations()->copilot()->listCopilotSeatsForEnterprise( enterprise: 'generated',
847+
page: 1,
848+
per_page: 8,
849+
);
850+
```
851+
852+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise).
853+
854+
831855
### copilot/usage-metrics-for-enterprise
832856

833857
Get a summary of Copilot usage for enterprise members

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

Lines changed: 52 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "c3f89da8f4e736748f0a13e02db3c36d",
2+
"specHash": "0479485a780820e347c408d64af6de00",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5516,11 +5516,11 @@
55165516
},
55175517
{
55185518
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/ClientInterface.php",
5519-
"hash": "dce0946b8e6be27770ad89ac4711b243"
5519+
"hash": "ec8e802949cbf0c55c371d0ad509ebfb"
55205520
},
55215521
{
55225522
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Client.php",
5523-
"hash": "c6c2532da8cd27d073d9a92bf7f9ff7e"
5523+
"hash": "ab2f93ec05f2826d9b653ca0615631e7"
55245524
},
55255525
{
55265526
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/OperationsInterface.php",
@@ -5576,7 +5576,7 @@
55765576
},
55775577
{
55785578
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5579-
"hash": "21d3ce857a4a8fd72a90f0fcc0d3dd82"
5579+
"hash": "0f21b9b2032beadb7ddf3f67cfa2eb3e"
55805580
},
55815581
{
55825582
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php",
@@ -5612,7 +5612,7 @@
56125612
},
56135613
{
56145614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Repos.php",
5615-
"hash": "a4a7d522f173cfb6b3584c6d1e4ab1d1"
5615+
"hash": "4c7a840e4808d0c8d6ffd9144fd81247"
56165616
},
56175617
{
56185618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -11744,7 +11744,7 @@
1174411744
},
1174511745
{
1174611746
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
11747-
"hash": "1bbb0c213411cedd60d1974bb0bd5bf5"
11747+
"hash": "23ff556d7cf199f022d6bf025a8b4060"
1174811748
},
1174911749
{
1175011750
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF5944C0A\/TietAA99D7D8\/Tiet9AE1F544\/TietA28F869C.php",
@@ -11776,7 +11776,7 @@
1177611776
},
1177711777
{
1177811778
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
11779-
"hash": "3768d8c55cb2068df54bf9fa4250d5ee"
11779+
"hash": "5ac16cc5e779e8ede74dbb37d5a75d9a"
1178011780
},
1178111781
{
1178211782
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -14028,15 +14028,15 @@
1402814028
},
1402914029
{
1403014030
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/ListCopilotSeats.php",
14031-
"hash": "bb71bb5f1570325ef846e2687b690333"
14031+
"hash": "c6aa2dad2d6b2a85e8a62d2ee530b804"
1403214032
},
1403314033
{
1403414034
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/ListCopilotSeats.php",
14035-
"hash": "87a59aefb34a03572d22444d0002b75e"
14035+
"hash": "d80cc9c6cdef27ee8edc9ce087abe285"
1403614036
},
1403714037
{
1403814038
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsTest.php",
14039-
"hash": "667a2d943b82f5f3f83628567b0482bf"
14039+
"hash": "98029f5e98e3b857a05d76eafcd5a324"
1404014040
},
1404114041
{
1404214042
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/CancelCopilotSeatAssignmentForTeams.php",
@@ -24532,7 +24532,7 @@
2453224532
},
2453324533
{
2453424534
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
24535-
"hash": "8cfd6655e4de9ea89ec9da9a3174204f"
24535+
"hash": "d50f83c9e3e213620089ac864057b787"
2453624536
},
2453724537
{
2453824538
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
@@ -24596,7 +24596,7 @@
2459624596
},
2459724597
{
2459824598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
24599-
"hash": "5b4990e81499401a0a3ef80ba0c217d5"
24599+
"hash": "659ee81b1810e86619bb4b3f52fd5c0c"
2460024600
},
2460124601
{
2460224602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
@@ -24808,7 +24808,7 @@
2480824808
},
2480924809
{
2481024810
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Orgs.php",
24811-
"hash": "f86a44a39713da0c180c4d4778f384f1"
24811+
"hash": "ad35a33e88f87a7f238a20ad01d28c8a"
2481224812
},
2481324813
{
2481424814
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Packages.php",
@@ -25036,7 +25036,7 @@
2503625036
},
2503725037
{
2503825038
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
25039-
"hash": "ff1598f5e9ef5299fab4f2da1b0c776b"
25039+
"hash": "994a3aaccba4a7ebb949f7092d43dfe6"
2504025040
},
2504125041
{
2504225042
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -25140,7 +25140,7 @@
2514025140
},
2514125141
{
2514225142
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
25143-
"hash": "a029c63fd72389c900f76512d5417ffc"
25143+
"hash": "308c392e37c1750ea31302f83f39951f"
2514425144
},
2514525145
{
2514625146
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -25240,7 +25240,7 @@
2524025240
},
2524125241
{
2524225242
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operators.php",
25243-
"hash": "132d81c4d6d7a022440a4c9690d55750"
25243+
"hash": "f33b26109c289a578db4d7288367c9cb"
2524425244
},
2524525245
{
2524625246
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
@@ -25568,7 +25568,7 @@
2556825568
},
2556925569
{
2557025570
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing\/Seats.php",
25571-
"hash": "e4f021c4b6e7bdcb5ea638d640e4fb25"
25571+
"hash": "99e97253eec1dd1e0156a85367b7e1d9"
2557225572
},
2557325573
{
2557425574
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing\/SelectedTeams.php",
@@ -27232,7 +27232,7 @@
2723227232
},
2723327233
{
2723427234
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
27235-
"hash": "a56ba7b9df5fbe1b7453f77e6ba6fd2c"
27235+
"hash": "de4c7c8be6fbfd7d92aa9789d3e23100"
2723627236
},
2723727237
{
2723827238
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/OrganizationSimpleWebhooks.php",
@@ -27860,11 +27860,11 @@
2786027860
},
2786127861
{
2786227862
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27863-
"hash": "8e7de1d532cfd6885172eb9cc1d111c8"
27863+
"hash": "200bf15d4f07bdb43c87e29968159b6e"
2786427864
},
2786527865
{
2786627866
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27867-
"hash": "85e1300995ec04a030827e737a4f2c5a"
27867+
"hash": "139a8de0fde99b3beb4a92406defd7d2"
2786827868
},
2786927869
{
2787027870
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -28564,7 +28564,7 @@
2856428564
},
2856528565
{
2856628566
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeams.php",
28567-
"hash": "d3f552dc7ca66dc94503d14a7cbd8b22"
28567+
"hash": "39306f462e1d1efa42f513d9a1de3d59"
2856828568
},
2856928569
{
2857028570
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsTest.php",
@@ -28576,7 +28576,7 @@
2857628576
},
2857728577
{
2857828578
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleTeamsListing.php",
28579-
"hash": "5575a3abd5ee171b6917143c493cedab"
28579+
"hash": "134db8304b6ddca3871e5d486154f97d"
2858028580
},
2858128581
{
2858228582
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleTeamsListingTest.php",
@@ -28588,7 +28588,7 @@
2858828588
},
2858928589
{
2859028590
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsers.php",
28591-
"hash": "9e2518bbd00baf3ba088472092654ac7"
28591+
"hash": "e0f0ae4fb41d733d440e78a30a6e9c39"
2859228592
},
2859328593
{
2859428594
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersTest.php",
@@ -28600,7 +28600,7 @@
2860028600
},
2860128601
{
2860228602
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListOrgRoleUsersListing.php",
28603-
"hash": "41f6bd72a83e49445b51e1d86c375324"
28603+
"hash": "2cbed3f9a66347295ac48d16e52d1cc0"
2860428604
},
2860528605
{
2860628606
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListOrgRoleUsersListingTest.php",
@@ -29785,6 +29785,34 @@
2978529785
{
2978629786
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero\/FieldValue\/To.php",
2978729787
"hash": "090374ccd4315dad0c1a6ea7e9b8f5c4"
29788+
},
29789+
{
29790+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsForEnterprise.php",
29791+
"hash": "71eafae786f55045a994b68e7acc53b3"
29792+
},
29793+
{
29794+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/ListCopilotSeatsForEnterprise.php",
29795+
"hash": "99c68b03e6ae381c78a835d2e13e30ef"
29796+
},
29797+
{
29798+
"name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsForEnterpriseTest.php",
29799+
"hash": "ec7f077cfb6b77e8812f2dcb62bb6c2f"
29800+
},
29801+
{
29802+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietBF5743FA\/Tiet78207B24\/Tiet6205C3BC\/Tiet29EF327F.php",
29803+
"hash": "11ee1efbedaf6162e9338c83024f298c"
29804+
},
29805+
{
29806+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
29807+
"hash": "60e249f362d92b3f56134421335cf929"
29808+
},
29809+
{
29810+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php",
29811+
"hash": "e45c1991054de11a8fb225d5cb4184c2"
29812+
},
29813+
{
29814+
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php",
29815+
"hash": "49757faa784b3dbe6917019103205435"
2978829816
}
2978929817
]
2979029818
},

clients/GitHub/src/Client.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHub/src/ClientInterface.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)