Skip to content

Commit f13d690

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.447.0 (#331)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent a8b70fc commit f13d690

24 files changed

+281
-115
lines changed

.speakeasy/workflow.lock

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ sources:
4141
- prealpha
4242
sync-for-payables-source:
4343
sourceNamespace: sync-for-payables-source
44-
sourceRevisionDigest: sha256:f1bb2a4dee08d524c8009ee2c6970011d967511542e4ebf384f0574e93c24a18
45-
sourceBlobDigest: sha256:f472244dc98845d90f55da060a2cc4acee05c771a89a0ff55bc5db04108e5693
44+
sourceRevisionDigest: sha256:9bf594a869e0b9e326b3437e9661b5a7f2f7da420d4fb7375a4a9938a168951c
45+
sourceBlobDigest: sha256:57b656eed2c5a98f97da8f59e196bb8052ead3cc7c87673cdf5e19c6badbb570
4646
tags:
4747
- latest
48-
- main
48+
- speakeasy-sdk-regen-1732641065
49+
- 3.0.0
4950
sync-for-payables-version-1-source:
5051
sourceNamespace: sync-for-payables-version-1-source
5152
sourceRevisionDigest: sha256:8a265bac8fe5d0a020e2e098459e0d2336d69f6acb919efab1e20e2b0ba4dc79
@@ -97,8 +98,10 @@ targets:
9798
sync-for-payables-library:
9899
source: sync-for-payables-source
99100
sourceNamespace: sync-for-payables-source
100-
sourceRevisionDigest: sha256:f1bb2a4dee08d524c8009ee2c6970011d967511542e4ebf384f0574e93c24a18
101-
sourceBlobDigest: sha256:f472244dc98845d90f55da060a2cc4acee05c771a89a0ff55bc5db04108e5693
101+
sourceRevisionDigest: sha256:9bf594a869e0b9e326b3437e9661b5a7f2f7da420d4fb7375a4a9938a168951c
102+
sourceBlobDigest: sha256:57b656eed2c5a98f97da8f59e196bb8052ead3cc7c87673cdf5e19c6badbb570
103+
codeSamplesNamespace: sync-for-payables-source-code-samples
104+
codeSamplesRevisionDigest: sha256:956525cb89c12c0ab52334de08ce92639ff61c9c97e9a34aa55aa2e9a4177fe6
102105
sync-for-payables-version-1-library:
103106
source: sync-for-payables-version-1-source
104107
sourceNamespace: sync-for-payables-version-1-source

sync-for-payables/.speakeasy/gen.lock

Lines changed: 35 additions & 16 deletions
Large diffs are not rendered by default.

sync-for-payables/.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ generation:
1111
requestResponseComponentNamesFeb2024: true
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
14+
oAuth2PasswordEnabled: false
1415
csharp:
15-
version: 9.0.0
16+
version: 10.0.0
1617
additionalDependencies: []
1718
author: Codat
1819
clientServerStatusCodesAsErrors: true
20+
defaultErrorName: SDKException
1921
description: Streamline your customers' accounts payable workflow.
2022
disableNamespacePascalCasingApr2024: true
2123
dotnetVersion: net8.0

sync-for-payables/Codat/Sync/Payables/BankAccounts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public class BankAccounts: IBankAccounts
4747
{
4848
public SDKConfig SDKConfiguration { get; private set; }
4949
private const string _language = "csharp";
50-
private const string _sdkVersion = "9.0.0";
51-
private const string _sdkGenVersion = "2.445.1";
50+
private const string _sdkVersion = "10.0.0";
51+
private const string _sdkGenVersion = "2.463.0";
5252
private const string _openapiDocVersion = "3.0.0";
53-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
53+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
5454
private string _serverUrl = "";
5555
private ISpeakeasyHttpClient _client;
5656
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/BillPayments.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ public class BillPayments: IBillPayments
6060
{
6161
public SDKConfig SDKConfiguration { get; private set; }
6262
private const string _language = "csharp";
63-
private const string _sdkVersion = "9.0.0";
64-
private const string _sdkGenVersion = "2.445.1";
63+
private const string _sdkVersion = "10.0.0";
64+
private const string _sdkGenVersion = "2.463.0";
6565
private const string _openapiDocVersion = "3.0.0";
66-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
66+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
6767
private string _serverUrl = "";
6868
private ISpeakeasyHttpClient _client;
6969
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/Bills.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ public class Bills: IBills
109109
{
110110
public SDKConfig SDKConfiguration { get; private set; }
111111
private const string _language = "csharp";
112-
private const string _sdkVersion = "9.0.0";
113-
private const string _sdkGenVersion = "2.445.1";
112+
private const string _sdkVersion = "10.0.0";
113+
private const string _sdkGenVersion = "2.463.0";
114114
private const string _openapiDocVersion = "3.0.0";
115-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
115+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
116116
private string _serverUrl = "";
117117
private ISpeakeasyHttpClient _client;
118118
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/Codat.Sync.Payables.csproj

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,42 @@
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
55
<PackageId>Codat.Sync.Payables</PackageId>
6-
<Version>9.0.0</Version>
6+
<Version>10.0.0</Version>
77
<TargetFramework>net8.0</TargetFramework>
88
<Authors>Codat</Authors>
99
<Copyright>Copyright (c) Codat 2024</Copyright>
1010
<RepositoryUrl>https://github.com/codatio/client-sdk-csharp.git</RepositoryUrl>
1111
<RepositoryType>git</RepositoryType>
12-
<Description>Bill pay kit: The API reference for the Bill Pay kit.
13-
14-
The bill pay kit is an API and a set of supporting tools designed to integrate a bill pay flow into your app as quickly as possible. It's ideal for facilitating essential bill payment processes within your SMB's accounting software.
15-
16-
[Explore product](https://docs.codat.io/payables/bill-pay-kit) | [See OpenAPI spec](https://github.com/codatio/oas)
17-
18-
---
19-
## Supported Integrations
20-
21-
| Integration | Supported |
22-
|-------------------------------|-----------|
23-
| FreeAgent | Yes |
24-
| QuickBooks Online | Yes |
25-
| Oracle NetSuite | Yes |
26-
| Xero | Yes |
27-
28-
---
29-
<!-- Start Codat Tags Table -->
30-
## Endpoints
31-
32-
| Endpoints | Description |
33-
| :- |:- |
34-
| Companies | Create and manage your SMB users' companies. |
35-
| Connections | Create new and manage existing data connections for a company. |
36-
| Company information | View company profile from the source platform. |
37-
| Bills | Get, create, and update Bills. |
38-
| Bill payments | Get, create, and update Bill payments. |
39-
| Suppliers | Get, create, and update Suppliers. |
40-
| Bank accounts | Create a bank account for a given company's connection. |
41-
<!-- End Codat Tags Table --></Description>
12+
<Description>Bill pay kit: The API reference for the Bill Pay kit. <br/>
13+
<br/>
14+
The bill pay kit is an API and a set of supporting tools designed to integrate a bill pay flow into your app as quickly as possible. It&apos;s ideal for facilitating essential bill payment processes within your SMB&apos;s accounting software.<br/>
15+
<br/>
16+
<a href="https://docs.codat.io/payables/bill-pay-kit">Explore product</a> | <a href="https://github.com/codatio/oas">See OpenAPI spec</a><br/>
17+
<br/>
18+
---<br/>
19+
## Supported Integrations<br/>
20+
<br/>
21+
| Integration | Supported |<br/>
22+
|-------------------------------|-----------|<br/>
23+
| FreeAgent | Yes |<br/>
24+
| QuickBooks Online | Yes |<br/>
25+
| Oracle NetSuite | Yes |<br/>
26+
| Xero | Yes |<br/>
27+
<br/>
28+
---<br/>
29+
&lt;!-- Start Codat Tags Table --&gt;<br/>
30+
## Endpoints<br/>
31+
<br/>
32+
| Endpoints | Description |<br/>
33+
| :- |:- |<br/>
34+
| Companies | Create and manage your SMB users&apos; companies. |<br/>
35+
| Connections | Create new and manage existing data connections for a company. |<br/>
36+
| Company information | View company profile from the source platform. |<br/>
37+
| Bills | Get, create, and update Bills. |<br/>
38+
| Bill payments | Get, create, and update Bill payments. |<br/>
39+
| Suppliers | Get, create, and update Suppliers. |<br/>
40+
| Bank accounts | Create a bank account for a given company&apos;s connection. |<br/>
41+
&lt;!-- End Codat Tags Table --&gt;</Description>
4242
</PropertyGroup>
4343

4444
<PropertyGroup>

sync-for-payables/Codat/Sync/Payables/CodatSyncPayables.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ public class CodatSyncPayables: ICodatSyncPayables
169169
public SDKConfig SDKConfiguration { get; private set; }
170170

171171
private const string _language = "csharp";
172-
private const string _sdkVersion = "9.0.0";
173-
private const string _sdkGenVersion = "2.445.1";
172+
private const string _sdkVersion = "10.0.0";
173+
private const string _sdkGenVersion = "2.463.0";
174174
private const string _openapiDocVersion = "3.0.0";
175-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
175+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
176176
private string _serverUrl = "";
177177
private int _serverIndex = 0;
178178
private ISpeakeasyHttpClient _client;

sync-for-payables/Codat/Sync/Payables/Companies.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface ICompanies
3232
/// List companies
3333
///
3434
/// <remarks>
35-
/// The *List companies* endpoint returns a list of [companies] associated to your instances.<br/>
35+
/// The *List companies* endpoint returns a list of <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Company">companies</a> associated to your instances.<br/>
3636
/// <br/>
3737
/// A <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
3838
/// Each company can have multiple <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Connection">connections</a> to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
@@ -100,10 +100,10 @@ public class Companies: ICompanies
100100
{
101101
public SDKConfig SDKConfiguration { get; private set; }
102102
private const string _language = "csharp";
103-
private const string _sdkVersion = "9.0.0";
104-
private const string _sdkGenVersion = "2.445.1";
103+
private const string _sdkVersion = "10.0.0";
104+
private const string _sdkGenVersion = "2.463.0";
105105
private const string _openapiDocVersion = "3.0.0";
106-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
106+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
107107
private string _serverUrl = "";
108108
private ISpeakeasyHttpClient _client;
109109
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/CompanyInformation.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public class CompanyInformation: ICompanyInformation
4747
{
4848
public SDKConfig SDKConfiguration { get; private set; }
4949
private const string _language = "csharp";
50-
private const string _sdkVersion = "9.0.0";
51-
private const string _sdkGenVersion = "2.445.1";
50+
private const string _sdkVersion = "10.0.0";
51+
private const string _sdkGenVersion = "2.463.0";
5252
private const string _openapiDocVersion = "3.0.0";
53-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
53+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
5454
private string _serverUrl = "";
5555
private ISpeakeasyHttpClient _client;
5656
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/Connections.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface IConnections
4343
/// <remarks>
4444
/// Creates a connection for the company by providing a valid `platformKey`. <br/>
4545
/// <br/>
46-
/// Use the <a href="https://docs.codat.io/sync-for-payables-api#/operations/list-integrations">List Integrations</a> endpoint to access valid platform keys.
46+
/// Use the <a href="https://docs.codat.io/platform-api#/operations/list-integrations">List Integrations</a> endpoint to access valid platform keys.
4747
/// </remarks>
4848
/// </summary>
4949
Task<CreateConnectionResponse> CreateAsync(CreateConnectionRequest request, RetryConfig? retryConfig = null);
@@ -84,10 +84,10 @@ public class Connections: IConnections
8484
{
8585
public SDKConfig SDKConfiguration { get; private set; }
8686
private const string _language = "csharp";
87-
private const string _sdkVersion = "9.0.0";
88-
private const string _sdkGenVersion = "2.445.1";
87+
private const string _sdkVersion = "10.0.0";
88+
private const string _sdkGenVersion = "2.463.0";
8989
private const string _openapiDocVersion = "3.0.0";
90-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
90+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
9191
private string _serverUrl = "";
9292
private ISpeakeasyHttpClient _client;
9393
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

sync-for-payables/Codat/Sync/Payables/Models/Components/Company.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ public class Company
123123
[JsonProperty("tags")]
124124
public Dictionary<string, string>? Tags { get; set; }
125125

126+
[JsonProperty("referenceParentCompany")]
127+
public CompanyReference? ReferenceParentCompany { get; set; }
128+
129+
/// <summary>
130+
/// A list of subsidiary companies owned or controlled by this entity. Empty if the company has no children.
131+
/// </summary>
132+
[JsonProperty("referenceSubsidiaryCompanies")]
133+
public List<CompanyReference>? ReferenceSubsidiaryCompanies { get; set; }
134+
126135
[JsonProperty("dataConnections")]
127136
public List<Connection>? DataConnections { get; set; }
128137
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost when
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
#nullable enable
10+
namespace Codat.Sync.Payables.Models.Components
11+
{
12+
using Codat.Sync.Payables.Models.Components;
13+
using Codat.Sync.Payables.Utils;
14+
using Newtonsoft.Json;
15+
using System.Collections.Generic;
16+
17+
public class CompanyReference
18+
{
19+
20+
/// <summary>
21+
/// Unique identifier for your SMB in Codat.
22+
/// </summary>
23+
[JsonProperty("id")]
24+
public string? Id { get; set; }
25+
26+
/// <summary>
27+
/// The name of the company
28+
/// </summary>
29+
[JsonProperty("name")]
30+
public string? Name { get; set; }
31+
32+
/// <summary>
33+
/// Additional information about the company. This can be used to store foreign IDs, references, etc.
34+
/// </summary>
35+
[JsonProperty("description")]
36+
public string? Description { get; set; }
37+
38+
/// <summary>
39+
/// A collection of links for the company.
40+
/// </summary>
41+
[JsonProperty("links")]
42+
public CompanyReferenceLinks? Links { get; set; }
43+
44+
/// <summary>
45+
/// A collection of user-defined key-value pairs that store custom metadata against the company.
46+
/// </summary>
47+
[JsonProperty("tags")]
48+
public Dictionary<string, string>? Tags { get; set; }
49+
}
50+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost when
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
#nullable enable
10+
namespace Codat.Sync.Payables.Models.Components
11+
{
12+
using Codat.Sync.Payables.Utils;
13+
using Newtonsoft.Json;
14+
15+
/// <summary>
16+
/// A collection of links for the company.
17+
/// </summary>
18+
public class CompanyReferenceLinks
19+
{
20+
21+
/// <summary>
22+
/// Link to the company page in the portal.
23+
/// </summary>
24+
[JsonProperty("portal")]
25+
public string? Portal { get; set; }
26+
}
27+
}

sync-for-payables/Codat/Sync/Payables/Suppliers.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public class Suppliers: ISuppliers
6363
{
6464
public SDKConfig SDKConfiguration { get; private set; }
6565
private const string _language = "csharp";
66-
private const string _sdkVersion = "9.0.0";
67-
private const string _sdkGenVersion = "2.445.1";
66+
private const string _sdkVersion = "10.0.0";
67+
private const string _sdkGenVersion = "2.463.0";
6868
private const string _openapiDocVersion = "3.0.0";
69-
private const string _userAgent = "speakeasy-sdk/csharp 9.0.0 2.445.1 3.0.0 Codat.Sync.Payables";
69+
private const string _userAgent = "speakeasy-sdk/csharp 10.0.0 2.463.0 3.0.0 Codat.Sync.Payables";
7070
private string _serverUrl = "";
7171
private ISpeakeasyHttpClient _client;
7272
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;

0 commit comments

Comments
 (0)