Skip to content

Commit 31c1358

Browse files
committed
## Go SDK Changes:
* `Client.Webhooks.Create()`: `request.RequestBody` **Changed** **Breaking** ⚠️ * `Client.Webhooks.Update()`: `request.RequestBody` **Changed** **Breaking** ⚠️
1 parent ff4f17b commit 31c1358

29 files changed

+271
-73
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 0d194235-0cbf-49b0-95d5-397b67f65b06
33
management:
4-
docChecksum: adc1359a5f53bfc67f09961b0725e6f9
4+
docChecksum: 1d2641433a69902c38d579ef00824956
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.668.0
6+
speakeasyVersion: 1.668.1
77
generationVersion: 2.770.0
8-
releaseVersion: 0.9.0
9-
configChecksum: d1835381e30adb34dd5a69d09b4d0452
8+
releaseVersion: 0.9.1
9+
configChecksum: d16e7eb83d402ed33a78338f39dd3281
1010
repoURL: https://github.com/mollie/mollie-api-golang.git
1111
installationURL: https://github.com/mollie/mollie-api-golang
1212
features:
@@ -771,6 +771,7 @@ generatedFiles:
771771
- docs/models/operations/createsalesinvoiceresponse.md
772772
- docs/models/operations/createsubscriptionrequest.md
773773
- docs/models/operations/createsubscriptionresponse.md
774+
- docs/models/operations/createwebhookeventtypes.md
774775
- docs/models/operations/createwebhookrequest.md
775776
- docs/models/operations/createwebhookrequestbody.md
776777
- docs/models/operations/createwebhookresponse.md
@@ -1075,6 +1076,7 @@ generatedFiles:
10751076
- docs/models/operations/updatesubscriptionrequest.md
10761077
- docs/models/operations/updatesubscriptionrequestbody.md
10771078
- docs/models/operations/updatesubscriptionresponse.md
1079+
- docs/models/operations/updatewebhookeventtypes.md
10781080
- docs/models/operations/updatewebhookrequest.md
10791081
- docs/models/operations/updatewebhookrequestbody.md
10801082
- docs/models/operations/updatewebhookresponse.md
@@ -4407,4 +4409,7 @@ examples:
44074409
"404":
44084410
application/hal+json: {"status": 404, "title": "Not Found", "detail": "The resource does not exist", "field": "description", "_links": {"documentation": {"href": "https://docs.mollie.com/errors", "type": "text/html"}}}
44094411
examplesVersion: 1.0.2
4410-
releaseNotes: "## Go SDK Changes:\n* `Client.Webhooks.List()`: `response.Embedded.Webhooks.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Clients.List()`: `response.Embedded.Clients.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Settlements.List-Payments()`: `response.Embedded.Payments.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Settlements.List-Captures()`: `response.Embedded.Captures.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Settlements.List-Refunds()`: `response.Embedded.Refunds.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Settlements.List-Chargebacks()`: `response.Embedded.Chargebacks.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Sales-Invoices.List()`: `response.Embedded.SalesInvoices.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Permissions.List()`: `response.Embedded.Permissions.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Profiles.List()`: `response.Embedded.Profiles.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Customers.List()`: `response.Embedded.Customers.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Settlements.List()`: `response.Embedded.Settlements.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Subscriptions.List()`: `response.Embedded.Subscriptions.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Balances.List()`: `response.Embedded.Balances.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Mandates.List()`: `response.Embedded.Mandates.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Methods.List()`: `response.Embedded.Methods.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Terminals.List()`: `response.Embedded.Terminals.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Delayed-Routing.List()`: `response.Embedded.Routes.[].Links.Documentation` **Removed** **Breaking** :warning:\n* `Client.Invoices.List()`: `response.Embedded.Invoices.[]` **Changed**\n* `Client.Balance-Transfers.Get()`: `response.Metadata` **Added**\n* `Client.Balance-Transfers.Create()`: \n * `request.Entity-Balance-Transfer.Metadata` **Added**\n * `response.Metadata` **Added**\n* `Client.Balance-Transfers.List()`: `response.Embedded.ConnectBalanceTransfers.[].Metadata` **Added**\n"
4412+
releaseNotes: |
4413+
## Go SDK Changes:
4414+
* `Client.Webhooks.Create()`: `request.RequestBody` **Changed** **Breaking** :warning:
4415+
* `Client.Webhooks.Update()`: `request.RequestBody` **Changed** **Breaking** :warning:

