Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.462.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Jan 6, 2025
1 parent 9d4f0d4 commit 76d2e2f
Show file tree
Hide file tree
Showing 54 changed files with 1,676 additions and 145 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.speakeasy/reports
# .gitignore
109 changes: 85 additions & 24 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 @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
go:
version: 0.1.0
version: 0.1.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.460.3
speakeasyVersion: 1.462.2
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a24ffa455a8e44435bf18a185079bc041ff281016e0ecbb6631ee6e80f16fe41
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
sourceRevisionDigest: sha256:fecb7f7938f9cf5c7ae59c8c7d76ee6a7358b33084100f3d41ae753d07c04947
sourceBlobDigest: sha256:398c9f59267a22778a0c1d81a0af8aba96905725604b19b09ed181396b0b56d3
tags:
- latest
- speakeasy-sdk-regen-1734740633
- speakeasy-sdk-regen-1735950230
- 0.1.0
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:a24ffa455a8e44435bf18a185079bc041ff281016e0ecbb6631ee6e80f16fe41
sourceBlobDigest: sha256:6dbfe2107a5935633f4599b35f6b7ea72d04e2464bad60267066c53a1cc17e5c
sourceRevisionDigest: sha256:fecb7f7938f9cf5c7ae59c8c7d76ee6a7358b33084100f3d41ae753d07c04947
sourceBlobDigest: sha256:398c9f59267a22778a0c1d81a0af8aba96905725604b19b09ed181396b0b56d3
codeSamplesNamespace: polar-oas-code-samples-go
codeSamplesRevisionDigest: sha256:4c06c61c1cf5b5c05f09894a0abd36d5bf861172f4c9c474ed2a0f02a0be3f52
codeSamplesRevisionDigest: sha256:cb65c6848c857d30737c3d8a236c0327ff3dc4f6673bdfc1b13b53145180a979
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ func main() {

* [List](docs/sdks/subscriptions/README.md#list) - List Subscriptions
* [Export](docs/sdks/subscriptions/README.md#export) - Export Subscriptions
* [Update](docs/sdks/subscriptions/README.md#update) - Update Subscription
* [Revoke](docs/sdks/subscriptions/README.md#revoke) - Revoke Subscription

</details>
<!-- End Available Resources and Operations [operations] -->
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ Based on:
### Generated
- [go v0.1.0] .
### Releases
- [Go v0.1.0] https://github.com/polarsource/polar-go/releases/tag/v0.1.0 - .
- [Go v0.1.0] https://github.com/polarsource/polar-go/releases/tag/v0.1.0 - .

## 2025-01-06 00:25:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.462.2 (2.486.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.1.1] .
### Releases
- [Go v0.1.1] https://github.com/polarsource/polar-go/releases/tag/v0.1.1 - .
32 changes: 25 additions & 7 deletions codeSamples.yaml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions docs/models/components/customercancellationreason.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# CustomerCancellationReason


## Values

| Name | Value |
| ------------------------------------------- | ------------------------------------------- |
| `CustomerCancellationReasonCustomerService` | customer_service |
| `CustomerCancellationReasonLowQuality` | low_quality |
| `CustomerCancellationReasonMissingFeatures` | missing_features |
| `CustomerCancellationReasonSwitchedService` | switched_service |
| `CustomerCancellationReasonTooComplex` | too_complex |
| `CustomerCancellationReasonTooExpensive` | too_expensive |
| `CustomerCancellationReasonUnused` | unused |
| `CustomerCancellationReasonOther` | other |
6 changes: 5 additions & 1 deletion docs/models/components/customerordersubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
| `CurrentPeriodStart` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CurrentPeriodEnd` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CancelAtPeriodEnd` | *bool* | :heavy_check_mark: | N/A |
| `CanceledAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `StartedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `EndsAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `EndedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CustomerID` | *string* | :heavy_check_mark: | N/A |
| `ProductID` | *string* | :heavy_check_mark: | N/A |
| `PriceID` | *string* | :heavy_check_mark: | N/A |
| `DiscountID` | *string* | :heavy_check_mark: | N/A |
| `CheckoutID` | *string* | :heavy_check_mark: | N/A |
| `CheckoutID` | *string* | :heavy_check_mark: | N/A |
| `CustomerCancellationReason` | [components.CustomerCancellationReason](../../models/components/customercancellationreason.md) | :heavy_check_mark: | N/A |
| `CustomerCancellationComment` | *string* | :heavy_check_mark: | N/A |
4 changes: 4 additions & 0 deletions docs/models/components/customersubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
| `CurrentPeriodStart` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CurrentPeriodEnd` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CancelAtPeriodEnd` | *bool* | :heavy_check_mark: | N/A |
| `CanceledAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `StartedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `EndsAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `EndedAt` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A |
| `CustomerID` | *string* | :heavy_check_mark: | N/A |
| `ProductID` | *string* | :heavy_check_mark: | N/A |
| `PriceID` | *string* | :heavy_check_mark: | N/A |
| `DiscountID` | *string* | :heavy_check_mark: | N/A |
| `CheckoutID` | *string* | :heavy_check_mark: | N/A |
| `CustomerCancellationReason` | [components.CustomerCancellationReason](../../models/components/customercancellationreason.md) | :heavy_check_mark: | N/A |
| `CustomerCancellationComment` | *string* | :heavy_check_mark: | N/A |
| ~~`UserID`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. |
| `Product` | [components.CustomerSubscriptionProduct](../../models/components/customersubscriptionproduct.md) | :heavy_check_mark: | N/A |
| `Price` | [components.ProductPrice](../../models/components/productprice.md) | :heavy_check_mark: | N/A |
Loading

0 comments on commit 76d2e2f

Please sign in to comment.