Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 3.0.0, Speakeasy CLI 1.167.4
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Feb 6, 2024
1 parent d0a6b47 commit 8f2fd88
Show file tree
Hide file tree
Showing 1,506 changed files with 232,361 additions and 24 deletions.
12 changes: 12 additions & 0 deletions lending/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# This allows generated code to be indexed correctly
*.java linguist-generated=false

9 changes: 9 additions & 0 deletions lending/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ignore Gradle project-specific cache directory
.gradle
# Ignore Gradle build output directory
build
bin/
# Ignore IDE-specific configs
.project
.settings/
.DS_Store
1,526 changes: 1,526 additions & 0 deletions lending/.speakeasy/gen.lock

Large diffs are not rendered by default.

636 changes: 627 additions & 9 deletions lending/README.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions lending/RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


## 2024-02-06 14:03:57
### Changes
Based on:
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml
- Speakeasy CLI 1.167.4 (2.250.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.1.0] lending
### Releases
- [Maven Central v0.1.0] https://central.sonatype.com/artifact/io.codat/lending/0.1.0 - lending
51 changes: 51 additions & 0 deletions lending/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!-- Start SDK Example Usage [usage] -->
```java
package hello.world;

import io.codat.lending.CodatLending;
import io.codat.lending.models.operations.*;
import io.codat.lending.models.operations.CreateCompanyResponse;
import io.codat.lending.models.shared.*;
import io.codat.lending.models.shared.CompanyRequestBody;
import io.codat.lending.models.shared.Items;
import io.codat.lending.models.shared.Security;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import static java.util.Map.entry;

public class Application {

public static void main(String[] args) {
try {
CodatLending sdk = CodatLending.builder()
.security(Security.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
.build())
.build();

CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
.groups(java.util.List.of(
Items.builder()
.id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
.build()))
.build();

CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();

if (res.company().isPresent()) {
// handle response
}

} catch (io.codat.lending.models.errors.SDKError e) {
// handle exception
} catch (Exception e) {
// handle exception
}
}
}
```
<!-- End SDK Example Usage [usage] -->
12 changes: 12 additions & 0 deletions lending/docs/models/operations/CreateAccountRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateAccountRequest


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `accountPrototype` | [Optional<? extends io.codat.lending.models.shared.AccountPrototype>](../../models/shared/AccountPrototype.md) | :heavy_minus_sign: | N/A | |
| `allowSyncOnPushComplete` | *Optional<? extends Boolean>* | :heavy_minus_sign: | Allow a sync upon push completion. | |
| `companyId` | *String* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `connectionId` | *String* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
| `timeoutInMinutes` | *Optional<? extends Integer>* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
12 changes: 12 additions & 0 deletions lending/docs/models/operations/CreateAccountResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateAccountResponse


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `accountingCreateAccountResponse` | [Optional<? extends io.codat.lending.models.shared.AccountingCreateAccountResponse>](../../models/shared/AccountingCreateAccountResponse.md) | :heavy_minus_sign: | Success |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `errorMessage` | [Optional<? extends io.codat.lending.models.shared.ErrorMessage>](../../models/shared/ErrorMessage.md) | :heavy_minus_sign: | The request made is not valid. |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `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 |
12 changes: 12 additions & 0 deletions lending/docs/models/operations/CreateBankAccountRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateBankAccountRequest


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `accountingBankAccount` | [JsonNullable<? extends io.codat.lending.models.shared.AccountingBankAccount>](../../models/shared/AccountingBankAccount.md) | :heavy_minus_sign: | N/A | |
| `allowSyncOnPushComplete` | *Optional<? extends Boolean>* | :heavy_minus_sign: | Allow a sync upon push completion. | |
| `companyId` | *String* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `connectionId` | *String* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
| `timeoutInMinutes` | *Optional<? extends Integer>* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
12 changes: 12 additions & 0 deletions lending/docs/models/operations/CreateBankAccountResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateBankAccountResponse


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accountingCreateBankAccountResponse` | [Optional<? extends io.codat.lending.models.shared.AccountingCreateBankAccountResponse>](../../models/shared/AccountingCreateBankAccountResponse.md) | :heavy_minus_sign: | Success |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `errorMessage` | [Optional<? extends io.codat.lending.models.shared.ErrorMessage>](../../models/shared/ErrorMessage.md) | :heavy_minus_sign: | The request made is not valid. |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `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 |
Loading

0 comments on commit 8f2fd88

Please sign in to comment.