Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.79.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 7, 2023
1 parent d83dd6b commit 4b22254
Show file tree
Hide file tree
Showing 20 changed files with 240 additions and 243 deletions.
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,14 @@ Based on:
### Generated
- [go v1.4.0] .
### Releases
- [Go v1.4.0] https://github.com/smartcar/go-sdk-v2/releases/tag/v1.4.0 - .
- [Go v1.4.0] https://github.com/smartcar/go-sdk-v2/releases/tag/v1.4.0 - .

## 2023-09-07 00:02:52
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.79.0 (2.101.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v1.5.0] .
### Releases
- [Go v1.5.0] https://github.com/smartcar/go-sdk-v2/releases/tag/v1.5.0 - .
8 changes: 0 additions & 8 deletions docs/models/shared/chargelimit.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/models/shared/chargetime.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/models/shared/chargevoltage.md

This file was deleted.

60 changes: 30 additions & 30 deletions docs/models/shared/responsebody.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,94 +3,94 @@

## Supported Types

### Location
### Odometer

```go
responseBody := shared.CreateResponseBodyLocation(shared.Location{/* values here */})
responseBody := shared.CreateResponseBodyOdometer(shared.Odometer{/* values here */})
```

### Odometer
### EngineOil

```go
responseBody := shared.CreateResponseBodyOdometer(shared.Odometer{/* values here */})
responseBody := shared.CreateResponseBodyEngineOil(shared.EngineOil{/* values here */})
```

### FuelTank
### ChargeLimit

```go
responseBody := shared.CreateResponseBodyFuelTank(shared.FuelTank{/* values here */})
responseBody := shared.CreateResponseBodyChargeLimit(shared.ChargeLimit{/* values here */})
```

### TirePressure
### ChargeTime

```go
responseBody := shared.CreateResponseBodyTirePressure(shared.TirePressure{/* values here */})
responseBody := shared.CreateResponseBodyChargeTime(shared.ChargeTime{/* values here */})
```

### EngineOil
### ChargeVoltage

```go
responseBody := shared.CreateResponseBodyEngineOil(shared.EngineOil{/* values here */})
responseBody := shared.CreateResponseBodyChargeVoltage(shared.ChargeVoltage{/* values here */})
```

### ChargeStatus
### BatteryCapacity

```go
responseBody := shared.CreateResponseBodyChargeStatus(shared.ChargeStatus{/* values here */})
responseBody := shared.CreateResponseBodyBatteryCapacity(shared.BatteryCapacity{/* values here */})
```

### ChargeLimit
### VinInfo

```go
responseBody := shared.CreateResponseBodyChargeLimit(shared.ChargeLimit{/* values here */})
responseBody := shared.CreateResponseBodyVinInfo(shared.VinInfo{/* values here */})
```

### ChargeTime
### UserInfo

```go
responseBody := shared.CreateResponseBodyChargeTime(shared.ChargeTime{/* values here */})
responseBody := shared.CreateResponseBodyUserInfo(shared.UserInfo{/* values here */})
```

### ChargeVoltage
### Location

```go
responseBody := shared.CreateResponseBodyChargeVoltage(shared.ChargeVoltage{/* values here */})
responseBody := shared.CreateResponseBodyLocation(shared.Location{/* values here */})
```

### BatteryLevel
### ChargeStatus

```go
responseBody := shared.CreateResponseBodyBatteryLevel(shared.BatteryLevel{/* values here */})
responseBody := shared.CreateResponseBodyChargeStatus(shared.ChargeStatus{/* values here */})
```

### BatteryCapacity
### BatteryLevel

```go
responseBody := shared.CreateResponseBodyBatteryCapacity(shared.BatteryCapacity{/* values here */})
responseBody := shared.CreateResponseBodyBatteryLevel(shared.BatteryLevel{/* values here */})
```

### CompatibilityResponse
### SuccessResponse

```go
responseBody := shared.CreateResponseBodyCompatibilityResponse(shared.CompatibilityResponse{/* values here */})
responseBody := shared.CreateResponseBodySuccessResponse(shared.SuccessResponse{/* values here */})
```

### VinInfo
### FuelTank

```go
responseBody := shared.CreateResponseBodyVinInfo(shared.VinInfo{/* values here */})
responseBody := shared.CreateResponseBodyFuelTank(shared.FuelTank{/* values here */})
```

### UserInfo
### CompatibilityResponse

```go
responseBody := shared.CreateResponseBodyUserInfo(shared.UserInfo{/* values here */})
responseBody := shared.CreateResponseBodyCompatibilityResponse(shared.CompatibilityResponse{/* values here */})
```

### SuccessResponse
### TirePressure

```go
responseBody := shared.CreateResponseBodySuccessResponse(shared.SuccessResponse{/* values here */})
responseBody := shared.CreateResponseBodyTirePressure(shared.TirePressure{/* values here */})
```