.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.9.0
32+
version: 0.9.1
3333
additionalDependencies: {}
3434
baseErrorName: ClientError
3535
clientServerStatusCodesAsErrors: true

.speakeasy/out.openapi.yaml

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9159,11 +9159,14 @@ paths:
91599159
description: The URL Mollie will send the events to. This URL must be publicly accessible.
91609160
example: https://mollie.com/
91619161
eventTypes:
9162-
type: string
9163-
description: |-
9164-
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
9165-
that require explicit selection. Separate multiple event types with a comma.
9166-
$ref: '#/components/schemas/webhook-event-types'
9162+
oneOf:
9163+
- type: array
9164+
description: |-
9165+
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
9166+
that require explicit selection.
9167+
items:
9168+
$ref: '#/components/schemas/webhook-event-types'
9169+
- $ref: '#/components/schemas/webhook-event-types'
91679170
testmode:
91689171
$ref: '#/components/schemas/testmode-create'
91699172
required:
@@ -9410,11 +9413,14 @@ paths:
94109413
description: The URL Mollie will send the events to. This URL must be publicly accessible.
94119414
example: https://mollie.com/
94129415
eventTypes:
9413-
type: string
9414-
description: |-
9415-
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
9416-
that require explicit selection. Separate multiple event types with a comma.
9417-
$ref: '#/components/schemas/webhook-event-types'
9416+
oneOf:
9417+
- type: array
9418+
description: |-
9419+
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
9420+
that require explicit selection.
9421+
items:
9422+
$ref: '#/components/schemas/webhook-event-types'
9423+
- $ref: '#/components/schemas/webhook-event-types'
94189424
testmode:
94199425
$ref: '#/components/schemas/testmode'
94209426
responses:
@@ -27488,7 +27494,6 @@ components:
2748827494
- multibanco
2748927495
- mybank
2749027496
- paybybank
27491-
- payconiq
2749227497
- paypal
2749327498
- paysafecard
2749427499
- przelewy24
@@ -27502,6 +27507,10 @@ components:
2750227507
- twint
2750327508
- vipps
2750427509
- voucher
27510+
x-deprecated-enum:
27511+
- payconiq
27512+
x-speakeasy-enum-descriptions:
27513+
payconiq: No longer available
2750527514
example: creditcard
2750627515
x-speakeasy-unknown-values: allow
2750727516
balance-card-issuer:
@@ -28971,7 +28980,6 @@ components:
2897128980
- multibanco
2897228981
- mybank
2897328982
- paybybank
28974-
- payconiq
2897528983
- paypal
2897628984
- paysafecard
2897728985
- pointofsale
@@ -31599,7 +31607,9 @@ components:
3159931607
x-speakeasy-unknown-values: allow
3160031608
webhook-event-types:
3160131609
type: string
31602-
description: The event's type
31610+
description: |-
31611+
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
31612+
that require explicit selection.
3160331613
x-speakeasy-name-override: webhook-event-types
3160431614
enum:
3160531615
- payment-link.paid
@@ -35442,7 +35452,6 @@ components:
3544235452
- multibanco
3544335453
- mybank
3544435454
- paybybank
35445-
- payconiq
3544635455
- paypal
3544735456
- paysafecard
3544835457
- pointofsale
@@ -35457,10 +35466,12 @@ components:
3545735466
- klarnapaylater
3545835467
- klarnapaynow
3545935468
- klarnasliceit
35469+
- payconiq
3546035470
x-speakeasy-enum-descriptions:
3546135471
klarnapaylater: Deprecated, use 'klarna' instead
3546235472
klarnapaynow: Deprecated, use 'klarna' instead
3546335473
klarnasliceit: Deprecated, use 'klarna' instead
35474+
payconiq: No longer available
3546435475
x-speakeasy-unknown-values: allow
3546535476
capture-mode-response:
3546635477
type:
@@ -36267,7 +36278,9 @@ components:
3626736278
x-speakeasy-unknown-values: allow
3626836279
webhook-event-types-response:
3626936280
type: string
36270-
description: The event's type
36281+
description: |-
36282+
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
36283+
that require explicit selection.
3627136284
x-speakeasy-name-override: webhook-event-types
3627236285
enum:
3627336286
- payment-link.paid

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.668.0
1+
speakeasyVersion: 1.668.1
22
sources:
33
Mollie API:
44
sourceNamespace: mollie-api
5-
sourceRevisionDigest: sha256:f0a61d15b9d1465e61db349bba3c761a2562a0f2162ca914a689df9b5d4ff3d4
6-
sourceBlobDigest: sha256:da303ff846e544b468b01a4f5301f30f4011bada61690c044fbc1fa7d8e866fc
5+
sourceRevisionDigest: sha256:63b5bde0a54fc156aae664d44e6934ff588379b4779bf170e7ad355f8bdc8457
6+
sourceBlobDigest: sha256:361769a7b457d54c9ff8d9777f779de8be90d755c5a762bd3f6a7eade600d3b6
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1764866155
9+
- speakeasy-sdk-regen-1764928590
1010
- 1.0.0
1111
targets:
1212
mollie-api-golang:
1313
source: Mollie API
1414
sourceNamespace: mollie-api
15-
sourceRevisionDigest: sha256:f0a61d15b9d1465e61db349bba3c761a2562a0f2162ca914a689df9b5d4ff3d4
16-
sourceBlobDigest: sha256:da303ff846e544b468b01a4f5301f30f4011bada61690c044fbc1fa7d8e866fc
15+
sourceRevisionDigest: sha256:63b5bde0a54fc156aae664d44e6934ff588379b4779bf170e7ad355f8bdc8457
16+
sourceBlobDigest: sha256:361769a7b457d54c9ff8d9777f779de8be90d755c5a762bd3f6a7eade600d3b6
1717
codeSamplesNamespace: mollie-api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:b7466f72ffa41cf39acbd40c66a8bd0d0823626330be432136f82ac622755892
18+
codeSamplesRevisionDigest: sha256:f0eacced3f1080020c75c5e2c943ae8c95cc13f2c9d85c4a5b1d866e1bb1d14d
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
@@ -338,4 +338,14 @@ Based on:
338338
### Generated
339339
- [go v0.9.0] .
340340
### Releases
341-
- [Go v0.9.0] https://github.com/mollie/mollie-api-golang/releases/tag/v0.9.0 - .
341+
- [Go v0.9.0] https://github.com/mollie/mollie-api-golang/releases/tag/v0.9.0 - .
342+
343+
## 2025-12-05 09:56:12
344+
### Changes
345+
Based on:
346+
- OpenAPI Doc
347+
- Speakeasy CLI 1.668.1 (2.770.0) https://github.com/speakeasy-api/speakeasy
348+
### Generated
349+
- [go v0.9.1] .
350+
### Releases
351+
- [Go v0.9.1] https://github.com/mollie/mollie-api-golang/releases/tag/v0.9.1 - .

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.9.0",
175+
SDKVersion: "0.9.1",
176176
sdkConfiguration: config.SDKConfiguration{
177-
UserAgent: "speakeasy-sdk/go 0.9.0 2.770.0 1.0.0 github.com/mollie/mollie-api-golang",
177+
UserAgent: "speakeasy-sdk/go 0.9.1 2.770.0 1.0.0 github.com/mollie/mollie-api-golang",
178178
Globals: globals.Globals{},
179179
ServerList: ServerList,
180180
},

