Skip to content

Commit db9dbaa

Browse files
authored
Merge pull request #312 from codatio/speakeasy-sdk-regen-1694604043
chore: speakeasy sdk regeneration - Generate Accounting library
2 parents c7f0df6 + eae4afa commit db9dbaa

File tree

621 files changed

+7199
-8989
lines changed

Some content is hidden

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

621 files changed

+7199
-8989
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.py linguist-generated=false

previous-versions/accounting/README.md

Lines changed: 232 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,244 @@ It gives you a simple way to view, create, update adn delete data without having
55

66

77
<!-- Start SDK Installation -->
8-
replace me
8+
## SDK Installation
9+
10+
```bash
11+
pip install codat-accounting
12+
```
913
<!-- End SDK Installation -->
1014

1115
## Example Usage
1216
<!-- Start SDK Example Usage -->
13-
replace me
17+
18+
19+
```python
20+
import codataccounting
21+
from codataccounting.models import operations, shared
22+
23+
s = codataccounting.CodatAccounting(
24+
security=shared.Security(
25+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
26+
),
27+
)
28+
29+
req = operations.GetAccountTransactionRequest(
30+
account_transaction_id='corrupti',
31+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
32+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
33+
)
34+
35+
res = s.account_transactions.get(req)
36+
37+
if res.account_transaction is not None:
38+
# handle response
39+
```
1440
<!-- End SDK Example Usage -->
1541

