Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.423.2 (#317)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Oct 30, 2024
1 parent 175e726 commit e3e6b98
Show file tree
Hide file tree
Showing 27 changed files with 53 additions and 103 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.423.1
speakeasyVersion: 1.423.2
sources:
bank-feeds-source:
sourceNamespace: bank-feeds-source
Expand Down Expand Up @@ -37,8 +37,8 @@ sources:
- main
sync-for-payables-source:
sourceNamespace: sync-for-payables-source
sourceRevisionDigest: sha256:e580893364fcd6556b524253d06d6f2a7ffd0aca5bd603c63d7b5e438fc78976
sourceBlobDigest: sha256:94efa1f6ef672dea2f97465d587d6963b075c521c20321c47fc85ca526693875
sourceRevisionDigest: sha256:21605f4725a9a08f9fda978d5d1417bd36b1f22b5024abdf32a03e55a4b7c41b
sourceBlobDigest: sha256:ba470d8545087beb7192dcceb326a22e18046b0aa7678d471d6cea44d0ee4b3e
tags:
- latest
- main
Expand Down Expand Up @@ -85,8 +85,8 @@ targets:
sync-for-payables-library:
source: sync-for-payables-source
sourceNamespace: sync-for-payables-source
sourceRevisionDigest: sha256:e580893364fcd6556b524253d06d6f2a7ffd0aca5bd603c63d7b5e438fc78976
sourceBlobDigest: sha256:94efa1f6ef672dea2f97465d587d6963b075c521c20321c47fc85ca526693875
sourceRevisionDigest: sha256:21605f4725a9a08f9fda978d5d1417bd36b1f22b5024abdf32a03e55a4b7c41b
sourceBlobDigest: sha256:ba470d8545087beb7192dcceb326a22e18046b0aa7678d471d6cea44d0ee4b3e
sync-for-payables-version-1-library:
source: sync-for-payables-version-1-source
sourceNamespace: sync-for-payables-version-1-source
Expand Down
18 changes: 7 additions & 11 deletions sync-for-payables/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 00cbdd6c-b863-4d25-8a48-4bec7ae20fc1
management:
docChecksum: d5efcee6ccc0c2f3ed0b42bab1291f7f
docChecksum: bf52e3dbe78d1a4c650c2fb77aebad64
docVersion: 3.0.0
speakeasyVersion: 1.423.1
speakeasyVersion: 1.423.2
generationVersion: 2.442.11
releaseVersion: 6.0.0
configChecksum: fcf64ecfa034815f271be53eeae7c060
releaseVersion: 7.0.0
configChecksum: 9f9a4766698348cb82682199163ebe2c
repoURL: https://github.com/codatio/client-sdk-csharp.git
repoSubDirectory: sync-for-payables
published: true
Expand Down Expand Up @@ -77,7 +77,6 @@ generatedFiles:
- Codat/Sync/Payables/Models/Components/Company.cs
- Codat/Sync/Payables/Models/Components/CompanyInformation.cs
- Codat/Sync/Payables/Models/Components/CompanyRequestBody.cs
- Codat/Sync/Payables/Models/Components/CompanyTags.cs
- Codat/Sync/Payables/Models/Components/Connection.cs
- Codat/Sync/Payables/Models/Components/Connections.cs
- Codat/Sync/Payables/Models/Components/DataConnectionError.cs
Expand All @@ -96,7 +95,6 @@ generatedFiles:
- Codat/Sync/Payables/Models/Components/SupplierRef.cs
- Codat/Sync/Payables/Models/Components/SupplierStatus.cs
- Codat/Sync/Payables/Models/Components/Suppliers.cs
- Codat/Sync/Payables/Models/Components/Tags.cs
- Codat/Sync/Payables/Models/Components/TaxRateMappingOption.cs
- Codat/Sync/Payables/Models/Components/TaxRateStatus.cs
- Codat/Sync/Payables/Models/Errors/ErrorMessage.cs
Expand Down Expand Up @@ -204,7 +202,6 @@ generatedFiles:
- docs/Models/Components/Company.md
- docs/Models/Components/CompanyInformation.md
- docs/Models/Components/CompanyRequestBody.md
- docs/Models/Components/CompanyTags.md
- docs/Models/Components/Connection.md
- docs/Models/Components/Connections.md
- docs/Models/Components/DataConnectionError.md
Expand All @@ -223,7 +220,6 @@ generatedFiles:
- docs/Models/Components/SupplierRef.md
- docs/Models/Components/SupplierStatus.md
- docs/Models/Components/Suppliers.md
- docs/Models/Components/Tags.md
- docs/Models/Components/TaxRateMappingOption.md
- docs/Models/Components/TaxRateStatus.md
- docs/Models/Errors/ErrorMessage.md
Expand Down Expand Up @@ -379,7 +375,7 @@ examples:
application/json: {"name": "Bank of Dave", "description": "Requested early access to the new financing scheme."}
responses:
"200":
application/json: {"id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "name": "Technicalium", "description": "", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "created": "2022-11-10T10:45:18.1950523Z", "createdByUserName": "Dan Tzabar", "dataConnections": []}
application/json: {"id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "name": "Technicalium", "description": "", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "created": "2022-11-10T10:45:18.1950523Z", "createdByUserName": "Dan Tzabar", "tags": {"region": "us"}, "dataConnections": []}
update-company:
Update name:
parameters:
Expand All @@ -389,7 +385,7 @@ examples:
application/json: {"name": "New Name", "description": "Requested early access to the new financing scheme."}
responses:
"200":
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "description": "Requested early access to the new financing scheme.", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}]}]}
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "description": "Requested early access to the new financing scheme.", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}, "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}]}]}
"401": {}
Update description:
parameters:
Expand All @@ -399,7 +395,7 @@ examples:
application/json: {"name": "Same name", "description": "Additional documents required"}
responses:
"200":
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "description": "Requested early access to the new financing scheme.", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z", "dataConnectionErrors": []}]}
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "description": "Requested early access to the new financing scheme.", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}, "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z", "dataConnectionErrors": []}]}
"401": {}
Unauthorized:
parameters:
Expand Down
2 changes: 1 addition & 1 deletion sync-for-payables/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
csharp:
version: 6.0.0
version: 7.0.0
additionalDependencies: []
author: Codat
clientServerStatusCodesAsErrors: true
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/BankAccounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public class BankAccounts: IBankAccounts
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/BillPayments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ public class BillPayments: IBillPayments
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/Bills.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ public class Bills: IBills
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Codat.Sync.Payables</PackageId>
<Version>6.0.0</Version>
<Version>7.0.0</Version>
<TargetFramework>net8.0</TargetFramework>
<Authors>Codat</Authors>
<Copyright>Copyright (c) Codat 2024</Copyright>
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/CodatSyncPayables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ public class CodatSyncPayables: ICodatSyncPayables
public SDKConfig SDKConfiguration { get; private set; }

