Skip to content

Commit 1dac9a5

Browse files
committed
## Go SDK Changes Detected:
* `Apideck.Accounting.BankAccounts.List()`: `response.Data.[]` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.BankAccounts.Get()`: `response.Data` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.Expenses.List()`: * `request.Request.Filter` **Changed** * `response.Data.[]` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.Expenses.Create()`: * `request.Request.Expense` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.Expenses.Get()`: `response.Data` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.Expenses.Update()`: * `request.Request.Expense` **Changed** **Breaking** ⚠️ * `Apideck.Accounting.Suppliers.Create()`: * `request.Request.Supplier.Account` **Changed** * `Apideck.Accounting.Payments.List()`: `response.Data.[].Account` **Changed** * `Apideck.Accounting.Bills.Update()`: * `request.Request.Bill.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Invoices.List()`: `response.Data.[].LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Invoices.Create()`: * `request.Request.Invoice.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Invoices.Get()`: `response.Data.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Invoices.Update()`: * `request.Request.Invoice.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.InvoiceItems.List()`: `response.Data.[].AssetAccount` **Changed** * `Apideck.Accounting.InvoiceItems.Create()`: * `request.Request.InvoiceItem.AssetAccount` **Changed** * `Apideck.Accounting.InvoiceItems.Get()`: `response.Data.AssetAccount` **Changed** * `Apideck.Accounting.InvoiceItems.Update()`: * `request.Request.InvoiceItem.AssetAccount` **Changed** * `Apideck.Accounting.CreditNotes.List()`: `response.Data.[].Account` **Changed** * `Apideck.Accounting.CreditNotes.Create()`: * `request.Request.CreditNote.Account` **Changed** * `Apideck.Accounting.CreditNotes.Get()`: `response.Data.Account` **Changed** * `Apideck.Accounting.CreditNotes.Update()`: * `request.Request.CreditNote.Account` **Changed** * `Apideck.Accounting.Customers.List()`: `response.Data.[].Account` **Changed** * `Apideck.Accounting.Customers.Create()`: * `request.Request.Customer.Account` **Changed** * `Apideck.Accounting.Customers.Get()`: `response.Data.Account` **Changed** * `Apideck.Accounting.Customers.Update()`: * `request.Request.Customer.Account` **Changed** * `Apideck.Accounting.Suppliers.List()`: `response.Data.[].Account` **Changed** * `Apideck.Accounting.Bills.Create()`: * `request.Request.Bill.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Suppliers.Get()`: `response.Data.Account` **Changed** * `Apideck.Accounting.Suppliers.Update()`: * `request.Request.Supplier.Account` **Changed** * `Apideck.Accounting.Bills.Get()`: `response.Data.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Payments.Create()`: * `request.Request.Payment.Account` **Changed** * `Apideck.Accounting.Payments.Get()`: `response.Data.Account` **Changed** * `Apideck.Accounting.Payments.Update()`: * `request.Request.Payment.Account` **Changed** * `Apideck.Accounting.JournalEntries.List()`: `response.Data.[].LineItems.[]` **Changed** * `Apideck.Accounting.JournalEntries.Create()`: * `request.Request.JournalEntry.LineItems.[]` **Changed** * `Apideck.Accounting.JournalEntries.Get()`: `response.Data.LineItems.[]` **Changed** * `Apideck.Accounting.JournalEntries.Update()`: * `request.Request.JournalEntry.LineItems.[]` **Changed** * `Apideck.Accounting.PurchaseOrders.List()`: `response.Data.[].LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.PurchaseOrders.Create()`: * `request.Request.PurchaseOrder.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.PurchaseOrders.Get()`: `response.Data.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.PurchaseOrders.Update()`: * `request.Request.PurchaseOrder.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.BankAccounts.Create()`: * `request.Request.AccountingBankAccount` **Changed** * `Apideck.Accounting.BankAccounts.Update()`: * `request.Request.AccountingBankAccount` **Changed** * `Apideck.Accounting.BillPayments.List()`: `response.Data.[].Account` **Changed** * `Apideck.Accounting.Bills.List()`: `response.Data.[].LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.BillPayments.Create()`: * `request.Request.BillPayment.Account` **Changed** * `Apideck.Accounting.BillPayments.Get()`: `response.Data.Account` **Changed** * `Apideck.Accounting.BillPayments.Update()`: * `request.Request.BillPayment.Account` **Changed** * `Apideck.Accounting.Quotes.List()`: `response.Data.[].LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Quotes.Create()`: * `request.Request.Quote.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Quotes.Get()`: `response.Data.LineItems.[].LedgerAccount` **Changed** * `Apideck.Accounting.Quotes.Update()`: * `request.Request.Quote.LineItems.[].LedgerAccount` **Changed**
1 parent 631c8d2 commit 1dac9a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+2856
-614
lines changed

.speakeasy/gen.lock

Lines changed: 60 additions & 42 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ generation:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
2222
hoistGlobalSecurity: true
23+
schemas:
24+
allOfMergeStrategy: shallowMerge
2325
tests:
2426
generateTests: true
2527
generateNewTests: false
2628
skipResponseBodyAssertions: false
2729
go:
28-
version: 0.20.0
30+
version: 0.21.0
2931
additionalDependencies: {}
3032
allowUnknownFieldsInWeakUnions: false
3133
baseErrorName: ApideckError

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.638.0
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:284c332c5f33230229bc34bc3a70fb5e205f40df0d163f7911e41d874e0cb1c8
6-
sourceBlobDigest: sha256:cc1a0fc165bc74203fb1b352268314fd298f2abbd75dd8a29d132371b842d45e
5+
sourceRevisionDigest: sha256:d38f634aafc8bd67fab6d8580a3df253866a63416570d238f73e9f72ce0577ad
6+
sourceBlobDigest: sha256:4176a0d252e96d7734ac1c58d1f2a519ddc86675491690f88723e29950634315
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759403531
10-
- 10.21.4
9+
- speakeasy-sdk-regen-1760429787
10+
- 10.21.6
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:284c332c5f33230229bc34bc3a70fb5e205f40df0d163f7911e41d874e0cb1c8
16-
sourceBlobDigest: sha256:cc1a0fc165bc74203fb1b352268314fd298f2abbd75dd8a29d132371b842d45e
15+
sourceRevisionDigest: sha256:d38f634aafc8bd67fab6d8580a3df253866a63416570d238f73e9f72ce0577ad
16+
sourceBlobDigest: sha256:4176a0d252e96d7734ac1c58d1f2a519ddc86675491690f88723e29950634315
1717
codeSamplesNamespace: apideck-go-code-samples
18-
codeSamplesRevisionDigest: sha256:300912f63bebb92a8e74142e31d9878538ee0f62a8ffafe3319f2bd58b949401
18+
codeSamplesRevisionDigest: sha256:e34479086f2e56b8d37e339a0af298fd9d9b5eac6b6b759b55fa3767065477e9
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,4 +458,14 @@ Based on:
458458
### Generated
459459
- [go v0.20.0] .
460460
### Releases
461-
- [Go v0.20.0] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.20.0 - .
461+
- [Go v0.20.0] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.20.0 - .
462+
463+
## 2025-10-21 22:06:58
464+
### Changes
465+
Based on:
466+
- OpenAPI Doc
467+
- Speakeasy CLI 1.638.0 (2.728.0) https://github.com/speakeasy-api/speakeasy
468+
### Generated
469+
- [go v0.21.0] .
470+
### Releases
471+
- [Go v0.21.0] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.21.0 - .

apideck.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
package sdkgo
44

5-
// Generated from OpenAPI doc version 10.21.4 and generator version 2.723.11
5+
// Generated from OpenAPI doc version 10.21.6 and generator version 2.728.0
66

77
import (
88
"context"
@@ -154,9 +154,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
154154
// New creates a new instance of the SDK with the provided options
155155
func New(opts ...SDKOption) *Apideck {
156156
sdk := &Apideck{
157-
SDKVersion: "0.20.0",
157+
SDKVersion: "0.21.0",
158158
sdkConfiguration: config.SDKConfiguration{
159-
UserAgent: "speakeasy-sdk/go 0.20.0 2.723.11 10.21.4 github.com/apideck-libraries/sdk-go",
159+
UserAgent: "speakeasy-sdk/go 0.21.0 2.728.0 10.21.6 github.com/apideck-libraries/sdk-go",
160160
Globals: globals.Globals{},
161161
ServerList: ServerList,
162162
},

docs/models/components/accountingbankaccount.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
88
| `ID` | *string* | :heavy_check_mark: | A unique identifier for an object. | 12345 |
99
| `DisplayID` | **string* | :heavy_minus_sign: | Display ID for the bank account | BA-001 |
10-
| `Name` | **string* | :heavy_minus_sign: | The name of the bank account as it appears in the accounting system | Main Operating Account |
11-
| `AccountNumber` | **string* | :heavy_minus_sign: | The bank account number | 1234567890 |
10+
| `Name` | **string* | :heavy_minus_sign: | The name of the bank account | Main Operating Account |
11+
| `AccountNumber` | **string* | :heavy_minus_sign: | The bank account number | 123465 |
1212
| `AccountType` | [*components.AccountingBankAccountAccountType](../../models/components/accountingbankaccountaccounttype.md) | :heavy_minus_sign: | The type of bank account | checking |
13+
| `LedgerAccount` | [*components.LinkedLedgerAccount](../../models/components/linkedledgeraccount.md) | :heavy_minus_sign: | N/A | |
1314
| `BankName` | **string* | :heavy_minus_sign: | The name of the bank or financial institution | Chase Bank |
1415
| `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 |
1516
| `Balance` | **float64* | :heavy_minus_sign: | The current balance of the bank account | 25000 |

