|
3 | 3 | Embedded accounting integrations for POS and eCommerce platforms. |
4 | 4 |
|
5 | 5 | <!-- Start SDK Installation --> |
6 | | -replace me |
| 6 | +## SDK Installation |
| 7 | + |
| 8 | +```bash |
| 9 | +pip install codat-sync-for-commerce |
| 10 | +``` |
7 | 11 | <!-- End SDK Installation --> |
8 | 12 |
|
9 | 13 | ## Example Usage |
10 | 14 | <!-- Start SDK Example Usage --> |
11 | | -replace me |
| 15 | + |
| 16 | + |
| 17 | +```python |
| 18 | +import codatsynccommerce |
| 19 | +from codatsynccommerce.models import shared |
| 20 | + |
| 21 | +s = codatsynccommerce.CodatSyncCommerce( |
| 22 | + security=shared.Security( |
| 23 | + auth_header="Basic BASE_64_ENCODED(API_KEY)", |
| 24 | + ), |
| 25 | +) |
| 26 | + |
| 27 | +req = shared.CreateCompany( |
| 28 | + description='Requested early access to the new financing scheme.', |
| 29 | + name='Bank of Dave', |
| 30 | +) |
| 31 | + |
| 32 | +res = s.advanced_controls.create_company(req) |
| 33 | + |
| 34 | +if res.company is not None: |
| 35 | + # handle response |
| 36 | +``` |
12 | 37 | <!-- End SDK Example Usage --> |
13 | 38 |
|
14 | 39 | <!-- Start SDK Available Operations --> |
15 | | -replace me |
| 40 | +## Available Resources and Operations |
| 41 | + |
| 42 | + |
| 43 | +### [advanced_controls](docs/sdks/advancedcontrols/README.md) |
| 44 | + |
| 45 | +* [create_company](docs/sdks/advancedcontrols/README.md#create_company) - Create company |
| 46 | +* [get_configuration](docs/sdks/advancedcontrols/README.md#get_configuration) - Get company configuration |
| 47 | +* [list_companies](docs/sdks/advancedcontrols/README.md#list_companies) - List companies |
| 48 | +* [set_configuration](docs/sdks/advancedcontrols/README.md#set_configuration) - Set configuration |
| 49 | + |
| 50 | +### [connections](docs/sdks/connections/README.md) |
| 51 | + |
| 52 | +* [create](docs/sdks/connections/README.md#create) - Create connection |
| 53 | +* [get_sync_flow_url](docs/sdks/connections/README.md#get_sync_flow_url) - Start new sync flow |
| 54 | +* [list](docs/sdks/connections/README.md#list) - List connections |
| 55 | +* [update_authorization](docs/sdks/connections/README.md#update_authorization) - Update authorization |
| 56 | +* [update_connection](docs/sdks/connections/README.md#update_connection) - Update connection |
| 57 | + |
| 58 | +### [integrations](docs/sdks/integrations/README.md) |
| 59 | + |
| 60 | +* [get_branding](docs/sdks/integrations/README.md#get_branding) - Get branding for an integration |
| 61 | +* [list](docs/sdks/integrations/README.md#list) - List integrations |
| 62 | + |
| 63 | +### [sync](docs/sdks/sync/README.md) |
| 64 | + |
| 65 | +* [get](docs/sdks/sync/README.md#get) - Get sync status |
| 66 | +* [get_last_successful_sync](docs/sdks/sync/README.md#get_last_successful_sync) - Last successful sync |
| 67 | +* [get_latest_sync](docs/sdks/sync/README.md#get_latest_sync) - Latest sync status |
| 68 | +* [get_status](docs/sdks/sync/README.md#get_status) - Get sync status |
| 69 | +* [list](docs/sdks/sync/README.md#list) - List sync statuses |
| 70 | +* [request](docs/sdks/sync/README.md#request) - Initiate new sync |
| 71 | +* [request_for_date_range](docs/sdks/sync/README.md#request_for_date_range) - Initiate sync for specific range |
| 72 | + |
| 73 | +### [sync_flow_settings](docs/sdks/syncflowsettings/README.md) |
| 74 | + |
| 75 | +* [get_config_text_sync_flow](docs/sdks/syncflowsettings/README.md#get_config_text_sync_flow) - Get preferences for text fields |
| 76 | +* [get_visible_accounts](docs/sdks/syncflowsettings/README.md#get_visible_accounts) - List visible accounts |
| 77 | +* [update_config_text_sync_flow](docs/sdks/syncflowsettings/README.md#update_config_text_sync_flow) - Update preferences for text fields |
| 78 | +* [update_visible_accounts_sync_flow](docs/sdks/syncflowsettings/README.md#update_visible_accounts_sync_flow) - Update visible accounts |
16 | 79 | <!-- End SDK Available Operations --> |
17 | 80 | ### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) |
0 commit comments