private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private int _serverIndex = 0;
private ISpeakeasyHttpClient _client;
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/Companies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ public class Companies: ICompanies
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/CompanyInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public class CompanyInformation: ICompanyInformation
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/Connections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ public class Connections: IConnections
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class BankAccount
/// </remarks>
/// </summary>
[JsonProperty("accountType")]
public BankAccountType? AccountType { get; set; }
public AccountType? AccountType { get; set; }

/// <summary>
/// Account number for the bank account.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class BankAccountPrototype
/// </remarks>
/// </summary>
[JsonProperty("accountType")]
public AccountType AccountType { get; set; } = default!;
public BankAccountType AccountType { get; set; } = default!;

/// <summary>
/// Account number for the bank account.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class Company
/// A collection of user-defined key-value pairs that store custom metadata against the company.
/// </summary>
[JsonProperty("tags")]
public CompanyTags? Tags { get; set; }
public Dictionary<string, string>? Tags { get; set; }

[JsonProperty("dataConnections")]
public List<Connection>? DataConnections { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#nullable enable
namespace Codat.Sync.Payables.Models.Components
{
using Codat.Sync.Payables.Models.Components;
using Codat.Sync.Payables.Utils;
using Newtonsoft.Json;
using System.Collections.Generic;

public class CompanyRequestBody
{
Expand All @@ -32,6 +32,6 @@ public class CompanyRequestBody
/// A collection of user-defined key-value pairs that store custom metadata against the company.
/// </summary>
[JsonProperty("tags")]
public Tags? Tags { get; set; }
public Dictionary<string, string>? Tags { get; set; }
}
}

This file was deleted.

20 changes: 0 additions & 20 deletions sync-for-payables/Codat/Sync/Payables/Models/Components/Tags.cs

This file was deleted.

4 changes: 2 additions & 2 deletions sync-for-payables/Codat/Sync/Payables/Suppliers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ public class Suppliers: ISuppliers
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "6.0.0";
private const string _sdkVersion = "7.0.0";
private const string _sdkGenVersion = "2.442.11";
private const string _openapiDocVersion = "3.0.0";
private const string _userAgent = "speakeasy-sdk/csharp 6.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private const string _userAgent = "speakeasy-sdk/csharp 7.0.0 2.442.11 3.0.0 Codat.Sync.Payables";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Codat.Sync.Payables.Models.Components.Security>? _securitySource;
Expand Down
12 changes: 11 additions & 1 deletion sync-for-payables/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,14 @@ Based on:
### Generated
- [csharp v6.0.0] sync-for-payables
### Releases
- [NuGet v6.0.0] https://www.nuget.org/packages/Codat.Sync.Payables/6.0.0 - sync-for-payables
- [NuGet v6.0.0] https://www.nuget.org/packages/Codat.Sync.Payables/6.0.0 - sync-for-payables

## 2024-10-30 11:15:20
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.423.2 (2.442.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v7.0.0] sync-for-payables
### Releases
- [NuGet v7.0.0] https://www.nuget.org/packages/Codat.Sync.Payables/7.0.0 - sync-for-payables
Loading

0 comments on commit e3e6b98

Please sign in to comment.