Skip to content

Commit 6a9b8ea

Browse files
authored
Merge pull request #122 from codatio/speakeasy-sdk-regen-1682643498
chore: speakeasy sdk regeneration - Generate Accounting SDK
2 parents e8f8e55 + 3d72a0a commit 6a9b8ea

308 files changed

Lines changed: 1812 additions & 3996 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ s = codataccounting.CodatAccounting(
2525

2626

2727
req = operations.GetAccountTransactionRequest(
28-
account_transaction_id="corrupti",
29-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
30-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
28+
account_transaction_id='corrupti',
29+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
30+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
3131
)
3232

3333
res = s.account_transactions.get(req)

accounting/RELEASES.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,44 @@ Based on:
294294
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
295295
- Speakeasy CLI 1.26.1 (2.23.1) https://github.com/speakeasy-api/speakeasy
296296
### Releases
297-
- [PyPI v0.14.1] https://pypi.org/project/codat-accounting/0.14.1 - accounting
297+
- [PyPI v0.14.1] https://pypi.org/project/codat-accounting/0.14.1 - accounting
298+
299+
## 2023-04-28 00:58:16
300+
### Changes
301+
Based on:
302+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
303+
- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy
304+
### Releases
305+
- [PyPI v0.14.2] https://pypi.org/project/codat-accounting/0.14.2 - accounting
306+
307+
## 2023-04-29 00:10:20
308+
### Changes
309+
Based on:
310+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
311+
- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy
312+
### Releases
313+
- [PyPI v0.14.3] https://pypi.org/project/codat-accounting/0.14.3 - accounting
314+
315+
## 2023-04-30 00:11:34
316+
### Changes
317+
Based on:
318+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
319+
- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy
320+
### Releases
321+
- [PyPI v0.14.4] https://pypi.org/project/codat-accounting/0.14.4 - accounting
322+
323+
## 2023-05-02 00:10:49
324+
### Changes
325+
Based on:
326+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
327+
- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy
328+
### Releases
329+
- [PyPI v0.14.5] https://pypi.org/project/codat-accounting/0.14.5 - accounting
330+
331+
## 2023-05-03 00:10:05
332+
### Changes
333+
Based on:
334+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
335+
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
336+
### Releases
337+
- [PyPI v0.15.0] https://pypi.org/project/codat-accounting/0.15.0 - accounting

accounting/USAGE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ s = codataccounting.CodatAccounting(
1111

1212

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

1919
res = s.account_transactions.get(req)

accounting/docs/accounts/README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -36,58 +36,58 @@ s = codataccounting.CodatAccounting(
3636

3737
req = operations.CreateAccountRequest(
3838
account=shared.Account(
39-
currency="quibusdam",
39+
currency='quibusdam',
4040
current_balance=6027.63,
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",
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="nulla",
50-
name="Accounts Receivable",
51-
nominal_code="610",
52-
source_modified_date="corrupti",
53-
status="Active",
54-
type="Asset",
49+
modified_date='nulla',
50+
name='Accounts Receivable',
51+
nominal_code='610',
52+
source_modified_date='corrupti',
53+
status=shared.AccountStatusEnum.ACTIVE,
54+
type=shared.AccountTypeEnum.ASSET,
5555
valid_datatype_links=[
5656
shared.ValidDataTypeLinks(
5757
links=[
58-
"error",
59-
"deserunt",
58+
'error',
59+
'deserunt',
6060
],
61-
property="suscipit",
61+
property='suscipit',
6262
),
6363
shared.ValidDataTypeLinks(
6464
links=[
65-
"magnam",
66-
"debitis",
65+
'magnam',
66+
'debitis',
6767
],
68-
property="ipsa",
68+
property='ipsa',
6969
),
7070
shared.ValidDataTypeLinks(
7171
links=[
72-
"tempora",
73-
"suscipit",
74-
"molestiae",
75-
"minus",
72+
'tempora',
73+
'suscipit',
74+
'molestiae',
75+
'minus',
7676
],
77-
property="placeat",
77+
property='placeat',
7878
),
7979
shared.ValidDataTypeLinks(
8080
links=[
81-
"iusto",
82-
"excepturi",
83-
"nisi",
81+
'iusto',
82+
'excepturi',
83+
'nisi',
8484
],
85-
property="recusandae",
85+
property='recusandae',
8686
),
8787
],
8888
),
89-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
90-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
89+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
90+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
9191
timeout_in_minutes=836079,
9292
)
9393

@@ -115,8 +115,8 @@ s = codataccounting.CodatAccounting(
115115

116116

117117
req = operations.GetAccountRequest(
118-
account_id="8a210b68-6988-11ed-a1eb-0242ac120002",
119-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
118+
account_id='8a210b68-6988-11ed-a1eb-0242ac120002',
119+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
120120
)
121121

122122
res = s.accounts.get(req)
@@ -149,8 +149,8 @@ s = codataccounting.CodatAccounting(
149149

150150

151151
req = operations.GetCreateChartOfAccountsModelRequest(
152-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
153-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
152+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
153+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
154154
)
155155

156156
res = s.accounts.get_create_model(req)
@@ -177,11 +177,11 @@ s = codataccounting.CodatAccounting(
177177

178178

179179
req = operations.ListAccountsRequest(
180-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
181-
order_by="-modifiedDate",
180+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
181+
order_by='-modifiedDate',
182182
page=1,
183183
page_size=100,
184-
query="ab",
184+
query='ab',
185185
)
186186

187187
res = s.accounts.list(req)

accounting/docs/accounttransactions/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ s = codataccounting.CodatAccounting(
2727

2828

2929
req = operations.GetAccountTransactionRequest(
30-
account_transaction_id="provident",
31-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
32-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
30+
account_transaction_id='provident',
31+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
32+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
3333
)
3434

3535
res = s.account_transactions.get(req)
@@ -56,12 +56,12 @@ s = codataccounting.CodatAccounting(
5656

5757

5858
req = operations.ListAccountTransactionsRequest(
59-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
60-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
61-
order_by="-modifiedDate",
59+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
60+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
61+
order_by='-modifiedDate',
6262
page=1,
6363
page_size=100,
64-
query="distinctio",
64+
query='distinctio',
6565
)
6666

6767
res = s.account_transactions.list(req)

accounting/docs/bankaccounts/README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,27 @@ s = codataccounting.CodatAccounting(
3737

3838
req = operations.CreateBankAccountRequest(
3939
bank_account=shared.BankAccount(
40-
account_name="natus",
41-
account_number="laboriosam",
42-
account_type="Debit",
40+
account_name='natus',
41+
account_number='laboriosam',
42+
account_type=shared.BankAccountBankAccountTypeEnum.DEBIT,
4343
available_balance=9025.99,
4444
balance=6818.2,
45-
currency="in",
46-
i_ban="corporis",
47-
id="96eb10fa-aa23-452c-9955-907aff1a3a2f",
48-
institution="mollitia",
45+
currency='in',
46+
i_ban='corporis',
47+
id='96eb10fa-aa23-452c-9955-907aff1a3a2f',
48+
institution='mollitia',
4949
metadata=shared.Metadata(
5050
is_deleted=False,
5151
),
52-
modified_date="occaecati",
53-
nominal_code="numquam",
52+
modified_date='occaecati',
53+
nominal_code='numquam',
5454
overdraft_limit=4143.69,
55-
sort_code="quam",
56-
source_modified_date="molestiae",
55+
sort_code='quam',
56+
source_modified_date='molestiae',
5757
),
5858
allow_sync_on_push_complete=False,
59-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
60-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
59+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
60+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
6161
timeout_in_minutes=244425,
6262
)
6363

@@ -85,9 +85,9 @@ s = codataccounting.CodatAccounting(
8585

8686

8787
req = operations.GetBankAccountRequest(
88-
account_id="8a210b68-6988-11ed-a1eb-0242ac120002",
89-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
90-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
88+
account_id='8a210b68-6988-11ed-a1eb-0242ac120002',
89+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
90+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
9191
)
9292

9393
res = s.bank_accounts.get(req)
@@ -120,8 +120,8 @@ s = codataccounting.CodatAccounting(
120120

121121

122122
req = operations.GetCreateUpdateBankAccountsModelRequest(
123-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
124-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
123+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
124+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
125125
)
126126

127127
res = s.bank_accounts.get_create_update_model(req)
@@ -148,12 +148,12 @@ s = codataccounting.CodatAccounting(
148148

149149

150150
req = operations.ListBankAccountsRequest(
151-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
152-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
153-
order_by="-modifiedDate",
151+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
152+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
153+
order_by='-modifiedDate',
154154
page=1,
155155
page_size=100,
156-
query="error",
156+
query='error',
157157
)
158158

159159
res = s.bank_accounts.list(req)
@@ -187,27 +187,27 @@ s = codataccounting.CodatAccounting(
187187

188188
req = operations.UpdateBankAccountRequest(
189189
bank_account=shared.BankAccount(
190-
account_name="quia",
191-
account_number="quis",
192-
account_type="Unknown",
190+
account_name='quia',
191+
account_number='quis',
192+
account_type=shared.BankAccountBankAccountTypeEnum.UNKNOWN,
193193
available_balance=6747.52,
194194
balance=6563.3,
195-
currency="enim",
196-
i_ban="odit",
197-
id="c3f5ad01-9da1-4ffe-b8f0-97b0074f1547",
198-
institution="dicta",
195+
currency='enim',
196+
i_ban='odit',
197+
id='c3f5ad01-9da1-4ffe-b8f0-97b0074f1547',
198+
institution='dicta',
199199
metadata=shared.Metadata(
200200
is_deleted=False,
201201
),
202-
modified_date="harum",
203-
nominal_code="enim",
202+
modified_date='harum',
203+
nominal_code='enim',
204204
overdraft_limit=8804.76,
205-
sort_code="commodi",
206-
source_modified_date="repudiandae",
205+
sort_code='commodi',
206+
source_modified_date='repudiandae',
207207
),
208-
bank_account_id="8a210b68-6988-11ed-a1eb-0242ac120002",
209-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
210-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
208+
bank_account_id='8a210b68-6988-11ed-a1eb-0242ac120002',
209+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
210+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
211211
force_update=False,
212212
timeout_in_minutes=64147,
213213
)

0 commit comments

Comments
 (0)