Skip to content

Commit 6baf5d3

Browse files
authored
Merge pull request #470 from codatio/speakeasy-sdk-regen-1697554827
chore: speakeasy sdk regeneration - Generate Platform library
2 parents 5cf9928 + 13719f8 commit 6baf5d3

File tree

250 files changed

+1219
-892
lines changed

Some content is hidden

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

250 files changed

+1219
-892
lines changed

platform/README.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ pip install codat-platform
1414

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

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

4140
<!-- Start SDK Available Operations -->
4241
## Available Resources and Operations
4342

4443

45-
### [Companies](docs/sdks/companies/README.md)
44+
### [companies](docs/sdks/companies/README.md)
4645

4746
* [create](docs/sdks/companies/README.md#create) - Create company
4847
* [delete](docs/sdks/companies/README.md#delete) - Delete a company
4948
* [get](docs/sdks/companies/README.md#get) - Get company
5049
* [list](docs/sdks/companies/README.md#list) - List companies
5150
* [update](docs/sdks/companies/README.md#update) - Update company
5251

53-
### [Connections](docs/sdks/connections/README.md)
52+
### [connections](docs/sdks/connections/README.md)
5453

5554
* [create](docs/sdks/connections/README.md#create) - Create connection
5655
* [delete](docs/sdks/connections/README.md#delete) - Delete connection
@@ -59,45 +58,57 @@ if res.company is not None:
5958
* [unlink](docs/sdks/connections/README.md#unlink) - Unlink connection
6059
* [update_authorization](docs/sdks/connections/README.md#update_authorization) - Update authorization
6160

62-
### [Integrations](docs/sdks/integrations/README.md)
61+
### [integrations](docs/sdks/integrations/README.md)
6362

6463
* [get](docs/sdks/integrations/README.md#get) - Get integration
6564
* [get_branding](docs/sdks/integrations/README.md#get_branding) - Get branding
6665
* [list](docs/sdks/integrations/README.md#list) - List integrations
6766

68-
### [PushData](docs/sdks/pushdata/README.md)
67+
### [push_data](docs/sdks/pushdata/README.md)
6968

7069
* [get_model_options](docs/sdks/pushdata/README.md#get_model_options) - Get push options
7170
* [get_operation](docs/sdks/pushdata/README.md#get_operation) - Get push operation
7271
* [list_operations](docs/sdks/pushdata/README.md#list_operations) - List push operations
7372

74-
### [RefreshData](docs/sdks/refreshdata/README.md)
73+
### [refresh_data](docs/sdks/refreshdata/README.md)
7574

7675
* [all](docs/sdks/refreshdata/README.md#all) - Refresh all data
7776
* [by_data_type](docs/sdks/refreshdata/README.md#by_data_type) - Refresh data type
7877
* [get](docs/sdks/refreshdata/README.md#get) - Get data status
7978
* [get_pull_operation](docs/sdks/refreshdata/README.md#get_pull_operation) - Get pull operation
8079
* [list_pull_operations](docs/sdks/refreshdata/README.md#list_pull_operations) - List pull operations
8180

82-
### [Settings](docs/sdks/settings/README.md)
81+
### [settings](docs/sdks/settings/README.md)
8382

8483
* [create_api_key](docs/sdks/settings/README.md#create_api_key) - Create API key
85-
* [delete_api_key](docs/sdks/settings/README.md#delete_api_key) - Delete api key
84+
* [delete_api_key](docs/sdks/settings/README.md#delete_api_key) - Delete API key
8685
* [~~get_profile~~](docs/sdks/settings/README.md#get_profile) - Get profile :warning: **Deprecated**
8786
* [get_sync_settings](docs/sdks/settings/README.md#get_sync_settings) - Get sync settings
8887
* [list_api_keys](docs/sdks/settings/README.md#list_api_keys) - List API keys
8988
* [update_profile](docs/sdks/settings/README.md#update_profile) - Update profile
9089
* [update_sync_settings](docs/sdks/settings/README.md#update_sync_settings) - Update all sync settings
9190

92-
### [SupplementalData](docs/sdks/supplementaldata/README.md)
91+
### [supplemental_data](docs/sdks/supplementaldata/README.md)
9392

9493
* [configure](docs/sdks/supplementaldata/README.md#configure) - Configure
9594
* [get_configuration](docs/sdks/supplementaldata/README.md#get_configuration) - Get configuration
9695

97-
### [Webhooks](docs/sdks/webhooks/README.md)
96+
### [webhooks](docs/sdks/webhooks/README.md)
9897

9998
* [create](docs/sdks/webhooks/README.md#create) - Create webhook
10099
* [get](docs/sdks/webhooks/README.md#get) - Get webhook
101100
* [list](docs/sdks/webhooks/README.md#list) - List webhooks
102101
<!-- End SDK Available Operations -->
102+
103+
104+
105+
<!-- Start Dev Containers -->
106+
107+
108+
109+
<!-- End Dev Containers -->
110+
111+
<!-- Placeholder for Future Speakeasy SDK Sections -->
112+
113+
103114
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

platform/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] platform
3030
### Releases
31-
- [PyPI v1.1.0] https://pypi.org/project/codat-platform/1.1.0 - platform
31+
- [PyPI v1.1.0] https://pypi.org/project/codat-platform/1.1.0 - platform
32+
33+
## 2023-10-17 15:00:21
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Platform.yaml
37+
- Speakeasy CLI 1.100.2 (2.159.2) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [python v2.0.0] platform
40+
### Releases
41+
- [PyPI v2.0.0] https://pypi.org/project/codat-platform/2.0.0 - platform

platform/USAGE.md

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

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

platform/docs/models/operations/configuresupplementaldatarequest.md

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

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
8-
| `supplemental_data_configuration` | [Optional[shared.SupplementalDataConfiguration]](../../models/shared/supplementaldataconfiguration.md) | :heavy_minus_sign: | The configuration for the specified platform and data type. | |
9-
| `data_type` | [ConfigureSupplementalDataDataType](../../models/operations/configuresupplementaldatadatatype.md) | :heavy_check_mark: | Data types that support supplemental data | invoices |
10-
| `platform_key` | *str* | :heavy_check_mark: | N/A | |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `supplemental_data_configuration` | [Optional[shared.SupplementalDataConfiguration]](../../models/shared/supplementaldataconfiguration.md) | :heavy_minus_sign: | The configuration for the specified platform and data type. | |
9+
| `data_type` | [ConfigureSupplementalDataDataType](../../models/operations/configuresupplementaldatadatatype.md) | :heavy_check_mark: | Supported supplemental data data type. | invoices |
10+
| `platform_key` | *str* | :heavy_check_mark: | 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 |

platform/docs/models/operations/configuresupplementaldataresponse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8-
| `content_type` | *str* | :heavy_check_mark: | N/A |
8+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
99
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
10-
| `status_code` | *int* | :heavy_check_mark: | N/A |
11-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
10+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `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)