Skip to content

Commit 1baa23c

Browse files
chore: speakeasy sdk regeneration - Generate Banking SDK (#10)
* ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.7.1 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.2 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.4 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.5 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.6 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.7 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.9.1 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.9.2 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.11.0 --------- Co-authored-by: speakeasybot <[email protected]>
1 parent b77828a commit 1baa23c

36 files changed

+4396
-2
lines changed

banking/README.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# @codat/banking
2+
3+
<!-- Start SDK Installation -->
4+
## SDK Installation
5+
6+
### NPM
7+
8+
```bash
9+
npm add @codat/banking
10+
```
11+
12+
### Yarn
13+
14+
```bash
15+
yarn add @codat/banking
16+
```
17+
<!-- End SDK Installation -->
18+
19+
## SDK Example Usage
20+
<!-- Start SDK Example Usage -->
21+
```typescript
22+
import {
23+
ListBankingAccountBalancesRequest,
24+
ListBankingAccountBalancesResponse
25+
} from "@codat/banking/dist/sdk/models/operations";
26+
27+
import { AxiosError } from "axios";
28+
import { Codat } from "@codat/banking";
29+
const sdk = new Codat({
30+
security: {
31+
authHeader: "YOUR_API_KEY_HERE",
32+
},
33+
});
34+
35+
const req: ListBankingAccountBalancesRequest = {
36+
pathParams: {
37+
companyId: "unde",
38+
connectionId: "deserunt",
39+
},
40+
queryParams: {
41+
orderBy: "porro",
42+
page: 8442.66,
43+
pageSize: 6027.63,
44+
query: "vero",
45+
},
46+
};
47+
48+
sdk.accountBalances.listBankingAccountBalances(req).then((res: ListBankingAccountBalancesResponse | AxiosError) => {
49+
// handle response
50+
});
51+
```
52+
<!-- End SDK Example Usage -->
53+
54+
<!-- Start SDK Available Operations -->
55+
## SDK Available Operations
56+
57+
58+
### accountBalances
59+
60+
* `listBankingAccountBalances` - List account balances
61+
62+
### accounts
63+
64+
* `getBankingAccount` - Get account
65+
* `listBankingAccounts` - List accounts
66+
67+
### transactionCategories
68+
69+
* `getBankTransactionCategory` - Get transaction category
70+
* `listBankTransactionCategories` - List all transaction categories
71+
72+
### transactions
73+
74+
* `getBankingTransaction` - Get bank transaction
75+
* `listAllBankingTransactions` - List banking transactions
76+
* `listBankingTransactions` - List bank account transactions
77+
<!-- End SDK Available Operations -->
78+
79+
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

banking/RELEASES.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
3+
## 2023-03-02 00:27:33
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
7+
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
8+
### Releases
9+
- [NPM v0.1.0] https://www.npmjs.com/package/@codat/banking/v/0.1.0 - banking
10+
11+
## 2023-03-04 00:23:32
12+
### Changes
13+
Based on:
14+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
15+
- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy
16+
### Releases
17+
- [NPM v0.2.0] https://www.npmjs.com/package/@codat/banking/v/0.2.0 - banking
18+
19+
## 2023-03-06 00:26:00
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
23+
- Speakeasy CLI 1.8.4 https://github.com/speakeasy-api/speakeasy
24+
### Releases
25+
- [NPM v0.2.1] https://www.npmjs.com/package/@codat/banking/v/0.2.1 - banking
26+
27+
## 2023-03-07 00:26:59
28+
### Changes
29+
Based on:
30+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
31+
- Speakeasy CLI 1.8.5 https://github.com/speakeasy-api/speakeasy
32+
### Releases
33+
- [NPM v0.2.2] https://www.npmjs.com/package/@codat/banking/v/0.2.2 - banking
34+
35+
## 2023-03-08 00:25:33
36+
### Changes
37+
Based on:
38+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
39+
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
40+
### Releases
41+
- [NPM v0.2.3] https://www.npmjs.com/package/@codat/banking/v/0.2.3 - banking
42+
43+
## 2023-03-09 00:25:45
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
47+
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
48+
### Releases
49+
- [NPM v0.2.4] https://www.npmjs.com/package/@codat/banking/v/0.2.4 - banking
50+
51+
## 2023-03-10 00:25:17
52+
### Changes
53+
Based on:
54+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
55+
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
56+
### Releases
57+
- [NPM v0.3.0] https://www.npmjs.com/package/@codat/banking/v/0.3.0 - banking
58+
59+
## 2023-03-11 00:21:44
60+
### Changes
61+
Based on:
62+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
63+
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
64+
### Releases
65+
- [NPM v0.3.1] https://www.npmjs.com/package/@codat/banking/v/0.3.1 - banking
66+
67+
## 2023-03-15 00:24:31
68+
### Changes
69+
Based on:
70+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
71+
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
72+
### Releases
73+
- [NPM v0.4.0] https://www.npmjs.com/package/@codat/banking/v/0.4.0 - banking

banking/USAGE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!-- Start SDK Example Usage -->
2+
```typescript
3+
import {
4+
ListBankingAccountBalancesRequest,
5+
ListBankingAccountBalancesResponse
6+
} from "@codat/banking/dist/sdk/models/operations";
7+
8+
import { AxiosError } from "axios";
9+
import { Codat } from "@codat/banking";
10+
const sdk = new Codat({
11+
security: {
12+
authHeader: "YOUR_API_KEY_HERE",
13+
},
14+
});
15+
16+
const req: ListBankingAccountBalancesRequest = {
17+
pathParams: {
18+
companyId: "unde",
19+
connectionId: "deserunt",
20+
},
21+
queryParams: {
22+
orderBy: "porro",
23+
page: 8442.66,
24+
pageSize: 6027.63,
25+
query: "vero",
26+
},
27+
};
28+
29+
sdk.accountBalances.listBankingAccountBalances(req).then((res: ListBankingAccountBalancesResponse | AxiosError) => {
30+
// handle response
31+
});
32+
```
33+
<!-- End SDK Example Usage -->

banking/files.gen

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
src/sdk/accountbalances.ts
2+
src/sdk/accounts.ts
3+
src/sdk/transactioncategories.ts
4+
src/sdk/transactions.ts
5+
src/sdk/sdk.ts
6+
jest.config.js
7+
package-lock.json
8+
package.json
9+
src/index.ts
10+
src/internal/utils/contenttype.ts
11+
src/internal/utils/headers.ts
12+
src/internal/utils/index.ts
13+
src/internal/utils/pathparams.ts
14+
src/internal/utils/queryparams.ts
15+
src/internal/utils/requestbody.ts
16+
src/internal/utils/retries.ts
17+
src/internal/utils/security.ts
18+
src/internal/utils/utils.ts
19+
src/sdk/index.ts
20+
tsconfig.json
21+
src/sdk/models/operations/listbankingaccountbalances.ts
22+
src/sdk/models/operations/getbankingaccount.ts
23+
src/sdk/models/operations/listbankingaccounts.ts
24+
src/sdk/models/operations/getbanktransactioncategory.ts
25+
src/sdk/models/operations/listbanktransactioncategories.ts
26+
src/sdk/models/operations/getbankingtransaction.ts
27+
src/sdk/models/operations/listallbankingtransactions.ts
28+
src/sdk/models/operations/listbankingtransactions.ts
29+
src/sdk/models/operations/index.ts
30+
src/sdk/models/shared/security.ts
31+
src/sdk/models/shared/index.ts
32+
USAGE.md

banking/gen.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
configVersion: 1.0.0
2+
management:
3+
docChecksum: 523695aad4a300053dc9bbe93ef6928a
4+
docVersion: 2.1.0
5+
speakeasyVersion: 1.11.0
26
generation:
7+
telemetryEnabled: false
38
sdkClassName: codat
49
sdkFlattening: true
510
typescript:
6-
version: 0.0.1
7-
packageName: "@codat/banking"
11+
version: 0.4.0
12+
author: Speakeasy
13+
packageName: '@codat/banking'

banking/jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
verbose: false,
5+
testPathIgnorePatterns: [
6+
"<rootDir>/__tests__/helpers.ts"
7+
]
8+
};

0 commit comments

Comments
 (0)