Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.505.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Feb 27, 2025
1 parent 593c5cf commit afd7f37
Show file tree
Hide file tree
Showing 77 changed files with 1,822 additions and 452 deletions.
151 changes: 110 additions & 41 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
go:
version: 0.4.0
version: 0.4.1
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.503.0
speakeasyVersion: 1.505.2
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:11ecd95e33d2843cb03b1f80d3dd4608b8d275da915c7ffce3f955ff2457a538
sourceBlobDigest: sha256:8576f7abe4e3ede26dd81dcf754e97232ff5907f92d61e89e4c3649729d62af7
sourceRevisionDigest: sha256:c8824dee43efde7a9686cf75a3ca50badefdac87a71af86d06d21627d0651023
sourceBlobDigest: sha256:e8c271d918ce36481891a718e7a8729e4ba758d2057c51727b947fb5d8413ca4
tags:
- latest
- speakeasy-sdk-regen-1740505850
- speakeasy-sdk-regen-1740615907
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:11ecd95e33d2843cb03b1f80d3dd4608b8d275da915c7ffce3f955ff2457a538
sourceBlobDigest: sha256:8576f7abe4e3ede26dd81dcf754e97232ff5907f92d61e89e4c3649729d62af7
sourceRevisionDigest: sha256:c8824dee43efde7a9686cf75a3ca50badefdac87a71af86d06d21627d0651023
sourceBlobDigest: sha256:e8c271d918ce36481891a718e7a8729e4ba758d2057c51727b947fb5d8413ca4
codeSamplesNamespace: polar-oas-code-samples-go
codeSamplesRevisionDigest: sha256:0cf580a2439774206e3c0e6f1bb02ba60e504b43637860babce33f262757041b
codeSamplesRevisionDigest: sha256:a8154f9642bfeb9aa971d0aa6e43e8b56eccc37dbb1fe3c19cb31ba971f17bca
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,9 @@ func main() {
* [Get](docs/sdks/customers/README.md#get) - Get Customer
* [Update](docs/sdks/customers/README.md#update) - Update Customer
* [Delete](docs/sdks/customers/README.md#delete) - Delete Customer
* [GetExternal](docs/sdks/customers/README.md#getexternal) - Get Customer by External ID
* [UpdateExternal](docs/sdks/customers/README.md#updateexternal) - Update Customer by External ID
* [DeleteExternal](docs/sdks/customers/README.md#deleteexternal) - Delete Customer by External ID

### [CustomerSessions](docs/sdks/customersessions/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,14 @@ Based on:
### Generated
- [go v0.4.0] .
### Releases
- [Go v0.4.0] https://github.com/polarsource/polar-go/releases/tag/v0.4.0 - .
- [Go v0.4.0] https://github.com/polarsource/polar-go/releases/tag/v0.4.0 - .

## 2025-02-27 15:50:04
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.505.2 (2.531.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.4.1] .
### Releases
- [Go v0.4.1] https://github.com/polarsource/polar-go/releases/tag/v0.4.1 - .
2 changes: 0 additions & 2 deletions checkouts.go
Original file line number Diff line number Diff line change
Expand Up @@ -1612,8 +1612,6 @@ func (s *Checkouts) ClientUpdate(ctx context.Context, clientSecret string, check
// Confirm a checkout session by client secret.
//
// Orders and subscriptions will be processed.
//
// **Scopes**:
func (s *Checkouts) ClientConfirm(ctx context.Context, clientSecret string, checkoutConfirmStripe components.CheckoutConfirmStripe, opts ...operations.Option) (*operations.CheckoutsClientConfirmResponse, error) {
request := operations.CheckoutsClientConfirmRequest{
ClientSecret: clientSecret,
Expand Down
10 changes: 0 additions & 10 deletions clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ func newClients(sdkConfig sdkConfiguration) *Clients {

// List Clients
// List OAuth2 clients.
//
// **Scopes**:
func (s *Clients) List(ctx context.Context, page *int64, limit *int64, opts ...operations.Option) (*operations.Oauth2ClientsListResponse, error) {
request := operations.Oauth2ClientsListRequest{
Page: page,
Expand Down Expand Up @@ -324,8 +322,6 @@ func (s *Clients) List(ctx context.Context, page *int64, limit *int64, opts ...o

// Create Client
// Create an OAuth2 client.
//
// **Scopes**:
func (s *Clients) Create(ctx context.Context, request components.OAuth2ClientConfiguration, opts ...operations.Option) (*operations.Oauth2ClientsOauth2CreateClientResponse, error) {
o := operations.Options{}
supportedOptions := []string{
Expand Down Expand Up @@ -556,8 +552,6 @@ func (s *Clients) Create(ctx context.Context, request components.OAuth2ClientCon

// Get Client
// Get an OAuth2 client by Client ID.
//
// **Scopes**:
func (s *Clients) Get(ctx context.Context, clientID string, opts ...operations.Option) (*operations.Oauth2ClientsOauth2GetClientResponse, error) {
request := operations.Oauth2ClientsOauth2GetClientRequest{
ClientID: clientID,
Expand Down Expand Up @@ -785,8 +779,6 @@ func (s *Clients) Get(ctx context.Context, clientID string, opts ...operations.O

// Update Client
// Update an OAuth2 client.
//
// **Scopes**:
func (s *Clients) Update(ctx context.Context, clientID string, oAuth2ClientConfigurationUpdate components.OAuth2ClientConfigurationUpdate, opts ...operations.Option) (*operations.Oauth2ClientsOauth2UpdateClientResponse, error) {
request := operations.Oauth2ClientsOauth2UpdateClientRequest{
ClientID: clientID,
Expand Down Expand Up @@ -1022,8 +1014,6 @@ func (s *Clients) Update(ctx context.Context, clientID string, oAuth2ClientConfi

// Delete Client
// Delete an OAuth2 client.
//
// **Scopes**:
func (s *Clients) Delete(ctx context.Context, clientID string, opts ...operations.Option) (*operations.Oauth2ClientsOauth2DeleteClientResponse, error) {
request := operations.Oauth2ClientsOauth2DeleteClientRequest{
ClientID: clientID,
Expand Down
Loading

0 comments on commit afd7f37

Please sign in to comment.