Skip to content

Commit f9544a8

Browse files
author
codat-sdk-codegen
committed
sync-for-payables: regenerate with the in-house pipeline @ 1b5626f, version 9.1.0 -> 9.1.1
1 parent 2348452 commit f9544a8

279 files changed

Lines changed: 20261 additions & 17607 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-payables/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [python v9.1.0] sync-for-payables
120120
### Releases
121-
- [PyPI v9.1.0] https://pypi.org/project/codat-sync-for-payables/9.1.0 - sync-for-payables
121+
- [PyPI v9.1.0] https://pypi.org/project/codat-sync-for-payables/9.1.0 - sync-for-payables
122+
123+
## 2026-08-05 19:34:01
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables.yaml
127+
- codat sdk-codegen 1b5626f25df09d713121c5e8a048d9b44b3b7178 https://github.com/codat-spikes/sdk-codegen
128+
### Generated
129+
- [python v9.1.1] sync-for-payables
130+
### Releases
131+
- [PyPI v9.1.1] https://pypi.org/project/codat-sync-for-payables/9.1.1 - sync-for-payables

sync-for-payables/USAGE.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
<!-- Start SDK Example Usage [usage] -->
2-
```python
3-
# Synchronous Example
4-
from codat_sync_for_payables import CodatSyncPayables
5-
from codat_sync_for_payables.models import shared
6-
7-
8-
with CodatSyncPayables(
9-
security=shared.Security(
10-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11-
),
12-
) as codat_sync_payables:
13-
14-
res = codat_sync_payables.companies.list(request={
15-
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
16-
"order_by": "-modifiedDate",
17-
"tags": "region=uk && team=invoice-finance",
18-
})
19-
20-
# Handle response
21-
print(res)
22-
```
23-
24-
</br>
25-
26-
The same SDK client can also be used to make asynchronous requests by importing asyncio.
27-
28-
```python
29-
# Asynchronous Example
30-
import asyncio
31-
from codat_sync_for_payables import CodatSyncPayables
32-
from codat_sync_for_payables.models import shared
33-
34-
async def main():
35-
36-
async with CodatSyncPayables(
37-
security=shared.Security(
38-
auth_header="Basic BASE_64_ENCODED(API_KEY)",
39-
),
40-
) as codat_sync_payables:
41-
42-
res = await codat_sync_payables.companies.list_async(request={
43-
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
44-
"order_by": "-modifiedDate",
45-
"tags": "region=uk && team=invoice-finance",
46-
})
47-
48-
# Handle response
49-
print(res)
50-
51-
asyncio.run(main())
52-
```
1+
<!-- Start SDK Example Usage [usage] -->
2+
```python
3+
# Synchronous Example
4+
from codat_sync_for_payables import CodatSyncPayables
5+
from codat_sync_for_payables.models import shared
6+
7+
8+
with CodatSyncPayables(
9+
security=shared.Security(
10+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
11+
),
12+
) as codat_sync_payables:
13+
14+
res = codat_sync_payables.companies.list(request={
15+
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
16+
"order_by": "-modifiedDate",
17+
"tags": "region=uk && team=invoice-finance",
18+
})
19+
20+
# Handle response
21+
print(res)
22+
```
23+
24+
</br>
25+
26+
The same SDK client can also be used to make asynchronous requests by importing asyncio.
27+
28+
```python
29+
# Asynchronous Example
30+
import asyncio
31+
from codat_sync_for_payables import CodatSyncPayables
32+
from codat_sync_for_payables.models import shared
33+
34+
async def main():
35+
36+
async with CodatSyncPayables(
37+
security=shared.Security(
38+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
39+
),
40+
) as codat_sync_payables:
41+
42+
res = await codat_sync_payables.companies.list_async(request={
43+
"query": "id=e3334455-1aed-4e71-ab43-6bccf12092ee",
44+
"order_by": "-modifiedDate",
45+
"tags": "region=uk && team=invoice-finance",
46+
})
47+
48+
# Handle response
49+
print(res)
50+
51+
asyncio.run(main())
52+
```
5353
<!-- 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-
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code returned by the error. |
11-
| `service` | *Optional[str]* | :heavy_minus_sign: | Codat's service the returned the error. |
12-
| `error` | *Optional[str]* | :heavy_minus_sign: | A brief description of the error. |
13-
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier used to propagate to all downstream services and determine the source of the error. |
14-
| `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. |
15-
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | `True` if the error occurred transiently and can be retried. |
16-
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | Machine readable error code used to automate processes based on the code returned. |
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)