Skip to content

Commit a5a8c63

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-5f0efa5b768ca4017b3104dc35554b9b from 1.1.4-79bfc552fc9431ae453024109bc3424d
Detected Schema changes:
1 parent 2481f56 commit a5a8c63

File tree

156 files changed

+2206
-1606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+2206
-1606
lines changed

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

Lines changed: 183 additions & 151 deletions
Large diffs are not rendered by default.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHub\Error\Operations\Git\CreateBlob\Response\ApplicationJson;
6+
7+
use ApiClients\Client\GitHub\Schema;
8+
use Error;
9+
10+
final class UnprocessableEntity extends Error
11+
{
12+
public function __construct(public int $status, public Schema\Operations\Git\CreateBlob\Response\ApplicationJson\UnprocessableEntity $error)
13+
{
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace ApiClients\Client\GitHub\Error\Operations\Repos\CreateOrUpdateFileContents\Response\ApplicationJson;
6+
7+
use ApiClients\Client\GitHub\Schema;
8+
use Error;
9+
10+
final class Conflict extends Error
11+
{
12+
public function __construct(public int $status, public Schema\Operations\Repos\CreateOrUpdateFileContents\Response\ApplicationJson\Conflict $error)
13+
{
14+
}
15+
}

clients/GitHub/src/Internal/Hydrator/Operation/App.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
8787

8888
after_nodeId:
8989

90+
$value = $payload['client_id'] ?? null;
91+
92+
if ($value === null) {
93+
$properties['clientId'] = null;
94+
goto after_clientId;
95+
}
96+
97+
$properties['clientId'] = $value;
98+
99+
after_clientId:
100+
90101
$value = $payload['owner'] ?? null;
91102

92103
if ($value === null) {
@@ -215,17 +226,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
215226

216227
after_installationsCount:
217228

218-
$value = $payload['client_id'] ?? null;
219-
220-
if ($value === null) {
221-
$properties['clientId'] = null;
222-
goto after_clientId;
223-
}
224-
225-
$properties['clientId'] = $value;
226-
227-
after_clientId:
228-
229229
$value = $payload['client_secret'] ?? null;
230230

231231
if ($value === null) {
@@ -712,6 +712,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
712712
$nodeId = $object->nodeId;
713713
after_nodeId: $result['node_id'] = $nodeId;
714714

715+
$clientId = $object->clientId;
716+
717+
if ($clientId === null) {
718+
goto after_clientId;
719+
}
720+
721+
after_clientId: $result['client_id'] = $clientId;
722+
715723
$owner = $object->owner;
716724

717725
if ($owner === null) {
@@ -766,14 +774,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
766774

767775
after_installationsCount: $result['installations_count'] = $installationsCount;
768776

769-
$clientId = $object->clientId;
770-
771-
if ($clientId === null) {
772-
goto after_clientId;
773-
}
774-
775-
after_clientId: $result['client_id'] = $clientId;
776-
777777
$clientSecret = $object->clientSecret;
778778

779779
if ($clientSecret === null) {

clients/GitHub/src/Internal/Hydrator/Operation/AppManifests/Code/Conversions.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
9191

9292
after_nodeId:
9393

94+
$value = $payload['client_id'] ?? null;
95+
96+
if ($value === null) {
97+
$properties['clientId'] = null;
98+
goto after_clientId;
99+
}
100+
101+
$properties['clientId'] = $value;
102+
103+
after_clientId:
104+
94105
$value = $payload['owner'] ?? null;
95106

96107
if ($value === null) {
@@ -219,17 +230,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
219230

220231
after_installationsCount:
221232

222-
$value = $payload['client_id'] ?? null;
223-
224-
if ($value === null) {
225-
$properties['clientId'] = null;
226-
goto after_clientId;
227-
}
228-
229-
$properties['clientId'] = $value;
230-
231-
after_clientId:
232-
233233
$value = $payload['client_secret'] ?? null;
234234

235235
if ($value === null) {
@@ -833,6 +833,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
833833
$nodeId = $object->nodeId;
834834
after_nodeId: $result['node_id'] = $nodeId;
835835

836+
$clientId = $object->clientId;
837+
838+
if ($clientId === null) {
839+
goto after_clientId;
840+
}
841+
842+
after_clientId: $result['client_id'] = $clientId;
843+
836844
$owner = $object->owner;
837845

838846
if ($owner === null) {
@@ -887,14 +895,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
887895

888896
after_installationsCount: $result['installations_count'] = $installationsCount;
889897

890-
$clientId = $object->clientId;
891-
892-
if ($clientId === null) {
893-
goto after_clientId;
894-
}
895-
896-
after_clientId: $result['client_id'] = $clientId;
897-
898898
$clientSecret = $object->clientSecret;
899899

900900
if ($clientSecret === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Apps/AppSlug.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
8989

9090
after_nodeId:
9191

92+
$value = $payload['client_id'] ?? null;
93+
94+
if ($value === null) {
95+
$properties['clientId'] = null;
96+
goto after_clientId;
97+
}
98+
99+
$properties['clientId'] = $value;
100+
101+
after_clientId:
102+
92103
$value = $payload['owner'] ?? null;
93104

94105
if ($value === null) {
@@ -217,17 +228,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
217228

218229
after_installationsCount:
219230

220-
$value = $payload['client_id'] ?? null;
221-
222-
if ($value === null) {
223-
$properties['clientId'] = null;
224-
goto after_clientId;
225-
}
226-
227-
$properties['clientId'] = $value;
228-
229-
after_clientId:
230-
231231
$value = $payload['client_secret'] ?? null;
232232

233233
if ($value === null) {
@@ -778,6 +778,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
778778
$nodeId = $object->nodeId;
779779
after_nodeId: $result['node_id'] = $nodeId;
780780

781+
$clientId = $object->clientId;
782+
783+
if ($clientId === null) {
784+
goto after_clientId;
785+
}
786+
787+
after_clientId: $result['client_id'] = $clientId;
788+
781789
$owner = $object->owner;
782790

783791
if ($owner === null) {
@@ -832,14 +840,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
832840

833841
after_installationsCount: $result['installations_count'] = $installationsCount;
834842

835-
$clientId = $object->clientId;
836-
837-
if ($clientId === null) {
838-
goto after_clientId;
839-
}
840-
841-
after_clientId: $result['client_id'] = $clientId;
842-
843843
$clientSecret = $object->clientSecret;
844844

845845
if ($clientSecret === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CheckRuns.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
441441

442442
after_nodeId:
443443

444+
$value = $payload['client_id'] ?? null;
445+
446+
if ($value === null) {
447+
$properties['clientId'] = null;
448+
goto after_clientId;
449+
}
450+
451+
$properties['clientId'] = $value;
452+
453+
after_clientId:
454+
444455
$value = $payload['owner'] ?? null;
445456

446457
if ($value === null) {
@@ -569,17 +580,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
569580

570581
after_installationsCount:
571582

572-
$value = $payload['client_id'] ?? null;
573-
574-
if ($value === null) {
575-
$properties['clientId'] = null;
576-
goto after_clientId;
577-
}
578-
579-
$properties['clientId'] = $value;
580-
581-
after_clientId:
582-
583583
$value = $payload['client_secret'] ?? null;
584584

585585
if ($value === null) {
@@ -1416,6 +1416,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
14161416
$nodeId = $object->nodeId;
14171417
after_nodeId: $result['node_id'] = $nodeId;
14181418

1419+
$clientId = $object->clientId;
1420+
1421+
if ($clientId === null) {
1422+
goto after_clientId;
1423+
}
1424+
1425+
after_clientId: $result['client_id'] = $clientId;
1426+
14191427
$owner = $object->owner;
14201428

14211429
if ($owner === null) {
@@ -1470,14 +1478,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
14701478

14711479
after_installationsCount: $result['installations_count'] = $installationsCount;
14721480

1473-
$clientId = $object->clientId;
1474-
1475-
if ($clientId === null) {
1476-
goto after_clientId;
1477-
}
1478-
1479-
after_clientId: $result['client_id'] = $clientId;
1480-
14811481
$clientSecret = $object->clientSecret;
14821482

14831483
if ($clientSecret === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CheckRuns/CheckRunId.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
441441

442442
after_nodeId:
443443

444+
$value = $payload['client_id'] ?? null;
445+
446+
if ($value === null) {
447+
$properties['clientId'] = null;
448+
goto after_clientId;
449+
}
450+
451+
$properties['clientId'] = $value;
452+
453+
after_clientId:
454+
444455
$value = $payload['owner'] ?? null;
445456

446457
if ($value === null) {
@@ -569,17 +580,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
569580

570581
after_installationsCount:
571582

572-
$value = $payload['client_id'] ?? null;
573-
574-
if ($value === null) {
575-
$properties['clientId'] = null;
576-
goto after_clientId;
577-
}
578-
579-
$properties['clientId'] = $value;
580-
581-
after_clientId:
582-
583583
$value = $payload['client_secret'] ?? null;
584584

585585
if ($value === null) {
@@ -1416,6 +1416,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
14161416
$nodeId = $object->nodeId;
14171417
after_nodeId: $result['node_id'] = $nodeId;
14181418

1419+
$clientId = $object->clientId;
1420+
1421+
if ($clientId === null) {
1422+
goto after_clientId;
1423+
}
1424+
1425+
after_clientId: $result['client_id'] = $clientId;
1426+
14191427
$owner = $object->owner;
14201428

14211429
if ($owner === null) {
@@ -1470,14 +1478,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
14701478

14711479
after_installationsCount: $result['installations_count'] = $installationsCount;
14721480

1473-
$clientId = $object->clientId;
1474-
1475-
if ($clientId === null) {
1476-
goto after_clientId;
1477-
}
1478-
1479-
after_clientId: $result['client_id'] = $clientId;
1480-
14811481
$clientSecret = $object->clientSecret;
14821482

14831483
if ($clientSecret === null) {

0 commit comments

Comments
 (0)