Skip to content

Commit beee8ea

Browse files
authored
Merge pull request #1362 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-a17f4264c506565e251516e5c4217ed8-from-1.1.4-a17f4264c506565e251516e5c4217ed8
2 parents 693e1c8 + b0f05aa commit beee8ea

29 files changed

+1218
-88
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4070,6 +4070,34 @@ $client->operations()->orgs()->listCustomRoles( organization_id: 'generat
40704070
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-custom-repository-roles-in-an-organization).
40714071

40724072

4073+
### billing/get-github-billing-usage-report-org
4074+
4075+
Get billing usage report for an organization
4076+
4077+
Using the `call` method:
4078+
```php
4079+
$client->call('GET /organizations/{org}/settings/billing/usage', [
4080+
'org' => 'generated',
4081+
'year' => 4,
4082+
'month' => 5,
4083+
'day' => 3,
4084+
'hour' => 4,
4085+
]);
4086+
```
4087+
4088+
Operations method:
4089+
```php
4090+
$client->operations()->billing()->getGithubBillingUsageReportOrg( org: 'generated',
4091+
year: 4,
4092+
month: 5,
4093+
day: 3,
4094+
hour: 4,
4095+
);
4096+
```
4097+
4098+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization).
4099+
4100+
40734101
### orgs/get
40744102

