Skip to content

Commit aee8fbd

Browse files
authored
Merge pull request #2 from speakeasy-sdks/speakeasy-sdk-regen-1697810784
chore: speakeasy sdk regeneration - Generate Lending library
2 parents ccac5d8 + f1d92f7 commit aee8fbd

File tree

1,126 files changed

+72377
-0
lines changed

Some content is hidden

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

1,126 files changed

+72377
-0
lines changed

lending/.eslintrc.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
env:
2+
browser: true
3+
es2021: true
4+
node: true
5+
extends:
6+
- eslint:recommended
7+
- plugin:@typescript-eslint/recommended
8+
overrides: []
9+
parser: "@typescript-eslint/parser"
10+
parserOptions:
11+
ecmaVersion: latest
12+
sourceType: module
13+
plugins:
14+
- "@typescript-eslint"
15+
rules:
16+
"@typescript-eslint/no-explicit-any": "off"
17+
"no-prototype-builtins": "off"

lending/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.ts linguist-generated=false

lending/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist/
2+
node_modules/

lending/README.md

Lines changed: 386 additions & 0 deletions
Large diffs are not rendered by default.

lending/RELEASES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2023-10-20 14:06:22
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml
7+
- Speakeasy CLI 1.102.0 (2.166.0) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [typescript v0.1.0] lending
10+
### Releases
11+
- [NPM v0.1.0] https://www.npmjs.com/package/openapi/v/0.1.0 - lending

lending/USAGE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!-- Start SDK Example Usage -->
2+
3+
4+
```typescript
5+
import { SDK } from "openapi";
6+
7+
(async () => {
8+
const sdk = new SDK({
9+
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
10+
});
11+
12+
const res = await sdk.accountingBankData.listTransactions({
13+
accountId: "back",
14+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
15+
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
16+
orderBy: "-modifiedDate",
17+
page: 1,
18+
pageSize: 100,
19+
});
20+
21+
if (res.statusCode == 200) {
22+
// handle response
23+
}
24+
})();
25+
26+
```
27+
<!-- End SDK Example Usage -->
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateAccountRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
8+
| `accountingAccount` | [shared.AccountingAccount](../../models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A | |
9+
| `allowSyncOnPushComplete` | *boolean* | :heavy_minus_sign: | Allow a sync upon push completion. | |
10+
| `companyId` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
11+
| `connectionId` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
12+
| `timeoutInMinutes` | *number* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateAccountResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
8+
| `accountingCreateAccountResponse` | [shared.AccountingCreateAccountResponse](../../models/shared/accountingcreateaccountresponse.md) | :heavy_minus_sign: | Success |
9+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
11+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
12+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# CreateBankTransactionsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
8+
| `accountingCreateBankTransactions` | [shared.AccountingCreateBankTransactions](../../models/shared/accountingcreatebanktransactions.md) | :heavy_minus_sign: | N/A | |
9+
| `accountId` | *string* | :heavy_check_mark: | Unique identifier for an account. | |
10+
| `allowSyncOnPushComplete` | *boolean* | :heavy_minus_sign: | Allow a sync upon push completion. | |
11+
| `companyId` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
12+
| `connectionId` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
13+
| `timeoutInMinutes` | *number* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateBankTransactionsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
8+
| `accountingCreateBankTransactionsResponse` | [shared.AccountingCreateBankTransactionsResponse](../../models/shared/accountingcreatebanktransactionsresponse.md) | :heavy_minus_sign: | Success |
9+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
11+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
12+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateCompanyResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
8+
| `company` | [shared.Company](../../models/shared/company.md) | :heavy_minus_sign: | OK |
9+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `errorMessage` | [shared.ErrorMessage](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
11+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
12+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_minus_sign: | 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+
# CreateConnectionRequest
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+
| `requestBody` | [CreateConnectionRequestBody](../../models/operations/createconnectionrequestbody.md) | :heavy_minus_sign: | N/A | |

0 commit comments

Comments
 (0)