Skip to content

Commit 2bb3275

Browse files
authored
Merge pull request #80 from codatio/speakeasy-sdk-regen-1736154699
chore: 🐝 Update SDK - Generate Lending library LENDING-LIBRARY 3.1.0
2 parents 3a8eaef + 8923f96 commit 2bb3275

File tree

223 files changed

+7475
-1665
lines changed

Some content is hidden

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

223 files changed

+7475
-1665
lines changed

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.455.5
1+
speakeasyVersion: 1.462.2
22
sources:
33
accounting-source:
44
sourceNamespace: accounting-source
@@ -24,11 +24,12 @@ sources:
2424
- main
2525
lending-source:
2626
sourceNamespace: lending-source
27-
sourceRevisionDigest: sha256:5a8f78f55041d1add3c28c608bfa608192a2ea121ee8f76fa2b63ee0df812be0
28-
sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f
27+
sourceRevisionDigest: sha256:9be1090f9409198441fb9522d5bd844b36e7d0447fd8cb3d57213378c76c9ce7
28+
sourceBlobDigest: sha256:c099262909612a8421934ac332897e738611c24f1d6f3878de41ec219fd78b48
2929
tags:
3030
- latest
31-
- speakeasy-sdk-regen-1731929475
31+
- speakeasy-sdk-regen-1736154699
32+
- 3.0.0
3233
platform-source:
3334
sourceNamespace: platform-source
3435
sourceRevisionDigest: sha256:cb42f68f66e5e7de67c90c7f7e394420f5c76622915a83de6ef61a109a7ee77f
@@ -89,10 +90,10 @@ targets:
8990
lending-library:
9091
source: lending-source
9192
sourceNamespace: lending-source
92-
sourceRevisionDigest: sha256:5a8f78f55041d1add3c28c608bfa608192a2ea121ee8f76fa2b63ee0df812be0
93-
sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f
94-
codeSamplesNamespace: lending-source-code-samples
95-
codeSamplesRevisionDigest: sha256:ef8621b10a4d23ed63b9403e8125aedb700dc5e22c05376cd90debf7bbc40382
93+
sourceRevisionDigest: sha256:9be1090f9409198441fb9522d5bd844b36e7d0447fd8cb3d57213378c76c9ce7
94+
sourceBlobDigest: sha256:c099262909612a8421934ac332897e738611c24f1d6f3878de41ec219fd78b48
95+
codeSamplesNamespace: lending-source-java-code-samples
96+
codeSamplesRevisionDigest: sha256:4998eab5d2dddce3a4825c5a0a404e11d572a8c73882d70e97d65849f4727e0a
9697
platform-library:
9798
source: platform-source
9899
sourceNamespace: platform-source

β€Žlending/.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/reports
12
# Ignore Gradle project-specific cache directory
23
.gradle
34
# Ignore Gradle build output directory

β€Žlending/.speakeasy/gen.lockβ€Ž

Lines changed: 595 additions & 495 deletions
Large diffs are not rendered by default.

β€Žlending/.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
oAuth2PasswordEnabled: false
1313
telemetryEnabled: true
1414
java:
15-
version: 3.0.0
15+
version: 3.1.0
1616
additionalDependencies: []
1717
additionalPlugins: []
1818
artifactID: lending

β€Žlending/README.mdβ€Ž

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,17 @@ The Lending API is built on top of the latest accounting, commerce, and banking
3838