40754103
Get an organization

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

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "c004de9f6ab1478f11c99a0269aa347a",
2+
"specHash": "a17f4264c506565e251516e5c4217ed8",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5880,7 +5880,7 @@
58805880
},
58815881
{
58825882
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
5883-
"hash": "dca87500add5189034324181f9a779d6"
5883+
"hash": "59924982b0630b2af66c53e80fab4d4c"
58845884
},
58855885
{
58865886
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php",
@@ -5904,7 +5904,7 @@
59045904
},
59055905
{
59065906
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Billing.php",
5907-
"hash": "966f7db10e65ae9cd5ee44b95c168b21"
5907+
"hash": "87cfdd76636567618c6a13038d88d6d5"
59085908
},
59095909
{
59105910
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Activity.php",
@@ -26032,7 +26032,7 @@
2603226032
},
2603326033
{
2603426034
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26035-
"hash": "d806c29a78933ac054478bfc1bc2a080"
26035+
"hash": "d5e459b77b05c27689574e2d34874113"
2603626036
},
2603726037
{
2603826038
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/AnnouncementBanners.php",
@@ -26064,7 +26064,7 @@
2606426064
},
2606526065
{
2606626066
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Billing.php",
26067-
"hash": "6b5a2c95d462af3827ec30bc276e4a06"
26067+
"hash": "8587e66b491340c3410e73e7781aeb13"
2606826068
},
2606926069
{
2607026070
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Checks.php",
@@ -26124,7 +26124,7 @@
2612426124
},
2612526125
{
2612626126
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/EnterpriseAdmin.php",
26127-
"hash": "d961292c36a1b85376f2e08f2fb4abe4"
26127+
"hash": "e2c8ecd5c9b61e176e87b9c791015c9b"
2612826128
},
2612926129
{
2613026130
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Codespaces.php",
@@ -26404,7 +26404,7 @@
2640426404
},
2640526405
{
2640626406
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/EnterpriseAdmin.php",
26407-
"hash": "98fb305e17b02e7503f200eb6090f205"
26407+
"hash": "50b2b38b302d5cfe69bae4c3e2ce9e50"
2640826408
},
2640926409
{
2641026410
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Actions.php",
@@ -26448,7 +26448,7 @@
2644826448
},
2644926449
{
2645026450
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/EnterpriseAdmin.php",
26451-
"hash": "0cf5a3e855fc01efee8d39aeb2d8207f"
26451+
"hash": "e186113400ff5b9c315b46248c433830"
2645226452
},
2645326453
{
2645426454
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Activity.php",
@@ -26544,11 +26544,11 @@
2654426544
},
2654526545
{
2654626546
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26547-
"hash": "4489002a005b298974703c0bdddf39ad"
26547+
"hash": "d82b73cc27be17f35716209659677b3b"
2654826548
},
2654926549
{
2655026550
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26551-
"hash": "d5624a79520a4b3536bd5fafb9756369"
26551+
"hash": "447986dc13673c21e65adc57e4cbbc10"
2655226552
},
2655326553
{
2655426554
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -26576,7 +26576,7 @@
2657626576
},
2657726577
{
2657826578
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php",
26579-
"hash": "18c9978a46acd59778f2afb571e5a227"
26579+
"hash": "15312ba97078e9b59a44d6a62bc96584"
2658026580
},
2658126581
{
2658226582
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
@@ -26684,7 +26684,7 @@
2668426684
},
2668526685
{
2668626686
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php",
26687-
"hash": "b1a1a2ebcd7a15d2e4a8110e08ed5c6c"
26687+
"hash": "7dfe44551de81f1267bf544db4f97d32"
2668826688
},
2668926689
{
2669026690
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php",
@@ -26712,7 +26712,7 @@
2671226712
},
2671326713
{
2671426714
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php",
26715-
"hash": "5189ec91cb12bc451a8da1984e052a59"
26715+
"hash": "91238f88956c6ea8fc6576d7c3bdc5a3"
2671626716
},
2671726717
{
2671826718
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Eight.php",
@@ -26752,7 +26752,7 @@
2675226752
},
2675326753
{
2675426754
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operators.php",
26755-
"hash": "3a3be8697950d94305dd965ce65487b2"
26755+
"hash": "caaade9b724943010812f28ea2d0f4c9"
2675626756
},
2675726757
{
2675826758
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Root.php",
@@ -28924,7 +28924,7 @@
2892428924
},
2892528925
{
2892628926
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
28927-
"hash": "c9a0c73912840ccffe56be556716afe8"
28927+
"hash": "b5b0f752ec5fb86e4e5d8f82f16bb529"
2892828928
},
2892928929
{
2893028930
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
@@ -29724,11 +29724,11 @@
2972429724
},
2972529725
{
2972629726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29727-
"hash": "869a3ad78c341bdf9db1817003485d57"
29727+
"hash": "397c573da52c6a554ddcdda6ed526bff"
2972829728
},
2972929729
{
2973029730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29731-
"hash": "add9ca26314ceba4392cc8da1037e8ff"
29731+
"hash": "be8b0622bbc38092f5df7de4ad6fecee"
2973229732
},
2973329733
{
2973429734
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -33156,7 +33156,7 @@
3315633156
},
3315733157
{
3315833158
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/ApiInsights.php",
33159-
"hash": "58d77b9a9227372d7aec3f26aacb87b9"
33159+
"hash": "6bf9f7829121dba63588c95d05aaf1c3"
3316033160
},
3316133161
{
3316233162
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/Insights\/Api\/SummaryStats.php",
@@ -33188,7 +33188,7 @@
3318833188
},
3318933189
{
3319033190
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetAuditLogStreamKey.php",
33191-
"hash": "9898ea0828458aa0da5f61b519a7807f"
33191+
"hash": "e338995c990e8d6fed72239d209b1806"
3319233192
},
3319333193
{
3319433194
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetAuditLogStreamKeyTest.php",
@@ -33200,7 +33200,7 @@
3320033200
},
3320133201
{
3320233202
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetAuditLogStreams.php",
33203-
"hash": "69e18cf2056e20a8567cf925a31ed770"
33203+
"hash": "024ec90e59019f13fe990f7bc321e8ad"
3320433204
},
3320533205
{
3320633206
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetAuditLogStreamsTest.php",
@@ -33212,7 +33212,7 @@
3321233212
},
3321333213
{
3321433214
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/CreateAuditLogStream.php",
33215-
"hash": "6b7f868fa3288477fe2570f307e775db"
33215+
"hash": "dbcfd2d4f69a494d3a1caebaf4b5ec72"
3321633216
},
3321733217
{
3321833218
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/CreateAuditLogStreamTest.php",
@@ -33224,7 +33224,7 @@
3322433224
},
3322533225
{
3322633226
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/GetOneAuditLogStream.php",
33227-
"hash": "db7bb54421994358be6847e0714c1ad0"
33227+
"hash": "d6ce68360feb6ae455a77301dc7c15ce"
3322833228
},
3322933229
{
3323033230
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/GetOneAuditLogStreamTest.php",
@@ -33236,7 +33236,7 @@
3323633236
},
3323733237
{
3323833238
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/UpdateAuditLogStream.php",
33239-
"hash": "6fe2c86dcccc60539fb346d64c7e0d69"
33239+
"hash": "708185ab405e45c25b6a918fb2e26dcc"
3324033240
},
3324133241
{
3324233242
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/UpdateAuditLogStreamTest.php",
@@ -33248,7 +33248,7 @@
3324833248
},
3324933249
{
3325033250
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/DeleteAuditLogStream.php",
33251-
"hash": "38e9dcfca0d8b91367f635ef81e42fd3"
33251+
"hash": "7d5b6c2563ae29c31c8c1c383aebecf0"
3325233252
},
3325333253
{
3325433254
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AuditLogStreamKey.php",
@@ -33325,6 +33325,22 @@
3332533325
{
3332633326
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/AuditLog\/Streams\/StreamId.php",
3332733327
"hash": "b6fd0daf7ebef7aee4411224b58a6203"
33328+
},
33329+
{
33330+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportOrg.php",
33331+
"hash": "85f0c4cb36c4b4e926bd6c5fe624b227"
33332+
},
33333+
{
33334+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Billing\/GetGithubBillingUsageReportOrg.php",
33335+
"hash": "0083986a636c8e2c2119d1ce95ea161f"
33336+
},
33337+
{
33338+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Billing\/GetGithubBillingUsageReportOrgTest.php",
33339+
"hash": "e1840ead7b4a67aca4c6a8c5031b43fb"
33340+
},
33341+
{
33342+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Organizations\/Org\/Settings\/Billing\/Usage.php",
33343+
"hash": "cb07210e658850117154aa37a6a04e41"
3332833344
}
3332933345
]
3333033346
},

0 commit comments

Comments
 (0)