### SecurityRead
Expand Down
30 changes: 15 additions & 15 deletions docs/sdks/vehicles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {
RequestBody: []string{
"/odometer",
},
VehicleID: "ipsa",
VehicleID: "architecto",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -114,7 +114,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.Disconnect(ctx, operations.DisconnectRequest{
VehicleID: "reiciendis",
VehicleID: "ipsa",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -183,7 +183,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.Get(ctx, operations.GetVehicleRequest{
VehicleID: "est",
VehicleID: "reiciendis",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -249,7 +249,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetEngineOil(ctx, operations.GetEngineOilRequest{
VehicleID: "mollitia",
VehicleID: "est",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -317,7 +317,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetFuelTank(ctx, operations.GetFuelTankRequest{
VehicleID: "laborum",
VehicleID: "mollitia",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -450,7 +450,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetOdometer(ctx, operations.GetOdometerRequest{
VehicleID: "dolores",
VehicleID: "laborum",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -523,9 +523,9 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetPermissions(ctx, operations.GetPermissionsRequest{
Limit: smartcar.Int64(210382),
Offset: smartcar.Int64(358152),
VehicleID: "explicabo",
Limit: smartcar.Int64(170909),
Offset: smartcar.Int64(210382),
VehicleID: "corporis",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -593,7 +593,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetTirePressure(ctx, operations.GetTirePressureRequest{
VehicleID: "nobis",
VehicleID: "explicabo",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -649,7 +649,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetVin(ctx, operations.GetVinRequest{
VehicleID: "enim",
VehicleID: "nobis",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -703,7 +703,7 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.GetVehiclesVehicleIDSecurity(ctx, operations.GetVehiclesVehicleIDSecurityRequest{
VehicleID: "omnis",
VehicleID: "enim",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -776,8 +776,8 @@ func main() {

ctx := context.Background()
res, err := s.Vehicles.ListVehicles(ctx, operations.ListVehiclesRequest{
Limit: smartcar.Int64(363711),
Offset: smartcar.Int64(325047),
Limit: smartcar.Int64(607831),
Offset: smartcar.Int64(363711),
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -846,7 +846,7 @@ func main() {
SecurityAction: &shared.SecurityAction{
Action: shared.SecurityActionActionUnlock.ToPointer(),
},
VehicleID: "excepturi",
VehicleID: "minima",
})
if err != nil {
log.Fatal(err)
Expand Down
8 changes: 4 additions & 4 deletions docs/sdks/webhooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func main() {
Vehicleid: smartcar.String("dc6ea99e-57d1-4e41-b129-27e7eb58713e"),
Webhookid: smartcar.String("9b6ae692-60cc-4b3e-89d8-71e7549cf805"),
},
VehicleID: "accusantium",
WebhookID: "iure",
VehicleID: "excepturi",
WebhookID: "accusantium",
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -117,8 +117,8 @@ func main() {

ctx := context.Background()
res, err := s.Webhooks.Unsubscribe(ctx, operations.UnsubscribeRequest{
VehicleID: "culpa",
WebhookID: "doloribus",
VehicleID: "iure",
WebhookID: "culpa",
})
if err != nil {
log.Fatal(err)
Expand Down
17 changes: 7 additions & 10 deletions files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,16 @@ docs/models/operations/subscriberequest.md
docs/models/operations/subscriberesponse.md
docs/models/operations/unsubscriberequest.md
docs/models/operations/unsubscriberesponse.md
docs/models/shared/chargetime.md
docs/models/shared/chargevoltage.md
docs/models/shared/compatibilityresponse.md
docs/models/shared/userinfo.md
docs/models/shared/location.md
docs/models/shared/successresponse.md
docs/models/shared/capability.md
docs/models/shared/batterycapacity.md
docs/models/shared/batterylevel.md
docs/models/shared/chargelimit.md
docs/models/shared/chargestatusstate.md
docs/models/shared/chargestatus.md
docs/models/shared/vininfo.md
docs/models/shared/chargestatusstate.md
docs/models/shared/batterycapacity.md
docs/models/shared/successresponsestatus.md
docs/models/shared/successresponse.md
docs/models/shared/chargeactionaction.md
docs/models/shared/chargeaction.md
docs/models/shared/chargeammeter.md
Expand All @@ -206,7 +205,7 @@ docs/models/shared/compass.md
docs/models/shared/temperature.md
docs/models/shared/speed.md
docs/models/shared/chargewattage.md
docs/models/shared/userinfo.md
docs/models/shared/compatibilityresponse.md
docs/models/shared/deletedconnection.md
docs/models/shared/connectionsresponse.md
docs/models/shared/cursorpaging.md
Expand All @@ -216,12 +215,10 @@ docs/models/shared/responsebody.md
docs/models/shared/responsecode.md
docs/models/shared/response.md
docs/models/shared/header.md
docs/models/shared/location.md
docs/models/shared/odometer.md
docs/models/shared/fueltank.md
docs/models/shared/tirepressure.md
docs/models/shared/engineoil.md
docs/models/shared/vininfo.md
docs/models/shared/securityreadchargingportstatus.md
docs/models/shared/securityreadchargingporttype.md
docs/models/shared/securityreadchargingport.md
Expand Down
15 changes: 8 additions & 7 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ configVersion: 1.0.0
management:
docChecksum: e3579991dc4b8af821112b6292856c57
docVersion: 1.0.0
speakeasyVersion: 1.75.0
generationVersion: 2.89.1
speakeasyVersion: 1.79.0
generationVersion: 2.101.0
generation:
comments:
disableComments: false
Expand All @@ -14,16 +14,17 @@ generation:
tagNamespacingDisabled: false
features:
go:
core: 2.85.0
examples: 2.81.1
core: 2.86.4
docs: 0.1.0
examples: 2.81.2
globalSecurity: 2.81.1
globalServerURLs: 2.82.0
methodSecurity: 2.81.1
methodSecurity: 2.81.2
methodServerURLs: 2.82.0
nameOverrides: 2.81.1
unions: 2.81.2
unions: 2.82.0
go:
version: 1.4.0
version: 1.5.0
clientServerStatusCodesAsErrors: true
maxMethodParams: 0
packageName: github.com/smartcar/go-sdk-v2
Loading

0 comments on commit 4b22254

Please sign in to comment.