Skip to content

Commit 314bf64

Browse files
ci: regenerated with OpenAPI Doc 3.0.0, Speakeasy CLI 1.128.0 (#232)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 9933196 commit 314bf64

Some content is hidden

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

44 files changed

+1076
-51
lines changed

platform/CodatPlatform/CodatPlatform.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public interface ICodatPlatform
6666
/// </summary>
6767
public IRefreshData RefreshData { get; }
6868

69+
/// <summary>
70+
/// Create groups and link them to your Codat companies.
71+
/// </summary>
72+
public IGroups Groups { get; }
73+
6974
/// <summary>
7075
/// View and manage your available integrations in Codat.
7176
/// </summary>
@@ -120,10 +125,10 @@ public class CodatPlatform: ICodatPlatform
120125
public SDKConfig SDKConfiguration { get; private set; }
121126

122127
private const string _language = "csharp";
123-
private const string _sdkVersion = "3.0.0";
124-
private const string _sdkGenVersion = "2.214.10";
128+
private const string _sdkVersion = "3.1.0";
129+
private const string _sdkGenVersion = "2.221.0";
125130
private const string _openapiDocVersion = "3.0.0";
126-
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.214.10 3.0.0 Codat.Platform";
131+
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.221.0 3.0.0 Codat.Platform";
127132
private string _serverUrl = "";
128133
private ISpeakeasyHttpClient _defaultClient;
129134
private ISpeakeasyHttpClient _securityClient;
@@ -133,6 +138,7 @@ public class CodatPlatform: ICodatPlatform
133138
public ICustomDataType CustomDataType { get; private set; }
134139
public IPushData PushData { get; private set; }
135140
public IRefreshData RefreshData { get; private set; }
141+
public IGroups Groups { get; private set; }
136142
public IIntegrations Integrations { get; private set; }
137143
public ISupplementalData SupplementalData { get; private set; }
138144
public IWebhooks Webhooks { get; private set; }
@@ -165,6 +171,7 @@ public CodatPlatform(Security? security = null, int? serverIndex = null, string?
165171
CustomDataType = new CustomDataType(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
166172
PushData = new PushData(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
167173
RefreshData = new RefreshData(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
174+
Groups = new Groups(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
168175
Integrations = new Integrations(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
169176
SupplementalData = new SupplementalData(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);
170177
Webhooks = new Webhooks(_defaultClient, _securityClient, _serverUrl, SDKConfiguration);

platform/CodatPlatform/CodatPlatform.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<PackageId>Codat.Platform</PackageId>
5-
<Version>3.0.0</Version>
5+
<Version>3.1.0</Version>
66
<Authors>Codat</Authors>
77
<TargetFramework>net6.0</TargetFramework>
88
<Nullable>enable</Nullable>

platform/CodatPlatform/Companies.cs

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ public interface ICompanies
2929
/// Create company
3030
///
3131
/// <remarks>
32-
/// Creates a new company that can be used to assign connections to. <br/>
32+
/// Use the *Create company* endpoint to create a new <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> that represents your customer in Codat. <br/>
3333
/// <br/>
34-
/// If forbidden characters (see `name` pattern) are present in the request, a company will be created with the forbidden characters removed. For example, `Company (Codat[1])` with be created as `Company Codat1`.<br/>
34+
/// A <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
35+
/// Each company can have multiple <a href="https://docs.codat.io/platform-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.<br/>
3536
/// <br/>
36-
///
37+
/// If forbidden characters (see `name` pattern) are present in the request, a company will be created with the forbidden characters removed. For example, `Company (Codat[1])` with be created as `Company Codat1`.
3738
/// </remarks>
3839
/// </summary>
3940
Task<CreateCompanyResponse> CreateAsync(CompanyRequestBody? request = null);
@@ -42,8 +43,11 @@ public interface ICompanies
4243
/// Delete a company
4344
///
4445
/// <remarks>
46+
/// The *Delete company* endpoint permanently deletes a <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a>, its <a href="https://docs.codat.io/platform-api#/schemas/Connection">connections</a> and any cached data. This operation is irreversible.<br/>
4547
/// <br/>
46-
/// Permanently deletes a company, its connections and any cached data. This operation is irreversible. If the company ID does not exist an error is returned.
48+
/// A <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
49+
/// Each company can have multiple <a href="https://docs.codat.io/platform-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.<br/>
50+
///
4751
/// </remarks>
4852
/// </summary>
4953
Task<DeleteCompanyResponse> DeleteAsync(DeleteCompanyRequest? request = null);
@@ -52,7 +56,11 @@ public interface ICompanies
5256
/// Get company
5357
///
5458
/// <remarks>
55-
/// Returns the company for a valid identifier. If the identifier is for a deleted company, a not found response is returned.
59+
/// The *Get company* endpoint returns a single company for a given `companyId`.<br/>
60+
/// <br/>
61+
/// A <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
62+
/// Each company can have multiple <a href="https://docs.codat.io/platform-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.<br/>
63+
///
5664
/// </remarks>
5765
/// </summary>
5866
Task<GetCompanyResponse> GetAsync(GetCompanyRequest? request = null);
@@ -61,7 +69,10 @@ public interface ICompanies
6169
/// List companies
6270
///
6371
/// <remarks>
64-
/// Returns a list of your companies. The company schema contains a list of <a href="https://docs.codat.io/platform-api#/schemas/Connection">connections</a> related to the company.
72+
/// The *List companies* endpoint returns a list of [companies] associated to your instances.<br/>
73+
/// <br/>
74+
/// A <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
75+
/// Each company can have multiple <a href="https://docs.codat.io/platform-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.
6576
/// </remarks>
6677
/// </summary>
6778
Task<ListCompaniesResponse> ListAsync(ListCompaniesRequest? request = null);
@@ -70,7 +81,11 @@ public interface ICompanies
7081
/// Update company
7182
///
7283
/// <remarks>
73-
/// Updates both the name and description of the company.
84+
/// Use the *Update company* endpoint to update both the name and description of the company. <br/>
85+
/// If you use <a href="https://docs.codat.io/platform-api#/schemas/Group">groups</a> to manage a set of companies, use the <a href="https://docs.codat.io/platform-api#/operations/add-company-to-group">Add company</a> or <a href="https://docs.codat.io/platform-api#/operations/remove-company-from-group">Remove company</a> endpoints to add or remove a company from a group.<br/>
86+
/// <br/>
87+
/// A <a href="https://docs.codat.io/platform-api#/schemas/Company">company</a> represents a business sharing access to their data.<br/>
88+
/// Each company can have multiple <a href="https://docs.codat.io/platform-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.
7489
/// </remarks>
7590
/// </summary>
7691
Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? request = null);
@@ -83,10 +98,10 @@ public class Companies: ICompanies
8398
{
8499
public SDKConfig SDKConfiguration { get; private set; }
85100
private const string _language = "csharp";
86-
private const string _sdkVersion = "3.0.0";
87-
private const string _sdkGenVersion = "2.214.10";
101+
private const string _sdkVersion = "3.1.0";
102+
private const string _sdkGenVersion = "2.221.0";
88103
private const string _openapiDocVersion = "3.0.0";
89-
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.214.10 3.0.0 Codat.Platform";
104+
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.221.0 3.0.0 Codat.Platform";
90105
private string _serverUrl = "";
91106
private ISpeakeasyHttpClient _defaultClient;
92107
private ISpeakeasyHttpClient _securityClient;

platform/CodatPlatform/Connections.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ public class Connections: IConnections
9090
{
9191
public SDKConfig SDKConfiguration { get; private set; }
9292
private const string _language = "csharp";
93-
private const string _sdkVersion = "3.0.0";
94-
private const string _sdkGenVersion = "2.214.10";
93+
private const string _sdkVersion = "3.1.0";
94+
private const string _sdkGenVersion = "2.221.0";
9595
private const string _openapiDocVersion = "3.0.0";
96-
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.214.10 3.0.0 Codat.Platform";
96+
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.221.0 3.0.0 Codat.Platform";
9797
private string _serverUrl = "";
9898
private ISpeakeasyHttpClient _defaultClient;
9999
private ISpeakeasyHttpClient _securityClient;

platform/CodatPlatform/CustomDataType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public class CustomDataType: ICustomDataType
8383
{
8484
public SDKConfig SDKConfiguration { get; private set; }
8585
private const string _language = "csharp";
86-
private const string _sdkVersion = "3.0.0";
87-
private const string _sdkGenVersion = "2.214.10";
86+
private const string _sdkVersion = "3.1.0";
87+
private const string _sdkGenVersion = "2.221.0";
8888
private const string _openapiDocVersion = "3.0.0";
89-
private const string _userAgent = "speakeasy-sdk/csharp 3.0.0 2.214.10 3.0.0 Codat.Platform";
89+
private const string _userAgent = "speakeasy-sdk/csharp 3.1.0 2.221.0 3.0.0 Codat.Platform";
9090
private string _serverUrl = "";
9191
private ISpeakeasyHttpClient _defaultClient;
9292
private ISpeakeasyHttpClient _securityClient;

0 commit comments

Comments
 (0)