Skip to content

Commit 939c8a0

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.25.1
1 parent b185dc7 commit 939c8a0

82 files changed

Lines changed: 3736 additions & 3960 deletions

File tree

Some content is hidden

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

accounting/README.md

Lines changed: 120 additions & 121 deletions
Large diffs are not rendered by default.

accounting/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,4 +270,12 @@ Based on:
270270
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
271271
- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy
272272
### Releases
273-
- [PyPI v0.12.2] https://pypi.org/project/codat-accounting/0.12.2 - accounting
273+
- [PyPI v0.12.2] https://pypi.org/project/codat-accounting/0.12.2 - accounting
274+
275+
## 2023-04-26 14:59:03
276+
### Changes
277+
Based on:
278+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
279+
- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy
280+
### Releases
281+
- [PyPI v0.13.0] https://pypi.org/project/codat-accounting/0.13.0 - accounting

accounting/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ req = operations.GetAccountTransactionRequest(
1616
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
1717
)
1818

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

2121
if res.account_transaction is not None:
2222
# handle response

accounting/docs/accounts/README.md

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Accounts
66

77
### Available Operations
88

9-
* [create_account](#create_account) - Create account
10-
* [get_account](#get_account) - Get account
11-
* [get_create_chart_of_accounts_model](#get_create_chart_of_accounts_model) - Get create account model
12-
* [list_accounts](#list_accounts) - List accounts
9+
* [create](#create) - Create account
10+
* [get](#get) - Get account
11+
* [get_create_model](#get_create_model) - Get create account model
12+
* [list](#list) - List accounts
1313

14-
## create_account
14+
## create
1515

1616
Creates a new account for a given company.
1717

@@ -38,58 +38,66 @@ req = operations.CreateAccountRequest(
3838
account=shared.Account(
3939
currency="quibusdam",
4040
current_balance=6027.63,
41-
description="nulla",
42-
fully_qualified_category="corrupti",
43-
fully_qualified_name="illum",
44-
id="69a674e0-f467-4cc8-b96e-d151a05dfc2d",
41+
description="Invoices the business has issued but has not yet collected payment on.",
42+
fully_qualified_category="Asset.Current",
43+
fully_qualified_name="Asset.Current.Accounts Receivable",
44+
id="1b6266d1-1e44-46c5-8eb5-a8f98e03124e",
4545
is_bank_account=False,
4646
metadata=shared.Metadata(
4747
is_deleted=False,
4848
),
49-
modified_date="at",
50-
name="Javier Schmidt",
51-
nominal_code="totam",
52-
source_modified_date="porro",
53-
status="Archived",
54-
type="Unknown",
49+
modified_date="nulla",
50+
name="Accounts Receivable",
51+
nominal_code="610",
52+
source_modified_date="corrupti",
53+
status="Active",
54+
type="Asset",
5555
valid_datatype_links=[
5656
shared.ValidDataTypeLinks(
5757
links=[
58-
"occaecati",
59-
"fugit",
60-
"deleniti",
58+
"error",
59+
"deserunt",
6160
],
62-
property="hic",
61+
property="suscipit",
6362
),
6463
shared.ValidDataTypeLinks(
6564
links=[
66-
"totam",
67-
"beatae",
68-
"commodi",
65+
"magnam",
66+
"debitis",
67+
],
68+
property="ipsa",
69+
),
70+
shared.ValidDataTypeLinks(
71+
links=[
72+
"tempora",
73+
"suscipit",
6974
"molestiae",
75+
"minus",
7076
],
71-
property="modi",
77+
property="placeat",
7278
),
7379
shared.ValidDataTypeLinks(
7480
links=[
75-
"impedit",
81+
"iusto",
82+
"excepturi",
83+
"nisi",
7684
],
77-
property="cum",
85+
property="recusandae",
7886
),
7987
],
8088
),
8189
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
8290
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
83-
timeout_in_minutes=456150,
91+
timeout_in_minutes=836079,
8492
)
8593

86-
res = s.accounts.create_account(req)
94+
res = s.accounts.create(req)
8795

8896
if res.create_account_response is not None:
8997
# handle response
9098
```
9199

92-
## get_account
100+
## get
93101

94102
Gets a single account corresponding to the given ID.
95103

@@ -111,13 +119,13 @@ req = operations.GetAccountRequest(
111119
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
112120
)
113121

114-
res = s.accounts.get_account(req)
122+
res = s.accounts.get(req)
115123

116124
if res.account is not None:
117125
# handle response
118126
```
119127

120-
## get_create_chart_of_accounts_model
128+
## get_create_model
121129

122130
Get create account model. Returns the expected data for the request payload.
123131

@@ -145,13 +153,13 @@ req = operations.GetCreateChartOfAccountsModelRequest(
145153
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
146154
)
147155

148-
res = s.accounts.get_create_chart_of_accounts_model(req)
156+
res = s.accounts.get_create_model(req)
149157

150158
if res.push_option is not None:
151159
# handle response
152160
```
153161

154-
## list_accounts
162+
## list
155163

156164
Gets the latest accounts for a company
157165

@@ -173,10 +181,10 @@ req = operations.ListAccountsRequest(
173181
order_by="-modifiedDate",
174182
page=1,
175183
page_size=100,
176-
query="ipsum",
184+
query="ab",
177185
)
178186

179-
res = s.accounts.list_accounts(req)
187+
res = s.accounts.list(req)
180188

181189
if res.accounts is not None:
182190
# handle response

accounting/docs/accounttransactions/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Account transactions
66

77
### Available Operations
88

9-
* [get_account_transaction](#get_account_transaction) - Get account transaction
10-
* [list_account_transactions](#list_account_transactions) - List account transactions
9+
* [get](#get) - Get account transaction
10+
* [list](#list) - List account transactions
1111

12-
## get_account_transaction
12+
## get
1313

1414
Returns a specific [account transaction](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).
1515

@@ -32,13 +32,13 @@ req = operations.GetAccountTransactionRequest(
3232
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
3333
)
3434

35-
res = s.account_transactions.get_account_transaction(req)
35+
res = s.account_transactions.get(req)
3636

3737
if res.account_transaction is not None:
3838
# handle response
3939
```
4040

41-
## list_account_transactions
41+
## list
4242

4343
Returns a list of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction) for a given company's connection.
4444

@@ -64,7 +64,7 @@ req = operations.ListAccountTransactionsRequest(
6464
query="distinctio",
6565
)
6666

67-
res = s.account_transactions.list_account_transactions(req)
67+
res = s.account_transactions.list(req)
6868

6969
if res.account_transactions is not None:
7070
# handle response

0 commit comments

Comments
 (0)