Skip to content

Commit c8b0e3a

Browse files
authored
Merge pull request #1491 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-9d96349c2889ab814e17092fa3c3cd46-from-1.1.4-9d96349c2889ab814e17092fa3c3cd46
2 parents 28a5ce3 + 43479d5 commit c8b0e3a

File tree

24 files changed

+266
-113
lines changed

24 files changed

+266
-113
lines changed

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "a6db3e8c17ce7749767e24fcd8e8540a",
2+
"specHash": "9d96349c2889ab814e17092fa3c3cd46",
33
"generatedFiles": {
44
"files": [
55
{
@@ -904,19 +904,19 @@
904904
},
905905
{
906906
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Verification.php",
907-
"hash": "13c5681e4254fbd0283d2b25707caaff"
907+
"hash": "92764d99e343d107075b0d78ec2b9944"
908908
},
909909
{
910910
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DiffEntry.php",
911911
"hash": "cfb3ad16cf2050d12fd3f945916369a3"
912912
},
913913
{
914914
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit.php",
915-
"hash": "4104e946bf6169d315523110a4a1eb75"
915+
"hash": "4fd9880c93c86102b5bc97ab3a2be09b"
916916
},
917917
{
918918
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/BranchWithProtection.php",
919-
"hash": "ff5bc3bfe56a52d2a3ee04a5183556be"
919+
"hash": "dfadba78186e1e109fd3a3dfbe949908"
920920
},
921921
{
922922
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/StatusCheckPolicy.php",
@@ -1080,7 +1080,7 @@
10801080
},
10811081
{
10821082
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitComparison.php",
1083-
"hash": "3185a7853b51eeb52c214597f5c09891"
1083+
"hash": "959009a99b66e43a69b80d64a572108d"
10841084
},
10851085
{
10861086
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/ContentTree.php",
@@ -1184,15 +1184,15 @@
11841184
},
11851185
{
11861186
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitCommit.php",
1187-
"hash": "d571fef2b04c10f3c659c848f621bc4e"
1187+
"hash": "faa4580243221961803bf080ef608a0d"
11881188
},
11891189
{
11901190
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitRef.php",
11911191
"hash": "a3eb86c5b9c3eab2df17c9412ab6d08d"
11921192
},
11931193
{
11941194
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitTag.php",
1195-
"hash": "9bd02d700fba6e79a7f1766752779b32"
1195+
"hash": "0d102281a62a58460323f9e3a83cb26d"
11961196
},
11971197
{
11981198
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitTree.php",
@@ -1320,7 +1320,7 @@
13201320
},
13211321
{
13221322
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCommittedEvent.php",
1323-
"hash": "10cf4cc9b7cd6202b3d7a2c55ba36f3d"
1323+
"hash": "1b9febe9147b3121c427887ddd5c1e51"
13241324
},
13251325
{
13261326
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineReviewedEvent.php",
@@ -1352,7 +1352,7 @@
13521352
},
13531353
{
13541354
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineIssueEvents.php",
1355-
"hash": "27022fdd4c0b0c76c425f286d53e5edb"
1355+
"hash": "45d62d9c7cd3366bf1fc08de8362df6d"
13561356
},
13571357
{
13581358
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/DeployKey.php",
@@ -1564,7 +1564,7 @@
15641564
},
15651565
{
15661566
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem.php",
1567-
"hash": "7d7eb120b8d520e4814674d8830f0111"
1567+
"hash": "3f33118a747d9e5d22f14e6442d96865"
15681568
},
15691569
{
15701570
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/IssueSearchResultItem.php",
@@ -2568,7 +2568,7 @@
25682568
},
25692569
{
25702570
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus.php",
2571-
"hash": "55fed07188600ca5b46a97642dfd6ecf"
2571+
"hash": "b36681669d43709e29da77b2379924d3"
25722572
},
25732573
{
25742574
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookTeamAdd.php",
@@ -3068,7 +3068,7 @@
30683068
},
30693069
{
30703070
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit\/Commit.php",
3071-
"hash": "091524e0e6f489d2cfee9ae0127e6e06"
3071+
"hash": "85569e1a6a36557b596682ab08d90dc4"
30723072
},
30733073
{
30743074
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Commit\/Commit\/Tree.php",
@@ -3268,7 +3268,7 @@
32683268
},
32693269
{
32703270
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitCommit\/Verification.php",
3271-
"hash": "820fdd15c9483b134b7592933be9a970"
3271+
"hash": "16424b3731cdb142a562fc5242f0774f"
32723272
},
32733273
{
32743274
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GitRef\/Object_.php",
@@ -3436,7 +3436,7 @@
34363436
},
34373437
{
34383438
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem\/Commit.php",
3439-
"hash": "2effcf067473a19d36d3c59221abef28"
3439+
"hash": "cf3d8646bd92a9eadb547d7d3898b002"
34403440
},
34413441
{
34423442
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CommitSearchResultItem\/Commit\/Author.php",
@@ -4476,19 +4476,19 @@
44764476
},
44774477
{
44784478
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit.php",
4479-
"hash": "a8bc7e241c7936cb528bae8d0a1b524e"
4479+
"hash": "7b477a07bdc5a518fb38ccbbf4179089"
44804480
},
44814481
{
44824482
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Author.php",
44834483
"hash": "17f09417f4328f4a6065ed07e28d33cc"
44844484
},
44854485
{
44864486
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Commit.php",
4487-
"hash": "c44a28e37b22b7293715f0e942c2f491"
4487+
"hash": "fc2b898db58d9c80a8f77788b8c33e33"
44884488
},
44894489
{
44904490
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Commit\/Verification.php",
4491-
"hash": "44aa639b47de1531fffd76af4d39b6f6"
4491+
"hash": "0f29fc870914f8005bc180a333175d3d"
44924492
},
44934493
{
44944494
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookStatus\/Commit\/Parents.php",
@@ -4800,7 +4800,7 @@
48004800
},
48014801
{
48024802
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateOrgSecret\/Request\/ApplicationJson.php",
4803-
"hash": "543cfa4f2d7f85681857381341ad721c"
4803+
"hash": "0ee7a6fae77e465bc6adacfe015b1b9d"
48044804
},
48054805
{
48064806
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelectedReposForOrgSecret\/Response\/ApplicationJson\/Ok.php",
@@ -5084,7 +5084,7 @@
50845084
},
50855085
{
50865086
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateRepoSecret\/Request\/ApplicationJson.php",
5087-
"hash": "27c8b482a56fb7df3c07a093103da894"
5087+
"hash": "744b5c708583bb3d493946ff16cde5b6"
50885088
},
50895089
{
50905090
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Actions\/CreateRepoVariable\/Request\/ApplicationJson.php",
@@ -5716,7 +5716,7 @@
57165716
},
57175717
{
57185718
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/Commits\/Response\/ApplicationJson\/Ok.php",
5719-
"hash": "c6aff97ddcc1a7d857a64c6bb9647f32"
5719+
"hash": "b55299413ce79c611a44afc8dac80c18"
57205720
},
57215721
{
57225722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Search\/IssuesAndPullRequests\/Response\/ApplicationJson\/Ok.php",
@@ -6716,7 +6716,7 @@
67166716
},
67176717
{
67186718
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/TimelineCommittedEvent\/Verification.php",
6719-
"hash": "706689a1afdbab7a8526fd3d87864a6f"
6719+
"hash": "720096dd349760d1eeec5d878b2f2e41"
67206720
},
67216721
{
67226722
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet89D46EC0\/TietEE21A228\/Tiet63FBE554\/Tiet65D1C42C.php",
@@ -33330,10 +33330,6 @@
3333033330
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningScanHistory.php",
3333133331
"hash": "0e233a126e301705a743e4f1e31fe223"
3333233332
},
33333-
{
33334-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE746E247\/Tiet29FCA330\/Tiet8C6E229F\/TietB9C53521.php",
33335-
"hash": "afe52cf474607c4df48f033fedc6ce64"
33336-
},
3333733333
{
3333833334
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/SecretScanning\/ScanHistory.php",
3333933335
"hash": "d3899345edded4eb8182dcfa69029f57"
@@ -34000,7 +33996,7 @@
3400033996
},
3400133997
{
3400233998
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/AttachEnterpriseConfiguration\/Request\/ApplicationJson.php",
34003-
"hash": "7a1f575c4e68431273161a64b681c347"
33999+
"hash": "65d187b84880e54cdea1dacb8a526209"
3400434000
},
3400534001
{
3400634002
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietA915022E\/Tiet867AF88E\/Tiet207FA02F\/Tiet074F28B9.php",
@@ -34877,6 +34873,10 @@
3487734873
{
3487834874
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEpss.php",
3487934875
"hash": "0f756903ae10959959de4da76e68feba"
34876+
},
34877+
{
34878+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietADA0376A\/TietE291E6D1\/Tiet2A83A4E8\/TietFA266CAF.php",
34879+
"hash": "000b0dd21ac882954539044bb3c03c15"
3488034880
}
3488134881
]
3488234882
},

clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
13+
"encrypted_value",
14+
"key_id",
1315
"visibility"
1416
],
1517
"type": "object",
@@ -60,8 +62,8 @@
6062
* selectedRepositoryIds: An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
6163
*/
6264
public function __construct(#[MapFrom('encrypted_value')]
63-
public string|null $encryptedValue, #[MapFrom('key_id')]
64-
public string|null $keyId, public string $visibility, #[MapFrom('selected_repository_ids')]
65+
public string $encryptedValue, #[MapFrom('key_id')]
66+
public string $keyId, public string $visibility, #[MapFrom('selected_repository_ids')]
6567
public array|null $selectedRepositoryIds,)
6668
{
6769
}

