Skip to content

Commit 33b0ae7

Browse files
authored
Merge pull request #59 from codatio/speakeasy-sdk-regen-1679098223
chore: speakeasy sdk regeneration - Generate Accounting SDK
2 parents 8f5e9c7 + ff1ad7f commit 33b0ae7

File tree

358 files changed

+14548
-27015
lines changed

Some content is hidden

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

358 files changed

+14548
-27015
lines changed

accounting/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,41 +21,41 @@ s = codat.Codat(
2121
)
2222

2323

24-
req = operations.GetCreateUpdateAccountTransactionsModelRequest(
25-
account_transaction_id="unde",
26-
company_id="deserunt",
27-
connection_id="porro",
24+
req = operations.GetAccountTransactionRequest(
25+
account_transaction_id="corrupti",
26+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
27+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
2828
)
2929

30-
res = s.account_transactions.get_create_update_account_transactions_model(req)
30+
res = s.account_transactions.get_account_transaction(req)
3131

32-
if res.source_modified_date is not None:
32+
if res.account_transaction is not None:
3333
# handle response
3434
```
3535
<!-- End SDK Example Usage -->
3636

3737
<!-- Start SDK Available Operations -->
38-
## SDK Available Operations
38+
## Available Resources and Operations
3939

4040

4141
### account_transactions
4242

43-
* `get_create_update_account_transactions_model` - Get account transaction
43+
* `get_account_transaction` - Get account transaction
4444
* `list_account_transactions` - List account transactions
4545

4646
### accounts
4747

4848
* `create_account` - Create account
4949
* `get_account` - Get account
50-
* `get_accounts` - List accounts
5150
* `get_create_chart_of_accounts_model` - Get create account model
51+
* `list_accounts` - List accounts
5252

5353
### bank_account_transactions
5454

55-
* `get_bank_account_push_options` - List push options for bank account bank transactions
55+
* `create_bank_transactions` - Create bank transactions
56+
* `get_create_bank_account_model` - List push options for bank account bank transactions
5657
* `list_bank_account_transactions` - List bank transactions for bank account
5758
* `list_bank_transactions` - List all bank transactions
58-
* `post_bank_transactions` - Create bank transactions
5959

6060
### bank_accounts
6161

@@ -64,7 +64,7 @@ if res.source_modified_date is not None:
6464
* `get_bank_account` - Get bank account
6565
* `get_create_update_bank_accounts_model` - Get create/update bank account model
6666
* `list_bank_accounts` - List bank accounts
67-
* `put_bank_account` - Update bank account
67+
* `update_bank_account` - Update bank account
6868

6969
### bill_credit_notes
7070

@@ -77,23 +77,23 @@ if res.source_modified_date is not None:
7777
### bill_payments
7878

7979
* `create_bill_payment` - Create bill payments
80-
* `delete_companies_company_id_connections_connection_id_push_bill_payments_bill_payment_id` - Delete bill payment
80+
* `delete_bill_payment` - Delete bill payment
8181
* `get_bill_payments` - Get bill payment
8282
* `get_create_bill_payments_model` - Get create bill payment model
8383
* `list_bill_payments` - List bill payments
8484

8585
### bills
8686

8787
* `create_bill` - Create bill
88-
* `create_bill_attachments` - Create bill attachments
89-
* `delete_companies_company_id_connections_connection_id_push_bills_bill_id` - Delete bill
88+
* `delete_bill` - Delete bill
9089
* `download_bill_attachment` - Download bill attachment
9190
* `get_bill` - Get bill
9291
* `get_bill_attachment` - Get bill attachment
9392
* `get_bill_attachments` - List bill attachments
9493
* `get_create_update_bills_model` - Get create/update bill model
9594
* `list_bills` - List bills
9695
* `update_bill` - Update bill
96+
* `upload_bill_attachments` - Upload bill attachments
9797

9898
### company_info
9999

@@ -102,11 +102,11 @@ if res.source_modified_date is not None:
102102

103103
### credit_notes
104104

105-
* `create_credit_note` - Update creditNote
105+
* `create_credit_note` - Create credit note
106106
* `get_create_update_credit_notes_model` - Get create/update credit note model
107107
* `get_credit_note` - Get credit note
108108
* `list_credit_notes` - List credit notes
109-
* `push_credit_note` - Create credit note
109+
* `update_credit_note` - Update creditNote
110110

111111
### customers
112112

@@ -128,7 +128,7 @@ if res.source_modified_date is not None:
128128
* `get_direct_cost_attachment` - Get direct cost attachment
129129
* `get_direct_costs` - List direct costs
130130
* `list_direct_cost_attachments` - List direct cost attachments
131-
* `post_direct_cost_attachment` - Create direct cost attachment
131+
* `upload_direct_cost_attachment` - Upload direct cost attachment
132132

133133
### direct_incomes
134134

@@ -139,7 +139,7 @@ if res.source_modified_date is not None:
139139
* `get_direct_income_attachment` - Get direct income attachment
140140
* `get_direct_incomes` - Get direct incomes
141141
* `list_direct_income_attachments` - List direct income attachments
142-
* `post_direct_income_attachment` - Create direct income attachment
142+
* `upload_direct_income_attachment` - Create direct income attachment
143143

144144
### financials
145145

@@ -149,16 +149,16 @@ if res.source_modified_date is not None:
149149

150150
### invoices
151151

152+
* `download_invoice_pdf` - Get invoice as PDF
152153
* `create_invoice` - Create invoice
153-
* `donwload_invoice_attachment` - Download invoice attachment
154+
* `download_invoice_attachment` - Download invoice attachment
154155
* `get_create_update_invoices_model` - Get create/update invoice model
155156
* `get_invoice` - Get invoice
156157
* `get_invoice_attachment` - Get invoice attachment
157158
* `get_invoice_attachments` - Get invoice attachments
158-
* `get_invoice_pdf` - Get invoice as PDF
159159
* `list_invoices` - List invoices
160-
* `push_invoice_attachment` - Push invoice attachment
161160
* `update_invoice` - Update invoice
161+
* `upload_invoice_attachment` - Push invoice attachment
162162

163163
### items
164164

@@ -215,7 +215,7 @@ if res.source_modified_date is not None:
215215

216216
### suppliers
217217

218-
* `create_suppliers` - Create suppliers
218+
* `create_supplier` - Create suppliers
219219
* `download_supplier_attachment` - Download supplier attachment
220220
* `get_create_update_suppliers_model` - Get create/update supplier model
221221
* `get_supplier` - Get supplier

accounting/RELEASES.md

Lines changed: 105 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,108 @@ Based on:
110110
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
111111
- Speakeasy CLI 1.12.1 https://github.com/speakeasy-api/speakeasy
112112
### Releases
113-
- [PyPI v0.5.1] https://pypi.org/project/codat-accounting/0.5.1 - accounting
113+
- [PyPI v0.5.1] https://pypi.org/project/codat-accounting/0.5.1 - accounting
114+
115+
## 2023-03-18 00:10:22
116+
### Changes
117+
Based on:
118+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
119+
- Speakeasy CLI 1.12.3 https://github.com/speakeasy-api/speakeasy
120+
### Releases
121+
- [PyPI v0.5.2] https://pypi.org/project/codat-accounting/0.5.2 - accounting
122+
123+
## 2023-03-21 00:10:31
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
127+
- Speakeasy CLI 1.12.4 https://github.com/speakeasy-api/speakeasy
128+
### Releases
129+
- [PyPI v0.5.3] https://pypi.org/project/codat-accounting/0.5.3 - accounting
130+
131+
## 2023-03-22 00:09:04
132+
### Changes
133+
Based on:
134+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
135+
- Speakeasy CLI 1.13.0 https://github.com/speakeasy-api/speakeasy
136+
### Releases
137+
- [PyPI v0.6.0] https://pypi.org/project/codat-accounting/0.6.0 - accounting
138+
139+
## 2023-03-23 00:10:11
140+
### Changes
141+
Based on:
142+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
143+
- Speakeasy CLI 1.15.0 (2.13.1) https://github.com/speakeasy-api/speakeasy
144+
### Releases
145+
- [PyPI v0.6.1] https://pypi.org/project/codat-accounting/0.6.1 - accounting
146+
147+
## 2023-03-23 16:30:22
148+
### Changes
149+
Based on:
150+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
151+
- Speakeasy CLI 1.16.1 (2.14.1) https://github.com/speakeasy-api/speakeasy
152+
### Releases
153+
- [PyPI v0.7.0] https://pypi.org/project/codat-accounting/0.7.0 - accounting
154+
155+
## 2023-03-24 00:10:27
156+
### Changes
157+
Based on:
158+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
159+
- Speakeasy CLI 1.17.0 (2.15.0) https://github.com/speakeasy-api/speakeasy
160+
### Releases
161+
- [PyPI v0.8.0] https://pypi.org/project/codat-accounting/0.8.0 - accounting
162+
163+
## 2023-03-25 00:10:00
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
167+
- Speakeasy CLI 1.18.7 (2.16.1) https://github.com/speakeasy-api/speakeasy
168+
### Releases
169+
- [PyPI v0.9.0] https://pypi.org/project/codat-accounting/0.9.0 - accounting
170+
171+
## 2023-03-28 00:11:37
172+
### Changes
173+
Based on:
174+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
175+
- Speakeasy CLI 1.18.9 (2.16.4) https://github.com/speakeasy-api/speakeasy
176+
### Releases
177+
- [PyPI v0.9.1] https://pypi.org/project/codat-accounting/0.9.1 - accounting
178+
179+
## 2023-03-29 00:12:18
180+
### Changes
181+
Based on:
182+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
183+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
184+
### Releases
185+
- [PyPI v0.9.2] https://pypi.org/project/codat-accounting/0.9.2 - accounting
186+
187+
## 2023-03-30 00:11:02
188+
### Changes
189+
Based on:
190+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
191+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
192+
### Releases
193+
- [PyPI v0.9.3] https://pypi.org/project/codat-accounting/0.9.3 - accounting
194+
195+
## 2023-03-31 00:11:10
196+
### Changes
197+
Based on:
198+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
199+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
200+
### Releases
201+
- [PyPI v0.9.4] https://pypi.org/project/codat-accounting/0.9.4 - accounting
202+
203+
## 2023-04-01 00:11:41
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
207+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
208+
### Releases
209+
- [PyPI v0.9.5] https://pypi.org/project/codat-accounting/0.9.5 - accounting
210+
211+
## 2023-04-03 00:10:40
212+
### Changes
213+
Based on:
214+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
215+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
216+
### Releases
217+
- [PyPI v0.9.6] https://pypi.org/project/codat-accounting/0.9.6 - accounting

accounting/USAGE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ s = codat.Codat(
1010
)
1111

1212

13-
req = operations.GetCreateUpdateAccountTransactionsModelRequest(
14-
account_transaction_id="unde",
15-
company_id="deserunt",
16-
connection_id="porro",
13+
req = operations.GetAccountTransactionRequest(
14+
account_transaction_id="corrupti",
15+
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
16+
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
1717
)
1818

19-
res = s.account_transactions.get_create_update_account_transactions_model(req)
19+
res = s.account_transactions.get_account_transaction(req)
2020

21-
if res.source_modified_date is not None:
21+
if res.account_transaction is not None:
2222
# handle response
2323
```
2424
<!-- End SDK Example Usage -->

0 commit comments

Comments
 (0)