Skip to content

Commit 4c7fdf0

Browse files
author
codat-sdk-codegen
committed
lending: regenerate with the in-house pipeline @ b16d9d8, version 11.0.1 -> 11.0.2
1 parent b72ccd6 commit 4c7fdf0

1,341 files changed

Lines changed: 114487 additions & 112344 deletions

File tree

Some content is hidden

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

lending/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,14 @@ Based on:
208208
### Generated
209209
- [python v11.0.1] lending
210210
### Releases
211-
- [PyPI v11.0.1] https://pypi.org/project/codat-lending/11.0.1 - lending
211+
- [PyPI v11.0.1] https://pypi.org/project/codat-lending/11.0.1 - lending
212+
213+
## 2026-08-12 14:33:48
214+
### Changes
215+
Based on:
216+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Lending.yaml
217+
- codat sdk-codegen b16d9d8262794a585cbc621bca8d2dca77a75682 https://github.com/codat-spikes/sdk-codegen
218+
### Generated
219+
- [python v11.0.2] lending
220+
### Releases
221+
- [PyPI v11.0.2] https://pypi.org/project/codat-lending/11.0.2 - lending

lending/USAGE.md

Lines changed: 56 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,57 @@
1-
<!-- Start SDK Example Usage [usage] -->
2-
```python
3-
# Synchronous Example
4-
from codat_lending import CodatLending
5-
from codat_lending.models import shared
6-
7-
8-
with CodatLending(
9-
security=shared.Security(
10-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11-
),
12-
) as cl_client:
13-
14-
res = cl_client.companies.create(request={
15-
"name": "Technicalium",
16-
})
17-
18-
# Handle response
19-
print(res)
20-
```
21-
22-
</br>
23-
24-
The same SDK client can also be used to make asynchronous requests by importing asyncio.
25-
26-
```python
27-
# Asynchronous Example
28-
import asyncio
29-
from codat_lending import CodatLending
30-
from codat_lending.models import shared
31-
32-
async def main():
33-
34-
async with CodatLending(
35-
security=shared.Security(
36-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
37-
),
38-
) as cl_client:
39-
40-
res = await cl_client.companies.create_async(request={
41-
"name": "Technicalium",
42-
})
43-
44-
# Handle response
45-
print(res)
46-
47-
asyncio.run(main())
48-
```
1+
<!-- Start SDK Example Usage [usage] -->
2+
```python
3+
# Synchronous Example
4+
from codat_lending import CodatLending
5+
from codat_lending.models import shared
6+
7+
8+
with CodatLending(
9+
security=shared.Security(
10+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11+
),
12+
) as cl_client:
13+
14+
res = cl_client.accounting_bank_data.list_transactions(request={
15+
"company_id": "8a210b68-6988-11ed-a1eb-0242ac120002",
16+
"connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171",
17+
"account_id": "13d946f0-c5d5-42bc-b092-97ece17923ab",
18+
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
19+
"order_by": "-modifiedDate",
20+
})
21+
22+
# Handle response
23+
print(res)
24+
```
25+
26+
</br>
27+
28+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
29+
30+
```python
31+
# Asynchronous Example
32+
import asyncio
33+
from codat_lending import CodatLending
34+
from codat_lending.models import shared
35+
36+
async def main():
37+
38+
async with CodatLending(
39+
security=shared.Security(
40+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
41+
),
42+
) as cl_client:
43+
44+
res = await cl_client.accounting_bank_data.list_transactions_async(request={
45+
"company_id": "8a210b68-6988-11ed-a1eb-0242ac120002",
46+
"connection_id": "2e9d2c44-f675-40ba-8049-353bfcb5e171",
47+
"account_id": "13d946f0-c5d5-42bc-b092-97ece17923ab",
48+
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
49+
"order_by": "-modifiedDate",
50+
})
51+
52+
# Handle response
53+
print(res)
54+
55+
asyncio.run(main())
56+
```
4957
<!-- End SDK Example Usage [usage] -->
Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# ErrorMessage
2-
3-
Your `query` parameter was not correctly formed
4-
5-
6-
## Fields
7-
8-
| Field | Type | Required | Description |
9-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
10-
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | `True` if the error occurred transiently and can be retried. |
11-
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier used to propagate to all downstream services and determine the source of the error. |
12-
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | Machine readable error code used to automate processes based on the code returned. |
13-
| `error` | *Optional[str]* | :heavy_minus_sign: | A brief description of the error. |
14-
| `service` | *Optional[str]* | :heavy_minus_sign: | Codat's service the returned the error. |
15-
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code returned by the error. |
16-
| `validation` | [OptionalNullable[shared.ErrorValidation]](../../models/shared/errorvalidation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made. If an operation has failed because of validation errors, they will be detailed here. |
1+
# ErrorMessage
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
8+
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | `True` if the error occurred transiently and can be retried. |
9+
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier used to propagate to all downstream services and determine the source of the error. |
10+
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | Machine readable error code used to automate processes based on the code returned. |
11+
| `error` | *Optional[str]* | :heavy_minus_sign: | A brief description of the error. |
12+
| `service` | *Optional[str]* | :heavy_minus_sign: | Codat's service the returned the error. |
13+
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code returned by the error. |
14+
| `validation` | [Optional[shared.ErrorValidation]](../../models/shared/errorvalidation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made. If an operation has failed because of validation errors, they will be detailed here. |

0 commit comments

Comments
 (0)