Skip to content

Commit 214b410

Browse files
committed
## Go SDK Changes Detected:
* `Client.Customers.Create-Payment()`: * `request.Payment-Request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `Client.Payments.Release-Authorization()`: `response.status[202].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Profiles.Create()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `Client.Sales-Invoices.Delete()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Mandates.Revoke()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Mandates.Create()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `Client.Profiles.Delete()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Customers.Delete()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Onboarding.Submit()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Client-Links.Create()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `Client.Webhooks.Delete()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Webhooks.Test()`: `response.status[202].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Payment-Links.Delete()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Payments.Create()`: * `request.Payment-Request` **Changed** **Breaking** ⚠️ * `response` **Changed** * `Client.Refunds.Cancel()`: `response.status[204].content[application/hal+json` **Removed** **Breaking** ⚠️ * `Client.Refunds.Create()`: `request` **Changed** **Breaking** ⚠️ * `Client.Subscriptions.List()`: `response.Embedded.Subscriptions.[]` **Changed** * `Client.Customers.List()`: `response.Embedded.Customers.[]` **Changed** * `Client.Payments.Update()`: `response` **Changed** * `Client.Payments.Get()`: `response` **Changed** * `Client.Payments.List()`: `response.Embedded.Payments.[]` **Changed** * `Client.Captures.Create()`: `response` **Changed** * `Client.Captures.List()`: `response.Embedded.Captures.[]` **Changed** * `Client.Captures.Get()`: `response` **Changed** * `Client.Settlements.List-Captures()`: `response.Embedded.Captures.[]` **Changed** * `Client.Payment-Links.Create()`: `response` **Changed** * `Client.Customers.Update()`: `response` **Changed** * `Client.Payment-Links.Update()`: `response` **Changed** * `Client.Webhook-Events.Get()`: `response.Embedded.Entity` **Changed** * `Client.Payment-Links.List-Payments()`: `response.Embedded.Payments.[]` **Changed** * `Client.Delayed-Routing.Create()`: `response` **Changed** * `Client.Delayed-Routing.List()`: `response.Embedded.Routes.[]` **Changed** * `Client.Customers.Create()`: `response` **Changed** * `Client.Payments.Cancel()`: `response` **Changed** * `Client.Customers.Get()`: `response` **Changed** * `Client.Payment-Links.Get()`: `response` **Changed** * `Client.Profiles.Get-Current()`: `response` **Changed** * `Client.Settlements.List-Payments()`: `response.Embedded.Payments.[]` **Changed** * `Client.Customers.List-Payments()`: `response.Embedded.Payments.[]` **Changed** * `Client.Profiles.Update()`: `response` **Changed** * `Client.Mandates.List()`: `response.Embedded.Mandates.[]` **Changed** * `Client.Mandates.Get()`: `response` **Changed** * `Client.Profiles.Get()`: `response` **Changed** * `Client.Subscriptions.Create()`: `response` **Changed** * `Client.Payment-Links.List()`: `response.Embedded.PaymentLinks.[]` **Changed** * `Client.Subscriptions.Get()`: `response` **Changed** * `Client.Subscriptions.Update()`: `response` **Changed** * `Client.Subscriptions.Cancel()`: `response` **Changed** * `Client.Subscriptions.All()`: `response.Embedded.Subscriptions.[]` **Changed** * `Client.Subscriptions.List-Payments()`: `response.Embedded.Payments.[]` **Changed** * `Client.Profiles.List()`: `response.Embedded.Profiles.[]` **Changed**
1 parent 6c93cba commit 214b410

File tree

91 files changed

+1554
-2107
lines changed

Some content is hidden

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

91 files changed

+1554
-2107
lines changed

.speakeasy/gen.lock

Lines changed: 30 additions & 29 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: true
3030
skipResponseBodyAssertions: false
3131
go:
32-
version: 0.8.2
32+
version: 0.8.3
3333
additionalDependencies: {}
3434
baseErrorName: ClientError
3535
clientServerStatusCodesAsErrors: true