3939
<!-- Start Table of Contents [toc] -->
4040
## Table of Contents
41+
<!-- $toc-max-depth=2 -->
42+
* [Endpoints](#endpoints)
43+
* [SDK Installation](#sdk-installation)
44+
* [Example Usage](#example-usage)
45+
* [SDK Example Usage](#sdk-example-usage)
46+
* [Available Resources and Operations](#available-resources-and-operations)
47+
* [Retries](#retries)
48+
* [Error Handling](#error-handling)
49+
* [Server Selection](#server-selection)
50+
* [Authentication](#authentication)
4151

42-
* [SDK Installation](#sdk-installation)
43-
* [SDK Example Usage](#sdk-example-usage)
44-
* [Available Resources and Operations](#available-resources-and-operations)
45-
* [Retries](#retries)
46-
* [Error Handling](#error-handling)
47-
* [Server Selection](#server-selection)
48-
* [Authentication](#authentication)
4952
<!-- End Table of Contents [toc] -->
5053

5154
<!-- Start SDK Installation [installation] -->
@@ -59,15 +62,15 @@ The samples below show how a published SDK artifact is used:
5962

6063
Gradle:
6164
```groovy
62-
implementation 'io.codat:lending:3.0.0'
65+
implementation 'io.codat:lending:3.1.0'
6366
```
6467

6568
Maven:
6669
```xml
6770
<dependency>
6871
<groupId>io.codat</groupId>
6972
<artifactId>lending</artifactId>
70-
<version>3.0.0</version>
73+
<version>3.1.0</version>
7174
</dependency>
7275
```
7376

@@ -96,34 +99,37 @@ gradlew.bat publishToMavenLocal -Pskip.signing
9699
package hello.world;
97100

98101
import io.codat.lending.CodatLending;
99-
import io.codat.lending.models.errors.ErrorMessage;
100-
import io.codat.lending.models.operations.CreateCompanyResponse;
101-
import io.codat.lending.models.shared.CompanyRequestBody;
102-
import io.codat.lending.models.shared.Security;
102+
import io.codat.lending.models.shared.AccountCategoriesUpdatedWebhook;
103+
import io.codat.lending.models.shared.AccountCategoriesUpdatedWebhookData;
104+
import io.codat.lending.models.webhooks.AccountCategoriesUpdatedResponse;
103105
import java.lang.Exception;
104106

105107
public class Application {
106108

107-
public static void main(String[] args) throws ErrorMessage, Exception {
109+
public static void main(String[] args) throws Exception {
108110

109111
CodatLending sdk = CodatLending.builder()
110-
.security(Security.builder()
111-
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
112-
.build())
113112
.build();
114113

115-
CompanyRequestBody req = CompanyRequestBody.builder()
116-
.name("Bank of Dave")
117-
.description("Requested early access to the new financing scheme.")
114+
AccountCategoriesUpdatedWebhook req = AccountCategoriesUpdatedWebhook.builder()
115+
.alertId("a9367074-b5c3-42c4-9be4-be129f43577e")
116+
.clientId("bae71d36-ff47-420a-b4a6-f8c9ddf41140")
117+
.clientName("Bank of Dave")
118+
.companyId("8a210b68-6988-11ed-a1eb-0242ac120002")
119+
.data(AccountCategoriesUpdatedWebhookData.builder()
120+
.modifiedDate("2022-10-23")
121+
.build())
122+
.dataConnectionId("2e9d2c44-f675-40ba-8049-353bfcb5e171")
123+
.message("Account categories updated for company f1c35bdc-1546-41b9-baf4-3f31135af968.")
124+
.ruleId("70af3071-65d9-4ec3-b3cb-5283e8d55dac")
125+
.ruleType("Account Categories Updated")
118126
.build();
119127

120-
CreateCompanyResponse res = sdk.companies().create()
128+
AccountCategoriesUpdatedResponse res = sdk.accountCategoriesUpdated()
121129
.request(req)
122130
.call();
123131

124-
if (res.company().isPresent()) {
125-
// handle response
126-
}
132+
// handle response
127133
}
128134
}
129135
```
@@ -359,6 +365,7 @@ public class Application {
359365

360366
* [create](docs/sdks/sourceaccounts/README.md#create) - Create source account
361367
* [createMapping](docs/sdks/sourceaccounts/README.md#createmapping) - Create bank feed account mapping
368+
* [listMappings](docs/sdks/sourceaccounts/README.md#listmappings) - List bank feed account mappings
362369

363370
#### [loanWriteback().suppliers()](docs/sdks/codatlendingsuppliers/README.md)
364371

@@ -512,7 +519,7 @@ public class Application {
512519
.build();
513520

514521
CompanyRequestBody req = CompanyRequestBody.builder()
515-
.name("Bank of Dave")
522+
.name("Technicalium")
516523
.description("Requested early access to the new financing scheme.")
517524
.build();
518525

@@ -572,7 +579,7 @@ public class Application {
572579
.build();
573580

574581
CompanyRequestBody req = CompanyRequestBody.builder()
575-
.name("Bank of Dave")
582+
.name("Technicalium")
576583
.description("Requested early access to the new financing scheme.")
577584
.build();
578585

@@ -623,7 +630,7 @@ public class Application {
623630
.build();
624631

625632
CompanyRequestBody req = CompanyRequestBody.builder()
626-
.name("Bank of Dave")
633+
.name("Technicalium")
627634
.description("Requested early access to the new financing scheme.")
628635
.build();
629636

@@ -667,7 +674,7 @@ public class Application {
667674
.build();
668675

669676
CompanyRequestBody req = CompanyRequestBody.builder()
670-
.name("Bank of Dave")
677+
.name("Technicalium")
671678
.description("Requested early access to the new financing scheme.")
672679
.build();
673680

@@ -716,7 +723,7 @@ public class Application {
716723
.build();
717724

718725
CompanyRequestBody req = CompanyRequestBody.builder()
719-
.name("Bank of Dave")
726+
.name("Technicalium")
720727
.description("Requested early access to the new financing scheme.")
721728
.build();
722729

β€Žlending/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ Based on:
4848
### Generated
4949
- [java v3.0.0] lending
5050
### Releases
51-
- [Maven Central v3.0.0] https://central.sonatype.com/artifact/io.codat/lending/3.0.0 - lending
51+
- [Maven Central v3.0.0] https://central.sonatype.com/artifact/io.codat/lending/3.0.0 - lending
52+
53+
## 2025-01-06 09:11:32
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.462.2 (2.486.1) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [java v3.1.0] lending
60+
### Releases
61+
- [Maven Central v3.1.0] https://central.sonatype.com/artifact/io.codat/lending/3.1.0 - lending

β€Žlending/USAGE.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class Application {
2020
.build();
2121

2222
CompanyRequestBody req = CompanyRequestBody.builder()
23-
.name("Bank of Dave")
23+
.name("Technicalium")
2424
.description("Requested early access to the new financing scheme.")
2525
.build();
2626

β€Žlending/build.gradleβ€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
6363
}
6464

6565
group = "io.codat"
66-
version = "3.0.0"
66+
version = "3.1.0"
6767

6868
sourcesJar {
6969
archiveBaseName = "lending"
@@ -101,7 +101,7 @@ publishing {
101101
maven(MavenPublication) {
102102
groupId = 'io.codat'
103103
artifactId = 'lending'
104-
version = '3.0.0'
104+
version = '3.1.0'
105105

106106
from components.java
107107

@@ -144,16 +144,16 @@ if (!project.hasProperty('skip.signing')) {
144144
}
145145
}
146146

147-
dependencies {
148-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
149-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
150-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
151-
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
152-
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
153-
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
154-
implementation 'commons-io:commons-io:2.15.1'
155-
}
156147

157148

149+
dependencies {
150+
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
151+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
152+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
153+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
154+
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
155+
implementation 'org.apache.httpcomponents.client5:httpclient5:5.4.1'
156+
implementation 'commons-io:commons-io:2.18.0'
157+
}
158158

159159
apply from: 'build-extras.gradle'

β€Žlending/docs/models/operations/GenerateReportResponse.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
88
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
9-
| `reportOperation` | [Optional\<ReportOperation>](../../models/shared/ReportOperation.md) | :heavy_minus_sign: | Success |
9+
| `reportOperation` | [Optional\<ReportOperation>](../../models/shared/ReportOperation.md) | :heavy_minus_sign: | Accepted (pending) |
1010
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
1111
| `rawResponse` | [HttpResponse\<InputStream>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetBankAccountMappingRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `companyId` | *String* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9+
| `connectionId` | *String* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |

0 commit comments

Comments
Β (0)