Skip to content

Commit 458cb65

Browse files
chore: 🐝 Update SDK - Generate SDK 1.4.0
1 parent ae5ea86 commit 458cb65

File tree

89 files changed

+395
-512
lines changed

Some content is hidden

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

89 files changed

+395
-512
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
lockVersion: 2.0.0
22
id: 16ed6937-9038-4c34-a8b6-e4732948f250
33
management:
4-
docChecksum: a1e6e500816ed6d07074f7b1687e8820
4+
docChecksum: f83c7dc2ed6c679ec3d14685ec58576f
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.661.1
7-
generationVersion: 2.763.2
8-
releaseVersion: 1.3.2
9-
configChecksum: 87811b814b3e1d39d69cadf2b9162b02
6+
speakeasyVersion: 1.661.4
7+
generationVersion: 2.763.3
8+
releaseVersion: 1.4.0
9+
configChecksum: fdee60de187db55cb12a64ffa0cf47d0
1010
repoURL: https://github.com/gr4vy/gr4vy-php.git
1111
installationURL: https://github.com/gr4vy/gr4vy-php
1212
published: true
1313
features:
1414
php:
15+
additionalProperties: 0.1.0
1516
constsAndDefaults: 0.2.0
1617
core: 3.9.5
1718
flattening: 2.81.1
@@ -59,11 +60,10 @@ generatedFiles:
5960
- docs/ApplePayPaymentMethodCreate.md
6061
- docs/ApplePaySessionRequest.md
6162
- docs/AuditLogEntries.md
62-
- docs/AuditLogEntryOutput.md
63+
- docs/AuditLogEntry.md
6364
- docs/AuditLogEntryResource.md
6465
- docs/AuditLogEntryUser.md
65-
- docs/BillingDetailsInput.md
66-
- docs/BillingDetailsOutput.md
66+
- docs/BillingDetails.md
6767
- docs/Body.md
6868
- docs/BraintreeDynamicDataFieldsOptions.md
6969
- docs/BraintreeOptions.md
@@ -84,9 +84,9 @@ generatedFiles:
8484
- docs/CheckoutPayoutOptions.md
8585
- docs/CheckoutSession.md
8686
- docs/CheckoutSessionCreate.md
87+
- docs/CheckoutSessionPaymentMethod.md
8788
- docs/CheckoutSessionPaymentMethodCreate.md
8889
- docs/CheckoutSessionPaymentMethodDetails.md
89-
- docs/CheckoutSessionPaymentMethodOutput.md
9090
- docs/CheckoutSessionWithUrlPaymentMethodCreate.md
9191
- docs/ClickToPayFPANPaymentMethodCreate.md
9292
- docs/ClickToPayPaymentMethodCreate.md
@@ -238,8 +238,7 @@ generatedFiles:
238238
- docs/GooglePayPaymentOptionContext.md
239239
- docs/GooglePaySession.md
240240
- docs/GooglePaySessionRequest.md
241-
- docs/GuestBuyerInput.md
242-
- docs/GuestBuyerOutput.md
241+
- docs/GuestBuyer.md
243242
- docs/Item.md
244243
- docs/LatitudeOptions.md
245244
- docs/ListAllReportExecutionsRequest.md
@@ -320,11 +319,11 @@ generatedFiles:
320319
- docs/PaymentMethodDetailsCard.md
321320
- docs/PaymentMethodStoredCard.md
322321
- docs/PaymentMethodSummaries.md
323-
- docs/PaymentMethodSummaryOutput.md
322+
- docs/PaymentMethodSummary.md
324323
- docs/PaymentMethods.md
324+
- docs/PaymentOption.md
325325
- docs/PaymentOptionContext.md
326326
- docs/PaymentOptionContextApprovalUI.md
327-
- docs/PaymentOptionOutput.md
328327
- docs/PaymentOptionRequest.md
329328
- docs/PaymentOptions.md
330329
- docs/PaymentService.md
@@ -400,27 +399,28 @@ generatedFiles:
400399
- docs/ThreeDSecureV2.md
401400
- docs/Token.md
402401
- docs/TokenPaymentMethodCreate.md
403-
- docs/TransactionBuyerOutput.md
402+
- docs/Transaction.md
403+
- docs/TransactionBuyer.md
404404
- docs/TransactionCancel.md
405+
- docs/TransactionCapture.md
405406
- docs/TransactionCaptureCreate.md
406-
- docs/TransactionCaptureOutput.md
407407
- docs/TransactionConnectionOptions.md
408408
- docs/TransactionCreate.md
409409
- docs/TransactionCreatePaymentMethod.md
410-
- docs/TransactionEventOutput.md
410+
- docs/TransactionEvent.md
411+
- docs/TransactionEventContext.md
411412
- docs/TransactionEvents.md
412413
- docs/TransactionGiftCard.md
413-
- docs/TransactionOutput.md
414-
- docs/TransactionPaymentMethodOutput.md
414+
- docs/TransactionPaymentMethod.md
415415
- docs/TransactionPaymentService.md
416416
- docs/TransactionRefundAllCreate.md
417417
- docs/TransactionRefundCreate.md
418418
- docs/TransactionRetriesReportSpec.md
419419
- docs/TransactionSummaries.md
420-
- docs/TransactionSummaryOutput.md
421-
- docs/TransactionThreeDSecureSummaryOutput.md
420+
- docs/TransactionSummary.md
421+
- docs/TransactionThreeDSecureSummary.md
422422
- docs/TransactionUpdate.md
423-
- docs/TransactionVoidOutput.md
423+
- docs/TransactionVoid.md
424424
- docs/TransactionsReportSpec.md
425425
- docs/TravelHubCustomData.md
426426
- docs/TravelhubOptions.md
@@ -531,13 +531,12 @@ generatedFiles:
531531
- src/ApplePayPaymentMethodCreate.php
532532
- src/ApplePaySessionRequest.php
533533
- src/AuditLogEntries.php
534-
- src/AuditLogEntryOutput.php
534+
- src/AuditLogEntry.php
535535
- src/AuditLogEntryResource.php
536536
- src/AuditLogEntryUser.php
537537
- src/AuditLogs.php
538538
- src/Balances.php
539-
- src/BillingDetailsInput.php
540-
- src/BillingDetailsOutput.php
539+
- src/BillingDetails.php
541540
- src/BraintreeDynamicDataFieldsOptions.php
542541
- src/BraintreeOptions.php
543542
- src/BrowserInfo.php
@@ -562,9 +561,9 @@ generatedFiles:
562561
- src/CheckoutPayoutOptions.php
563562
- src/CheckoutSession.php
564563
- src/CheckoutSessionCreate.php
564+
- src/CheckoutSessionPaymentMethod.php
565565
- src/CheckoutSessionPaymentMethodCreate.php
566566
- src/CheckoutSessionPaymentMethodDetails.php
567-
- src/CheckoutSessionPaymentMethodOutput.php
568567
- src/CheckoutSessionWithUrlPaymentMethodCreate.php
569568
- src/CheckoutSessions.php
570569
- src/ClickToPayFPANPaymentMethodCreate.php
@@ -720,8 +719,7 @@ generatedFiles:
720719
- src/GooglePayPaymentOptionContext.php
721720
- src/GooglePaySession.php
722721
- src/GooglePaySessionRequest.php
723-
- src/GuestBuyerInput.php
724-
- src/GuestBuyerOutput.php
722+
- src/GuestBuyer.php
725723
- src/Hooks/AfterErrorContext.php
726724
- src/Hooks/AfterErrorHook.php
727725
- src/Hooks/AfterSuccessContext.php
@@ -819,14 +817,14 @@ generatedFiles:
819817
- src/PaymentMethodDetailsCard.php
820818
- src/PaymentMethodStoredCard.php
821819
- src/PaymentMethodSummaries.php
822-
- src/PaymentMethodSummaryOutput.php
820+
- src/PaymentMethodSummary.php
823821
- src/PaymentMethods.php
824822
- src/PaymentMethodsNetworkTokens.php
825823
- src/PaymentMethodsPaymentServiceTokens.php
826824
- src/PaymentMethodsSDK.php
825+
- src/PaymentOption.php
827826
- src/PaymentOptionContext.php
828827
- src/PaymentOptionContextApprovalUI.php
829-
- src/PaymentOptionOutput.php
830828
- src/PaymentOptionRequest.php
831829
- src/PaymentOptions.php
832830
- src/PaymentOptionsSDK.php
@@ -904,26 +902,27 @@ generatedFiles:
904902
- src/ThreeDSecureError.php
905903
- src/ThreeDSecureV2.php
906904
- src/TokenPaymentMethodCreate.php
907-
- src/TransactionBuyerOutput.php
905+
- src/Transaction.php
906+
- src/TransactionBuyer.php
908907
- src/TransactionCancel.php
908+
- src/TransactionCapture.php
909909
- src/TransactionCaptureCreate.php
910-
- src/TransactionCaptureOutput.php
911910
- src/TransactionConnectionOptions.php
912911
- src/TransactionCreate.php
913-
- src/TransactionEventOutput.php
912+
- src/TransactionEvent.php
913+
- src/TransactionEventContext.php
914914
- src/TransactionEvents.php
915915
- src/TransactionGiftCard.php
916-
- src/TransactionOutput.php
917-
- src/TransactionPaymentMethodOutput.php
916+
- src/TransactionPaymentMethod.php
918917
- src/TransactionPaymentService.php
919918
- src/TransactionRefundAllCreate.php
920919
- src/TransactionRefundCreate.php
921920
- src/TransactionRetriesReportSpec.php
922921
- src/TransactionSummaries.php
923-
- src/TransactionSummaryOutput.php
924-
- src/TransactionThreeDSecureSummaryOutput.php
922+
- src/TransactionSummary.php
923+
- src/TransactionThreeDSecureSummary.php
925924
- src/TransactionUpdate.php
926-
- src/TransactionVoidOutput.php
925+
- src/TransactionVoid.php
927926
- src/Transactions.php
928927
- src/TransactionsRefunds.php
929928
- src/TransactionsReportSpec.php
@@ -3833,7 +3832,7 @@ examples:
38333832
application_name: "core-api"
38343833
responses:
38353834
"200":
3836-
application/json: {"items": [{"type": "transaction-event", "id": "f133a3b7-e67e-4d83-bcd3-3e438fedf348", "name": "transaction-api-request", "created_at": "2013-07-16T19:23:00.000+00:00", "context": {}}], "limit": 20}
3835+
application/json: {"items": [{"type": "transaction-event", "id": "f133a3b7-e67e-4d83-bcd3-3e438fedf348", "name": "transaction-api-request", "created_at": "2013-07-16T19:23:00.000+00:00", "context": {"transaction_id": "<id>", "created_at": "1713124938909"}}], "limit": 20}
38373836
"400":
38383837
application/json: {"type": "error", "code": "bad_request", "status": 400, "message": "Request failed validation"}
38393838
"401":
@@ -4383,4 +4382,8 @@ examples:
43834382
application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"}
43844383
examplesVersion: 1.0.2
43854384
generatedTests: {}
4386-
releaseNotes: "## Php SDK Changes Detected:\n* `sdk->transactions->create()`: \n * `request.transactionCreate->connectionOptions->cybersource-card->comments` **Added**\n* `sdk->transactions->update()`: \n * `request.transactionUpdate->connectionOptions->cybersource-card->comments` **Added**\n* `sdk->payment-links->create()`: \n * `request.paymentLinkCreate->connectionOptions->cybersource-card->comments` **Added**\n"
4385+
releaseNotes: |
4386+
## Php SDK Changes Detected:
4387+
* `sdk->transactions->events->list()`: `response.items->[]->context` **Changed** **Breaking** :warning:
4388+
* `sdk->transactions->capture()`: `response` **Changed**
4389+
* `sdk->transactions->void()`: `response` **Changed**

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: false
2727
skipResponseBodyAssertions: false
2828
php:
29-
version: 1.3.2
29+
version: 1.4.0
3030
additionalDependencies:
3131
autoload: {}
3232
autoload-dev: {}

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.661.1
1+
speakeasyVersion: 1.661.4
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:39bde301d140e74b25920f7a03e11a62db7111e08aa48c6f4fc048affa0787f3
6-
sourceBlobDigest: sha256:118b9abc1a4a2e4ffc44e9d0719d965d65aef58b7db65c3c0dd8262df1ae4428
5+
sourceRevisionDigest: sha256:881dafe1be44ea3b115134f421d0a065f1ee59c8dd4f4e42f0ce2a832034ed9c
6+
sourceBlobDigest: sha256:b00d5bf3f565d988e94273f6b9f08ef51c66c8e3e5c723f077ae6448b4a8112a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1764100420
9+
- speakeasy-sdk-regen-1764157893
1010
- 1.0.0
1111
targets:
1212
php:
1313
source: openapi
1414
sourceNamespace: openapi
15-
sourceRevisionDigest: sha256:39bde301d140e74b25920f7a03e11a62db7111e08aa48c6f4fc048affa0787f3
16-
sourceBlobDigest: sha256:118b9abc1a4a2e4ffc44e9d0719d965d65aef58b7db65c3c0dd8262df1ae4428
15+
sourceRevisionDigest: sha256:881dafe1be44ea3b115134f421d0a065f1ee59c8dd4f4e42f0ce2a832034ed9c
16+
sourceBlobDigest: sha256:b00d5bf3f565d988e94273f6b9f08ef51c66c8e3e5c723f077ae6448b4a8112a
1717
codeSamplesNamespace: openapi-php-code-samples
18-
codeSamplesRevisionDigest: sha256:6ab2fb779ef8af30166b6835eee38fedc69c906f445321ab0bd95e77badca50c
18+
codeSamplesRevisionDigest: sha256:a322b16f214e8e23300c81f7a4dd2064570bd54829bcedb36df80cb30079c928
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,4 +838,14 @@ Based on:
838838
### Generated
839839
- [php v1.3.2] .
840840
### Releases
841-
- [Composer v1.3.2] https://packagist.org/packages/gr4vy/gr4vy-php#v1.3.2 - .
841+
- [Composer v1.3.2] https://packagist.org/packages/gr4vy/gr4vy-php#v1.3.2 - .
842+
843+
## 2025-11-26 11:51:14
844+
### Changes
845+
Based on:
846+
- OpenAPI Doc
847+
- Speakeasy CLI 1.661.4 (2.763.3) https://github.com/speakeasy-api/speakeasy
848+
### Generated
849+
- [php v1.4.0] .
850+
### Releases
851+
- [Composer v1.4.0] https://packagist.org/packages/gr4vy/gr4vy-php#v1.4.0 - .