.speakeasy/out.openapi.yaml

Lines changed: 804 additions & 1091 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.653.0
1+
speakeasyVersion: 1.656.2
22
sources:
33
Mollie API:
44
sourceNamespace: mollie-api
5-
sourceRevisionDigest: sha256:c9a5e4d8d8f9db5dd8198fff3b81d7aa5b50207f8faade7d1767fd00f09e2c5d
6-
sourceBlobDigest: sha256:115f399d3617e255638f4f42eec3efce317b9e3e454a4e5ceb6b8d80d118b650
5+
sourceRevisionDigest: sha256:214e4b340af8675ce97b58a26d86ee177971741d3d063d690f4545b217a47176
6+
sourceBlobDigest: sha256:23d523f4dc0a1365f869539268858a91c0bcd8dbcf4a9e8dd760509489c22f89
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1762819609
9+
- speakeasy-sdk-regen-1763078814
1010
- 1.0.0
1111
targets:
1212
mollie-api-golang:
1313
source: Mollie API
1414
sourceNamespace: mollie-api
15-
sourceRevisionDigest: sha256:c9a5e4d8d8f9db5dd8198fff3b81d7aa5b50207f8faade7d1767fd00f09e2c5d
16-
sourceBlobDigest: sha256:115f399d3617e255638f4f42eec3efce317b9e3e454a4e5ceb6b8d80d118b650
15+
sourceRevisionDigest: sha256:214e4b340af8675ce97b58a26d86ee177971741d3d063d690f4545b217a47176
16+
sourceBlobDigest: sha256:23d523f4dc0a1365f869539268858a91c0bcd8dbcf4a9e8dd760509489c22f89
1717
codeSamplesNamespace: mollie-api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:b75b1a543801851464d32704e378b3f68482fdd30a238aca7486d6f11c70374f
18+
codeSamplesRevisionDigest: sha256:a091aaf48deaa6f5a56d8c89e933cbbb519cb41e98653bb15a1190cb514b5261
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
@@ -268,4 +268,14 @@ Based on:
268268
### Generated
269269
- [go v0.8.2] .
270270
### Releases
271-
- [Go v0.8.2] https://github.com/mollie/mollie-api-golang/releases/tag/v0.8.2 - .
271+
- [Go v0.8.2] https://github.com/mollie/mollie-api-golang/releases/tag/v0.8.2 - .
272+
273+
## 2025-11-14 00:06:34
274+
### Changes
275+
Based on:
276+
- OpenAPI Doc
277+
- Speakeasy CLI 1.656.2 (2.753.6) https://github.com/speakeasy-api/speakeasy
278+
### Generated
279+
- [go v0.8.3] .
280+
### Releases
281+
- [Go v0.8.3] https://github.com/mollie/mollie-api-golang/releases/tag/v0.8.3 - .

client.go

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

33
package client
44

5-
// Generated from OpenAPI doc version 1.0.0 and generator version 2.748.0
5+
// Generated from OpenAPI doc version 1.0.0 and generator version 2.753.6
66

