Skip to content

Commit

Permalink
Merge pull request #1 from apideck-libraries/speakeasy-sdk-regen-1733…
Browse files Browse the repository at this point in the history
…271838

chore: 🐝 Update SDK - Generate 0.0.2
  • Loading branch information
Amzani authored Dec 6, 2024
2 parents f390d24 + e0e796a commit 7b65695
Show file tree
Hide file tree
Showing 43 changed files with 592 additions and 242 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

<div align="center">
<a href="https://codespaces.new/apideck-libraries/sdk-go.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
</div>
<br>

> **Remember to shutdown a GitHub Codespace when it is not in use!**
# Dev Containers Quick Start
Expand Down
360 changes: 206 additions & 154 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.0.1
version: 0.0.2
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
15 changes: 8 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.449.0
speakeasyVersion: 1.453.0
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:f2467042d8f1c25aa5a878109a8c6a1cd30b46ef9f5b1711c883c31ea8c34788
sourceBlobDigest: sha256:4b80a2c2395b135e9bca4bd96d2937997844d28e01fc0696474a068db8b5371d
sourceRevisionDigest: sha256:57a1406fb7b19f3dbbc9e42802503119b4eae93f0ad402265bcd91657d50935c
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
tags:
- latest
- 10.8.1
- speakeasy-sdk-regen-1733271838
- 10.8.3
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:f2467042d8f1c25aa5a878109a8c6a1cd30b46ef9f5b1711c883c31ea8c34788
sourceBlobDigest: sha256:4b80a2c2395b135e9bca4bd96d2937997844d28e01fc0696474a068db8b5371d
sourceRevisionDigest: sha256:57a1406fb7b19f3dbbc9e42802503119b4eae93f0ad402265bcd91657d50935c
sourceBlobDigest: sha256:c78223a6f6e3fb5b1d9f0d663d8bd72bf35ecc3ed8435dd81561c45569a9f642
codeSamplesNamespace: apideck-go-code-samples
codeSamplesRevisionDigest: sha256:632b4b784c8210038c4aa3db6dfb3622b409d48f84f4ed0d59b6777e7baf433d
codeSamplesRevisionDigest: sha256:01ea616cf08c16766bafb22b8f9fcc61d92f38f83ab9ecc70d23c80b02b4c5a1
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ func main() {

This SDK supports the following security scheme globally:

| Name | Type | Scheme | Environment Variable |
| -------- | ------ | ------- | -------------------- |
| `APIKey` | apiKey | API key | `APIDECK_API_KEY` |
| Name | Type | Scheme | Environment Variable |
| -------- | ---- | ----------- | -------------------- |
| `APIKey` | http | HTTP Bearer | `APIDECK_API_KEY` |

You can configure it using the `WithSecurity` option when initializing the SDK client instance. For example:
```go
Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


## 2024-12-06 16:21:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.0 (2.472.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.0.2] .
### Releases
- [Go v0.0.2] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.0.2 - .
8 changes: 4 additions & 4 deletions apideck.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ func New(opts ...SDKOption) *Apideck {
sdk := &Apideck{
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "10.8.1",
SDKVersion: "0.0.1",
GenVersion: "2.467.4",
UserAgent: "speakeasy-sdk/go 0.0.1 2.467.4 10.8.1 github.com/apideck-libraries/sdk-go",
OpenAPIDocVersion: "10.8.3",
SDKVersion: "0.0.2",
GenVersion: "2.472.1",
UserAgent: "speakeasy-sdk/go 0.0.2 2.472.1 10.8.3 github.com/apideck-libraries/sdk-go",
Globals: globals.Globals{},
Hooks: hooks.New(),
},
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/expense.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
| `SupplierID` | **string* | :heavy_minus_sign: | The ID of the supplier this entity is linked to. | 12345 |
| `CompanyID` | **string* | :heavy_minus_sign: | The company or subsidiary id the transaction belongs to | 12345 |
| `DepartmentID` | **string* | :heavy_minus_sign: | The ID of the department this expense is linked to. | 12345 |
| `PaymentType` | [*components.ExpensePaymentType](../../models/components/expensepaymenttype.md) | :heavy_minus_sign: | The type of payment for the expense. | cash |
| `Currency` | [*components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
| `CurrencyRate` | **float64* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 |
| `Type` | [*components.ExpenseType](../../models/components/expensetype.md) | :heavy_minus_sign: | The type of expense. | expense |
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/expenseinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| `SupplierID` | **string* | :heavy_minus_sign: | The ID of the supplier this entity is linked to. | 12345 |
| `CompanyID` | **string* | :heavy_minus_sign: | The company or subsidiary id the transaction belongs to | 12345 |
| `DepartmentID` | **string* | :heavy_minus_sign: | The ID of the department this expense is linked to. | 12345 |
| `PaymentType` | [*components.ExpensePaymentType](../../models/components/expensepaymenttype.md) | :heavy_minus_sign: | The type of payment for the expense. | cash |
| `Currency` | [*components.Currency](../../models/components/currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
| `CurrencyRate` | **float64* | :heavy_minus_sign: | Currency Exchange Rate at the time entity was recorded/generated. | 0.69 |
| `Type` | [*components.ExpenseType](../../models/components/expensetype.md) | :heavy_minus_sign: | The type of expense. | expense |
Expand Down
12 changes: 12 additions & 0 deletions docs/models/components/expensepaymenttype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ExpensePaymentType

The type of payment for the expense.


## Values

| Name | Value |
| ------------------------------ | ------------------------------ |
| `ExpensePaymentTypeCash` | cash |
| `ExpensePaymentTypeCheck` | check |
| `ExpensePaymentTypeCreditCard` | credit_card |
Loading

0 comments on commit 7b65695

Please sign in to comment.