Skip to content

Commit 64836f0

Browse files
authored
Merge pull request #378 from codatio/speakeasy-sdk-regen-1695396747
chore: speakeasy sdk regeneration - Generate Sync for Payables library
2 parents 11f45d7 + b37aa2e commit 64836f0

File tree

25 files changed

+566
-337
lines changed

25 files changed

+566
-337
lines changed

sync-for-payables/README.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ pip install codat-sync-for-payables
1212

1313
## Example Usage
1414
<!-- Start SDK Example Usage -->
15-
16-
1715
```python
1816
import codatsyncpayables
1917
from codatsyncpayables.models import operations, shared
@@ -27,11 +25,11 @@ s = codatsyncpayables.CodatSyncPayables(
2725

2826
req = operations.CreateAccountRequest(
2927
account=shared.Account(
30-
currency='USD',
28+
currency='EUR',
3129
current_balance=Decimal('0'),
3230
description='Invoices the business has issued but has not yet collected payment on.',
3331
fully_qualified_category='Asset.Current',
34-
fully_qualified_name='Fixed Asset',
32+
fully_qualified_name='Cash On Hand',
3533
id='1b6266d1-1e44-46c5-8eb5-a8f98e03124e',
3634
is_bank_account=False,
3735
metadata=shared.Metadata(
@@ -46,15 +44,15 @@ req = operations.CreateAccountRequest(
4644
valid_datatype_links=[
4745
shared.AccountValidDataTypeLinks(
4846
links=[
49-
'unde',
47+
'suscipit',
5048
],
51-
property='nulla',
49+
property='iure',
5250
),
5351
],
5452
),
5553
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
5654
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
57-
timeout_in_minutes=544883,
55+
timeout_in_minutes=297534,
5856
)
5957

6058
res = s.accounts.create(req)
@@ -95,6 +93,7 @@ if res.create_account_response is not None:
9593

9694
* [create](docs/sdks/bills/README.md#create) - Create bill
9795
* [delete](docs/sdks/bills/README.md#delete) - Delete bill
96+
* [delete_attachment](docs/sdks/bills/README.md#delete_attachment) - Delete bill attachment
9897
* [download_attachment](docs/sdks/bills/README.md#download_attachment) - Download bill attachment
9998
* [get](docs/sdks/bills/README.md#get) - Get bill
10099
* [get_attachment](docs/sdks/bills/README.md#get_attachment) - Get bill attachment
@@ -172,4 +171,30 @@ if res.create_account_response is not None:
172171
* [get](docs/sdks/trackingcategories/README.md#get) - Get tracking categories
173172
* [list](docs/sdks/trackingcategories/README.md#list) - List tracking categories
174173
<!-- End SDK Available Operations -->
174+
175+
176+
177+
<!-- Start Dev Containers -->
178+
179+
180+
181+
<!-- End Dev Containers -->
182+
183+
184+
185+
<!-- Start Pagination -->
186+
# Pagination
187+
188+
Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
189+
returned response object will have a `Next` method that can be called to pull down the next group of results. If the
190+
return value of `Next` is `None`, then there are no more pages to be fetched.
191+
192+
Here's an example of one such pagination call:
193+
194+
195+
<!-- End Pagination -->
196+
197+
<!-- Placeholder for Future Speakeasy SDK Sections -->
198+
199+
175200
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

sync-for-payables/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ Based on:
2828
### Generated
2929
- [python v1.1.0] sync-for-payables
3030
### Releases
31-
- [PyPI v1.1.0] https://pypi.org/project/codat-sync-for-payables/1.1.0 - sync-for-payables
31+
- [PyPI v1.1.0] https://pypi.org/project/codat-sync-for-payables/1.1.0 - sync-for-payables
32+
33+
## 2023-09-22 15:32:22
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables.yaml
37+
- Speakeasy CLI 1.90.0 (2.125.1) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [python v1.2.0] sync-for-payables
40+
### Releases
41+
- [PyPI v1.2.0] https://pypi.org/project/codat-sync-for-payables/1.2.0 - sync-for-payables
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DeleteBillAttachmentRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `attachment_id` | *str* | :heavy_check_mark: | Unique identifier for an attachment | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9+
| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
10+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
11+
| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DeleteBillAttachmentResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
10+
| `push_operation` | [Optional[shared.PushOperation]](../../models/shared/pushoperation.md) | :heavy_minus_sign: | OK |
11+
| `status_code` | *int* | :heavy_check_mark: | N/A |
12+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |

sync-for-payables/docs/sdks/accounts/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ req = operations.CreateAccountRequest(
6060
links=[
6161
'suscipit',
6262
],
63-
property='iure',
63+
property='molestiae',
6464
),
6565
],
6666
),
6767
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
6868
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
69-
timeout_in_minutes=297534,
69+
timeout_in_minutes=791725,
7070
)
7171

7272
res = s.accounts.create(req)
@@ -112,7 +112,7 @@ s = codatsyncpayables.CodatSyncPayables(
112112
)
113113

114114
req = operations.GetAccountRequest(
115-
account_id='debitis',
115+
account_id='placeat',
116116
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
117117
)
118118

@@ -209,7 +209,7 @@ req = operations.ListAccountsRequest(
209209
order_by='-modifiedDate',
210210
page=1,
211211
page_size=100,
212-
query='ipsa',
212+
query='voluptatum',
213213
)
214214

215215
res = s.accounts.list(req)

0 commit comments

Comments
 (0)