Skip to content

Commit aa3c3ea

Browse files
chore: 🐝 Update SDK - Generate SDK 1.12.32
1 parent b8b692f commit aa3c3ea

Some content is hidden

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

41 files changed

+370
-101
lines changed

.speakeasy/gen.lock

Lines changed: 85 additions & 84 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ generation:
1717
securityFeb2025: true
1818
sharedErrorComponentsApr2025: true
1919
sharedNestedComponentsJan2026: false
20+
nameOverrideFeb2026: false
2021
auth:
2122
oAuth2ClientCredentialsEnabled: false
2223
oAuth2PasswordEnabled: false
@@ -32,7 +33,7 @@ generation:
3233
generateNewTests: false
3334
skipResponseBodyAssertions: false
3435
go:
35-
version: 1.12.31
36+
version: 1.12.32
3637
additionalDependencies:
3738
github.com/golang-jwt/jwt/v5: v5.2.2
3839
github.com/google/uuid: v1.6.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.721.0-rc.0
1+
speakeasyVersion: 1.724.1
22
sources:
33
Gr4vy:
44
sourceNamespace: gr-4-vy
@@ -9,20 +9,20 @@ sources:
99
- 1.0.0
1010
openapi:
1111
sourceNamespace: openapi
12-
sourceRevisionDigest: sha256:db57eb3f8d95987ee1b85ad23f44a95bcc89767a5956d4e9581a49e8a76669bb
13-
sourceBlobDigest: sha256:202733242a1210109568d49ab8367dd18dd24058f9dcc84f65fa9a9b035d4ec9
12+
sourceRevisionDigest: sha256:95c80fefa011f3e6fca76d579e214c138fcfa03fabe178bb8413169d57343d22
13+
sourceBlobDigest: sha256:29ceeea1e4cd21dd6348ae9961dec47c2ced6288ec30349d521c7435d98d10bd
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1771340002
16+
- speakeasy-sdk-regen-1771842470
1717
- 1.0.0
1818
targets:
1919
go:
2020
source: openapi
2121
sourceNamespace: openapi
22-
sourceRevisionDigest: sha256:db57eb3f8d95987ee1b85ad23f44a95bcc89767a5956d4e9581a49e8a76669bb
23-
sourceBlobDigest: sha256:202733242a1210109568d49ab8367dd18dd24058f9dcc84f65fa9a9b035d4ec9
22+
sourceRevisionDigest: sha256:95c80fefa011f3e6fca76d579e214c138fcfa03fabe178bb8413169d57343d22
23+
sourceBlobDigest: sha256:29ceeea1e4cd21dd6348ae9961dec47c2ced6288ec30349d521c7435d98d10bd
2424
codeSamplesNamespace: openapi-go-code-samples
25-
codeSamplesRevisionDigest: sha256:6d5d80b2852cbe00ea8b7da23b9f9efa928a332da17e1ea00035acd5761b1a84
25+
codeSamplesRevisionDigest: sha256:c52213312042b1c688b9aec957c6076ec8a97d0b8bf830324ec7b59704c1fd98
2626
workflow:
2727
workflowVersion: 1.0.0
2828
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,4 +1338,14 @@ Based on:
13381338
### Generated
13391339
- [go v1.12.31] .
13401340
### Releases
1341-
- [Go v1.12.31] https://github.com/gr4vy/gr4vy-go/releases/tag/v1.12.31 - .
1341+
- [Go v1.12.31] https://github.com/gr4vy/gr4vy-go/releases/tag/v1.12.31 - .
1342+
1343+
## 2026-02-23 10:27:30
1344+
### Changes
1345+
Based on:
1346+
- OpenAPI Doc
1347+
- Speakeasy CLI 1.724.1 (2.836.5) https://github.com/speakeasy-api/speakeasy
1348+
### Generated
1349+
- [go v1.12.32] .
1350+
### Releases
1351+
- [Go v1.12.32] https://github.com/gr4vy/gr4vy-go/releases/tag/v1.12.32 - .

buyers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,6 +2127,7 @@ func (s *Buyers) Delete(ctx context.Context, buyerID string, merchantAccountID *
21272127

21282128
switch {
21292129
case httpRes.StatusCode == 204:
2130+
utils.DrainBody(httpRes)
21302131
case httpRes.StatusCode == 400:
21312132
switch {
21322133
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`):

checkoutsessions.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,6 +1581,7 @@ func (s *CheckoutSessions) Delete(ctx context.Context, sessionID string, merchan
15811581

15821582
switch {
15831583
case httpRes.StatusCode == 204:
1584+
utils.DrainBody(httpRes)
15841585
case httpRes.StatusCode == 400:
15851586
switch {
15861587
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`):

digitalwallets.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,6 +1602,7 @@ func (s *DigitalWallets) Delete(ctx context.Context, digitalWalletID string, mer
16021602

16031603
switch {
16041604
case httpRes.StatusCode == 204:
1605+
utils.DrainBody(httpRes)
16051606
case httpRes.StatusCode == 400:
16061607
switch {
16071608
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/json`):

docs/models/components/context.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,17 @@ context := components.CreateContextGooglePayPaymentOptionContext(components.Goog
2121
context := components.CreateContextPaymentOptionContext(components.PaymentOptionContext{/* values here */})
2222
```
2323

24+
## Union Discrimination
25+
26+
Use the `Type` field to determine which variant is active, then access the corresponding field:
27+
28+
```go
29+
switch context.Type {
30+
case components.ContextTypeWalletPaymentOptionContext:
31+
// context.WalletPaymentOptionContext is populated
32+
case components.ContextTypeGooglePayPaymentOptionContext:
33+
// context.GooglePayPaymentOptionContext is populated
34+
case components.ContextTypePaymentOptionContext:
35+
// context.PaymentOptionContext is populated
36+
}
37+
```

docs/models/components/giftcardunion.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ giftCardUnion := components.CreateGiftCardUnionGiftCardTransactionCreate(compone
1515
giftCardUnion := components.CreateGiftCardUnionGiftCardTokenTransactionCreate(components.GiftCardTokenTransactionCreate{/* values here */})
1616
```
1717

18+
## Union Discrimination
19+
20+
Use the `Type` field to determine which variant is active, then access the corresponding field:
21+
22+
```go
23+
switch giftCardUnion.Type {
24+
case components.GiftCardUnionTypeGiftCardTransactionCreate:
25+
// giftCardUnion.GiftCardTransactionCreate is populated
26+
case components.GiftCardUnionTypeGiftCardTokenTransactionCreate:
27+
// giftCardUnion.GiftCardTokenTransactionCreate is populated
28+
}
29+
```

docs/models/components/item.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ item := components.CreateItemGiftCardRequest(components.GiftCardRequest{/* value
1515
item := components.CreateItemGiftCardStoredRequest(components.GiftCardStoredRequest{/* values here */})
1616
```
1717

18+
## Union Discrimination
19+
20+
Use the `Type` field to determine which variant is active, then access the corresponding field:
21+
22+
```go
23+
switch item.Type {
24+
case components.ItemTypeGiftCardRequest:
25+
// item.GiftCardRequest is populated
26+
case components.ItemTypeGiftCardStoredRequest:
27+
// item.GiftCardStoredRequest is populated
28+
}
29+
```

0 commit comments

Comments
 (0)