Skip to content

Commit a8ffb84

Browse files
chore: 🐝 Update SDK - Generate SDK 1.0.0-beta.17
1 parent 3486f01 commit a8ffb84

File tree

12 files changed

+649
-702
lines changed

12 files changed

+649
-702
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 16ed6937-9038-4c34-a8b6-e4732948f250
33
management:
4-
docChecksum: 74d25726f866a24fd6cc1cf60df38b28
4+
docChecksum: 24139dd9245c2b92230ce95662487e9d
55
docVersion: 1.0.0
66
speakeasyVersion: 1.555.2
77
generationVersion: 2.620.2
8-
releaseVersion: 1.0.0-beta.16
9-
configChecksum: 59a0856127f336432473ffd19e54ba3e
8+
releaseVersion: 1.0.0-beta.17
9+
configChecksum: ed661667f2247162168e20dcd7e00c15
1010
repoURL: https://github.com/gr4vy/gr4vy-php.git
1111
installationURL: https://github.com/gr4vy/gr4vy-php
1212
published: true
@@ -419,7 +419,6 @@ generatedFiles:
419419
- docs/sdks/paymentservicessdk/README.md
420420
- docs/sdks/payouts/README.md
421421
- docs/sdks/refundssdk/README.md
422-
- docs/sdks/reportsexecutions/README.md
423422
- docs/sdks/reportssdk/README.md
424423
- docs/sdks/sdk/README.md
425424
- docs/sdks/sessions/README.md
@@ -747,7 +746,6 @@ generatedFiles:
747746
- src/ReportSummary.php
748747
- src/ReportUpdate.php
749748
- src/Reports.php
750-
- src/ReportsExecutions.php
751749
- src/ReportsSDK.php
752750
- src/RequiredCheckoutFields.php
753751
- src/ResumePaymentMethodNetworkTokenRequest.php

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2PasswordEnabled: false
1919
sdkHooksConfigAccess: true
2020
php:
21-
version: 1.0.0-beta.16
21+
version: 1.0.0-beta.17
2222
additionalDependencies:
2323
autoload: {}
2424
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.555.2
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:11d69a8cb78e98e395086c798eda78784f7d5369fe9b0c140b2514fcb00343fc
6-
sourceBlobDigest: sha256:023a9fcd0bed9d90cc47134e2a48579f3649ec163ef692d470e9af6ca6793d1f
5+
sourceRevisionDigest: sha256:6773dd13ad24c1be8290b003ab9e4a71795e5890da88c26f78f48592837d0fbe
6+
sourceBlobDigest: sha256:69afccc95f5defb708dedd8b4c30e7a075d6f94c6268cd47e9a8af48d796ff8a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749045089
9+
- speakeasy-sdk-regen-1749055466
1010
- 1.0.0
1111
targets:
1212
php:
1313
source: openapi
1414
sourceNamespace: openapi
15-
sourceRevisionDigest: sha256:11d69a8cb78e98e395086c798eda78784f7d5369fe9b0c140b2514fcb00343fc
16-
sourceBlobDigest: sha256:023a9fcd0bed9d90cc47134e2a48579f3649ec163ef692d470e9af6ca6793d1f
15+
sourceRevisionDigest: sha256:6773dd13ad24c1be8290b003ab9e4a71795e5890da88c26f78f48592837d0fbe
16+
sourceBlobDigest: sha256:69afccc95f5defb708dedd8b4c30e7a075d6f94c6268cd47e9a8af48d796ff8a
1717
codeSamplesNamespace: openapi-php-code-samples
18-
codeSamplesRevisionDigest: sha256:919755aec71554c306763e9702d4fd4f861d3612f0aeb13e665c2dba152e6bfc
18+
codeSamplesRevisionDigest: sha256:0fb898af9791357a40ffbefed4b240ec8bb1c3c2693a0618b937e508a3c67cc0
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,8 @@ if ($response->accountUpdaterJob !== null) {
400400

401401
* [list](docs/sdks/executions/README.md#list) - List executions for report
402402
* [url](docs/sdks/executions/README.md#url) - Create URL for executed report
403-
404-
### [reportsExecutions](docs/sdks/reportsexecutions/README.md)
405-
406-
* [list](docs/sdks/reportsexecutions/README.md#list) - List executed reports
407-
* [get](docs/sdks/reportsexecutions/README.md#get) - Get executed report
403+
* [all](docs/sdks/executions/README.md#all) - List executed reports
404+
* [get](docs/sdks/executions/README.md#get) - Get executed report
408405

409406

410407
### [transactions](docs/sdks/transactions/README.md)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [php v1.0.0-beta.16] .
120120
### Releases
121-
- [Composer v1.0.0-beta.16] https://packagist.org/packages/gr4vy/gr4vy-php#v1.0.0-beta.16 - .
121+
- [Composer v1.0.0-beta.16] https://packagist.org/packages/gr4vy/gr4vy-php#v1.0.0-beta.16 - .
122+
123+
## 2025-06-04 16:44:09
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.555.2 (2.620.2) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [php v1.0.0-beta.17] .
130+
### Releases
131+
- [Composer v1.0.0-beta.17] https://packagist.org/packages/gr4vy/gr4vy-php#v1.0.0-beta.17 - .

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"brick/date-time": "^0.7.0",
1616
"phpdocumentor/type-resolver": "^1.8",
1717
"brick/math": "^0.12.1",
18-
"ramsey/uuid": "^4.7.6",
1918
"lcobucci/jwt": "^5.5.0",
20-
"paragonie/sodium_compat_ext_sodium": ">= 1"
19+
"paragonie/sodium_compat_ext_sodium": ">= 1",
20+
"ramsey/uuid": "^4.7.6"
2121
},
2222
"require-dev": {
2323
"laravel/pint": "^1.21.2",

docs/sdks/executions/README.md

Lines changed: 125 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77

88
* [list](#list) - List executions for report
99
* [url](#url) - Create URL for executed report
10+
* [all](#all) - List executed reports
11+
* [get](#get) - Get executed report
1012

1113
## list
1214

13-
List all executed reports that have been generated.
15+
List all executions of a specific report.
1416

1517
### Example Usage
1618

@@ -122,6 +124,128 @@ if ($response->reportExecutionUrl !== null) {
122124

123125
### Errors
124126

127+
| Error Type | Status Code | Content Type |
128+
| -------------------------- | -------------------------- | -------------------------- |
129+
| errors\Error400 | 400 | application/json |
130+
| errors\Error401 | 401 | application/json |
131+
| errors\Error403 | 403 | application/json |
132+
| errors\Error404 | 404 | application/json |
133+
| errors\Error405 | 405 | application/json |
134+
| errors\Error409 | 409 | application/json |
135+
| errors\HTTPValidationError | 422 | application/json |
136+
| errors\Error425 | 425 | application/json |
137+
| errors\Error429 | 429 | application/json |
138+
| errors\Error500 | 500 | application/json |
139+
| errors\Error502 | 502 | application/json |
140+
| errors\Error504 | 504 | application/json |
141+
| errors\APIException | 4XX, 5XX | \*/\* |
142+
143+
## all
144+
145+
List all executed reports that have been generated.
146+
147+
### Example Usage
148+
149+
```php
150+
declare(strict_types=1);
151+
152+
require 'vendor/autoload.php';
153+
154+
use Gr4vy;
155+
156+
$sdk = Gr4vy\SDK::builder()
157+
->setMerchantAccountId('default')
158+
->setSecurity(
159+
'<YOUR_BEARER_TOKEN_HERE>'
160+
)
161+
->build();
162+
163+
$request = new Gr4vy\ListAllReportExecutionsRequest();
164+
165+
$responses = $sdk->reports->executions->all(
166+
request: $request
167+
);
168+
169+
170+
foreach ($responses as $response) {
171+
if ($response->statusCode === 200) {
172+
// handle response
173+
}
174+
}
175+
```
176+
177+
### Parameters
178+
179+
| Parameter | Type | Required | Description |
180+
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
181+
| `$request` | [Gr4vy\ListAllReportExecutionsRequest](../../ListAllReportExecutionsRequest.md) | :heavy_check_mark: | The request object to use for the request. |
182+
183+
### Response
184+
185+
**[?ListAllReportExecutionsResponse](../../ListAllReportExecutionsResponse.md)**
186+
187+
### Errors
188+
189+
| Error Type | Status Code | Content Type |
190+
| -------------------------- | -------------------------- | -------------------------- |
191+
| errors\Error400 | 400 | application/json |
192+
| errors\Error401 | 401 | application/json |
193+
| errors\Error403 | 403 | application/json |
194+
| errors\Error404 | 404 | application/json |
195+
| errors\Error405 | 405 | application/json |
196+
| errors\Error409 | 409 | application/json |
197+
| errors\HTTPValidationError | 422 | application/json |
198+
| errors\Error425 | 425 | application/json |
199+
| errors\Error429 | 429 | application/json |
200+
| errors\Error500 | 500 | application/json |
201+
| errors\Error502 | 502 | application/json |
202+
| errors\Error504 | 504 | application/json |
203+
| errors\APIException | 4XX, 5XX | \*/\* |
204+
205+
## get
206+
207+
Fetch a specific executed report.
208+
209+
### Example Usage
210+
211+
```php
212+
declare(strict_types=1);
213+
214+
require 'vendor/autoload.php';
215+
216+
use Gr4vy;
217+
218+
$sdk = Gr4vy\SDK::builder()
219+
->setMerchantAccountId('default')
220+
->setSecurity(
221+
'<YOUR_BEARER_TOKEN_HERE>'
222+
)
223+
->build();
224+
225+
226+
227+
$response = $sdk->reports->executions->get(
228+
reportExecutionId: '003bc416-f32a-420c-8eb2-062a386e1fb0'
229+
);
230+
231+
if ($response->reportExecution !== null) {
232+
// handle response
233+
}
234+
```
235+
236+
### Parameters
237+
238+
| Parameter | Type | Required | Description | Example |
239+
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
240+
| `reportExecutionId` | *string* | :heavy_check_mark: | The ID of the execution of a report to retrieve details for. | 003bc416-f32a-420c-8eb2-062a386e1fb0 |
241+
| `merchantAccountId` | *?string* | :heavy_minus_sign: | The ID of the merchant account to use for this request. | default |
242+
243+
### Response
244+
245+
**[?GetReportExecutionResponse](../../GetReportExecutionResponse.md)**
246+
247+
### Errors
248+
125249
| Error Type | Status Code | Content Type |
126250
| -------------------------- | -------------------------- | -------------------------- |
127251
| errors\Error400 | 400 | application/json |

docs/sdks/reportsexecutions/README.md

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)