Skip to content

Commit 83f6d00

Browse files
author
codat-sdk-codegen
committed
sync-for-expenses: regenerate with the in-house pipeline @ 1b5626f, version 8.0.1 -> 8.0.2
1 parent 2348452 commit 83f6d00

520 files changed

Lines changed: 38650 additions & 36500 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.

sync-for-expenses/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,4 +766,14 @@ Based on:
766766
### Generated
767767
- [python v8.0.1] sync-for-expenses
768768
### Releases
769-
- [PyPI v8.0.1] https://pypi.org/project/codat-sync-for-expenses/8.0.1 - sync-for-expenses
769+
- [PyPI v8.0.1] https://pypi.org/project/codat-sync-for-expenses/8.0.1 - sync-for-expenses
770+
771+
## 2026-08-05 19:33:42
772+
### Changes
773+
Based on:
774+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml
775+
- codat sdk-codegen 1b5626f25df09d713121c5e8a048d9b44b3b7178 https://github.com/codat-spikes/sdk-codegen
776+
### Generated
777+
- [python v8.0.2] sync-for-expenses
778+
### Releases
779+
- [PyPI v8.0.2] https://pypi.org/project/codat-sync-for-expenses/8.0.2 - sync-for-expenses

sync-for-expenses/USAGE.md

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
1-
<!-- Start SDK Example Usage [usage] -->
2-
```python
3-
# Synchronous Example
4-
from codat_sync_for_expenses import CodatSyncExpenses
5-
from codat_sync_for_expenses.models import shared
6-
7-
8-
with CodatSyncExpenses(
9-
security=shared.Security(
10-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11-
),
12-
) as codat_sync_expenses:
13-
14-
res = codat_sync_expenses.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_sync_for_expenses import CodatSyncExpenses
30-
from codat_sync_for_expenses.models import shared
31-
32-
async def main():
33-
34-
async with CodatSyncExpenses(
35-
security=shared.Security(
36-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
37-
),
38-
) as codat_sync_expenses:
39-
40-
res = await codat_sync_expenses.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_sync_for_expenses import CodatSyncExpenses
5+
from codat_sync_for_expenses.models import shared
6+
7+
8+
with CodatSyncExpenses(
9+
security=shared.Security(
10+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11+
),
12+
) as codat_sync_expenses:
13+
14+
res = codat_sync_expenses.companies.create(request={
15+
"description": "Requested early access to the new financing scheme.",
16+
"name": "Bank of Dave",
17+
})
18+
19+
# Handle response
20+
print(res)
21+
```
22+
23+
</br>
24+
25+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
26+
27+
```python
28+
# Asynchronous Example
29+
import asyncio
30+
from codat_sync_for_expenses import CodatSyncExpenses
31+
from codat_sync_for_expenses.models import shared
32+
33+
async def main():
34+
35+
async with CodatSyncExpenses(
36+
security=shared.Security(
37+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
38+
),
39+
) as codat_sync_expenses:
40+
41+
res = await codat_sync_expenses.companies.create_async(request={
42+
"description": "Requested early access to the new financing scheme.",
43+
"name": "Bank of Dave",
44+
})
45+
46+
# Handle response
47+
print(res)
48+
49+
asyncio.run(main())
50+
```
4951
<!-- 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. |
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# CreateAccountRequest
2-
3-
4-
## Fields
5-
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 |
1+
# CreateAccountRequest
2+
3+
4+
## Fields
5+
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 |
1212
| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |

0 commit comments

Comments
 (0)