1
1
lockVersion: 2.0.0
2
2
id: e7f2de70-a9ae-48d3-92f6-da15e6733a27
3
3
management:
4
- docChecksum: 70f4b001216eeab70ec5d029d5e430c3
4
+ docChecksum: b0f01aec457cc91ea8f087c1cb410d91
5
5
docVersion: 0.1.0
6
- speakeasyVersion: 1.581.2
7
- generationVersion: 2.656.9
8
- releaseVersion: 0.7.2
9
- configChecksum: a9bc7dd18cdfcb387fe68fba0a158c54
6
+ speakeasyVersion: 1.583.1
7
+ generationVersion: 2.658.3
8
+ releaseVersion: 0.7.3
9
+ configChecksum: f9491fdc07975a59cb85dc6765347efa
10
10
repoURL: https://github.com/polarsource/polar-go.git
11
11
installationURL: https://github.com/polarsource/polar-go
12
12
features:
@@ -185,6 +185,7 @@ generatedFiles:
185
185
- /models/components/customerordersubscription.go
186
186
- /models/components/customerorderupdate.go
187
187
- /models/components/customerorganization.go
188
+ - /models/components/customerpaymentmethod.go
188
189
- /models/components/customerpaymentmethodcreate.go
189
190
- /models/components/customerportalcustomer.go
190
191
- /models/components/customerportalcustomerupdate.go
@@ -305,6 +306,7 @@ generatedFiles:
305
306
- /models/components/listresourcecustomercustomermeter.go
306
307
- /models/components/listresourcecustomermeter.go
307
308
- /models/components/listresourcecustomerorder.go
309
+ - /models/components/listresourcecustomerpaymentmethod.go
308
310
- /models/components/listresourcecustomersubscription.go
309
311
- /models/components/listresourcecustomfield.go
310
312
- /models/components/listresourcediscount.go
@@ -319,7 +321,6 @@ generatedFiles:
319
321
- /models/components/listresourceproduct.go
320
322
- /models/components/listresourcerefund.go
321
323
- /models/components/listresourcesubscription.go
322
- - /models/components/listresourceunionpaymentmethodcardpaymentmethodgeneric.go
323
324
- /models/components/listresourcewebhookdelivery.go
324
325
- /models/components/listresourcewebhookendpoint.go
325
326
- /models/components/meter.go
@@ -589,6 +590,7 @@ generatedFiles:
589
590
- /models/operations/webhookslistwebhookdeliveries.go
590
591
- /models/operations/webhookslistwebhookendpoints.go
591
592
- /models/operations/webhooksredeliverwebhookevent.go
593
+ - /models/operations/webhooksresetwebhookendpointsecret.go
592
594
- /models/operations/webhooksupdatewebhookendpoint.go
593
595
- /models/webhooks/endpointbenefitcreatedpost.go
594
596
- /models/webhooks/endpointbenefitgrantcreatedpost.go
@@ -840,6 +842,7 @@ generatedFiles:
840
842
- docs/models/components/customerordersubscription.md
841
843
- docs/models/components/customerorderupdate.md
842
844
- docs/models/components/customerorganization.md
845
+ - docs/models/components/customerpaymentmethod.md
843
846
- docs/models/components/customerpaymentmethodcreate.md
844
847
- docs/models/components/customerportalcustomer.md
845
848
- docs/models/components/customerportalcustomertaxid.md
@@ -986,7 +989,6 @@ generatedFiles:
986
989
- docs/models/components/introspecttokenrequest.md
987
990
- docs/models/components/introspecttokenrequesttokentypehint.md
988
991
- docs/models/components/introspecttokenresponse.md
989
- - docs/models/components/items.md
990
992
- docs/models/components/legacyrecurringproductprice.md
991
993
- docs/models/components/legacyrecurringproductpricecustom.md
992
994
- docs/models/components/legacyrecurringproductpricefixed.md
@@ -1016,6 +1018,7 @@ generatedFiles:
1016
1018
- docs/models/components/listresourcecustomercustomermeter.md
1017
1019
- docs/models/components/listresourcecustomermeter.md
1018
1020
- docs/models/components/listresourcecustomerorder.md
1021
+ - docs/models/components/listresourcecustomerpaymentmethod.md
1019
1022
- docs/models/components/listresourcecustomersubscription.md
1020
1023
- docs/models/components/listresourcecustomfield.md
1021
1024
- docs/models/components/listresourcediscount.md
@@ -1030,7 +1033,6 @@ generatedFiles:
1030
1033
- docs/models/components/listresourceproduct.md
1031
1034
- docs/models/components/listresourcerefund.md
1032
1035
- docs/models/components/listresourcesubscription.md
1033
- - docs/models/components/listresourceunionpaymentmethodcardpaymentmethodgeneric.md
1034
1036
- docs/models/components/listresourcewebhookdelivery.md
1035
1037
- docs/models/components/listresourcewebhookendpoint.md
1036
1038
- docs/models/components/loc.md
@@ -1311,7 +1313,6 @@ generatedFiles:
1311
1313
- docs/models/operations/customerportalcustomermeterslistresponse.md
1312
1314
- docs/models/operations/customerportalcustomermeterslistsecurity.md
1313
1315
- docs/models/operations/customerportalcustomersaddpaymentmethodresponse.md
1314
- - docs/models/operations/customerportalcustomersaddpaymentmethodresponsecustomerportalcustomersaddpaymentmethod.md
1315
1316
- docs/models/operations/customerportalcustomersaddpaymentmethodsecurity.md
1316
1317
- docs/models/operations/customerportalcustomersdeletepaymentmethodrequest.md
1317
1318
- docs/models/operations/customerportalcustomersdeletepaymentmethodresponse.md
@@ -1570,6 +1571,8 @@ generatedFiles:
1570
1571
- docs/models/operations/webhookslistwebhookendpointsresponse.md
1571
1572
- docs/models/operations/webhooksredeliverwebhookeventrequest.md
1572
1573
- docs/models/operations/webhooksredeliverwebhookeventresponse.md
1574
+ - docs/models/operations/webhooksresetwebhookendpointsecretrequest.md
1575
+ - docs/models/operations/webhooksresetwebhookendpointsecretresponse.md
1573
1576
- docs/models/operations/webhooksupdatewebhookendpointrequest.md
1574
1577
- docs/models/operations/webhooksupdatewebhookendpointresponse.md
1575
1578
- docs/models/webhooks/endpointbenefitcreatedpostresponse.md
@@ -3365,16 +3368,16 @@ examples:
3365
3368
limit: 10
3366
3369
responses:
3367
3370
"200":
3368
- application/json: {"items": [{"created_at": "2023-07-05T09:44:10.221Z", "modified_at": null, "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "discord", "organization_id": "<value>", "events": ["order.created"]}], "pagination": {"total_count": 849585, "max_page": 594288}}
3371
+ application/json: {"items": [{"created_at": "2023-07-05T09:44:10.221Z", "modified_at": null, "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "discord", "secret": "polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK", " organization_id": "<value>", "events": ["order.created"]}], "pagination": {"total_count": 849585, "max_page": 594288}}
3369
3372
"422":
3370
3373
application/json: {}
3371
3374
webhooks:create_webhook_endpoint:
3372
3375
speakeasy-default-webhooks:create-webhook-endpoint:
3373
3376
requestBody:
3374
- application/json: {"url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "secret": "f_z6mfSpxkjogyw3FkA2aH2gYE5huxruNf34MpdWMcA", " events": ["subscription.uncanceled"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}
3377
+ application/json: {"url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "events": ["subscription.uncanceled"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}
3375
3378
responses:
3376
3379
"201":
3377
- application/json: {"created_at": "2023-03-20T06:36:18.270Z", "modified_at": "2023-08-13T00:46:23.703Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "organization_id": "<value>", "events": []}
3380
+ application/json: {"created_at": "2023-03-20T06:36:18.270Z", "modified_at": "2023-08-13T00:46:23.703Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "secret": "polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK", " organization_id": "<value>", "events": []}
3378
3381
"422":
3379
3382
application/json: {}
3380
3383
webhooks:get_webhook_endpoint:
@@ -3384,7 +3387,7 @@ examples:
3384
3387
id: "<value>"
3385
3388
responses:
3386
3389
"200":
3387
- application/json: {"created_at": "2023-03-03T22:08:56.417Z", "modified_at": "2023-01-08T15:26:21.241Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "organization_id": "<value>", "events": []}
3390
+ application/json: {"created_at": "2023-03-03T22:08:56.417Z", "modified_at": "2023-01-08T15:26:21.241Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "secret": "polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK", " organization_id": "<value>", "events": []}
3388
3391
"404":
3389
3392
application/json: {"error": "ResourceNotFound", "detail": "<value>"}
3390
3393
"422":
@@ -3395,10 +3398,10 @@ examples:
3395
3398
path:
3396
3399
id: "<value>"
3397
3400
requestBody:
3398
- application/json: {"url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "secret": "f_z6mfSpxkjogyw3FkA2aH2gYE5huxruNf34MpdWMcA" }
3401
+ application/json: {"url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0"}
3399
3402
responses:
3400
3403
"200":
3401
- application/json: {"created_at": "2023-03-16T20:44:41.718Z", "modified_at": "2023-02-18T12:18:32.442Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "organization_id": "<value>", "events": ["customer.updated"]}
3404
+ application/json: {"created_at": "2023-03-16T20:44:41.718Z", "modified_at": "2023-02-18T12:18:32.442Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "secret": "polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK", " organization_id": "<value>", "events": ["customer.updated"]}
3402
3405
"404":
3403
3406
application/json: {"error": "ResourceNotFound", "detail": "<value>"}
3404
3407
"422":
@@ -3447,5 +3450,17 @@ examples:
3447
3450
application/json: {"items": [{"id": "<value>", "created_at": "2024-05-30T20:57:40.238Z", "modified_at": "2024-08-27T22:17:32.042Z", "processor": "stripe", "customer_id": "<value>", "type": "<value>"}], "pagination": {"total_count": 429718, "max_page": 448702}}
3448
3451
"422":
3449
3452
application/json: {}
3453
+ webhooks:reset_webhook_endpoint_secret:
3454
+ speakeasy-default-webhooks:reset-webhook-endpoint-secret:
3455
+ parameters:
3456
+ path:
3457
+ id: "<value>"
3458
+ responses:
3459
+ "200":
3460
+ application/json: {"created_at": "2025-06-29T10:59:52.479Z", "modified_at": "2025-03-25T12:04:45.812Z", "id": "<value>", "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0", "format": "slack", "secret": "polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK", "organization_id": "<value>", "events": []}
3461
+ "404":
3462
+ application/json: {"error": "ResourceNotFound", "detail": "<value>"}
3463
+ "422":
3464
+ application/json: {}
3450
3465
examplesVersion: 1.0.2
3451
3466
generatedTests: {}
0 commit comments