clients/GitHubEnterpriseCloud/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
final readonly class ApplicationJson
1010
{
1111
public const SCHEMA_JSON = '{
12+
"required": [
13+
"encrypted_value",
14+
"key_id"
15+
],
1216
"type": "object",
1317
"properties": {
1418
"encrypted_value": {
@@ -34,8 +38,8 @@
3438
* keyId: ID of the key you used to encrypt the secret.
3539
*/
3640
public function __construct(#[MapFrom('encrypted_value')]
37-
public string|null $encryptedValue, #[MapFrom('key_id')]
38-
public string|null $keyId,)
41+
public string $encryptedValue, #[MapFrom('key_id')]
42+
public string $keyId,)
3943
{
4044
}
4145
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22

33
declare(strict_types=1);
44

5-
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietE746E247\Tiet29FCA330\Tiet8C6E229F;
5+
namespace ApiClients\Client\GitHubEnterpriseCloud\Schema\AliasAbstract\TietADA0376A\TietE291E6D1\Tiet2A83A4E8;
66

77
use EventSauce\ObjectHydrator\MapFrom;
88

9-
abstract readonly class TietB9C53521
9+
abstract readonly class TietFA266CAF
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
1313
"verified",
1414
"reason",
1515
"signature",
16-
"payload"
16+
"payload",
17+
"verified_at"
1718
],
1819
"type": "object",
1920
"properties": {

clients/GitHubEnterpriseCloud/src/Schema/BranchWithProtection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
"verified",
195195
"reason",
196196
"payload",
197-
"signature"
197+
"signature",
198+
"verified_at"
198199
],
199200
"type": "object",
200201
"properties": {

clients/GitHubEnterpriseCloud/src/Schema/CodeSecurity/AttachEnterpriseConfiguration/Request/ApplicationJson.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"all_without_configurations"
1919
],
2020
"type": "string",
21-
"description": "The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids`"
21+
"description": "The type of repositories to attach the configuration to."
2222
}
2323
},
2424
"additionalProperties": false
@@ -30,7 +30,7 @@
3030
}';
3131

