Skip to content

Commit 311d46d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.421.2
1 parent ff0c2b8 commit 311d46d

34 files changed

+472
-443
lines changed

.speakeasy/gen.lock

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 269b4377-e36b-42c4-9e18-aa74d5f13d72
33
management:
4-
docChecksum: 73a744efb752681baea2c6da3ad7c8b6
5-
docVersion: 3.2.1
6-
speakeasyVersion: 1.392.1
7-
generationVersion: 2.411.9
8-
releaseVersion: 1.4.0
9-
configChecksum: ea76ad32df3cca92e9fc6207a9ea7daf
4+
docChecksum: 6b967904253d6815f3bda7e2e43b08d3
5+
docVersion: 3.2.3
6+
speakeasyVersion: 1.421.2
7+
generationVersion: 2.438.15
8+
releaseVersion: 1.4.1
9+
configChecksum: 737e04fbce29082c7955dac326517f0e
1010
repoURL: https://github.com/BoltApp/bolt-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/BoltApp/bolt-go
1313
published: true
1414
features:
1515
go:
1616
additionalDependencies: 0.1.0
17-
core: 3.5.6
17+
core: 3.5.13
1818
defaultEnabledRetries: 0.2.0
1919
envVarSecurityUsage: 0.3.1
2020
errorUnions: 0.1.0
@@ -118,15 +118,19 @@ generatedFiles:
118118
- account.go
119119
- boltsdk.go
120120
- docs/models/components/account.md
121+
- docs/models/components/accounttestcreationdata.md
121122
- docs/models/components/accounttestcreationdataoutput.md
122123
- docs/models/components/accounttestphonedata.md
123124
- docs/models/components/action.md
124125
- docs/models/components/addresslisting.md
126+
- docs/models/components/addresslistinginput.md
125127
- docs/models/components/addressreference.md
126128
- docs/models/components/addressreferenceexplicit.md
129+
- docs/models/components/addressreferenceexplicitinput.md
127130
- docs/models/components/addressreferenceexplicittag.md
128131
- docs/models/components/addressreferenceid.md
129132
- docs/models/components/addressreferenceidtag.md
133+
- docs/models/components/addressreferenceinput.md
130134
- docs/models/components/amount.md
131135
- docs/models/components/authorizationcoderequest.md
132136
- docs/models/components/cart.md
@@ -155,18 +159,26 @@ generatedFiles:
155159
- docs/models/components/paymentactionrequesttag.md
156160
- docs/models/components/paymentinitializerequest.md
157161
- docs/models/components/paymentmethod.md
162+
- docs/models/components/paymentmethodaffirm.md
158163
- docs/models/components/paymentmethodaffirmoutput.md
159164
- docs/models/components/paymentmethodaffirmtag.md
165+
- docs/models/components/paymentmethodafterpay.md
160166
- docs/models/components/paymentmethodafterpayoutput.md
161167
- docs/models/components/paymentmethodafterpaytag.md
162168
- docs/models/components/paymentmethodcreditcard.md
169+
- docs/models/components/paymentmethodcreditcardinput.md
163170
- docs/models/components/paymentmethodextended.md
171+
- docs/models/components/paymentmethodinput.md
172+
- docs/models/components/paymentmethodklarna.md
173+
- docs/models/components/paymentmethodklarnaaccount.md
164174
- docs/models/components/paymentmethodklarnaaccountoutput.md
165175
- docs/models/components/paymentmethodklarnaaccounttag.md
166176
- docs/models/components/paymentmethodklarnaoutput.md
177+
- docs/models/components/paymentmethodklarnapaynow.md
167178
- docs/models/components/paymentmethodklarnapaynowoutput.md
168179
- docs/models/components/paymentmethodklarnapaynowtag.md
169180
- docs/models/components/paymentmethodklarnatag.md
181+
- docs/models/components/paymentmethodpaypal.md
170182
- docs/models/components/paymentmethodpaypaloutput.md
171183
- docs/models/components/paymentmethodpaypaltag.md
172184
- docs/models/components/paymentmethodreference.md

.speakeasy/workflow.lock

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
speakeasyVersion: 1.392.1
1+
speakeasyVersion: 1.421.2
22
sources:
33
bolt-go-api:
44
sourceNamespace: bolt-go-api
5-
sourceRevisionDigest: sha256:38e8d8eb87b42ab3df004dba8cef29c7aaa4d956f48d73a925c38219a05af90c
6-
sourceBlobDigest: sha256:d9fbf30f7645b6f340299ea6f89080448d10d93098ccceb51966039307e61822
5+
sourceRevisionDigest: sha256:28f316c8026afb608ed4c692f5644a710633acf187c79b83740fb6fe48e46e1a
6+
sourceBlobDigest: sha256:ae085196f2a55bb3b61fb5b063e85b72ba2584fad987f4ffe007f55e9678854d
77
tags:
88
- latest
99
- master
1010
targets:
1111
bolt-go-sdk:
1212
source: bolt-go-api
1313
sourceNamespace: bolt-go-api
14-
sourceRevisionDigest: sha256:38e8d8eb87b42ab3df004dba8cef29c7aaa4d956f48d73a925c38219a05af90c
15-
sourceBlobDigest: sha256:d9fbf30f7645b6f340299ea6f89080448d10d93098ccceb51966039307e61822
16-
outLocation: /github/workspace/repo
14+
sourceRevisionDigest: sha256:28f316c8026afb608ed4c692f5644a710633acf187c79b83740fb6fe48e46e1a
15+
sourceBlobDigest: sha256:ae085196f2a55bb3b61fb5b063e85b72ba2584fad987f4ffe007f55e9678854d
1716
workflow:
1817
workflowVersion: 1.0.0
1918
speakeasyVersion: latest

