Skip to content

Commit c4145b8

Browse files
authored
Merge pull request #59 from apideck-libraries/speakeasy-sdk-regen-1761736945
chore: 🐝 Update SDK - Generate 0.18.1
2 parents 65ccd99 + ad3a112 commit c4145b8

File tree

119 files changed

+348
-333
lines changed

Some content is hidden

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

119 files changed

+348
-333
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f306da52-7172-441d-9f8c-9d055cef9c2a
33
management:
4-
docChecksum: a72cfc70644d3aa2ad0b1fd3f53202be
5-
docVersion: 10.21.6
6-
speakeasyVersion: 1.638.0
7-
generationVersion: 2.728.0
8-
releaseVersion: 0.18.0
9-
configChecksum: ea98e53cfcc7550eb14770102131d97f
4+
docChecksum: 0b8f08924226654aa94e8403c482d651
5+
docVersion: 10.21.7
6+
speakeasyVersion: 1.642.2
7+
generationVersion: 2.731.6
8+
releaseVersion: 0.18.1
9+
configChecksum: c1020fcefc839a8e53e480b1defe1a21
1010
repoURL: https://github.com/apideck-libraries/sdk-csharp.git
1111
published: true
1212
features:
@@ -2585,8 +2585,8 @@ generatedFiles:
25852585
- src/ApideckUnifySdk/Models/Components/Websites.cs
25862586
- src/ApideckUnifySdk/Models/Components/WorkPattern.cs
25872587
- src/ApideckUnifySdk/Models/Errors/APIException.cs
2588-
- src/ApideckUnifySdk/Models/Errors/ApideckError.cs
25892588
- src/ApideckUnifySdk/Models/Errors/BadRequestResponse.cs
2589+
- src/ApideckUnifySdk/Models/Errors/BaseException.cs
25902590
- src/ApideckUnifySdk/Models/Errors/Detail.cs
25912591
- src/ApideckUnifySdk/Models/Errors/NotFoundResponse.cs
25922592
- src/ApideckUnifySdk/Models/Errors/NotFoundResponseDetail.cs
@@ -18700,4 +18700,3 @@ examples:
1870018700
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
1870118701
examplesVersion: 1.0.2
1870218702
generatedTests: {}
18703-
releaseNotes: "## Csharp SDK Changes Detected:\n* `Apideck.Accounting.BankAccounts.List()`: `response.data.[]` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.BankAccounts.Get()`: `response.data` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.Expenses.List()`: \n * `request.Filter` **Changed**\n * `response.data.[]` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.Expenses.Create()`: \n * `request.Expense` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.Expenses.Get()`: `response.data` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.Expenses.Update()`: \n * `request.Expense` **Changed** **Breaking** :warning:\n* `Apideck.Accounting.Suppliers.Create()`: \n * `request.Supplier.Account` **Changed**\n* `Apideck.Accounting.Payments.List()`: `response.data.[].Account` **Changed**\n* `Apideck.Accounting.Bills.Update()`: \n * `request.Bill.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Invoices.List()`: `response.data.[].LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Invoices.Create()`: \n * `request.Invoice.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Invoices.Get()`: `response.data.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Invoices.Update()`: \n * `request.Invoice.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.InvoiceItems.List()`: `response.data.[].AssetAccount` **Changed**\n* `Apideck.Accounting.InvoiceItems.Create()`: \n * `request.InvoiceItem.AssetAccount` **Changed**\n* `Apideck.Accounting.InvoiceItems.Get()`: `response.data.AssetAccount` **Changed**\n* `Apideck.Accounting.InvoiceItems.Update()`: \n * `request.InvoiceItem.AssetAccount` **Changed**\n* `Apideck.Accounting.CreditNotes.List()`: `response.data.[].Account` **Changed**\n* `Apideck.Accounting.CreditNotes.Create()`: \n * `request.CreditNote.Account` **Changed**\n* `Apideck.Accounting.CreditNotes.Get()`: `response.data.Account` **Changed**\n* `Apideck.Accounting.CreditNotes.Update()`: \n * `request.CreditNote.Account` **Changed**\n* `Apideck.Accounting.Customers.List()`: `response.data.[].Account` **Changed**\n* `Apideck.Accounting.Customers.Create()`: \n * `request.Customer.Account` **Changed**\n* `Apideck.Accounting.Customers.Get()`: `response.data.Account` **Changed**\n* `Apideck.Accounting.Customers.Update()`: \n * `request.Customer.Account` **Changed**\n* `Apideck.Accounting.Suppliers.List()`: `response.data.[].Account` **Changed**\n* `Apideck.Accounting.Bills.Create()`: \n * `request.Bill.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Suppliers.Get()`: `response.data.Account` **Changed**\n* `Apideck.Accounting.Suppliers.Update()`: \n * `request.Supplier.Account` **Changed**\n* `Apideck.Accounting.Bills.Get()`: `response.data.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Payments.Create()`: \n * `request.Payment.Account` **Changed**\n* `Apideck.Accounting.Payments.Get()`: `response.data.Account` **Changed**\n* `Apideck.Accounting.Payments.Update()`: \n * `request.Payment.Account` **Changed**\n* `Apideck.Accounting.JournalEntries.List()`: `response.data.[].LineItems.[]` **Changed**\n* `Apideck.Accounting.JournalEntries.Create()`: \n * `request.JournalEntry.LineItems.[]` **Changed**\n* `Apideck.Accounting.JournalEntries.Get()`: `response.data.LineItems.[]` **Changed**\n* `Apideck.Accounting.JournalEntries.Update()`: \n * `request.JournalEntry.LineItems.[]` **Changed**\n* `Apideck.Accounting.PurchaseOrders.List()`: `response.data.[].LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.PurchaseOrders.Create()`: \n * `request.PurchaseOrder.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.PurchaseOrders.Get()`: `response.data.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.PurchaseOrders.Update()`: \n * `request.PurchaseOrder.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.BankAccounts.Create()`: \n * `request.AccountingBankAccount` **Changed**\n* `Apideck.Accounting.BankAccounts.Update()`: \n * `request.AccountingBankAccount` **Changed**\n* `Apideck.Accounting.BillPayments.List()`: `response.data.[].Account` **Changed**\n* `Apideck.Accounting.Bills.List()`: `response.data.[].LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.BillPayments.Create()`: \n * `request.BillPayment.Account` **Changed**\n* `Apideck.Accounting.BillPayments.Get()`: `response.data.Account` **Changed**\n* `Apideck.Accounting.BillPayments.Update()`: \n * `request.BillPayment.Account` **Changed**\n* `Apideck.Accounting.Quotes.List()`: `response.data.[].LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Quotes.Create()`: \n * `request.Quote.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Quotes.Get()`: `response.data.LineItems.[].LedgerAccount` **Changed**\n* `Apideck.Accounting.Quotes.Update()`: \n * `request.Quote.LineItems.[].LedgerAccount` **Changed**\n"

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: false
2525
skipResponseBodyAssertions: false
2626
csharp:
27-
version: 0.18.0
27+
version: 0.18.1
2828
additionalDependencies: []
2929
author: Speakeasy
3030
baseErrorName: BaseException

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.638.0
1+
speakeasyVersion: 1.642.2
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:d38f634aafc8bd67fab6d8580a3df253866a63416570d238f73e9f72ce0577ad
6-
sourceBlobDigest: sha256:4176a0d252e96d7734ac1c58d1f2a519ddc86675491690f88723e29950634315
5+
sourceRevisionDigest: sha256:5b6c0235edad5f3daeef4825e5a4b8785d9547a679177c294401792e78d0853d
6+
sourceBlobDigest: sha256:fe56b100fce6d46d4c5ed224c831a86c6b241ede97d5ea883e9d0cc19e651a07
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760429792
10-
- 10.21.6
9+
- speakeasy-sdk-regen-1761736945
10+
- 10.21.7
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:d38f634aafc8bd67fab6d8580a3df253866a63416570d238f73e9f72ce0577ad
16-
sourceBlobDigest: sha256:4176a0d252e96d7734ac1c58d1f2a519ddc86675491690f88723e29950634315
15+
sourceRevisionDigest: sha256:5b6c0235edad5f3daeef4825e5a4b8785d9547a679177c294401792e78d0853d
16+
sourceBlobDigest: sha256:fe56b100fce6d46d4c5ed224c831a86c6b241ede97d5ea883e9d0cc19e651a07
1717
codeSamplesNamespace: apideck-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:7e1d5a91338fcd7dcdb81c8e4df0f1ac99df0c32f77c282e3a48d8a5c4cbca20
18+
codeSamplesRevisionDigest: sha256:9f05eb26eaa09bdfc57e91cd316cde5d82810f31cc224739a04cc1d50c8f33ec
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

