Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions sync-for-expenses/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
lockVersion: 2.0.0
id: a2c830ee-4f93-4e8e-8f01-48d0991317f5
management:
docChecksum: cd6fa6671764b38bed9a8592c0f117ad
docChecksum: f7909a451d1597b90dec569f16a52c39
docVersion: prealpha
speakeasyVersion: internal
generationVersion: 2.257.2
releaseVersion: 6.0.1
configChecksum: 8408f3e353fbd3cd90617a531d65c958
speakeasyVersion: 1.214.0
generationVersion: 2.286.2
releaseVersion: 6.1.0
configChecksum: e79911b643cf0af7980744493efc5dad
repoURL: https://github.com/codatio/client-sdk-python.git
repoSubDirectory: sync-for-expenses
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=sync-for-expenses
published: true
features:
python:
constsAndDefaults: 0.1.2
core: 4.4.6
constsAndDefaults: 0.1.3
core: 4.5.1
decimal: 0.1.0
deprecations: 2.81.1
examples: 2.81.3
globalSecurity: 2.83.2
globalServerURLs: 2.82.1
globalSecurity: 2.83.5
globalServerURLs: 2.82.2
inputOutputModels: 2.83.1
nameOverrides: 2.81.1
responseFormat: 0.1.0
retries: 2.82.1
webhooks: 1.0.0
generatedFiles:
- src/codatsyncexpenses/sdkconfiguration.py
- src/codatsyncexpenses/companies.py
Expand All @@ -36,6 +39,7 @@ generatedFiles:
- src/codatsyncexpenses/sync.py
- src/codatsyncexpenses/transaction_status.py
- src/codatsyncexpenses/sdk.py
- py.typed
- pylintrc
- setup.py
- src/codatsyncexpenses/__init__.py
Expand Down Expand Up @@ -404,3 +408,6 @@ generatedFiles:
- docs/sdks/transactionstatus/README.md
- USAGE.md
- .gitattributes
- src/codatsyncexpenses/_hooks/sdkhooks.py
- src/codatsyncexpenses/_hooks/types.py
- src/codatsyncexpenses/_hooks/__init__.py
9 changes: 8 additions & 1 deletion sync-for-expenses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->

Expand Down Expand Up @@ -102,7 +103,7 @@ if res.company is not None:
### [expenses](docs/sdks/expenses/README.md)

* [create](docs/sdks/expenses/README.md#create) - Create expense transaction
* [update](docs/sdks/expenses/README.md#update) - Update expense-transactions
* [update](docs/sdks/expenses/README.md#update) - Update expense transactions
* [upload_attachment](docs/sdks/expenses/README.md#upload_attachment) - Upload attachment

### [sync](docs/sdks/sync/README.md)
Expand Down Expand Up @@ -149,6 +150,7 @@ res = s.companies.create(req,
if res.company is not None:
# handle response
pass

```

If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
Expand All @@ -174,6 +176,7 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```
<!-- End Retries [retries] -->

Expand Down Expand Up @@ -217,6 +220,7 @@ except errors.SDKError as e:
if res.company is not None:
# handle response
pass

```
<!-- End Error Handling [errors] -->

Expand Down Expand Up @@ -254,6 +258,7 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```


Expand Down Expand Up @@ -281,6 +286,7 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```
<!-- End Server Selection [server] -->

Expand Down Expand Up @@ -332,6 +338,7 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```
<!-- End Authentication [security] -->

Expand Down
12 changes: 11 additions & 1 deletion sync-for-expenses/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,4 +706,14 @@ Based on:
### Generated
- [python v6.0.1] sync-for-expenses
### Releases
- [PyPI v6.0.1] https://pypi.org/project/codat-sync-for-expenses/6.0.1 - sync-for-expenses
- [PyPI v6.0.1] https://pypi.org/project/codat-sync-for-expenses/6.0.1 - sync-for-expenses

## 2024-03-20 17:20:56
### Changes
Based on:
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml
- Speakeasy CLI 1.214.0 (2.286.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v6.1.0] sync-for-expenses
### Releases
- [PyPI v6.1.0] https://pypi.org/project/codat-sync-for-expenses/6.1.0 - sync-for-expenses
1 change: 1 addition & 0 deletions sync-for-expenses/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ res = s.companies.create(req)
if res.company is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sync-for-expenses/docs/models/operations/getcompanyresponse.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `transaction` | [Optional[shared.Transaction]](../../models/shared/transaction.md) | :heavy_minus_sign: | Success |
| `transaction_response` | List[[shared.Transaction](../../models/shared/transaction.md)] | :heavy_minus_sign: | Success |
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | |
| `companies` | [Optional[shared.Companies]](../../models/shared/companies.md) | :heavy_minus_sign: | OK | {"_links":{"pageNumber":1,"pageSize":10,"totalResults":1,"self":{"href":"/companies/{id}/data/{dataType}"},"current":{"href":"/companies/{id}/data/{dataType}?page=1&pageSize=10"}}} |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | |
| `companies` | [Optional[shared.Companies]](../../models/shared/companies.md) | :heavy_minus_sign: | OK | {<br/>"pageNumber": 1,<br/>"pageSize": 10,<br/>"totalResults": 1,<br/>"_links": {<br/>"self": {<br/>"href": "/companies/{id}/data/{dataType}"<br/>},<br/>"current": {<br/>"href": "/companies/{id}/data/{dataType}?page=1\u0026pageSize=10"<br/>}<br/>}<br/>} |
Loading