β€ŽTests/CheckoutSessionsTest.phpβ€Ž

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
declare(strict_types=1);
44

5-
use Gr4vy;
65
use Gr4vy\Auth;
76
use Gr4vy\CheckoutSessionWithUrlPaymentMethodCreate;
87
use Gr4vy\MerchantAccountCreate;
@@ -146,7 +145,7 @@ public function test_process_payment_with_checkout_session(): void
146145
// Create a transaction using the checkout session
147146
$transactionCreate = new TransactionCreate(amount: 1299, currency: 'USD', paymentMethod: new CheckoutSessionWithUrlPaymentMethodCreate(id: $checkoutSession->id));
148147
$response = self::$sdk->transactions->create($transactionCreate);
149-
$transaction = $response->transactionOutput;
148+
$transaction = $response->transaction;
150149

151150
$this->assertNotNull($transaction->id);
152151
$this->assertEquals('authorization_succeeded', $transaction->status);
@@ -207,8 +206,8 @@ public function test_handle_stored_payment_method(): void
207206
$transactionCreate = new TransactionCreate(amount: 1299, currency: 'USD', paymentMethod: new CheckoutSessionWithUrlPaymentMethodCreate(id: $checkoutSession->id));
208207
$response = self::$sdk->transactions->create($transactionCreate);
209208

