Skip to content

Commit

Permalink
Merge pull request #2 from speakeasy-sdks/speakeasy-sdk-regen-1697810784
Browse files Browse the repository at this point in the history
chore: speakeasy sdk regeneration - Generate Lending library
  • Loading branch information
simplesagar authored Oct 20, 2023
2 parents ccac5d8 + f1d92f7 commit aee8fbd
Show file tree
Hide file tree
Showing 1,126 changed files with 72,377 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lending/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
env:
browser: true
es2021: true
node: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
overrides: []
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- "@typescript-eslint"
rules:
"@typescript-eslint/no-explicit-any": "off"
"no-prototype-builtins": "off"
2 changes: 2 additions & 0 deletions lending/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This allows generated code to be indexed correctly
*.ts linguist-generated=false
2 changes: 2 additions & 0 deletions lending/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
386 changes: 386 additions & 0 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 @@


## 2023-10-20 14:06:22
### Changes
Based on:
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml
- Speakeasy CLI 1.102.0 (2.166.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.1.0] lending
### Releases
- [NPM v0.1.0] https://www.npmjs.com/package/openapi/v/0.1.0 - lending
27 changes: 27 additions & 0 deletions lending/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- Start SDK Example Usage -->


```typescript
import { SDK } from "openapi";

(async () => {
const sdk = new SDK({
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
});

const res = await sdk.accountingBankData.listTransactions({
accountId: "back",
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
orderBy: "-modifiedDate",
page: 1,
pageSize: 100,
});

if (res.statusCode == 200) {
// handle response
}
})();

```
<!-- End SDK Example 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 |
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `accountingAccount` | [shared.AccountingAccount](../../models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A | |
| `allowSyncOnPushComplete` | *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` | *number* | :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` | [shared.AccountingCreateAccountResponse](../../models/shared/accountingcreateaccountresponse.md) | :heavy_minus_sign: | Success |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
13 changes: 13 additions & 0 deletions lending/docs/models/operations/createbanktransactionsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# CreateBankTransactionsRequest


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `accountingCreateBankTransactions` | [shared.AccountingCreateBankTransactions](../../models/shared/accountingcreatebanktransactions.md) | :heavy_minus_sign: | N/A | |
| `accountId` | *string* | :heavy_check_mark: | Unique identifier for an account. | |
| `allowSyncOnPushComplete` | *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` | *number* | :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/createbanktransactionsresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateBankTransactionsResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `accountingCreateBankTransactionsResponse` | [shared.AccountingCreateBankTransactionsResponse](../../models/shared/accountingcreatebanktransactionsresponse.md) | :heavy_minus_sign: | Success |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
12 changes: 12 additions & 0 deletions lending/docs/models/operations/createcompanyresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CreateCompanyResponse


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
| `company` | [shared.Company](../../models/shared/company.md) | :heavy_minus_sign: | OK |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
9 changes: 9 additions & 0 deletions lending/docs/models/operations/createconnectionrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CreateConnectionRequest


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `companyId` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `requestBody` | [CreateConnectionRequestBody](../../models/operations/createconnectionrequestbody.md) | :heavy_minus_sign: | N/A | |
Loading

0 comments on commit aee8fbd

Please sign in to comment.