1642
<!-- Start SDK Available Operations -->
17-
replace me
43+
## Available Resources and Operations
44+
45+
46+
### [account_transactions](docs/sdks/accounttransactions/README.md)
47+
48+
* [get](docs/sdks/accounttransactions/README.md#get) - Get account transaction
49+
* [list](docs/sdks/accounttransactions/README.md#list) - List account transactions
50+
51+
### [accounts](docs/sdks/accounts/README.md)
52+
53+
* [create](docs/sdks/accounts/README.md#create) - Create account
54+
* [get](docs/sdks/accounts/README.md#get) - Get account
55+
* [get_create_model](docs/sdks/accounts/README.md#get_create_model) - Get create account model
56+
* [list](docs/sdks/accounts/README.md#list) - List accounts
57+
58+
### [bank_account_transactions](docs/sdks/bankaccounttransactions/README.md)
59+
60+
* [create](docs/sdks/bankaccounttransactions/README.md#create) - Create bank account transactions
61+
* [get_create_model](docs/sdks/bankaccounttransactions/README.md#get_create_model) - Get create bank account transactions model
62+
* [list](docs/sdks/bankaccounttransactions/README.md#list) - List bank account transactions
63+
64+
### [bank_accounts](docs/sdks/bankaccounts/README.md)
65+
66+
* [create](docs/sdks/bankaccounts/README.md#create) - Create bank account
67+
* [get](docs/sdks/bankaccounts/README.md#get) - Get bank account
68+
* [get_create_update_model](docs/sdks/bankaccounts/README.md#get_create_update_model) - Get create/update bank account model
69+
* [list](docs/sdks/bankaccounts/README.md#list) - List bank accounts
70+
* [update](docs/sdks/bankaccounts/README.md#update) - Update bank account
71+
72+
### [bill_credit_notes](docs/sdks/billcreditnotes/README.md)
73+
74+
* [create](docs/sdks/billcreditnotes/README.md#create) - Create bill credit note
75+
* [get](docs/sdks/billcreditnotes/README.md#get) - Get bill credit note
76+
* [get_create_update_model](docs/sdks/billcreditnotes/README.md#get_create_update_model) - Get create/update bill credit note model
77+
* [list](docs/sdks/billcreditnotes/README.md#list) - List bill credit notes
78+
* [update](docs/sdks/billcreditnotes/README.md#update) - Update bill credit note
79+
* [upload_attachment](docs/sdks/billcreditnotes/README.md#upload_attachment) - Upload bill credit note attachment
80+
81+
### [bill_payments](docs/sdks/billpayments/README.md)
82+
83+
* [create](docs/sdks/billpayments/README.md#create) - Create bill payments
84+
* [delete](docs/sdks/billpayments/README.md#delete) - Delete bill payment
85+
* [get](docs/sdks/billpayments/README.md#get) - Get bill payment
86+
* [get_create_model](docs/sdks/billpayments/README.md#get_create_model) - Get create bill payment model
87+
* [list](docs/sdks/billpayments/README.md#list) - List bill payments
88+
89+
### [bills](docs/sdks/bills/README.md)
90+
91+
* [create](docs/sdks/bills/README.md#create) - Create bill
92+
* [delete](docs/sdks/bills/README.md#delete) - Delete bill
93+
* [download_attachment](docs/sdks/bills/README.md#download_attachment) - Download bill attachment
94+
* [get](docs/sdks/bills/README.md#get) - Get bill
95+
* [get_attachment](docs/sdks/bills/README.md#get_attachment) - Get bill attachment
96+
* [get_create_update_model](docs/sdks/bills/README.md#get_create_update_model) - Get create/update bill model
97+
* [list](docs/sdks/bills/README.md#list) - List bills
98+
* [list_attachments](docs/sdks/bills/README.md#list_attachments) - List bill attachments
99+
* [update](docs/sdks/bills/README.md#update) - Update bill
100+
* [upload_attachment](docs/sdks/bills/README.md#upload_attachment) - Upload bill attachment
101+
102+
### [company_info](docs/sdks/companyinfo/README.md)
103+
104+
* [get](docs/sdks/companyinfo/README.md#get) - Get company info
105+
* [refresh](docs/sdks/companyinfo/README.md#refresh) - Refresh company info
106+
107+
### [credit_notes](docs/sdks/creditnotes/README.md)
108+
109+
* [create](docs/sdks/creditnotes/README.md#create) - Create credit note
110+
* [get](docs/sdks/creditnotes/README.md#get) - Get credit note
111+
* [get_create_update_model](docs/sdks/creditnotes/README.md#get_create_update_model) - Get create/update credit note model
112+
* [list](docs/sdks/creditnotes/README.md#list) - List credit notes
113+
* [update](docs/sdks/creditnotes/README.md#update) - Update creditNote
114+
115+
### [customers](docs/sdks/customers/README.md)
116+
117+
* [create](docs/sdks/customers/README.md#create) - Create customer
118+
* [download_attachment](docs/sdks/customers/README.md#download_attachment) - Download customer attachment
119+
* [get](docs/sdks/customers/README.md#get) - Get customer
120+
* [get_attachment](docs/sdks/customers/README.md#get_attachment) - Get customer attachment
121+
* [get_create_update_model](docs/sdks/customers/README.md#get_create_update_model) - Get create/update customer model
122+
* [list](docs/sdks/customers/README.md#list) - List customers
123+
* [list_attachments](docs/sdks/customers/README.md#list_attachments) - List customer attachments
124+
* [update](docs/sdks/customers/README.md#update) - Update customer
125+
126+
### [direct_costs](docs/sdks/directcosts/README.md)
127+
128+
* [create](docs/sdks/directcosts/README.md#create) - Create direct cost
129+
* [download_attachment](docs/sdks/directcosts/README.md#download_attachment) - Download direct cost attachment
130+
* [get](docs/sdks/directcosts/README.md#get) - Get direct cost
131+
* [get_attachment](docs/sdks/directcosts/README.md#get_attachment) - Get direct cost attachment
132+
* [get_create_model](docs/sdks/directcosts/README.md#get_create_model) - Get create direct cost model
133+
* [list](docs/sdks/directcosts/README.md#list) - List direct costs
134+
* [list_attachments](docs/sdks/directcosts/README.md#list_attachments) - List direct cost attachments
135+
* [upload_attachment](docs/sdks/directcosts/README.md#upload_attachment) - Upload direct cost attachment
136+
137+
### [direct_incomes](docs/sdks/directincomes/README.md)
138+
139+
* [create](docs/sdks/directincomes/README.md#create) - Create direct income
140+
* [download_attachment](docs/sdks/directincomes/README.md#download_attachment) - Download direct income attachment
141+
* [get](docs/sdks/directincomes/README.md#get) - Get direct income
142+
* [get_attachment](docs/sdks/directincomes/README.md#get_attachment) - Get direct income attachment
143+
* [get_create_model](docs/sdks/directincomes/README.md#get_create_model) - Get create direct income model
144+
* [list](docs/sdks/directincomes/README.md#list) - List direct incomes
145+
* [list_attachments](docs/sdks/directincomes/README.md#list_attachments) - List direct income attachments
146+
* [upload_attachment](docs/sdks/directincomes/README.md#upload_attachment) - Create direct income attachment
147+
148+
### [invoices](docs/sdks/invoices/README.md)
149+
150+
* [create](docs/sdks/invoices/README.md#create) - Create invoice
151+
* [delete](docs/sdks/invoices/README.md#delete) - Delete invoice
152+
* [download_attachment](docs/sdks/invoices/README.md#download_attachment) - Download invoice attachment
153+
* [download_pdf](docs/sdks/invoices/README.md#download_pdf) - Get invoice as PDF
154+
* [get](docs/sdks/invoices/README.md#get) - Get invoice
155+
* [get_attachment](docs/sdks/invoices/README.md#get_attachment) - Get invoice attachment
156+
* [get_create_update_model](docs/sdks/invoices/README.md#get_create_update_model) - Get create/update invoice model
157+
* [list](docs/sdks/invoices/README.md#list) - List invoices
158+
* [list_attachments](docs/sdks/invoices/README.md#list_attachments) - List invoice attachments
159+
* [update](docs/sdks/invoices/README.md#update) - Update invoice
160+
* [upload_attachment](docs/sdks/invoices/README.md#upload_attachment) - Push invoice attachment
161+
162+
### [items](docs/sdks/items/README.md)
163+
164+
* [create](docs/sdks/items/README.md#create) - Create item
165+
* [get](docs/sdks/items/README.md#get) - Get item
166+
* [get_create_model](docs/sdks/items/README.md#get_create_model) - Get create item model
167+
* [list](docs/sdks/items/README.md#list) - List items
168+
169+
### [journal_entries](docs/sdks/journalentries/README.md)
170+
171+
* [create](docs/sdks/journalentries/README.md#create) - Create journal entry
172+
* [delete](docs/sdks/journalentries/README.md#delete) - Delete journal entry
173+
* [get](docs/sdks/journalentries/README.md#get) - Get journal entry
174+
* [get_create_model](docs/sdks/journalentries/README.md#get_create_model) - Get create journal entry model
175+
* [list](docs/sdks/journalentries/README.md#list) - List journal entries
176+
177+
### [journals](docs/sdks/journals/README.md)
178+
179+
* [create](docs/sdks/journals/README.md#create) - Create journal
180+
* [get](docs/sdks/journals/README.md#get) - Get journal
181+
* [get_create_model](docs/sdks/journals/README.md#get_create_model) - Get create journal model
182+
* [list](docs/sdks/journals/README.md#list) - List journals
183+
184+
### [payment_methods](docs/sdks/paymentmethods/README.md)
185+
186+
* [get](docs/sdks/paymentmethods/README.md#get) - Get payment method
187+
* [list](docs/sdks/paymentmethods/README.md#list) - List payment methods
188+
189+
### [payments](docs/sdks/payments/README.md)
190+
191+
* [create](docs/sdks/payments/README.md#create) - Create payment
192+
* [get](docs/sdks/payments/README.md#get) - Get payment
193+
* [get_create_model](docs/sdks/payments/README.md#get_create_model) - Get create payment model
194+
* [list](docs/sdks/payments/README.md#list) - List payments
195+
196+
### [purchase_orders](docs/sdks/purchaseorders/README.md)
197+
198+
* [create](docs/sdks/purchaseorders/README.md#create) - Create purchase order
199+
* [get](docs/sdks/purchaseorders/README.md#get) - Get purchase order
200+
* [get_create_update_model](docs/sdks/purchaseorders/README.md#get_create_update_model) - Get create/update purchase order model
201+
* [list](docs/sdks/purchaseorders/README.md#list) - List purchase orders
202+
* [update](docs/sdks/purchaseorders/README.md#update) - Update purchase order
203+
204+
### [reports](docs/sdks/reports/README.md)
205+
206+
* [get_aged_creditors_report](docs/sdks/reports/README.md#get_aged_creditors_report) - Aged creditors report
207+
* [get_aged_debtors_report](docs/sdks/reports/README.md#get_aged_debtors_report) - Aged debtors report
208+
* [get_balance_sheet](docs/sdks/reports/README.md#get_balance_sheet) - Get balance sheet
209+
* [get_cash_flow_statement](docs/sdks/reports/README.md#get_cash_flow_statement) - Get cash flow statement
210+
* [get_profit_and_loss](docs/sdks/reports/README.md#get_profit_and_loss) - Get profit and loss
211+
* [is_aged_creditors_report_available](docs/sdks/reports/README.md#is_aged_creditors_report_available) - Aged creditors report available
212+
* [is_aged_debtor_report_available](docs/sdks/reports/README.md#is_aged_debtor_report_available) - Aged debtors report available
213+
214+
### [sales_orders](docs/sdks/salesorders/README.md)
215+
216+
* [get](docs/sdks/salesorders/README.md#get) - Get sales order
217+
* [list](docs/sdks/salesorders/README.md#list) - List sales orders
218+
219+
### [suppliers](docs/sdks/suppliers/README.md)
220+
221+
* [create](docs/sdks/suppliers/README.md#create) - Create supplier
222+
* [download_attachment](docs/sdks/suppliers/README.md#download_attachment) - Download supplier attachment
223+
* [get](docs/sdks/suppliers/README.md#get) - Get supplier
224+
* [get_attachment](docs/sdks/suppliers/README.md#get_attachment) - Get supplier attachment
225+
* [get_create_update_model](docs/sdks/suppliers/README.md#get_create_update_model) - Get create/update supplier model
226+
* [list](docs/sdks/suppliers/README.md#list) - List suppliers
227+
* [list_attachments](docs/sdks/suppliers/README.md#list_attachments) - List supplier attachments
228+
* [update](docs/sdks/suppliers/README.md#update) - Update supplier
229+
230+
### [tax_rates](docs/sdks/taxrates/README.md)
231+
232+
* [get](docs/sdks/taxrates/README.md#get) - Get tax rate
233+
* [list](docs/sdks/taxrates/README.md#list) - List all tax rates
234+
235+
### [tracking_categories](docs/sdks/trackingcategories/README.md)
236+
237+
* [get](docs/sdks/trackingcategories/README.md#get) - Get tracking categories
238+
* [list](docs/sdks/trackingcategories/README.md#list) - List tracking categories
239+
240+
### [transfers](docs/sdks/transfers/README.md)
241+
242+
* [create](docs/sdks/transfers/README.md#create) - Create transfer
243+
* [get](docs/sdks/transfers/README.md#get) - Get transfer
244+
* [get_create_model](docs/sdks/transfers/README.md#get_create_model) - Get create transfer model
245+
* [list](docs/sdks/transfers/README.md#list) - List transfers
246+
* [upload_attachment](docs/sdks/transfers/README.md#upload_attachment) - Push invoice attachment
18247
<!-- End SDK Available Operations -->
19248
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

previous-versions/accounting/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,4 +598,14 @@ Based on:
598598
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
599599
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
600600
### Releases
601-
- [PyPI v0.28.1] https://pypi.org/project/codat-accounting/0.28.1 - accounting
601+
- [PyPI v0.28.1] https://pypi.org/project/codat-accounting/0.28.1 - accounting
602+
603+
## 2023-09-13 11:20:39
604+
### Changes
605+
Based on:
606+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
607+
- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy
608+
### Generated
609+
- [python v0.1.0] previous-versions/accounting
610+
### Releases
611+
- [PyPI v0.1.0] https://pypi.org/project/codat-accounting/0.1.0 - previous-versions/accounting

previous-versions/accounting/USAGE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<!-- Start SDK Example Usage -->
2+
3+
24
```python
35
import codataccounting
4-
from codataccounting.models import operations
6+
from codataccounting.models import operations, shared
57

68
s = codataccounting.CodatAccounting(
79
security=shared.Security(

previous-versions/accounting/docs/models/operations/createaccountresponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
88
| `content_type` | *str* | :heavy_check_mark: | N/A |
99
| `create_account_response` | [Optional[shared.CreateAccountResponse]](../../models/shared/createaccountresponse.md) | :heavy_minus_sign: | Success |
10+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
1011
| `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 |
12-
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | The request made is not valid. |
12+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)