3232
/**
33-
* scope: The type of repositories to attach the configuration to. `selected` means the configuration will be attached to only the repositories specified by `selected_repository_ids`
33+
* scope: The type of repositories to attach the configuration to.
3434
*/
3535
public function __construct(public string $scope)
3636
{

clients/GitHubEnterpriseCloud/src/Schema/Commit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@
181181
"verified",
182182
"reason",
183183
"payload",
184-
"signature"
184+
"signature",
185+
"verified_at"
185186
],
186187
"type": "object",
187188
"properties": {

clients/GitHubEnterpriseCloud/src/Schema/Commit/Commit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@
131131
"verified",
132132
"reason",
133133
"payload",
134-
"signature"
134+
"signature",
135+
"verified_at"
135136
],
136137
"type": "object",
137138
"properties": {

clients/GitHubEnterpriseCloud/src/Schema/CommitComparison.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@
232232
"verified",
233233
"reason",
234234
"payload",
235-
"signature"
235+
"signature",
236+
"verified_at"
236237
],
237238
"type": "object",
238239
"properties": {
@@ -948,7 +949,8 @@
948949
"verified",
949950
"reason",
950951
"payload",
951-
"signature"
952+
"signature",
953+
"verified_at"
952954
],
953955
"type": "object",
954956
"properties": {
@@ -1696,7 +1698,8 @@
16961698
"verified",
16971699
"reason",
16981700
"payload",
1699-
"signature"
1701+
"signature",
1702+
"verified_at"
17001703
],
17011704
"type": "object",
17021705
"properties": {

clients/GitHubEnterpriseCloud/src/Schema/CommitSearchResultItem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
"verified",
137137
"reason",
138138
"payload",
139-
"signature"
139+
"signature",
140+
"verified_at"
140141
],
141142
"type": "object",
142143
"properties": {

0 commit comments

Comments
 (0)