Skip to content

Commit bb1acbe

Browse files
authored
Merge pull request #154 from codatio/speakeasy-sdk-regen-1684777941
chore: speakeasy sdk regeneration - Generate Accounting SDK
2 parents 8f419c6 + 90ea185 commit bb1acbe

File tree

189 files changed

+4434
-3430
lines changed

Some content is hidden

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

189 files changed

+4434
-3430
lines changed

accounting/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ s = codataccounting.CodatAccounting(
2323
),
2424
)
2525

26-
2726
req = operations.GetAccountTransactionRequest(
2827
account_transaction_id='corrupti',
2928
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
@@ -58,12 +57,11 @@ if res.account_transaction is not None:
5857
* [create](docs/bankaccounttransactions/README.md#create) - Create bank transactions
5958
* [get_create_model](docs/bankaccounttransactions/README.md#get_create_model) - List push options for bank account bank transactions
6059
* [list](docs/bankaccounttransactions/README.md#list) - List bank transactions for bank account
61-
* [list_transactions](docs/bankaccounttransactions/README.md#list_transactions) - List all bank transactions
6260

6361
### [bank_accounts](docs/bankaccounts/README.md)
6462

6563
* [create](docs/bankaccounts/README.md#create) - Create bank account
66-
* [get](docs/bankaccounts/README.md#get) - Get bank account
64+
* [~~get~~](docs/bankaccounts/README.md#get) - Get bank account :warning: **Deprecated**
6765
* [get_create_update_model](docs/bankaccounts/README.md#get_create_update_model) - Get create/update bank account model
6866
* [list](docs/bankaccounts/README.md#list) - List bank accounts
6967
* [update](docs/bankaccounts/README.md#update) - Update bank account
@@ -143,12 +141,6 @@ if res.account_transaction is not None:
143141
* [list_attachments](docs/directincomes/README.md#list_attachments) - List direct income attachments
144142
* [upload_attachment](docs/directincomes/README.md#upload_attachment) - Create direct income attachment
145143

146-
### [financials](docs/financials/README.md)
147-
148-
* [get_balance_sheet](docs/financials/README.md#get_balance_sheet) - Get balance sheet
149-
* [get_cash_flow_statement](docs/financials/README.md#get_cash_flow_statement) - Get cash flow statement
150-
* [get_profit_and_loss](docs/financials/README.md#get_profit_and_loss) - Get profit and loss
151-
152144
### [invoices](docs/invoices/README.md)
153145

154146
* [create](docs/invoices/README.md#create) - Create invoice
@@ -209,6 +201,9 @@ if res.account_transaction is not None:
209201

210202
* [get_aged_creditors_report](docs/reports/README.md#get_aged_creditors_report) - Aged creditors report
211203
* [get_aged_debtors_report](docs/reports/README.md#get_aged_debtors_report) - Aged debtors report
204+
* [get_balance_sheet](docs/reports/README.md#get_balance_sheet) - Get balance sheet
205+
* [get_cash_flow_statement](docs/reports/README.md#get_cash_flow_statement) - Get cash flow statement
206+
* [get_profit_and_loss](docs/reports/README.md#get_profit_and_loss) - Get profit and loss
212207
* [is_aged_creditors_report_available](docs/reports/README.md#is_aged_creditors_report_available) - Aged creditors report available
213208
* [is_aged_debtor_report_available](docs/reports/README.md#is_aged_debtor_report_available) - Aged debtors report available
214209

accounting/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,12 @@ Based on:
334334
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
335335
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
336336
### Releases
337-
- [PyPI v0.15.0] https://pypi.org/project/codat-accounting/0.15.0 - accounting
337+
- [PyPI v0.15.0] https://pypi.org/project/codat-accounting/0.15.0 - accounting
338+
339+
## 2023-05-22 17:52:18
340+
### Changes
341+
Based on:
342+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
343+
- Speakeasy CLI 1.37.4 (2.32.0) https://github.com/speakeasy-api/speakeasy
344+
### Releases
345+
- [PyPI v0.16.0] https://pypi.org/project/codat-accounting/0.16.0 - accounting

accounting/USAGE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ s = codataccounting.CodatAccounting(
99
),
1010
)
1111

12-
1312
req = operations.GetAccountTransactionRequest(
1413
account_transaction_id='corrupti',
1514
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',

accounting/docs/accounts/README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ Accounts
1313

1414
## create
1515

16-
Creates a new account for a given company.
16+
The *Create accounts* endpoint creates a new [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given company.
1717

1818
Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).
1919

2020
> **Supported Integrations**
2121
>
22-
> Check out our [Knowledge UI](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
22+
> Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
23+
24+
[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
2325

2426
### Example Usage
2527

@@ -33,7 +35,6 @@ s = codataccounting.CodatAccounting(
3335
),
3436
)
3537

36-
3738
req = operations.CreateAccountRequest(
3839
account=shared.Account(
3940
currency='quibusdam',
@@ -50,8 +51,8 @@ req = operations.CreateAccountRequest(
5051
name='Accounts Receivable',
5152
nominal_code='610',
5253
source_modified_date='corrupti',
53-
status=shared.AccountStatusEnum.ACTIVE,
54-
type=shared.AccountTypeEnum.ASSET,
54+
status=shared.AccountStatus.ACTIVE,
55+
type=shared.AccountType.ASSET,
5556
valid_datatype_links=[
5657
shared.ValidDataTypeLinks(
5758
links=[
@@ -99,7 +100,9 @@ if res.create_account_response is not None:
99100

100101
## get
101102

102-
Gets a single account corresponding to the given ID.
103+
The *Get account* endpoint returns a single [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given `accountId`.
104+
105+
[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
103106

104107
### Example Usage
105108

@@ -113,7 +116,6 @@ s = codataccounting.CodatAccounting(
113116
),
114117
)
115118

116-
117119
req = operations.GetAccountRequest(
118120
account_id='8a210b68-6988-11ed-a1eb-0242ac120002',
119121
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
@@ -127,13 +129,15 @@ if res.account is not None:
127129

128130
## get_create_model
129131

130-
Get create account model. Returns the expected data for the request payload.
132+
The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company and integration.
131133

132134
See the examples for integration-specific indicative models.
133135

134136
> **Supported Integrations**
135137
>
136-
> Check out our [Knowledge UI](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
138+
> Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
139+
140+
[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
137141

138142
### Example Usage
139143

@@ -147,7 +151,6 @@ s = codataccounting.CodatAccounting(
147151
),
148152
)
149153

150-
151154
req = operations.GetCreateChartOfAccountsModelRequest(
152155
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
153156
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
@@ -161,7 +164,9 @@ if res.push_option is not None:
161164

162165
## list
163166

164-
Gets the latest accounts for a company
167+
The *List accounts* endpoint returns a list of [accounts](https://docs.codat.io/accounting-api#/schemas/Account) for a given company's connection.
168+
169+
[Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
165170

166171
### Example Usage
167172

@@ -175,7 +180,6 @@ s = codataccounting.CodatAccounting(
175180
),
176181
)
177182

178-
179183
req = operations.ListAccountsRequest(
180184
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
181185
order_by='-modifiedDate',

accounting/docs/accounttransactions/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Account transactions
1111

1212
## get
1313

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

1616
### Example Usage
1717

@@ -25,7 +25,6 @@ s = codataccounting.CodatAccounting(
2525
),
2626
)
2727

28-
2928
req = operations.GetAccountTransactionRequest(
3029
account_transaction_id='provident',
3130
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
@@ -40,7 +39,8 @@ if res.account_transaction is not None:
4039

4140
## list
4241

43-
Returns a list of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction) for a given company's connection.
42+
The *List account transactions* endpoint returns a list of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction) for a given company's connection.
43+
4444

4545
### Example Usage
4646

@@ -54,7 +54,6 @@ s = codataccounting.CodatAccounting(
5454
),
5555
)
5656

57-
5857
req = operations.ListAccountTransactionsRequest(
5958
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
6059
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',

0 commit comments

Comments
 (0)