-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from speakeasy-sdks/speakeasy-sdk-regen-1697810784
chore: speakeasy sdk regeneration - Generate Lending library
- Loading branch information
Showing
1,126 changed files
with
72,377 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist/ | ||
node_modules/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
lending/docs/models/operations/createbanktransactionsrequest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
12
lending/docs/models/operations/createbanktransactionsresponse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | | |
Oops, something went wrong.