NUGET.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ while(res != null)
247247
<!-- Start Error Handling [errors] -->
248248
## Error Handling
249249

250-
[`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs) is the base exception class for all HTTP error responses. It has the following properties:
250+
[`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs) is the base exception class for all HTTP error responses. It has the following properties:
251251

252252
| Property | Type | Description |
253253
|---------------|-----------------------|-----------------------|
@@ -298,7 +298,7 @@ try
298298
res = await res.Next!();
299299
}
300300
}
301-
catch (ApideckError ex) // all SDK exceptions inherit from ApideckError
301+
catch (BaseException ex) // all SDK exceptions inherit from BaseException
302302
{
303303
// ex.ToString() provides a detailed error message
304304
System.Console.WriteLine(ex);
@@ -333,7 +333,7 @@ catch (System.Net.Http.HttpRequestException ex)
333333
### Error Classes
334334

335335
**Primary exceptions:**
336-
* [`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs): The base class for HTTP error responses.
336+
* [`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs): The base class for HTTP error responses.
337337
* [`UnauthorizedResponse`](./src/ApideckUnifySdk/Models/Errors/UnauthorizedResponse.cs): Unauthorized. Status code `401`.
338338
* [`PaymentRequiredResponse`](./src/ApideckUnifySdk/Models/Errors/PaymentRequiredResponse.cs): Payment Required. Status code `402`.
339339
* [`NotFoundResponse`](./src/ApideckUnifySdk/Models/Errors/NotFoundResponse.cs): The specified resource was not found. Status code `404`. *
@@ -344,7 +344,7 @@ catch (System.Net.Http.HttpRequestException ex)
344344

345345
* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.
346346

347-
* Inheriting from [`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs):
347+
* Inheriting from [`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs):
348348
* [`ResponseValidationError`](./src/ApideckUnifySdk/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
349349
</details>
350350

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ while(res != null)
869869
<!-- Start Error Handling [errors] -->
870870
## Error Handling
871871

872-
[`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs) is the base exception class for all HTTP error responses. It has the following properties:
872+
[`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs) is the base exception class for all HTTP error responses. It has the following properties:
873873

874874
| Property | Type | Description |
875875
|---------------|-----------------------|-----------------------|
@@ -920,7 +920,7 @@ try
920920
res = await res.Next!();
921921
}
922922
}
923-
catch (ApideckError ex) // all SDK exceptions inherit from ApideckError
923+
catch (BaseException ex) // all SDK exceptions inherit from BaseException
924924
{
925925
// ex.ToString() provides a detailed error message
926926
System.Console.WriteLine(ex);
@@ -955,7 +955,7 @@ catch (System.Net.Http.HttpRequestException ex)
955955
### Error Classes
956956

957957
**Primary exceptions:**
958-
* [`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs): The base class for HTTP error responses.
958+
* [`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs): The base class for HTTP error responses.
959959
* [`UnauthorizedResponse`](./src/ApideckUnifySdk/Models/Errors/UnauthorizedResponse.cs): Unauthorized. Status code `401`.
960960
* [`PaymentRequiredResponse`](./src/ApideckUnifySdk/Models/Errors/PaymentRequiredResponse.cs): Payment Required. Status code `402`.
961961
* [`NotFoundResponse`](./src/ApideckUnifySdk/Models/Errors/NotFoundResponse.cs): The specified resource was not found. Status code `404`. *
@@ -966,7 +966,7 @@ catch (System.Net.Http.HttpRequestException ex)
966966

967967
* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.
968968

969-
* Inheriting from [`ApideckError`](./src/ApideckUnifySdk/Models/Errors/ApideckError.cs):
969+
* Inheriting from [`BaseException`](./src/ApideckUnifySdk/Models/Errors/BaseException.cs):
970970
* [`ResponseValidationError`](./src/ApideckUnifySdk/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
971971
</details>
972972

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
- [csharp v0.18.0] .
460460
### Releases
461-
- [NuGet v0.18.0] https://www.nuget.org/packages/ApideckUnifySdk/0.18.0 - .
461+
- [NuGet v0.18.0] https://www.nuget.org/packages/ApideckUnifySdk/0.18.0 - .
462+
463+
## 2025-10-29 11:22:04
464+
### Changes
465+
Based on:
466+
- OpenAPI Doc
467+
- Speakeasy CLI 1.642.2 (2.731.6) https://github.com/speakeasy-api/speakeasy
468+
### Generated
469+
- [csharp v0.18.1] .
470+
### Releases
471+
- [NuGet v0.18.1] https://www.nuget.org/packages/ApideckUnifySdk/0.18.1 - .

docs/Models/Components/BillStatus.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ Invoice status
1414
| `Paid` | paid |
1515
| `Void` | void |
1616
| `Credit` | credit |
17-
| `Deleted` | deleted |
17+
| `Deleted` | deleted |
18+
| `Posted` | posted |

docs/Models/Components/InvoiceStatus.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ Invoice status
1414
| `Paid` | paid |
1515
| `Void` | void |
1616
| `Credit` | credit |
17-
| `Deleted` | deleted |
17+
| `Deleted` | deleted |
18+
| `Posted` | posted |

docs/sdks/connections/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ VaultConnectionsUpdateRequest req = new VaultConnectionsUpdateRequest() {
143143
},
144144
Metadata = new Dictionary<string, object>() {
145145
{ "account", new Dictionary<string, object>() {
146-
{ "id", "c01458a5-7276-41ce-bc19-639906b0450a" },
147146
{ "name", "My Company" },
147+
{ "id", "c01458a5-7276-41ce-bc19-639906b0450a" },
148148
} },
149149
{ "plan", "enterprise" },
150150
},

docs/sdks/connectionsettings/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ VaultConnectionSettingsUpdateRequest req = new VaultConnectionSettingsUpdateRequ
9090
},
9191
Metadata = new Dictionary<string, object>() {
9292
{ "account", new Dictionary<string, object>() {
93-
{ "name", "My Company" },
9493
{ "id", "c01458a5-7276-41ce-bc19-639906b0450a" },
94+
{ "name", "My Company" },
9595
} },
9696
{ "plan", "enterprise" },
9797
},

0 commit comments

Comments
 (0)