docs/models/components/entitymethodid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ method selection screen will be skipped.
3131
| `EntityMethodIDMultibanco` | multibanco |
3232
| `EntityMethodIDMybank` | mybank |
3333
| `EntityMethodIDPaybybank` | paybybank |
34-
| `EntityMethodIDPayconiq` | payconiq |
3534
| `EntityMethodIDPaypal` | paypal |
3635
| `EntityMethodIDPaysafecard` | paysafecard |
3736
| `EntityMethodIDPointofsale` | pointofsale |
@@ -45,4 +44,5 @@ method selection screen will be skipped.
4544
| `EntityMethodIDVoucher` | voucher |
4645
| `EntityMethodIDKlarnapaylater` | klarnapaylater |
4746
| `EntityMethodIDKlarnapaynow` | klarnapaynow |
48-
| `EntityMethodIDKlarnasliceit` | klarnasliceit |
47+
| `EntityMethodIDKlarnasliceit` | klarnasliceit |
48+
| `EntityMethodIDPayconiq` | payconiq |

docs/models/components/entitywebhookeventwebhookeventtypes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# EntityWebhookEventWebhookEventTypes
22

3-
The event's type
3+
The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
4+
that require explicit selection.
45

56

67
## Values

docs/models/components/listentitymethodallid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ method selection screen will be skipped.
3131
| `ListEntityMethodAllIDMultibanco` | multibanco |
3232
| `ListEntityMethodAllIDMybank` | mybank |
3333
| `ListEntityMethodAllIDPaybybank` | paybybank |
34-
| `ListEntityMethodAllIDPayconiq` | payconiq |
3534
| `ListEntityMethodAllIDPaypal` | paypal |
3635
| `ListEntityMethodAllIDPaysafecard` | paysafecard |
3736
| `ListEntityMethodAllIDPointofsale` | pointofsale |
@@ -45,4 +44,5 @@ method selection screen will be skipped.
4544
| `ListEntityMethodAllIDVoucher` | voucher |
4645
| `ListEntityMethodAllIDKlarnapaylater` | klarnapaylater |
4746
| `ListEntityMethodAllIDKlarnapaynow` | klarnapaynow |
48-
| `ListEntityMethodAllIDKlarnasliceit` | klarnasliceit |
47+
| `ListEntityMethodAllIDKlarnasliceit` | klarnasliceit |
48+
| `ListEntityMethodAllIDPayconiq` | payconiq |

docs/models/components/listentitymethodid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ method selection screen will be skipped.
3131
| `ListEntityMethodIDMultibanco` | multibanco |
3232
| `ListEntityMethodIDMybank` | mybank |
3333
| `ListEntityMethodIDPaybybank` | paybybank |
34-
| `ListEntityMethodIDPayconiq` | payconiq |
3534
| `ListEntityMethodIDPaypal` | paypal |
3635
| `ListEntityMethodIDPaysafecard` | paysafecard |
3736
| `ListEntityMethodIDPointofsale` | pointofsale |
@@ -45,4 +44,5 @@ method selection screen will be skipped.
4544
| `ListEntityMethodIDVoucher` | voucher |
4645
| `ListEntityMethodIDKlarnapaylater` | klarnapaylater |
4746
| `ListEntityMethodIDKlarnapaynow` | klarnapaynow |
48-
| `ListEntityMethodIDKlarnasliceit` | klarnasliceit |
47+
| `ListEntityMethodIDKlarnasliceit` | klarnasliceit |
48+
| `ListEntityMethodIDPayconiq` | payconiq |

0 commit comments

Comments
 (0)