docs/models/components/accountingbankaccountaccounttype.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ The type of bank account
1212
| `AccountingBankAccountAccountTypeCreditCard` | credit_card |
1313
| `AccountingBankAccountAccountTypeMoneyMarket` | money_market |
1414
| `AccountingBankAccountAccountTypeLineOfCredit` | line_of_credit |
15-
| `AccountingBankAccountAccountTypeOther` | other |
15+
| `AccountingBankAccountAccountTypeOther` | other |
16+
| `AccountingBankAccountAccountTypeCash` | cash |

docs/models/components/accountingbankaccountinput.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
| Field | Type | Required | Description | Example |
77
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
88
| `DisplayID` | **string* | :heavy_minus_sign: | Display ID for the bank account | BA-001 |
9-
| `Name` | **string* | :heavy_minus_sign: | The name of the bank account as it appears in the accounting system | Main Operating Account |
10-
| `AccountNumber` | **string* | :heavy_minus_sign: | The bank account number | 1234567890 |
9+
| `Name` | **string* | :heavy_minus_sign: | The name of the bank account | Main Operating Account |
10+
| `AccountNumber` | **string* | :heavy_minus_sign: | The bank account number | 123465 |
1111
| `AccountType` | [*components.AccountingBankAccountAccountType](../../models/components/accountingbankaccountaccounttype.md) | :heavy_minus_sign: | The type of bank account | checking |
12+
| `LedgerAccount` | [*components.LinkedLedgerAccountInput](../../models/components/linkedledgeraccountinput.md) | :heavy_minus_sign: | N/A | |
1213
| `BankName` | **string* | :heavy_minus_sign: | The name of the bank or financial institution | Chase Bank |
1314
| `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 |
1415
| `Balance` | **float64* | :heavy_minus_sign: | The current balance of the bank account | 25000 |

0 commit comments

Comments
 (0)