Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .speakeasy/logs/changes/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@
<body><h2 id="csharp-sdk-changes">Csharp SDK Changes:</h2>

<ul>
<li><code>Codat.bankFeeds.SourceAccounts.GenerateOtp()</code>: <strong>Added</strong></li>
<li><code>Codat.lending.Companies.List()</code>: <code>response.results[].DataConnections[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Companies.Create()</code>: <code>response.dataConnections[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Companies.Replace()</code>: <code>response.dataConnections[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Companies.Update()</code>: <code>response.dataConnections[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Companies.Get()</code>: <code>response.dataConnections[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Connections.List()</code>: <code>response.results[].IntegrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Connections.Create()</code>: <code>response.integrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Connections.Get()</code>: <code>response.integrationKey</code> <strong>Changed</strong></li>
<li><code>Codat.lending.Connections.Unlink()</code>: <code>response.integrationKey</code> <strong>Changed</strong></li>
</ul>
</body>
</html>
10 changes: 9 additions & 1 deletion .speakeasy/logs/changes/changes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
## Csharp SDK Changes:
* `Codat.bankFeeds.SourceAccounts.GenerateOtp()`: **Added**
* `Codat.lending.Companies.List()`: `response.results[].DataConnections[].IntegrationKey` **Changed**
* `Codat.lending.Companies.Create()`: `response.dataConnections[].IntegrationKey` **Changed**
* `Codat.lending.Companies.Replace()`: `response.dataConnections[].IntegrationKey` **Changed**
* `Codat.lending.Companies.Update()`: `response.dataConnections[].IntegrationKey` **Changed**
* `Codat.lending.Companies.Get()`: `response.dataConnections[].IntegrationKey` **Changed**
* `Codat.lending.Connections.List()`: `response.results[].IntegrationKey` **Changed**
* `Codat.lending.Connections.Create()`: `response.integrationKey` **Changed**
* `Codat.lending.Connections.Get()`: `response.integrationKey` **Changed**
* `Codat.lending.Connections.Unlink()`: `response.integrationKey` **Changed**
87,143 changes: 83,868 additions & 3,275 deletions .speakeasy/logs/changes/new.openapi.yaml

Large diffs are not rendered by default.

86,124 changes: 82,915 additions & 3,209 deletions .speakeasy/logs/changes/old.openapi.yaml

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.761.1
speakeasyVersion: 1.761.5
sources:
bank-feeds-source:
sourceNamespace: bank-feeds-source
Expand All @@ -9,11 +9,10 @@ sources:
- 3.0.0
lending-source:
sourceNamespace: lending-source
sourceRevisionDigest: sha256:7149d024c5bf2bf2ebf21d7a0dd81541b8737274458d8a3535c66bae43ec52f4
sourceBlobDigest: sha256:f44b8b8db2e4c91dc3b443995ba4912363c5ae28b0b762c386273adef38bd4ed
sourceRevisionDigest: sha256:0a00d892955d2cc912bd47adf1de8b2a84bd3485a3359565572f79ef5e7b2c5b
sourceBlobDigest: sha256:152325157f20a95fe6446fc06c82dd9669c1d0f3083208ff5086f78f823c8b78
tags:
- latest
- speakeasy-sdk-regen-1770204374
- 3.0.0
platform-source:
sourceNamespace: platform-source
Expand Down Expand Up @@ -70,10 +69,10 @@ targets:
lending-library:
source: lending-source
sourceNamespace: lending-source
sourceRevisionDigest: sha256:7149d024c5bf2bf2ebf21d7a0dd81541b8737274458d8a3535c66bae43ec52f4
sourceBlobDigest: sha256:f44b8b8db2e4c91dc3b443995ba4912363c5ae28b0b762c386273adef38bd4ed
sourceRevisionDigest: sha256:0a00d892955d2cc912bd47adf1de8b2a84bd3485a3359565572f79ef5e7b2c5b
sourceBlobDigest: sha256:152325157f20a95fe6446fc06c82dd9669c1d0f3083208ff5086f78f823c8b78
codeSamplesNamespace: lending-source-csharp-code-samples
codeSamplesRevisionDigest: sha256:3e4978bd8e0f762acc2df2152f45fb793431920135d23f2cb5d641853facc25f
codeSamplesRevisionDigest: sha256:85be91f3addbe61def24ccacc12cee07f117aa9273d8dac77eaebc64dc287ba8
platform-library:
source: platform-source
sourceNamespace: platform-source
Expand Down
1 change: 1 addition & 0 deletions lending/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.speakeasy/reports
.DS_Store
**/.speakeasy/temp/
**/.speakeasy/logs/
Expand Down
1,495 changes: 752 additions & 743 deletions lending/.speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion lending/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ generation:
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
Expand All @@ -28,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
csharp:
version: 10.0.1
version: 10.0.2
additionalDependencies: []
author: Codat
baseErrorName: CodatLendingException
Expand All @@ -38,6 +39,7 @@ csharp:
disableNamespacePascalCasingApr2024: true
dotnetVersion: net8.0
enableCancellationToken: false
enableFormatting: false
enableSourceLink: false
flattenGlobalSecurity: true
flatteningOrder: ""
Expand All @@ -59,6 +61,7 @@ csharp:
outputModelSuffix: output
packageName: Codat.Lending
packageTags: ""
respectTitlesForPrimitiveUnionMembers: false
responseFormat: envelope
sourceDirectory: ""
useNodatime: true
9 changes: 7 additions & 2 deletions lending/Codat/Lending/AccountBalances.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ public async Task<ListBankingAccountBalancesResponse> ListAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -151,9 +156,9 @@ public async Task<ListBankingAccountBalancesResponse> ListAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
18 changes: 14 additions & 4 deletions lending/Codat/Lending/AccountTransactions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ public async Task<ListAccountingAccountTransactionsResponse> ListAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -174,9 +179,9 @@ public async Task<ListAccountingAccountTransactionsResponse> ListAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down Expand Up @@ -302,6 +307,11 @@ public async Task<GetAccountingAccountTransactionResponse> GetAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -361,9 +371,9 @@ public async Task<GetAccountingAccountTransactionResponse> GetAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
9 changes: 7 additions & 2 deletions lending/Codat/Lending/AccountingBankData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransactio
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -165,9 +170,9 @@ public async Task<ListAccountingBankAccountTransactionsResponse> ListTransactio
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
18 changes: 14 additions & 4 deletions lending/Codat/Lending/Accounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ public async Task<ListAccountingAccountsResponse> ListAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -174,9 +179,9 @@ public async Task<ListAccountingAccountsResponse> ListAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down Expand Up @@ -302,6 +307,11 @@ public async Task<GetAccountingAccountResponse> GetAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -361,9 +371,9 @@ public async Task<GetAccountingAccountResponse> GetAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
18 changes: 14 additions & 4 deletions lending/Codat/Lending/BalanceSheet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ public async Task<GetCategorizedBalanceSheetStatementResponse> GetCategorizedAc
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -166,9 +171,9 @@ public async Task<GetCategorizedBalanceSheetStatementResponse> GetCategorizedAc
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down Expand Up @@ -290,6 +295,11 @@ public async Task<GetAccountingBalanceSheetResponse> GetAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -349,9 +359,9 @@ public async Task<GetAccountingBalanceSheetResponse> GetAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
18 changes: 14 additions & 4 deletions lending/Codat/Lending/BankAccounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ public async Task<GetCreateUpdateBankAccountsModelResponse> GetCreateUpdateMode
var httpRequest = new HttpRequestMessage(HttpMethod.Get, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

if (SDKConfiguration.SecuritySource != null)
{
httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest);
Expand Down Expand Up @@ -180,9 +185,9 @@ public async Task<GetCreateUpdateBankAccountsModelResponse> GetCreateUpdateMode
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down Expand Up @@ -310,6 +315,11 @@ public async Task<CreateBankAccountResponse> CreateAsync(
var httpRequest = new HttpRequestMessage(HttpMethod.Post, urlString);
httpRequest.Headers.Add("user-agent", SDKConfiguration.UserAgent);

if (!httpRequest.Headers.Contains("Accept"))
{
httpRequest.Headers.Add("Accept", "application/json");
}

var serializedBody = RequestBodySerializer.Serialize(request, "AccountingBankAccount", "json", true, true);
if (serializedBody != null)
{
Expand Down Expand Up @@ -375,9 +385,9 @@ public async Task<CreateBankAccountResponse> CreateAsync(
}
}
}
catch (Exception error)
catch (Exception _hookError)
{
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, error);
var _httpResponse = await this.SDKConfiguration.Hooks.AfterErrorAsync(new AfterErrorContext(hookCtx), null, _hookError);
if (_httpResponse != null)
{
httpResponse = _httpResponse;
Expand Down
Loading