77
import (
88
"context"
@@ -172,9 +172,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
172172
// New creates a new instance of the SDK with the provided options
173173
func New(opts ...SDKOption) *Client {
174174
sdk := &Client{
175-
SDKVersion: "0.8.2",
175+
SDKVersion: "0.8.3",
176176
sdkConfiguration: config.SDKConfiguration{
177-
UserAgent: "speakeasy-sdk/go 0.8.2 2.748.0 1.0.0 github.com/mollie/mollie-api-golang",
177+
UserAgent: "speakeasy-sdk/go 0.8.3 2.753.6 1.0.0 github.com/mollie/mollie-api-golang",
178178
Globals: globals.Globals{},
179179
ServerList: ServerList,
180180
},

clientlinks.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ func newClientLinks(rootSDK *Client, sdkConfig config.SDKConfiguration, hooks *h
8585
// > 🚧
8686
// >
8787
// > A client link must be used within 30 days of creation. After that period, it will expire and you will need to create a new client link.
88-
func (s *ClientLinks) Create(ctx context.Context, idempotencyKey *string, entityClientLink *components.EntityClientLink, opts ...operations.Option) (*operations.CreateClientLinkResponse, error) {
88+
func (s *ClientLinks) Create(ctx context.Context, idempotencyKey *string, clientLinkRequest *components.ClientLinkRequest, opts ...operations.Option) (*operations.CreateClientLinkResponse, error) {
8989
request := operations.CreateClientLinkRequest{
90-
IdempotencyKey: idempotencyKey,
91-
EntityClientLink: entityClientLink,
90+
IdempotencyKey: idempotencyKey,
91+
ClientLinkRequest: clientLinkRequest,
9292
}
9393

9494
o := operations.Options{}
@@ -123,7 +123,7 @@ func (s *ClientLinks) Create(ctx context.Context, idempotencyKey *string, entity
123123
OAuth2Scopes: nil,
124124
SecuritySource: s.sdkConfiguration.Security,
125125
}
126-
bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "EntityClientLink", "json", `request:"mediaType=application/json"`)
126+
bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "ClientLinkRequest", "json", `request:"mediaType=application/json"`)
127127
if err != nil {
128128
return nil, err
129129
}

customers.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,26 +1227,6 @@ func (s *Customers) Delete(ctx context.Context, customerID string, idempotencyKe
12271227

12281228
switch {
12291229
case httpRes.StatusCode == 204:
1230-
switch {
1231-
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/hal+json`):
1232-
rawBody, err := utils.ConsumeRawBody(httpRes)
1233-
if err != nil {
1234-
return nil, err
1235-
}
1236-
1237-
var out any
1238-
if err := utils.UnmarshalJsonFromResponseBody(bytes.NewBuffer(rawBody), &out, ""); err != nil {
1239-
return nil, err
1240-
}
1241-
1242-
res.Any = out
1243-
default:
1244-
rawBody, err := utils.ConsumeRawBody(httpRes)
1245-
if err != nil {
1246-
return nil, err
1247-
}
1248-
return nil, apierrors.NewAPIError(fmt.Sprintf("unknown content-type received: %s", httpRes.Header.Get("Content-Type")), httpRes.StatusCode, string(rawBody), httpRes)
1249-
}
12501230
case httpRes.StatusCode == 404:
12511231
switch {
12521232
case utils.MatchContentType(httpRes.Header.Get("Content-Type"), `application/hal+json`):

docs/models/components/captureresponse.md

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# EntityClientLink
1+
# ClientLinkRequest
22

33

44
## Fields
55

66
| Field | Type | Required | Description | Example |
77
| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `Owner` | [*components.Owner](../../models/components/owner.md) | :heavy_minus_sign: | Personal data of your customer. | |
9-
| `Name` | **string* | :heavy_minus_sign: | Name of the organization. | Acme Corporation |
10-
| `Address` | [*components.EntityClientLinkAddress](../../models/components/entityclientlinkaddress.md) | :heavy_minus_sign: | Address of the organization. | |
8+
| `Owner` | [components.Owner](../../models/components/owner.md) | :heavy_check_mark: | Personal data of your customer. | |
9+
| `Name` | *string* | :heavy_check_mark: | Name of the organization. | Acme Corporation |
10+
| `Address` | [components.ClientLinkRequestAddress](../../models/components/clientlinkrequestaddress.md) | :heavy_check_mark: | Address of the organization. | |
1111
| `RegistrationNumber` | **string* | :heavy_minus_sign: | The registration number of the organization at their local chamber of commerce. | 12345678 |
1212
| `VatNumber` | **string* | :heavy_minus_sign: | The VAT number of the organization, if based in the European Union. VAT numbers are verified against the<br/>international registry *VIES*. | 123456789B01 |

0 commit comments

Comments
 (0)