Skip to content

Commit d3e170c

Browse files
authored
Merge pull request #461 from codatio/speakeasy-sdk-regen-1697552017
chore: speakeasy sdk regeneration - Generate Sync for Expenses version 1 library
2 parents e2ea593 + 5f0f391 commit d3e170c

File tree

164 files changed

+824
-628
lines changed

Some content is hidden

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

164 files changed

+824
-628
lines changed

previous-versions/sync-for-expenses-version-1/README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ pip install codat-sync-for-expenses-version-1
1414

1515
## Example Usage
1616
<!-- Start SDK Example Usage -->
17-
18-
1917
```python
2018
import codatsyncexpenses
2119
from codatsyncexpenses.models import shared
@@ -35,6 +33,7 @@ res = s.companies.create_company(req)
3533

3634
if res.company is not None:
3735
# handle response
36+
pass
3837
```
3938
<!-- End SDK Example Usage -->
4039

@@ -58,7 +57,7 @@ if res.company is not None:
5857
### [connections](docs/sdks/connections/README.md)
5958

6059
* [create_connection](docs/sdks/connections/README.md#create_connection) - Create connection
61-
* [create_partner_expense_connection](docs/sdks/connections/README.md#create_partner_expense_connection) - Create Partner Expense connection
60+
* [create_partner_expense_connection](docs/sdks/connections/README.md#create_partner_expense_connection) - Create partner expense connection
6261
* [delete_connection](docs/sdks/connections/README.md#delete_connection) - Delete connection
6362
* [get_connection](docs/sdks/connections/README.md#get_connection) - Get connection
6463
* [list_connections](docs/sdks/connections/README.md#list_connections) - List connections
@@ -67,7 +66,7 @@ if res.company is not None:
6766
### [expenses](docs/sdks/expenses/README.md)
6867

6968
* [create_expense_dataset](docs/sdks/expenses/README.md#create_expense_dataset) - Create expense-transactions
70-
* [update_expense_dataset](docs/sdks/expenses/README.md#update_expense_dataset) - Update expense-transactions
69+
* [update_expense_dataset](docs/sdks/expenses/README.md#update_expense_dataset) - Update expense transactions
7170
* [upload_attachment](docs/sdks/expenses/README.md#upload_attachment) - Upload attachment
7271

7372
### [mapping_options](docs/sdks/mappingoptions/README.md)
@@ -82,12 +81,24 @@ if res.company is not None:
8281

8382
* [get_last_successful_sync](docs/sdks/syncstatus/README.md#get_last_successful_sync) - Last successful sync
8483
* [get_latest_sync](docs/sdks/syncstatus/README.md#get_latest_sync) - Latest sync status
85-
* [get_sync_by_id](docs/sdks/syncstatus/README.md#get_sync_by_id) - Get Sync status
84+
* [get_sync_by_id](docs/sdks/syncstatus/README.md#get_sync_by_id) - Get sync status
8685
* [list_syncs](docs/sdks/syncstatus/README.md#list_syncs) - List sync statuses
8786

8887
### [transaction_status](docs/sdks/transactionstatus/README.md)
8988

90-
* [get_sync_transaction](docs/sdks/transactionstatus/README.md#get_sync_transaction) - Get Sync Transaction
91-
* [list_sync_transactions](docs/sdks/transactionstatus/README.md#list_sync_transactions) - Get Sync transactions
89+
* [get_sync_transaction](docs/sdks/transactionstatus/README.md#get_sync_transaction) - Get sync transaction
90+
* [list_sync_transactions](docs/sdks/transactionstatus/README.md#list_sync_transactions) - Get sync transactions
9291
<!-- End SDK Available Operations -->
92+
93+
94+
95+
<!-- Start Dev Containers -->
96+
97+
98+
99+
<!-- End Dev Containers -->
100+
101+
<!-- Placeholder for Future Speakeasy SDK Sections -->
102+
103+
93104
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
3+
## 2023-10-17 14:13:32
4+
### Changes
5+
Based on:
6+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses-v1.yaml
7+
- Speakeasy CLI 1.100.2 (2.159.2) https://github.com/speakeasy-api/speakeasy
8+
### Generated
9+
- [python v0.2.0] previous-versions/sync-for-expenses-version-1
10+
### Releases
11+
- [PyPI v0.2.0] https://pypi.org/project/codat-sync-for-expenses-version-1/0.2.0 - previous-versions/sync-for-expenses-version-1

previous-versions/sync-for-expenses-version-1/USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ res = s.companies.create_company(req)
2020

2121
if res.company is not None:
2222
# handle response
23+
pass
2324
```
2425
<!-- End SDK Example Usage -->

previous-versions/sync-for-expenses-version-1/docs/models/operations/createcompanyresponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
88
| `company` | [Optional[shared.Company]](../../models/shared/company.md) | :heavy_minus_sign: | OK |
9-
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
1010
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
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 |
11+
| `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 |

previous-versions/sync-for-expenses-version-1/docs/models/operations/createconnectionrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
| Field | Type | Required | Description | Example |
77
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
88
| `request_body` | [Optional[CreateConnectionRequestBody]](../../models/operations/createconnectionrequestbody.md) | :heavy_minus_sign: | N/A | |
9-
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9+
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |

previous-versions/sync-for-expenses-version-1/docs/models/operations/createconnectionrequestbody.md

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------ | ------------------ | ------------------ | ------------------ |
8-
| `platform_key` | *Optional[str]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `platform_key` | *Optional[str]* | :heavy_minus_sign: | A unique 4-letter key to represent a platform in each integration. View [accounting](https://docs.codat.io/integrations/accounting/overview#platform-keys), [banking](https://docs.codat.io/integrations/banking/overview#platform-keys), and [commerce](https://docs.codat.io/integrations/commerce/overview#platform-keys) platform keys. | gbol |

previous-versions/sync-for-expenses-version-1/docs/models/operations/createconnectionresponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
88
| `connection` | [Optional[shared.Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | OK |
9-
| `content_type` | *str* | :heavy_check_mark: | N/A |
9+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
1010
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
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 |
11+
| `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 |

0 commit comments

Comments
 (0)