Skip to content

Commit 0a49ddf

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.6 (#300)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent 9869ac5 commit 0a49ddf

File tree

451 files changed

+4424
-3886
lines changed

Some content is hidden

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

451 files changed

+4424
-3886
lines changed

.speakeasy/workflow.lock

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ sources:
1414
tags:
1515
- latest
1616
- main
17+
platform-source:
18+
sourceNamespace: platform-source
19+
sourceRevisionDigest: sha256:63cd9348c74d8931dbcbeaefdb72a6d1d62e739c2863ffd9eaee728cc1f61f98
20+
sourceBlobDigest: sha256:e1e3f4c3ed16022322bc656bb0e4ef28c04fff8c92c271cc859c6e2b32af5613
21+
tags:
22+
- latest
23+
- main
1724
targets:
1825
bank-feeds-library:
1926
source: bank-feeds-source
@@ -25,6 +32,11 @@ targets:
2532
sourceNamespace: lending-source
2633
sourceRevisionDigest: sha256:430975ebcb3efb3647bd8b8cf76e07f0219c0f0866403526b038486843c34455
2734
sourceBlobDigest: sha256:11ae523963780dcf6d5f3e5d617b7d4f809c94c11f59f95202727916e51510f4
35+
platform-library:
36+
source: platform-source
37+
sourceNamespace: platform-source
38+
sourceRevisionDigest: sha256:63cd9348c74d8931dbcbeaefdb72a6d1d62e739c2863ffd9eaee728cc1f61f98
39+
sourceBlobDigest: sha256:e1e3f4c3ed16022322bc656bb0e4ef28c04fff8c92c271cc859c6e2b32af5613
2840
workflow:
2941
workflowVersion: 1.0.0
3042
speakeasyVersion: latest
@@ -42,6 +54,8 @@ workflow:
4254
platform-source:
4355
inputs:
4456
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml
57+
registry:
58+
location: registry.speakeasyapi.dev/codat/codat/platform-source
4559
sync-for-commerce-source:
4660
inputs:
4761
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ sources:
1414
platform-source:
1515
inputs:
1616
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml
17+
registry:
18+
location: registry.speakeasyapi.dev/codat/codat/platform-source
1719
sync-for-commerce-source:
1820
inputs:
1921
- location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml

platform/.speakeasy/gen.lock

Lines changed: 522 additions & 502 deletions
Large diffs are not rendered by default.

platform/Codat/Platform/Codat.Platform.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
55
<PackageId>Codat.Platform</PackageId>
6-
<Version>3.7.1</Version>
7-
<TargetFramework>net6.0</TargetFramework>
6+
<Version>4.0.0</Version>
7+
<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>

platform/Codat/Platform/CodatPlatform.cs

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
namespace Codat.Platform
1111
{
1212
using Codat.Platform.Hooks;
13+
using Codat.Platform.Models.Components;
1314
using Codat.Platform.Models.Errors;
14-
using Codat.Platform.Models.Shared;
1515
using Codat.Platform.Utils.Retries;
1616
using Codat.Platform.Utils;
1717
using Newtonsoft.Json;
@@ -54,59 +54,59 @@ public interface ICodatPlatform
5454
{
5555

5656
/// <summary>
57-
/// Manage company profile configuration, sync settings, and API keys.
57+
/// Create and manage your SMB users&apos; companies.
5858
/// </summary>
59-
public ISettings Settings { get; }
59+
public ICompanies Companies { get; }
6060

6161
/// <summary>
62-
/// Create and manage your SMB users&apos; companies.
62+
/// Create new and manage existing data connections for a company.
6363
/// </summary>
64-
public ICompanies Companies { get; }
64+
public IConnections Connections { get; }
6565

6666
/// <summary>
6767
/// Configure UI and retrieve access tokens for authentication used by **Connections SDK**.
6868
/// </summary>
6969
public IConnectionManagement ConnectionManagement { get; }
7070

7171
/// <summary>
72-
/// Create new and manage existing data connections for a company.
72+
/// Initiate data refreshes, view pull status and history.
7373
/// </summary>
74-
public IConnections Connections { get; }
74+
public IRefreshData RefreshData { get; }
7575

7676
/// <summary>
77-
/// Configure and pull additional data types that are not included in Codat&apos;s standardized data model.
77+
/// Define and manage sets of companies based on a chosen characteristic.
7878
/// </summary>
79-
public ICustomDataType CustomDataType { get; }
79+
public IGroups Groups { get; }
8080

8181
/// <summary>
82-
/// Initiate and monitor Create, Update, and Delete operations.
82+
/// Create and manage webhooks that listen to Codat&apos;s events.
8383
/// </summary>
84-
public IPushData PushData { get; }
84+
public IWebhooks Webhooks { get; }
8585

8686
/// <summary>
87-
/// Initiate data refreshes, view pull status and history.
87+
/// Get a list of integrations supported by Codat and their logos.
8888
/// </summary>
89-
public IRefreshData RefreshData { get; }
89+
public IIntegrations Integrations { get; }
9090

9191
/// <summary>
92-
/// Define and manage sets of companies based on a chosen characteristic.
92+
/// Manage company profile configuration, sync settings, and API keys.
9393
/// </summary>
94-
public IGroups Groups { get; }
94+
public ISettings Settings { get; }
9595

9696
/// <summary>
97-
/// Get a list of integrations supported by Codat and their logos.
97+
/// Initiate and monitor Create, Update, and Delete operations.
9898
/// </summary>
99-
public IIntegrations Integrations { get; }
99+
public IPushData PushData { get; }
100100

101101
/// <summary>
102102
/// Configure and pull additional data you can include in Codat&apos;s standard data types.
103103
/// </summary>
104104
public ISupplementalData SupplementalData { get; }
105105

106106
/// <summary>
107-
/// Create and manage webhooks that listen to Codat&apos;s events.
107+
/// Configure and pull additional data types that are not included in Codat&apos;s standardized data model.
108108
/// </summary>
109-
public IWebhooks Webhooks { get; }
109+
public ICustomDataType CustomDataType { get; }
110110
}
111111

112112
public class SDKConfig
@@ -179,27 +179,27 @@ public class CodatPlatform: ICodatPlatform
179179
public SDKConfig SDKConfiguration { get; private set; }
180180

181181
private const string _language = "csharp";
182-
private const string _sdkVersion = "3.7.1";
183-
private const string _sdkGenVersion = "2.411.9";
182+
private const string _sdkVersion = "4.0.0";
183+
private const string _sdkGenVersion = "2.415.6";
184184
private const string _openapiDocVersion = "3.0.0";
185-
private const string _userAgent = "speakeasy-sdk/csharp 3.7.1 2.411.9 3.0.0 Codat.Platform";
185+
private const string _userAgent = "speakeasy-sdk/csharp 4.0.0 2.415.6 3.0.0 Codat.Platform";
186186
private string _serverUrl = "";
187187
private int _serverIndex = 0;
188188
private ISpeakeasyHttpClient _client;
189-
private Func<Codat.Platform.Models.Shared.Security>? _securitySource;
190-
public ISettings Settings { get; private set; }
189+
private Func<Codat.Platform.Models.Components.Security>? _securitySource;
191190
public ICompanies Companies { get; private set; }
192-
public IConnectionManagement ConnectionManagement { get; private set; }
193191
public IConnections Connections { get; private set; }
194-
public ICustomDataType CustomDataType { get; private set; }
195-
public IPushData PushData { get; private set; }
192+
public IConnectionManagement ConnectionManagement { get; private set; }
196193
public IRefreshData RefreshData { get; private set; }
197194
public IGroups Groups { get; private set; }
195+
public IWebhooks Webhooks { get; private set; }
198196
public IIntegrations Integrations { get; private set; }
197+
public ISettings Settings { get; private set; }
198+
public IPushData PushData { get; private set; }
199199
public ISupplementalData SupplementalData { get; private set; }
200-
public IWebhooks Webhooks { get; private set; }
200+
public ICustomDataType CustomDataType { get; private set; }
201201

202-
public CodatPlatform(Codat.Platform.Models.Shared.Security? security = null, Func<Codat.Platform.Models.Shared.Security>? securitySource = null, int? serverIndex = null, string? serverUrl = null, Dictionary<string, string>? urlParams = null, ISpeakeasyHttpClient? client = null, RetryConfig? retryConfig = null)
202+
public CodatPlatform(string? authHeader = null, Func<string>? authHeaderSource = null, int? serverIndex = null, string? serverUrl = null, Dictionary<string, string>? urlParams = null, ISpeakeasyHttpClient? client = null, RetryConfig? retryConfig = null)
203203
{
204204
if (serverIndex != null)
205205
{
@@ -221,17 +221,17 @@ public CodatPlatform(Codat.Platform.Models.Shared.Security? security = null, Fun
221221

222222
_client = client ?? new SpeakeasyHttpClient();
223223

224-
if(securitySource != null)
224+
if(authHeaderSource != null)
225225
{
226-
_securitySource = securitySource;
226+
_securitySource = () => new Codat.Platform.Models.Components.Security() { AuthHeader = authHeaderSource() };
227227
}
228-
else if(security != null)
228+
else if(authHeader != null)
229229
{
230-
_securitySource = () => security;
230+
_securitySource = () => new Codat.Platform.Models.Components.Security() { AuthHeader = authHeader };
231231
}
232232
else
233233
{
234-
throw new Exception("security and securitySource cannot both be null");
234+
throw new Exception("authHeader and authHeaderSource cannot both be null");
235235
}
236236

237237
SDKConfiguration = new SDKConfig()
@@ -244,37 +244,37 @@ public CodatPlatform(Codat.Platform.Models.Shared.Security? security = null, Fun
244244
_client = SDKConfiguration.InitHooks(_client);
245245

246246

247-
Settings = new Settings(_client, _securitySource, _serverUrl, SDKConfiguration);
247+
Companies = new Companies(_client, _securitySource, _serverUrl, SDKConfiguration);
248248

249249

250-
Companies = new Companies(_client, _securitySource, _serverUrl, SDKConfiguration);
250+
Connections = new Connections(_client, _securitySource, _serverUrl, SDKConfiguration);
251251

252252

253253
ConnectionManagement = new ConnectionManagement(_client, _securitySource, _serverUrl, SDKConfiguration);
254254

255255

256-
Connections = new Connections(_client, _securitySource, _serverUrl, SDKConfiguration);
256+
RefreshData = new RefreshData(_client, _securitySource, _serverUrl, SDKConfiguration);
257257

258258

259-
CustomDataType = new CustomDataType(_client, _securitySource, _serverUrl, SDKConfiguration);
259+
Groups = new Groups(_client, _securitySource, _serverUrl, SDKConfiguration);
260260

261261

262-
PushData = new PushData(_client, _securitySource, _serverUrl, SDKConfiguration);
262+
Webhooks = new Webhooks(_client, _securitySource, _serverUrl, SDKConfiguration);
263263

264264

265-
RefreshData = new RefreshData(_client, _securitySource, _serverUrl, SDKConfiguration);
265+
Integrations = new Integrations(_client, _securitySource, _serverUrl, SDKConfiguration);
266266

267267

268-
Groups = new Groups(_client, _securitySource, _serverUrl, SDKConfiguration);
268+
Settings = new Settings(_client, _securitySource, _serverUrl, SDKConfiguration);
269269

270270

271-
Integrations = new Integrations(_client, _securitySource, _serverUrl, SDKConfiguration);
271+
PushData = new PushData(_client, _securitySource, _serverUrl, SDKConfiguration);
272272

273273

274274
SupplementalData = new SupplementalData(_client, _securitySource, _serverUrl, SDKConfiguration);
275275

276276

277-
Webhooks = new Webhooks(_client, _securitySource, _serverUrl, SDKConfiguration);
277+
CustomDataType = new CustomDataType(_client, _securitySource, _serverUrl, SDKConfiguration);
278278
}
279279
}
280280
}

0 commit comments

Comments
 (0)