210-
$this->assertNotNull($response->transactionOutput->id);
211-
$this->assertEquals('authorization_succeeded', $response->transactionOutput->status);
212-
$this->assertEquals(1299, $response->transactionOutput->amount);
209+
$this->assertNotNull($response->transaction->id);
210+
$this->assertEquals('authorization_succeeded', $response->transaction->status);
211+
$this->assertEquals(1299, $response->transaction->amount);
213212
}
214213
}

β€Ždocs/AuditLogEntries.mdβ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
8-
| `items` | array<[AuditLogEntryOutput](./AuditLogEntryOutput.md)> | :heavy_check_mark: | A list of items returned for this request. | |
9-
| `limit` | *?int* | :heavy_minus_sign: | The number of items for this page. | 20 |
10-
| `nextCursor` | *?string* | :heavy_minus_sign: | The cursor pointing at the next page of items. | ZXhhbXBsZTE |
11-
| `previousCursor` | *?string* | :heavy_minus_sign: | The cursor pointing at the previous page of items. | Xkjss7asS |
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
8+
| `items` | array<[AuditLogEntry](./AuditLogEntry.md)> | :heavy_check_mark: | A list of items returned for this request. | |
9+
| `limit` | *?int* | :heavy_minus_sign: | The number of items for this page. | 20 |
10+
| `nextCursor` | *?string* | :heavy_minus_sign: | The cursor pointing at the next page of items. | ZXhhbXBsZTE |
11+
| `previousCursor` | *?string* | :heavy_minus_sign: | The cursor pointing at the previous page of items. | Xkjss7asS |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AuditLogEntryOutput
1+
# AuditLogEntry
22

33

44
## Fields
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# BillingDetailsInput
1+
# BillingDetails
22

33

44
## Fields

β€Ždocs/BillingDetailsOutput.mdβ€Ž

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

0 commit comments

Comments
Β (0)