Skip to content

Commit 556d26d

Browse files
authored
Merge pull request #520 from codatio/speakeasy-sdk-regen-1701775146
chore: 🐝 Update SDK - Generate Lending library
2 parents 8e93c04 + e69f81f commit 556d26d

File tree

1,140 files changed

+9085
-6605
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,140 files changed

+9085
-6605
lines changed

β€Žlending/.gitattributesβ€Ž

100755100644
File mode changed.

β€Žlending/README.mdβ€Ž

Lines changed: 414 additions & 202 deletions
Large diffs are not rendered by default.

β€Žlending/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [python v5.0.0] lending
6060
### Releases
61-
- [PyPI v5.0.0] https://pypi.org/project/codat-lending/5.0.0 - lending
61+
- [PyPI v5.0.0] https://pypi.org/project/codat-lending/5.0.0 - lending
62+
63+
## 2023-12-05 11:19:01
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml
67+
- Speakeasy CLI 1.125.1 (2.210.3) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [python v6.0.0] lending
70+
### Releases
71+
- [PyPI v6.0.0] https://pypi.org/project/codat-lending/6.0.0 - lending

β€Žlending/USAGE.mdβ€Ž

100755100644
Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
<!-- Start SDK Example Usage -->
2-
3-
1+
<!-- Start SDK Example Usage [usage] -->
42
```python
53
import codatlending
6-
from codatlending.models import operations, shared
4+
from codatlending.models import shared
75

86
s = codatlending.CodatLending(
97
security=shared.Security(
108
auth_header="Basic BASE_64_ENCODED(API_KEY)",
119
),
1210
)
1311

14-
req = operations.ListAccountingBankAccountTransactionsRequest(
15-
account_id='Anchorage Product',
16-
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
17-
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
18-
order_by='-modifiedDate',
19-
page=1,
20-
page_size=100,
12+
req = shared.CompanyRequestBody(
13+
description='Requested early access to the new financing scheme.',
14+
name='Bank of Dave',
2115
)
2216

23-
res = s.accounting_bank_data.list_transactions(req)
17+
res = s.companies.create(req)
2418

25-
if res.accounting_bank_transactions is not None:
19+
if res.company is not None:
2620
# handle response
2721
pass
2822
```
29-
<!-- End SDK Example Usage -->
23+
<!-- End SDK Example Usage [usage] -->

β€Žlending/docs/models/shared/errormessage.mdβ€Ž renamed to β€Žlending/docs/models/errors/errormessage.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ErrorMessage
22

3+
The request made is not valid.
4+
35

46
## Fields
57

β€Žlending/docs/models/operations/createaccountrequest.mdβ€Ž

100755100644
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
8-
| `accounting_account` | [Optional[shared.AccountingAccount]](../../models/shared/accountingaccount.md) | :heavy_minus_sign: | N/A | |
9-
| `allow_sync_on_push_complete` | *Optional[bool]* | :heavy_minus_sign: | Allow a sync upon push completion. | |
10-
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
11-
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
12-
| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
8+
| `account_prototype` | [Optional[shared.AccountPrototype]](../../models/shared/accountprototype.md) | :heavy_minus_sign: | N/A | |
9+
| `allow_sync_on_push_complete` | *Optional[bool]* | :heavy_minus_sign: | Allow a sync upon push completion. | |
10+
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
11+
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
12+
| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |

β€Žlending/docs/models/operations/createaccountresponse.mdβ€Ž

100755100644
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
88
| `accounting_create_account_response` | [Optional[shared.AccountingCreateAccountResponse]](../../models/shared/accountingcreateaccountresponse.md) | :heavy_minus_sign: | Success |
99
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
10-
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
1110
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
12-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | 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+
# CreateBankAccountRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
8+
| `accounting_bank_account` | [Optional[shared.AccountingBankAccount]](../../models/shared/accountingbankaccount.md) | :heavy_minus_sign: | N/A | |
9+
| `allow_sync_on_push_complete` | *Optional[bool]* | :heavy_minus_sign: | Allow a sync upon push completion. | |
10+
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
11+
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
12+
| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CreateBankAccountResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
8+
| `accounting_create_bank_account_response` | [Optional[shared.AccountingCreateBankAccountResponse]](../../models/shared/accountingcreatebankaccountresponse.md) | :heavy_minus_sign: | Success |
9+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

β€Žlending/docs/models/operations/createbanktransactionsrequest.mdβ€Ž

100755100644
File mode changed.

0 commit comments

Comments
Β (0)