README.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ func main() {
7474
<!-- Start Available Resources and Operations [operations] -->
7575
## Available Resources and Operations
7676

77+
<details open>
78+
<summary>Available methods</summary>
79+
7780
### [Account](docs/sdks/account/README.md)
7881

7982
* [GetDetails](docs/sdks/account/README.md#getdetails) - Retrieve account details
@@ -84,40 +87,49 @@ func main() {
8487
* [DeletePaymentMethod](docs/sdks/account/README.md#deletepaymentmethod) - Delete an existing payment method
8588

8689

87-
### [Payments.LoggedIn](docs/sdks/loggedin/README.md)
88-
89-
* [Initialize](docs/sdks/loggedin/README.md#initialize) - Initialize a Bolt payment for logged in shoppers
90-
* [PerformAction](docs/sdks/loggedin/README.md#performaction) - Finalize a pending payment
91-
92-
### [Payments.Guest](docs/sdks/guest/README.md)
90+
### [OAuth](docs/sdks/oauth/README.md)
9391

94-
* [Initialize](docs/sdks/guest/README.md#initialize) - Initialize a Bolt payment for guest shoppers
95-
* [PerformAction](docs/sdks/guest/README.md#performaction) - Finalize a pending guest payment
92+
* [GetToken](docs/sdks/oauth/README.md#gettoken) - Get OAuth token
9693

9794
### [Orders](docs/sdks/orders/README.md)
9895

9996
* [OrdersCreate](docs/sdks/orders/README.md#orderscreate) - Create an order that was prepared outside the Bolt ecosystem.
10097

101-
### [OAuth](docs/sdks/oauth/README.md)
98+
### [Payments](docs/sdks/payments/README.md)
10299

103-
* [GetToken](docs/sdks/oauth/README.md#gettoken) - Get OAuth token
100+
101+
#### [Payments.Guest](docs/sdks/guest/README.md)
102+
103+
* [Initialize](docs/sdks/guest/README.md#initialize) - Initialize a Bolt payment for guest shoppers
104+
* [PerformAction](docs/sdks/guest/README.md#performaction) - Finalize a pending guest payment
105+
106+
#### [Payments.LoggedIn](docs/sdks/loggedin/README.md)
107+
108+
* [Initialize](docs/sdks/loggedin/README.md#initialize) - Initialize a Bolt payment for logged in shoppers
109+
* [PerformAction](docs/sdks/loggedin/README.md#performaction) - Finalize a pending payment
104110

105111
### [Testing](docs/sdks/testing/README.md)
106112

107113
* [CreateAccount](docs/sdks/testing/README.md#createaccount) - Create a test account
108114
* [TestingAccountPhoneGet](docs/sdks/testing/README.md#testingaccountphoneget) - Get a random phone number
109115
* [GetCreditCard](docs/sdks/testing/README.md#getcreditcard) - Retrieve a tokenized test credit card
116+
117+
</details>
110118
<!-- End Available Resources and Operations [operations] -->
111119

112120
<!-- Start Error Handling [errors] -->
113121
## Error Handling
114122

115-
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass.
123+
Handling errors in this SDK should largely match your expectations. All operations return a response object or an error, they will never return both.
124+
125+
By Default, an API error will return `sdkerrors.SDKError`. When custom error responses are specified for an operation, the SDK may also return their associated error. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation.
126+
127+
For example, the `GetDetails` function may return the following errors:
116128

117-
| Error Object | Status Code | Content Type |
129+
| Error Type | Status Code | Content Type |
118130
| -------------------------------- | -------------------------------- | -------------------------------- |
119131
| sdkerrors.AccountGetResponseBody | 4XX | application/json |
120-
| sdkerrors.SDKError | 4xx-5xx | */* |
132+
| sdkerrors.SDKError | 5XX | \*/\* |
121133

122134
### Example
123135

@@ -352,7 +364,7 @@ func main() {
352364
DisplayID: boltgo.String("215614191"),
353365
Shipments: []components.CartShipment{
354366
components.CartShipment{
355-
Address: components.CreateAddressReferenceInputAddressReferenceExplicitInput(
367+
Address: boltgo.Pointer(components.CreateAddressReferenceInputAddressReferenceExplicitInput(
356368
components.AddressReferenceExplicitInput{
357369
DotTag: components.AddressReferenceExplicitTagExplicit,
358370
FirstName: "Alice",
@@ -367,7 +379,7 @@ func main() {
367379
Email: boltgo.String("[email protected]"),
368380
Phone: boltgo.String("+14155550199"),
369381
},
370-
),
382+
)),
371383
Cost: &components.Amount{
372384
Currency: components.CurrencyUsd,
373385
Units: 10000,

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [go v1.4.0] .
190190
### Releases
191-
- [Go v1.4.0] https://github.com/BoltApp/bolt-go/releases/tag/v1.4.0 - .
191+
- [Go v1.4.0] https://github.com/BoltApp/bolt-go/releases/tag/v1.4.0 - .
192+
193+
## 2024-10-25 00:12:06
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.421.2 (2.438.15) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [go v1.4.1] .
200+
### Releases
201+
- [Go v1.4.1] https://github.com/BoltApp/bolt-go/releases/tag/v1.4.1 - .

0 commit comments

Comments
 (0)