Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc prealpha, Speakeay CLI 1.84.0 (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
  • Loading branch information
github-actions[bot] and speakeasybot committed Sep 15, 2023
1 parent f71ec7c commit 1cd158b
Show file tree
Hide file tree
Showing 15 changed files with 122 additions and 30 deletions.
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Accounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ public interface IAccountsSDK
Task<Models.Operations.CreateAccountResponse> CreateAsync(CreateAccountRequest? request = null);
}

/// <summary>
/// Accounts
/// </summary>
public class AccountsSDK: IAccountsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Codat.Sync.Expenses</PackageId>
<Version>0.7.0</Version>
<Version>0.8.0</Version>
<Authors>Codat</Authors>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
Expand Down
53 changes: 51 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ public class SDKConfig
{
}

/// <summary>
/// Sync for Expenses: The API for Sync for Expenses.
///
/// <remarks>
///
/// Sync for Expenses is an API and a set of supporting tools. It has been built to
/// enable corporate card and expense management platforms to provide high-quality
/// integrations with multiple accounting platforms through a standardized API.
///
/// [Read more...](https://docs.codat.io/sync-for-expenses/overview)
///
/// [See our OpenAPI spec](https://github.com/codatio/oas)
///
/// Not seeing the endpoints you're expecting? We've [reorganized our products](https://docs.codat.io/updates/230901-new-products), and you may be using a [different version of Sync for Commerce](https://docs.codat.io/sync-for-expenses-v1-api#/).
/// </remarks>
/// </summary>
public class CodatSyncExpensesSDK: ICodatSyncExpensesSDK
{
public SDKConfig Config { get; private set; }
Expand All @@ -45,22 +61,55 @@ public class CodatSyncExpensesSDK: ICodatSyncExpensesSDK
};

private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
private ISpeakeasyHttpClient _securityClient;
/// <summary>
/// Accounts
/// </summary>
public IAccountsSDK Accounts { get; private set; }
/// <summary>
/// Create and manage your Codat companies.
/// </summary>
public ICompaniesSDK Companies { get; private set; }
/// <summary>
/// Manage mapping options and sync configuration.
/// </summary>
public IConfigurationSDK Configuration { get; private set; }
/// <summary>
/// Create and manage partner expense connection.
/// </summary>
public IConnectionsSDK Connections { get; private set; }
/// <summary>
/// Customers
/// </summary>
public ICustomersSDK Customers { get; private set; }
/// <summary>
/// Create expense datasets and upload receipts.
/// </summary>
public IExpensesSDK Expenses { get; private set; }
/// <summary>
/// Asynchronously retrieve data from an integration to refresh data in Codat.
/// </summary>
public IManageDataSDK ManageData { get; private set; }
/// <summary>
/// Access create, update and delete operations made to an SMB's data connection.
/// </summary>
public IPushOperationsSDK PushOperations { get; private set; }
/// <summary>
/// Suppliers
/// </summary>
public ISuppliersSDK Suppliers { get; private set; }
/// <summary>
/// Trigger and monitor expense syncs to accounting software.
/// </summary>
public ISyncSDK Sync { get; private set; }
/// <summary>
/// Retrieve the status of transactions within a sync.
/// </summary>
public ITransactionStatusSDK TransactionStatus { get; private set; }

public CodatSyncExpensesSDK(Security? security = null, string? serverUrl = null, ISpeakeasyHttpClient? client = null)
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Companies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ public interface ICompaniesSDK
Task<UpdateCompanyResponse> UpdateAsync(UpdateCompanyRequest? request = null);
}

/// <summary>
/// Create and manage your Codat companies.
/// </summary>
public class CompaniesSDK: ICompaniesSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ public interface IConfigurationSDK
Task<SetCompanyConfigurationResponse> SetAsync(SetCompanyConfigurationRequest? request = null);
}

/// <summary>
/// Manage mapping options and sync configuration.
/// </summary>
public class ConfigurationSDK: IConfigurationSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Connections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ public interface IConnectionsSDK
Task<UnlinkConnectionResponse> UnlinkAsync(UnlinkConnectionRequest? request = null);
}

