Skip to content

Commit 27660a8

Browse files
authored
Merge pull request #469 from codatio/speakeasy-sdk-regen-1697554233
chore: speakeasy sdk regeneration - Generate Sync for Commerce library
2 parents 6baf5d3 + 3e17232 commit 27660a8

File tree

167 files changed

+716
-562
lines changed

Some content is hidden

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

167 files changed

+716
-562
lines changed

sync-for-commerce/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-commerce
1414

1515
## Example Usage
1616
<!-- Start SDK Example Usage -->
17-
18-
1917
```python
2018
import codatsynccommerce
2119
from codatsynccommerce.models import shared
@@ -35,34 +33,35 @@ res = s.advanced_controls.create_company(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-
### [AdvancedControls](docs/sdks/advancedcontrols/README.md)
44+
### [advanced_controls](docs/sdks/advancedcontrols/README.md)
4645

4746
* [create_company](docs/sdks/advancedcontrols/README.md#create_company) - Create company
4847
* [get_configuration](docs/sdks/advancedcontrols/README.md#get_configuration) - Get company configuration
4948
* [list_companies](docs/sdks/advancedcontrols/README.md#list_companies) - List companies
5049
* [set_configuration](docs/sdks/advancedcontrols/README.md#set_configuration) - Set configuration
5150

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

5453
* [create](docs/sdks/connections/README.md#create) - Create connection
5554
* [get_sync_flow_url](docs/sdks/connections/README.md#get_sync_flow_url) - Start new sync flow
5655
* [list](docs/sdks/connections/README.md#list) - List connections
5756
* [update_authorization](docs/sdks/connections/README.md#update_authorization) - Update authorization
5857
* [update_connection](docs/sdks/connections/README.md#update_connection) - Update connection
5958

60-
### [Integrations](docs/sdks/integrations/README.md)
59+
### [integrations](docs/sdks/integrations/README.md)
6160

6261
* [get_branding](docs/sdks/integrations/README.md#get_branding) - Get branding for an integration
6362
* [list](docs/sdks/integrations/README.md#list) - List integrations
6463

65-
### [Sync](docs/sdks/sync/README.md)
64+
### [sync](docs/sdks/sync/README.md)
6665

6766
* [get](docs/sdks/sync/README.md#get) - Get sync status
6867
* [get_last_successful_sync](docs/sdks/sync/README.md#get_last_successful_sync) - Last successful sync
@@ -72,11 +71,23 @@ if res.company is not None:
7271
* [request](docs/sdks/sync/README.md#request) - Initiate new sync
7372
* [request_for_date_range](docs/sdks/sync/README.md#request_for_date_range) - Initiate sync for specific range
7473

75-
### [SyncFlowSettings](docs/sdks/syncflowsettings/README.md)
74+
### [sync_flow_settings](docs/sdks/syncflowsettings/README.md)
7675

7776
* [get_config_text_sync_flow](docs/sdks/syncflowsettings/README.md#get_config_text_sync_flow) - Get preferences for text fields
7877
* [get_visible_accounts](docs/sdks/syncflowsettings/README.md#get_visible_accounts) - List visible accounts
7978
* [update_config_text_sync_flow](docs/sdks/syncflowsettings/README.md#update_config_text_sync_flow) - Update preferences for text fields
8079
* [update_visible_accounts_sync_flow](docs/sdks/syncflowsettings/README.md#update_visible_accounts_sync_flow) - Update visible accounts
8180
<!-- End SDK Available Operations -->
81+
82+
83+
84+
<!-- Start Dev Containers -->
85+
86+
87+
88+
<!-- End Dev Containers -->
89+
90+
<!-- Placeholder for Future Speakeasy SDK Sections -->
91+
92+
8293
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

sync-for-commerce/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,4 +548,14 @@ Based on:
548548
### Generated
549549
- [python v2.1.0] sync-for-commerce
550550
### Releases
551-
- [PyPI v2.1.0] https://pypi.org/project/codat-sync-for-commerce/2.1.0 - sync-for-commerce
551+
- [PyPI v2.1.0] https://pypi.org/project/codat-sync-for-commerce/2.1.0 - sync-for-commerce
552+
553+
## 2023-10-17 14:50:27
554+
### Changes
555+
Based on:
556+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
557+
- Speakeasy CLI 1.100.2 (2.159.2) https://github.com/speakeasy-api/speakeasy
558+
### Generated
559+
- [python v3.0.0] sync-for-commerce
560+
### Releases
561+
- [PyPI v3.0.0] https://pypi.org/project/codat-sync-for-commerce/3.0.0 - sync-for-commerce

sync-for-commerce/USAGE.md

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

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

sync-for-commerce/docs/models/operations/createcompanyresponse.md

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

sync-for-commerce/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 |

sync-for-commerce/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 |

sync-for-commerce/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)