@@ -12,8 +12,6 @@ pip install codat-sync-for-expenses
1212
1313## Example Usage
1414<!-- Start SDK Example Usage -->
15-
16-
1715``` python
1816import codatsyncexpenses
1917from codatsyncexpenses.models import operations, shared
@@ -31,7 +29,7 @@ req = operations.CreateAccountRequest(
3129 current_balance = Decimal(' 0' ),
3230 description = ' Invoices the business has issued but has not yet collected payment on.' ,
3331 fully_qualified_category = ' Asset.Current' ,
34- fully_qualified_name = ' Fixed Asset ' ,
32+ fully_qualified_name = ' Cash On Hand ' ,
3533 id = ' 1b6266d1-1e44-46c5-8eb5-a8f98e03124e' ,
3634 is_bank_account = False ,
3735 metadata = shared.AccountMetadata(
@@ -46,15 +44,16 @@ req = operations.CreateAccountRequest(
4644 valid_datatype_links = [
4745 shared.AccountValidDataTypeLinks(
4846 links = [
49- ' unde ' ,
47+ ' Money ' ,
5048 ],
51- property = ' nulla ' ,
49+ property = ' Cambridgeshire grey technology ' ,
5250 ),
5351 ],
5452 ),
53+ allow_sync_on_push_complete = False ,
5554 company_id = ' 8a210b68-6988-11ed-a1eb-0242ac120002' ,
5655 connection_id = ' 2e9d2c44-f675-40ba-8049-353bfcb5e171' ,
57- timeout_in_minutes = 544883 ,
56+ timeout_in_minutes = 86 ,
5857)
5958
6059res = s.accounts.create(req)
@@ -68,77 +67,104 @@ if res.create_account_response is not None:
6867## Available Resources and Operations
6968
7069
71- ### [ Accounts ] ( docs/sdks/accounts/README.md )
70+ ### [ accounts ] ( docs/sdks/accounts/README.md )
7271
7372* [ create] ( docs/sdks/accounts/README.md#create ) - Create account
73+ * [ get_create_model] ( docs/sdks/accounts/README.md#get_create_model ) - Get create account model
7474
75- ### [ Companies ] ( docs/sdks/companies/README.md )
75+ ### [ companies ] ( docs/sdks/companies/README.md )
7676
7777* [ create] ( docs/sdks/companies/README.md#create ) - Create company
7878* [ delete] ( docs/sdks/companies/README.md#delete ) - Delete a company
7979* [ get] ( docs/sdks/companies/README.md#get ) - Get company
8080* [ list] ( docs/sdks/companies/README.md#list ) - List companies
8181* [ update] ( docs/sdks/companies/README.md#update ) - Update company
8282
83- ### [ Configuration ] ( docs/sdks/configuration/README.md )
83+ ### [ configuration ] ( docs/sdks/configuration/README.md )
8484
8585* [ get] ( docs/sdks/configuration/README.md#get ) - Get company configuration
8686* [ get_mapping_options] ( docs/sdks/configuration/README.md#get_mapping_options ) - Mapping options
8787* [ set] ( docs/sdks/configuration/README.md#set ) - Set company configuration
8888
89- ### [ Connections ] ( docs/sdks/connections/README.md )
89+ ### [ connections ] ( docs/sdks/connections/README.md )
9090
9191* [ create] ( docs/sdks/connections/README.md#create ) - Create connection
92- * [ create_partner_expense_connection] ( docs/sdks/connections/README.md#create_partner_expense_connection ) - Create Partner Expense connection
92+ * [ create_partner_expense_connection] ( docs/sdks/connections/README.md#create_partner_expense_connection ) - Create partner expense connection
9393* [ delete] ( docs/sdks/connections/README.md#delete ) - Delete connection
9494* [ get] ( docs/sdks/connections/README.md#get ) - Get connection
9595* [ list] ( docs/sdks/connections/README.md#list ) - List connections
9696* [ unlink] ( docs/sdks/connections/README.md#unlink ) - Unlink connection
9797
98- ### [ Customers ] ( docs/sdks/customers/README.md )
98+ ### [ customers ] ( docs/sdks/customers/README.md )
9999
100100* [ create] ( docs/sdks/customers/README.md#create ) - Create customer
101101* [ get] ( docs/sdks/customers/README.md#get ) - Get customer
102102* [ list] ( docs/sdks/customers/README.md#list ) - List customers
103103* [ update] ( docs/sdks/customers/README.md#update ) - Update customer
104104
105- ### [ Expenses ] ( docs/sdks/expenses/README.md )
105+ ### [ expenses ] ( docs/sdks/expenses/README.md )
106106
107107* [ create] ( docs/sdks/expenses/README.md#create ) - Create expense transaction
108108* [ update] ( docs/sdks/expenses/README.md#update ) - Update expense-transactions
109109* [ upload_attachment] ( docs/sdks/expenses/README.md#upload_attachment ) - Upload attachment
110110
111- ### [ ManageData ] ( docs/sdks/managedata/README.md )
111+ ### [ manage_data ] ( docs/sdks/managedata/README.md )
112112
113113* [ get] ( docs/sdks/managedata/README.md#get ) - Get data status
114114* [ get_pull_operation] ( docs/sdks/managedata/README.md#get_pull_operation ) - Get pull operation
115115* [ list_pull_operations] ( docs/sdks/managedata/README.md#list_pull_operations ) - List pull operations
116116* [ refresh_all_data_types] ( docs/sdks/managedata/README.md#refresh_all_data_types ) - Refresh all data
117117* [ refresh_data_type] ( docs/sdks/managedata/README.md#refresh_data_type ) - Refresh data type
118118
119- ### [ PushOperations ] ( docs/sdks/pushoperations/README.md )
119+ ### [ push_operations ] ( docs/sdks/pushoperations/README.md )
120120
121121* [ get] ( docs/sdks/pushoperations/README.md#get ) - Get push operation
122122* [ list] ( docs/sdks/pushoperations/README.md#list ) - List push operations
123123
124- ### [ Suppliers ] ( docs/sdks/suppliers/README.md )
124+ ### [ suppliers ] ( docs/sdks/suppliers/README.md )
125125
126126* [ create] ( docs/sdks/suppliers/README.md#create ) - Create supplier
127127* [ get] ( docs/sdks/suppliers/README.md#get ) - Get supplier
128128* [ list] ( docs/sdks/suppliers/README.md#list ) - List suppliers
129129* [ update] ( docs/sdks/suppliers/README.md#update ) - Update supplier
130130
131- ### [ Sync ] ( docs/sdks/sync/README.md )
131+ ### [ sync ] ( docs/sdks/sync/README.md )
132132
133- * [ get] ( docs/sdks/sync/README.md#get ) - Get Sync status
133+ * [ get] ( docs/sdks/sync/README.md#get ) - Get sync status
134134* [ get_last_successful_sync] ( docs/sdks/sync/README.md#get_last_successful_sync ) - Last successful sync
135135* [ get_latest_sync] ( docs/sdks/sync/README.md#get_latest_sync ) - Latest sync status
136136* [ initiate_sync] ( docs/sdks/sync/README.md#initiate_sync ) - Initiate sync
137137* [ list] ( docs/sdks/sync/README.md#list ) - List sync statuses
138138
139- ### [ TransactionStatus ] ( docs/sdks/transactionstatus/README.md )
139+ ### [ transaction_status ] ( docs/sdks/transactionstatus/README.md )
140140
141- * [ get] ( docs/sdks/transactionstatus/README.md#get ) - Get Sync Transaction
141+ * [ get] ( docs/sdks/transactionstatus/README.md#get ) - Get sync transaction
142142* [ list] ( docs/sdks/transactionstatus/README.md#list ) - List sync transactions
143143<!-- End SDK Available Operations -->
144+
145+
146+
147+ <!-- Start Dev Containers -->
148+
149+
150+
151+ <!-- End Dev Containers -->
152+
153+
154+
155+ <!-- Start Pagination -->
156+ # Pagination
157+
158+ Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the
159+ returned response object will have a ` Next ` method that can be called to pull down the next group of results. If the
160+ return value of ` Next ` is ` None ` , then there are no more pages to be fetched.
161+
162+ Here's an example of one such pagination call:
163+
164+
165+ <!-- End Pagination -->
166+
167+ <!-- Placeholder for Future Speakeasy SDK Sections -->
168+
169+
144170### Library generated by [ Speakeasy] ( https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks )
0 commit comments