Skip to content

Commit 74166ac

Browse files
authored
Merge pull request #31 from apideck-libraries/speakeasy-sdk-regen-1744101386
chore: 🐝 Update SDK - Generate 0.9.0
2 parents e427256 + 58bbbb2 commit 74166ac

File tree

99 files changed

+1803
-656
lines changed

Some content is hidden

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

99 files changed

+1803
-656
lines changed

.speakeasy/gen.lock

Lines changed: 33 additions & 31 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
csharp:
18-
version: 0.8.0
18+
version: 0.9.0
1919
additionalDependencies: []
2020
author: Speakeasy
2121
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
speakeasyVersion: 1.529.1
1+
speakeasyVersion: 1.531.3
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:a6db4c7c94d90bd336e208d03b3255aa24c9600757e90587f7d1ccfc25d887c2
6-
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
5+
sourceRevisionDigest: sha256:d975ead91a1ef951808e68cb8dff1045cf7fb75d11bef70ed0ac240e8951eac8
6+
sourceBlobDigest: sha256:f9c5f9f9bcd74daced54528fe07e4457ed5260d78d8dcd991035592dac57bb90
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743420869
10-
- 10.14.1
9+
- speakeasy-sdk-regen-1744101386
10+
- 10.15.2
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:a6db4c7c94d90bd336e208d03b3255aa24c9600757e90587f7d1ccfc25d887c2
16-
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
17-
codeSamplesNamespace: apideck-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:fc541ba67d2bb869e2e76d7c231d496bb9a17b9237c31ad4d5a4ac0105d6551f
15+
sourceRevisionDigest: sha256:d975ead91a1ef951808e68cb8dff1045cf7fb75d11bef70ed0ac240e8951eac8
16+
sourceBlobDigest: sha256:f9c5f9f9bcd74daced54528fe07e4457ed5260d78d8dcd991035592dac57bb90
1917
workflow:
2018
workflowVersion: 1.0.0
2119
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,14 @@ Based on:
198198
### Generated
199199
- [csharp v0.8.0] .
200200
### Releases
201-
- [NuGet v0.8.0] https://www.nuget.org/packages/ApideckUnifySdk/0.8.0 - .
201+
- [NuGet v0.8.0] https://www.nuget.org/packages/ApideckUnifySdk/0.8.0 - .
202+
203+
## 2025-04-11 14:35:28
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.531.3 (2.570.3) https://github.com/speakeasy-api/speakeasy
208+
### Generated
209+
- [csharp v0.9.0] .
210+
### Releases
211+
- [NuGet v0.9.0] https://www.nuget.org/packages/ApideckUnifySdk/0.9.0 - .

docs/Models/Components/Invoice.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
| `ShippingAddress` | [Address](../../Models/Components/Address.md) | :heavy_minus_sign: | N/A | |
3838
| `TemplateId` | *string* | :heavy_minus_sign: | Optional invoice template | 123456 |
3939
| `SourceDocumentUrl` | *string* | :heavy_minus_sign: | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | https://www.invoicesolution.com/invoice/123456 |
40+
| `PaymentAllocations` | List<[PaymentAllocations](../../Models/Components/PaymentAllocations.md)> | :heavy_minus_sign: | IDs of payments made on the invoice | |
4041
| `PaymentMethod` | *string* | :heavy_minus_sign: | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | cash |
4142
| `Channel` | *string* | :heavy_minus_sign: | The channel through which the transaction is processed. | email |
4243
| `Language` | *string* | :heavy_minus_sign: | language code according to ISO 639-1. For the United States - EN | EN |

