Skip to content

Commit 83392c0

Browse files
authored
Merge pull request #1213 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-38a45d7a3a3bb0ec70df310b701a186e-from-1.1.4-38a45d7a3a3bb0ec70df310b701a186e
2 parents 556e433 + cda5b3f commit 83392c0

File tree

24 files changed

+2466
-1555
lines changed

24 files changed

+2466
-1555
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,6 +1934,30 @@ $client->operations()->enterpriseAdmin()->getConsumedLicenses( enterprise
19341934
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses).
19351935

19361936

1937+
### copilot/list-copilot-seats-for-enterprise
1938+
1939+
List all Copilot seat assignments for an enterprise
1940+
1941+
Using the `call` method:
1942+
```php
1943+
$client->call('GET /enterprises/{enterprise}/copilot/billing/seats', [
1944+
'enterprise' => 'generated',
1945+
'page' => 1,
1946+
'per_page' => 8,
1947+
]);
1948+
```
1949+
1950+
Operations method:
1951+
```php
1952+
$client->operations()->copilot()->listCopilotSeatsForEnterprise( enterprise: 'generated',
1953+
page: 1,
1954+
per_page: 8,
1955+
);
1956+
```
1957+
1958+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise).
1959+
1960+
19371961
### copilot/usage-metrics-for-enterprise
19381962

19391963
Get a summary of Copilot usage for enterprise members

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

Lines changed: 44 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "f1693c4fe023412f22716f3034812b11",
2+
"specHash": "38a45d7a3a3bb0ec70df310b701a186e",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5868,11 +5868,11 @@
58685868
},
58695869
{
58705870
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/ClientInterface.php",
5871-
"hash": "5da0e68d1dd40d89548b6f4809b03e09"
5871+
"hash": "84700cb604b14b87083312daba6cc7f8"
58725872
},
58735873
{
58745874
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Client.php",
5875-
"hash": "03876d3e002c8aab4cf47d6ffad0f13e"
5875+
"hash": "81cd59ca25ca820a19a2806140f0287e"
58765876
},
58775877
{
58785878
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/OperationsInterface.php",
@@ -5948,7 +5948,7 @@
59485948
},
59495949
{
59505950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php",
5951-
"hash": "ffabb58eddec95240a473bfaa81ceb2c"
5951+
"hash": "7155e6dfb66fc5906368e0505c861e1f"
59525952
},
59535953
{
59545954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php",
@@ -12216,7 +12216,7 @@
1221612216
},
1221712217
{
1221812218
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
12219-
"hash": "f5805560074eb49d9501bfe7c267ced8"
12219+
"hash": "9d73865c4a06f18e117b85353f8a3f48"
1222012220
},
1222112221
{
1222212222
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietF5944C0A\/TietAA99D7D8\/Tiet9AE1F544\/TietA28F869C.php",
@@ -12248,7 +12248,7 @@
1224812248
},
1224912249
{
1225012250
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Copilot.php",
12251-
"hash": "790d0ce3d085b391cd6cbc3ddb2d28fe"
12251+
"hash": "b0a63c8b49a71a7e53ff1667853490b5"
1225212252
},
1225312253
{
1225412254
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -15260,15 +15260,15 @@
1526015260
},
1526115261
{
1526215262
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/ListCopilotSeats.php",
15263-
"hash": "bcd09c44dca36e3d1a7e3f56d63ac856"
15263+
"hash": "7345a7f109b723bca0ee9d84412c35e0"
1526415264
},
1526515265
{
1526615266
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/ListCopilotSeats.php",
15267-
"hash": "059ba8979e031e5f0e978a7531c4eec5"
15267+
"hash": "520f1c0a050a13f9f0edd4cdbf8563b7"
1526815268
},
1526915269
{
1527015270
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsTest.php",
15271-
"hash": "afd44b3d74d947d718c53942f1d95d06"
15271+
"hash": "1c07f54181a88fdd3965f19ebc25d8be"
1527215272
},
1527315273
{
1527415274
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/CancelCopilotSeatAssignmentForTeams.php",
@@ -26232,7 +26232,7 @@
2623226232
},
2623326233
{
2623426234
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
26235-
"hash": "d8695e72d2f85c767fb67c73dd18aa61"
26235+
"hash": "9fdd97c3286f45b10c73383d4f6eb814"
2623626236
},
2623726237
{
2623826238
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
@@ -26724,7 +26724,7 @@
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26727-
"hash": "c0a8ff295b79f954d2b66e03f86833cd"
26727+
"hash": "35a9f632cc4bbb15106ce2e90a8c5f80"
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -26928,7 +26928,7 @@
2692826928
},
2692926929
{
2693026930
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operators.php",
26931-
"hash": "5259c31f12d1746dbb0dd0ab5f246b6b"
26931+
"hash": "c8305d02ebabf6ea6a952a8eee2089fb"
2693226932
},
2693326933
{
2693426934
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
@@ -27376,7 +27376,7 @@
2737627376
},
2737727377
{
2737827378
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing\/Seats.php",
27379-
"hash": "67660596a6090e5220cca38e1b281b55"
27379+
"hash": "bb9bdfe84a37764c148228b88b89c9a0"
2738027380
},
2738127381
{
2738227382
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Copilot\/Billing\/SelectedTeams.php",
@@ -29100,7 +29100,7 @@
2910029100
},
2910129101
{
2910229102
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
29103-
"hash": "780db48630b2b4307ea92735ac4580a1"
29103+
"hash": "9f4f9152ad59da0023b1623900d10405"
2910429104
},
2910529105
{
2910629106
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
@@ -29944,11 +29944,11 @@
2994429944
},
2994529945
{
2994629946
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29947-
"hash": "21996734642e0ad43c126281cd9d7001"
29947+
"hash": "583e837317220f9e198a3418747c0653"
2994829948
},
2994929949
{
2995029950
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29951-
"hash": "ed90787980c6876a1e3c70a75db461e0"
29951+
"hash": "1fdede95fec86f4bd0ec7f1545133621"
2995229952
},
2995329953
{
2995429954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -32081,6 +32081,34 @@
3208132081
{
3208232082
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookProjectsV2ItemEdited\/Changes\/Zero\/FieldValue\/To.php",
3208332083
"hash": "2184607286f85d2c712813cc2efc3c30"
32084+
},
32085+
{
32086+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsForEnterprise.php",
32087+
"hash": "c1577583664764542d2bce104a377930"
32088+
},
32089+
{
32090+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/ListCopilotSeatsForEnterprise.php",
32091+
"hash": "0a1bd74bdbd945e1350b76136fe37bb3"
32092+
},
32093+
{
32094+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/ListCopilotSeatsForEnterpriseTest.php",
32095+
"hash": "beead177d1a9d2db60308fd9cb6ccbda"
32096+
},
32097+
{
32098+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietBF5743FA\/Tiet78207B24\/Tiet6205C3BC\/Tiet29EF327F.php",
32099+
"hash": "bf5814b107da0ad3653fcbc128aa6b70"
32100+
},
32101+
{
32102+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok\/Application\/Json.php",
32103+
"hash": "2be8c07d45552de995ee4647fe7fcbea"
32104+
},
32105+
{
32106+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php",
32107+
"hash": "433a3bc7a5bd0a9a628fa065645a6f17"
32108+
},
32109+
{
32110+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php",
32111+
"hash": "dd2678c524000db77657c3c452c5f784"
3208432112
}
3208532113
]
3208632114
},

clients/GitHubEnterpriseCloud/src/Client.php

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

clients/GitHubEnterpriseCloud/src/ClientInterface.php

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

0 commit comments

Comments
 (0)