/// <summary>
/// Create and manage partner expense connection.
/// </summary>
public class ConnectionsSDK: IConnectionsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Customers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ public interface ICustomersSDK
Task<Models.Operations.UpdateCustomerResponse> UpdateAsync(UpdateCustomerRequest? request = null);
}

/// <summary>
/// Customers
/// </summary>
public class CustomersSDK: ICustomersSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Expenses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ public interface IExpensesSDK
Task<UploadExpenseAttachmentResponse> UploadAttachmentAsync(UploadExpenseAttachmentRequest? request = null);
}

/// <summary>
/// Create expense datasets and upload receipts.
/// </summary>
public class ExpensesSDK: IExpensesSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/ManageData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ public interface IManageDataSDK
Task<RefreshDataTypeResponse> RefreshDataTypeAsync(RefreshDataTypeRequest? request = null);
}

/// <summary>
/// Asynchronously retrieve data from an integration to refresh data in Codat.
/// </summary>
public class ManageDataSDK: IManageDataSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/PushOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ public interface IPushOperationsSDK
Task<ListPushOperationsResponse> ListAsync(ListPushOperationsRequest? request = null);
}

/// <summary>
/// Access create, update and delete operations made to an SMB's data connection.
/// </summary>
public class PushOperationsSDK: IPushOperationsSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Suppliers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ public interface ISuppliersSDK
Task<Models.Operations.UpdateSupplierResponse> UpdateAsync(UpdateSupplierRequest? request = null);
}

/// <summary>
/// Suppliers
/// </summary>
public class SuppliersSDK: ISuppliersSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/Sync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ public interface ISyncSDK
Task<ListSyncsResponse> ListAsync(ListSyncsRequest? request = null);
}

/// <summary>
/// Trigger and monitor expense syncs to accounting software.
/// </summary>
public class SyncSDK: ISyncSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
7 changes: 5 additions & 2 deletions sync-for-expenses/CodatSyncExpenses/TransactionStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ public interface ITransactionStatusSDK
Task<ListSyncTransactionsResponse> ListAsync(ListSyncTransactionsRequest? request = null);
}

/// <summary>
/// Retrieve the status of transactions within a sync.
/// </summary>
public class TransactionStatusSDK: ITransactionStatusSDK
{
public SDKConfig Config { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.7.0";
private const string _sdkGenVersion = "2.109.3";
private const string _sdkVersion = "0.8.0";
private const string _sdkGenVersion = "2.113.0";
private const string _openapiDocVersion = "prealpha";
private string _serverUrl = "";
private ISpeakeasyHttpClient _defaultClient;
Expand Down
12 changes: 11 additions & 1 deletion sync-for-expenses/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,14 @@ Based on:
### Generated
- [csharp v0.7.0] sync-for-expenses
### Releases
- [NuGet v0.7.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.7.0 - sync-for-expenses
- [NuGet v0.7.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.7.0 - sync-for-expenses

## 2023-09-15 11:35:13
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml
- Speakeasy CLI 1.84.0 (2.113.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v0.8.0] sync-for-expenses
### Releases
- [NuGet v0.8.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.8.0 - sync-for-expenses
8 changes: 4 additions & 4 deletions sync-for-expenses/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ configVersion: 1.0.0
management:
docChecksum: 8dbb339010a0bc08c6f46f0de7b59bb3
docVersion: prealpha
speakeasyVersion: 1.83.2
generationVersion: 2.109.3
speakeasyVersion: 1.84.0
generationVersion: 2.113.0
generation:
sdkClassName: Codat.Sync.Expenses
singleTagPerOp: false
telemetryEnabled: true
features:
csharp:
core: 2.85.6
core: 2.85.7
deprecations: 2.81.1
examples: 2.81.2
globalSecurity: 2.81.1
globalServerURLs: 2.82.0
nameOverrides: 2.81.1
csharp:
version: 0.7.0
version: 0.8.0
author: Codat
description: Push expenses to accounting platforms.
dotnetVersion: net6.0
Expand Down

0 comments on commit 1cd158b

Please sign in to comment.