docs/Models/Components/InvoiceInput.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
| `ShippingAddress` | [Address](../../Models/Components/Address.md) | :heavy_minus_sign: | N/A | |
3636
| `TemplateId` | *string* | :heavy_minus_sign: | Optional invoice template | 123456 |
3737
| `SourceDocumentUrl` | *string* | :heavy_minus_sign: | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | https://www.invoicesolution.com/invoice/123456 |
38+
| `PaymentAllocations` | List<[PaymentAllocations](../../Models/Components/PaymentAllocations.md)> | :heavy_minus_sign: | IDs of payments made on the invoice | |
3839
| `PaymentMethod` | *string* | :heavy_minus_sign: | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | cash |
3940
| `Channel` | *string* | :heavy_minus_sign: | The channel through which the transaction is processed. | email |
4041
| `Language` | *string* | :heavy_minus_sign: | language code according to ISO 639-1. For the United States - EN | EN |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# PaymentAllocations
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `Id` | *string* | :heavy_minus_sign: | ID of the payment | 123456 |
9+
| `AllocatedAmount` | *double* | :heavy_minus_sign: | Amount of the payment allocated to the invoice | 1000 |
10+
| `Date` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | Date of the payment | 2020-09-30T07:43:32.000Z |

docs/sdks/invoices/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ using ApideckUnifySdk;
8888
using ApideckUnifySdk.Models.Components;
8989
using ApideckUnifySdk.Models.Requests;
9090
using NodaTime;
91+
using System;
9192
using System.Collections.Generic;
9293

9394
var sdk = new Apideck(
@@ -236,6 +237,13 @@ AccountingInvoicesAddRequest req = new AccountingInvoicesAddRequest() {
236237
},
237238
TemplateId = "123456",
238239
SourceDocumentUrl = "https://www.invoicesolution.com/invoice/123456",
240+
PaymentAllocations = new List<PaymentAllocations>() {
241+
new PaymentAllocations() {
242+
Id = "123456",
243+
AllocatedAmount = 1000D,
244+
Date = System.DateTime.Parse("2020-09-30T07:43:32.000Z"),
245+
},
246+
},
239247
PaymentMethod = "cash",
240248
Channel = "email",
241249
Language = "EN",
@@ -373,6 +381,7 @@ using ApideckUnifySdk;
373381
using ApideckUnifySdk.Models.Components;
374382
using ApideckUnifySdk.Models.Requests;
375383
using NodaTime;
384+
using System;
376385
using System.Collections.Generic;
377386

378387
var sdk = new Apideck(
@@ -524,6 +533,13 @@ AccountingInvoicesUpdateRequest req = new AccountingInvoicesUpdateRequest() {
524533
},
525534
TemplateId = "123456",
526535
SourceDocumentUrl = "https://www.invoicesolution.com/invoice/123456",
536+
PaymentAllocations = new List<PaymentAllocations>() {
537+
new PaymentAllocations() {
538+
Id = "123456",
539+
AllocatedAmount = 1000D,
540+
Date = System.DateTime.Parse("2020-09-30T07:43:32.000Z"),
541+
},
542+
},
527543
PaymentMethod = "cash",
528544
Channel = "email",
529545
Language = "EN",

src/ApideckUnifySdk/Accounting.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public class Accounting: IAccounting
4545
{
4646
public SDKConfig SDKConfiguration { get; private set; }
4747
private const string _language = "csharp";
48-
private const string _sdkVersion = "0.8.0";
49-
private const string _sdkGenVersion = "2.566.5";
50-
private const string _openapiDocVersion = "10.14.1";
51-
private const string _userAgent = "speakeasy-sdk/csharp 0.8.0 2.566.5 10.14.1 ApideckUnifySdk";
48+
private const string _sdkVersion = "0.9.0";
49+
private const string _sdkGenVersion = "2.570.3";
50+
private const string _openapiDocVersion = "10.15.2";
51+
private const string _userAgent = "speakeasy-sdk/csharp 0.9.0 2.570.3 10.15.2 ApideckUnifySdk";
5252
private string _serverUrl = "";
5353
private ISpeakeasyHttpClient _client;
5454
private Func<ApideckUnifySdk.Models.Components.Security>? _securitySource;

0 commit comments

Comments
 (0)