Skip to content

Commit f752168

Browse files
authored
[GitHubEnterpriseCloud] Update to 1.1.4-9265d69e51d451eacbec6579c3e8849e from 1.1.4-1f7c44311545c63d8e394ecba08135b4
Detected Schema changes: ERROR: error: Error thrown when comparing: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory ERROR: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [217781:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [217783:11] ERROR: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory ERROR: component 'server-statistics-actions.yaml' does not exist in the specification ERROR: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory ERROR: component 'server-statistics-packages.yaml' does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [217781:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [217783:11]
1 parent a238a9f commit f752168

File tree

11 files changed

+52
-52
lines changed

11 files changed

+52
-52
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7072,7 +7072,7 @@ $client->operations()->codespaces()->stopInOrganization( org: 'generated'
70727072
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user).
70737073

70747074

7075-
### copilot/get-copilot-seat-assignment-details-for-user
7075+
### copilot/get-copilot-seat-details-for-user
70767076

70777077
Get Copilot for Business seat assignment details for a user
70787078

@@ -7086,7 +7086,7 @@ $client->call('GET /orgs/{org}/members/{username}/copilot', [
70867086

70877087
Operations method:
70887088
```php
7089-
$client->operations()->copilot()->getCopilotSeatAssignmentDetailsForUser( org: 'generated',
7089+
$client->operations()->copilot()->getCopilotSeatDetailsForUser( org: 'generated',
70907090
username: 'generated',
70917091
);
70927092
```

etc/openapi-client-generator.state

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "1f7c44311545c63d8e394ecba08135b4",
2+
"specHash": "9265d69e51d451eacbec6579c3e8849e",
33
"generatedFiles": {
44
"files": [
55
{
@@ -6076,11 +6076,11 @@
60766076
},
60776077
{
60786078
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/ClientInterface.php",
6079-
"hash": "6e8c704e3754caab6a6c28f3a2964a9c"
6079+
"hash": "d82c847dbf0acc4eab22e1cc43a0b074"
60806080
},
60816081
{
60826082
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Client.php",
6083-
"hash": "829050aa5dcee758cc3e5f6d2b36b3bd"
6083+
"hash": "20c77ab7f6bb1255978c8b127f9bd391"
60846084
},
60856085
{
60866086
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/OperationsInterface.php",
@@ -14064,7 +14064,7 @@
1406414064
},
1406514065
{
1406614066
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Copilot.php",
14067-
"hash": "936c774ed863829a5088dbd6429fce6f"
14067+
"hash": "851d586399849540a82c3487e2004c54"
1406814068
},
1406914069
{
1407014070
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
@@ -17914,18 +17914,6 @@
1791417914
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Codespaces\/StopInOrganizationTest.php",
1791517915
"hash": "1104d67232b751b37cc3e631a634dfae"
1791617916
},
17917-
{
17918-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/GetCopilotSeatAssignmentDetailsForUser.php",
17919-
"hash": "636fd97e12469f071c836c2af579235e"
17920-
},
17921-
{
17922-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/GetCopilotSeatAssignmentDetailsForUser.php",
17923-
"hash": "d75922a834a0832fb3146c959c0cb43a"
17924-
},
17925-
{
17926-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/GetCopilotSeatAssignmentDetailsForUserTest.php",
17927-
"hash": "1e55b6fd4c2cfc4ed286bd81a6d263b4"
17928-
},
1792917917
{
1793017918
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetMembershipForUser.php",
1793117919
"hash": "6c5552850724d9d7a5f966700ee49f9f"
@@ -28152,7 +28140,7 @@
2815228140
},
2815328141
{
2815428142
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Copilot.php",
28155-
"hash": "ab9846fc09cdd1ae94344a8cc1c98688"
28143+
"hash": "255389536bc1dac932512fc58649f193"
2815628144
},
2815728145
{
2815828146
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
@@ -28644,7 +28632,7 @@
2864428632
},
2864528633
{
2864628634
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
28647-
"hash": "bd844453c3de2b9fb71b25e5edf83ba2"
28635+
"hash": "5424fedd0b6e0403ba8cd4ddaec6c828"
2864828636
},
2864928637
{
2865028638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -28848,7 +28836,7 @@
2884828836
},
2884928837
{
2885028838
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operators.php",
28851-
"hash": "3111b9b94dc014bef1b82569c55b0ae1"
28839+
"hash": "ab646424313dc63e04b1e3c0eaf70f5d"
2885228840
},
2885328841
{
2885428842
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
@@ -31657,6 +31645,18 @@
3165731645
{
3165831646
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/PreventSelfReview.php",
3165931647
"hash": "fb76f8f2e765f53f34cd86d145e7b5b0"
31648+
},
31649+
{
31650+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Copilot\/GetCopilotSeatDetailsForUser.php",
31651+
"hash": "1e0e39edc12da412075d15c8cf952bbc"
31652+
},
31653+
{
31654+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Copilot\/GetCopilotSeatDetailsForUser.php",
31655+
"hash": "b58f87742de7e6f3cdef95ba08bd135c"
31656+
},
31657+
{
31658+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Copilot\/GetCopilotSeatDetailsForUserTest.php",
31659+
"hash": "1b9e6407ec713304f67ee0b73f4077c5"
3166031660
}
3166131661
]
3166231662
},

src/Client.php

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

src/ClientInterface.php

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

src/Internal/Operation/Copilot/GetCopilotSeatAssignmentDetailsForUser.php renamed to src/Internal/Operation/Copilot/GetCopilotSeatDetailsForUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
use function json_decode;
1919
use function str_replace;
2020

21-
final class GetCopilotSeatAssignmentDetailsForUser
21+
final class GetCopilotSeatDetailsForUser
2222
{
23-
public const OPERATION_ID = 'copilot/get-copilot-seat-assignment-details-for-user';
23+
public const OPERATION_ID = 'copilot/get-copilot-seat-details-for-user';
2424
public const OPERATION_MATCH = 'GET /orgs/{org}/members/{username}/copilot';
2525
private const METHOD = 'GET';
2626
private const PATH = '/orgs/{org}/members/{username}/copilot';

src/Internal/Operator/Copilot/GetCopilotSeatAssignmentDetailsForUser.php renamed to src/Internal/Operator/Copilot/GetCopilotSeatDetailsForUser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use function React\Async\await;
1717
use function WyriHaximus\React\awaitObservable;
1818

19-
final readonly class GetCopilotSeatAssignmentDetailsForUser
19+
final readonly class GetCopilotSeatDetailsForUser
2020
{
21-
public const OPERATION_ID = 'copilot/get-copilot-seat-assignment-details-for-user';
21+
public const OPERATION_ID = 'copilot/get-copilot-seat-details-for-user';
2222
public const OPERATION_MATCH = 'GET /orgs/{org}/members/{username}/copilot';
2323

2424
public function __construct(private Browser $browser, private AuthenticationInterface $authentication, private SchemaValidator $responseSchemaValidator, private Internal\Hydrator\Operation\Orgs\Org\Members\Username\Copilot $hydrator)
@@ -28,7 +28,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2828
/** @return Schema\CopilotSeatDetails|array{code:int} */
2929
public function call(string $org, string $username): CopilotSeatDetails|array
3030
{
31-
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Copilot\GetCopilotSeatAssignmentDetailsForUser($this->responseSchemaValidator, $this->hydrator, $org, $username);
31+
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Copilot\GetCopilotSeatDetailsForUser($this->responseSchemaValidator, $this->hydrator, $org, $username);
3232
$request = $operation->createRequest();
3333
$result = await($this->browser->request($request->getMethod(), (string) $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), (string) $request->getBody())->then(static function (ResponseInterface $response) use ($operation): CopilotSeatDetails|array {
3434
return $operation->createResponse($response);

src/Internal/Operators.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ final class Operators
319319
private Internal\Operator\Codespaces\GetCodespacesForUserInOrg|null $codespaces👷GetCodespacesForUserInOrg = null;
320320
private Internal\Operator\Codespaces\DeleteFromOrganization|null $codespaces👷DeleteFromOrganization = null;
321321
private Internal\Operator\Codespaces\StopInOrganization|null $codespaces👷StopInOrganization = null;
322-
private Internal\Operator\Copilot\GetCopilotSeatAssignmentDetailsForUser|null $copilot👷GetCopilotSeatAssignmentDetailsForUser = null;
322+
private Internal\Operator\Copilot\GetCopilotSeatDetailsForUser|null $copilot👷GetCopilotSeatDetailsForUser = null;
323323
private Internal\Operator\Orgs\GetMembershipForUser|null $orgs👷GetMembershipForUser = null;
324324
private Internal\Operator\Orgs\SetMembershipForUser|null $orgs👷SetMembershipForUser = null;
325325
private Internal\Operator\Orgs\RemoveMembershipForUser|null $orgs👷RemoveMembershipForUser = null;
@@ -3977,13 +3977,13 @@ public function codespaces👷StopInOrganization(): Internal\Operator\Codespaces
39773977
return $this->codespaces👷StopInOrganization;
39783978
}
39793979

3980-
public function copilot👷GetCopilotSeatAssignmentDetailsForUser(): Internal\Operator\Copilot\GetCopilotSeatAssignmentDetailsForUser
3980+
public function copilot👷GetCopilotSeatDetailsForUser(): Internal\Operator\Copilot\GetCopilotSeatDetailsForUser
39813981
{
3982-
if ($this->copilot👷GetCopilotSeatAssignmentDetailsForUser instanceof Internal\Operator\Copilot\GetCopilotSeatAssignmentDetailsForUser === false) {
3983-
$this->copilot👷GetCopilotSeatAssignmentDetailsForUser = new Internal\Operator\Copilot\GetCopilotSeatAssignmentDetailsForUser($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Copilot());
3982+
if ($this->copilot👷GetCopilotSeatDetailsForUser instanceof Internal\Operator\Copilot\GetCopilotSeatDetailsForUser === false) {
3983+
$this->copilot👷GetCopilotSeatDetailsForUser = new Internal\Operator\Copilot\GetCopilotSeatDetailsForUser($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Copilot());
39843984
}
39853985

3986-
return $this->copilot👷GetCopilotSeatAssignmentDetailsForUser;
3986+
return $this->copilot👷GetCopilotSeatDetailsForUser;
39873987
}
39883988

39893989
public function orgs👷GetMembershipForUser(): Internal\Operator\Orgs\GetMembershipForUser

src/Internal/Router/Get/Copilot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function listCopilotSeats(array $params): Ok|array
6565
}
6666

6767
/** @return Schema\CopilotSeatDetails|array{code:int} */
68-
public function getCopilotSeatAssignmentDetailsForUser(array $params): CopilotSeatDetails|array
68+
public function getCopilotSeatDetailsForUser(array $params): CopilotSeatDetails|array
6969
{
7070
$arguments = [];
7171
if (array_key_exists('org', $params) === false) {
@@ -80,7 +80,7 @@ public function getCopilotSeatAssignmentDetailsForUser(array $params): CopilotSe
8080

8181
$arguments['username'] = $params['username'];
8282
unset($params['username']);
83-
$operator = new Internal\Operator\Copilot\GetCopilotSeatAssignmentDetailsForUser($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Copilot());
83+
$operator = new Internal\Operator\Copilot\GetCopilotSeatDetailsForUser($this->browser, $this->authentication, $this->responseSchemaValidator, $this->hydrators->getObjectMapperOperation🌀Orgs🌀Org🌀Members🌀Username🌀Copilot());
8484

8585
return $operator->call($arguments['org'], $arguments['username']);
8686
}

src/Internal/Router/Get/Six.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public function call(string $call, array $params, array $pathChunks): ActionsCac
274274
}
275275
} elseif ($pathChunks[5] === 'copilot') {
276276
if ($call === 'GET /orgs/{org}/members/{username}/copilot') {
277-
return $this->routers->internal🔀Router🔀Get🔀Copilot()->getCopilotSeatAssignmentDetailsForUser($params);
277+
return $this->routers->internal🔀Router🔀Get🔀Copilot()->getCopilotSeatDetailsForUser($params);
278278
}
279279
}
280280
}

src/Operation/Copilot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public function cancelCopilotSeatAssignmentForUsers(string $org, array $params):
5555
}
5656

5757
/** @return Schema\CopilotSeatDetails|array{code:int} */
58-
public function getCopilotSeatAssignmentDetailsForUser(string $org, string $username): CopilotSeatDetails|array
58+
public function getCopilotSeatDetailsForUser(string $org, string $username): CopilotSeatDetails|array
5959
{
60-
return $this->operators->copilot👷GetCopilotSeatAssignmentDetailsForUser()->call($org, $username);
60+
return $this->operators->copilot👷GetCopilotSeatDetailsForUser()->call($org, $username);
6161
}
6262
}

0 commit comments

Comments
 (0)