Skip to content

Commit e8f8e55

Browse files
authored
Merge pull request #123 from codatio/speakeasy-sdk-regen-1682643823
chore: speakeasy sdk regeneration - Generate Assess SDK
2 parents 9a6ed6a + 58205de commit e8f8e55

File tree

101 files changed

+420
-1543
lines changed

Some content is hidden

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

101 files changed

+420
-1543
lines changed

assess/README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ s = codatassess.CodatAssess(
2323
),
2424
)
2525

26-
2726
req = operations.GetAccountCategoryRequest(
28-
account_id="corrupti",
29-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
30-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
27+
account_id='corrupti',
28+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
29+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
3130
)
3231

3332
res = s.categories.get_account_category(req)
@@ -43,11 +42,11 @@ if res.categorised_account is not None:
4342

4443
### [categories](docs/categories/README.md)
4544

46-
* [get_account_category](docs/categories/README.md#get_account_category) - Get suggested and/or confirmed category for a specific account
47-
* [list_accounts_categories](docs/categories/README.md#list_accounts_categories) - List suggested and confirmed account categories
48-
* [list_available_account_categories](docs/categories/README.md#list_available_account_categories) - List account categories
49-
* [update_account_category](docs/categories/README.md#update_account_category) - Patch account categories
50-
* [update_accounts_categories](docs/categories/README.md#update_accounts_categories) - Confirm categories for accounts
45+
* [~~get_account_category~~](docs/categories/README.md#get_account_category) - Get suggested and/or confirmed category for a specific account :warning: **Deprecated**
46+
* [~~list_accounts_categories~~](docs/categories/README.md#list_accounts_categories) - List suggested and confirmed account categories :warning: **Deprecated**
47+
* [~~list_available_account_categories~~](docs/categories/README.md#list_available_account_categories) - List account categories :warning: **Deprecated**
48+
* [~~update_account_category~~](docs/categories/README.md#update_account_category) - Patch account categories :warning: **Deprecated**
49+
* [~~update_accounts_categories~~](docs/categories/README.md#update_accounts_categories) - Confirm categories for accounts :warning: **Deprecated**
5150

5251
### [data_integrity](docs/dataintegrity/README.md)
5352

@@ -57,7 +56,7 @@ if res.categorised_account is not None:
5756

5857
### [excel_reports](docs/excelreports/README.md)
5958

60-
* [download_excel_report](docs/excelreports/README.md#download_excel_report) - Download generated excel report
59+
* [~~download_excel_report~~](docs/excelreports/README.md#download_excel_report) - Download generated excel report :warning: **Deprecated**
6160
* [generate_excel_report](docs/excelreports/README.md#generate_excel_report) - Generate an Excel report
6261
* [get_accounting_marketing_metrics](docs/excelreports/README.md#get_accounting_marketing_metrics) - Get the marketing metrics from an accounting source for a given company.
6362
* [get_excel_report](docs/excelreports/README.md#get_excel_report) - Download generated excel report
@@ -72,11 +71,11 @@ if res.categorised_account is not None:
7271
* [get_commerce_orders_metrics](docs/reports/README.md#get_commerce_orders_metrics) - Get order information for a specific company
7372
* [get_commerce_refunds_metrics](docs/reports/README.md#get_commerce_refunds_metrics) - Get the refunds information for a specific company
7473
* [get_commerce_revenue_metrics](docs/reports/README.md#get_commerce_revenue_metrics) - Commerce Revenue Metrics
75-
* [get_enhanced_balance_sheet](docs/reports/README.md#get_enhanced_balance_sheet) - Enhanced Balance Sheet
74+
* [~~get_enhanced_balance_sheet~~](docs/reports/README.md#get_enhanced_balance_sheet) - Enhanced Balance Sheet :warning: **Deprecated**
7675
* [get_enhanced_cash_flow_transactions](docs/reports/README.md#get_enhanced_cash_flow_transactions) - Get enhanced cash flow report
77-
* [get_enhanced_financial_metrics](docs/reports/README.md#get_enhanced_financial_metrics) - List financial metrics
76+
* [~~get_enhanced_financial_metrics~~](docs/reports/README.md#get_enhanced_financial_metrics) - List financial metrics :warning: **Deprecated**
7877
* [get_enhanced_invoices_report](docs/reports/README.md#get_enhanced_invoices_report) - Enhanced Invoices Report
79-
* [get_enhanced_profit_and_loss](docs/reports/README.md#get_enhanced_profit_and_loss) - Enhanced Profit and Loss
78+
* [~~get_enhanced_profit_and_loss~~](docs/reports/README.md#get_enhanced_profit_and_loss) - Enhanced Profit and Loss :warning: **Deprecated**
8079
* [get_recurring_revenue_metrics](docs/reports/README.md#get_recurring_revenue_metrics) - Get key metrics for subscription revenue
8180
* [request_recurring_revenue_metrics](docs/reports/README.md#request_recurring_revenue_metrics) - Request production of key subscription revenue metrics
8281
<!-- End SDK Available Operations -->

assess/RELEASES.md

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,76 @@ Based on:
286286
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
287287
- Speakeasy CLI 1.26.1 (2.23.1) https://github.com/speakeasy-api/speakeasy
288288
### Releases
289-
- [PyPI v0.14.1] https://pypi.org/project/codat-assess/0.14.1 - assess
289+
- [PyPI v0.14.1] https://pypi.org/project/codat-assess/0.14.1 - assess
290+
291+
## 2023-04-28 01:03:41
292+
### Changes
293+
Based on:
294+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
295+
- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy
296+
### Releases
297+
- [PyPI v0.14.2] https://pypi.org/project/codat-assess/0.14.2 - assess
298+
299+
## 2023-04-29 00:12:48
300+
### Changes
301+
Based on:
302+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
303+
- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy
304+
### Releases
305+
- [PyPI v0.14.3] https://pypi.org/project/codat-assess/0.14.3 - assess
306+
307+
## 2023-04-30 00:13:45
308+
### Changes
309+
Based on:
310+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
311+
- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy
312+
### Releases
313+
- [PyPI v0.14.4] https://pypi.org/project/codat-assess/0.14.4 - assess
314+
315+
## 2023-05-02 00:13:02
316+
### Changes
317+
Based on:
318+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
319+
- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy
320+
### Releases
321+
- [PyPI v0.14.5] https://pypi.org/project/codat-assess/0.14.5 - assess
322+
323+
## 2023-05-03 00:12:16
324+
### Changes
325+
Based on:
326+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
327+
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
328+
### Releases
329+
- [PyPI v0.15.0] https://pypi.org/project/codat-assess/0.15.0 - assess
330+
331+
## 2023-05-05 00:12:14
332+
### Changes
333+
Based on:
334+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
335+
- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy
336+
### Releases
337+
- [PyPI v0.16.0] https://pypi.org/project/codat-assess/0.16.0 - assess
338+
339+
## 2023-05-06 00:12:05
340+
### Changes
341+
Based on:
342+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
343+
- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy
344+
### Releases
345+
- [PyPI v0.16.1] https://pypi.org/project/codat-assess/0.16.1 - assess
346+
347+
## 2023-05-10 00:12:26
348+
### Changes
349+
Based on:
350+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
351+
- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy
352+
### Releases
353+
- [PyPI v0.16.2] https://pypi.org/project/codat-assess/0.16.2 - assess
354+
355+
## 2023-05-11 00:12:27
356+
### Changes
357+
Based on:
358+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
359+
- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy
360+
### Releases
361+
- [PyPI v0.16.3] https://pypi.org/project/codat-assess/0.16.3 - assess

assess/USAGE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ s = codatassess.CodatAssess(
99
),
1010
)
1111

12-
1312
req = operations.GetAccountCategoryRequest(
14-
account_id="corrupti",
15-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
16-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
13+
account_id='corrupti',
14+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
15+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
1716
)
1817

1918
res = s.categories.get_account_category(req)

assess/docs/categories/README.md

Lines changed: 51 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ Categorisation
66

77
### Available Operations
88

9-
* [get_account_category](#get_account_category) - Get suggested and/or confirmed category for a specific account
10-
* [list_accounts_categories](#list_accounts_categories) - List suggested and confirmed account categories
11-
* [list_available_account_categories](#list_available_account_categories) - List account categories
12-
* [update_account_category](#update_account_category) - Patch account categories
13-
* [update_accounts_categories](#update_accounts_categories) - Confirm categories for accounts
9+
* [~~get_account_category~~](#get_account_category) - Get suggested and/or confirmed category for a specific account :warning: **Deprecated**
10+
* [~~list_accounts_categories~~](#list_accounts_categories) - List suggested and confirmed account categories :warning: **Deprecated**
11+
* [~~list_available_account_categories~~](#list_available_account_categories) - List account categories :warning: **Deprecated**
12+
* [~~update_account_category~~](#update_account_category) - Patch account categories :warning: **Deprecated**
13+
* [~~update_accounts_categories~~](#update_accounts_categories) - Confirm categories for accounts :warning: **Deprecated**
1414

15-
## get_account_category
15+
## ~~get_account_category~~
1616

1717
Get category for specific nominal account.
1818

19+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
20+
1921
### Example Usage
2022

2123
```python
@@ -28,11 +30,10 @@ s = codatassess.CodatAssess(
2830
),
2931
)
3032

31-
3233
req = operations.GetAccountCategoryRequest(
33-
account_id="provident",
34-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
35-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
34+
account_id='provident',
35+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
36+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
3637
)
3738

3839
res = s.categories.get_account_category(req)
@@ -41,10 +42,12 @@ if res.categorised_account is not None:
4142
# handle response
4243
```
4344

44-
## list_accounts_categories
45+
## ~~list_accounts_categories~~
4546

4647
Lists suggested and confirmed chart of account categories for the given company and data connection.
4748

49+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
50+
4851
### Example Usage
4952

5053
```python
@@ -57,14 +60,13 @@ s = codatassess.CodatAssess(
5760
),
5861
)
5962

60-
6163
req = operations.ListAccountsCategoriesRequest(
62-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
63-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
64-
order_by="-modifiedDate",
64+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
65+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
66+
order_by='-modifiedDate',
6567
page=1,
6668
page_size=100,
67-
query="distinctio",
69+
query='distinctio',
6870
)
6971

7072
res = s.categories.list_accounts_categories(req)
@@ -73,10 +75,12 @@ if res.categorised_accounts is not None:
7375
# handle response
7476
```
7577

76-
## list_available_account_categories
78+
## ~~list_available_account_categories~~
7779

7880
Lists available account categories Codat's categorisation engine can provide.
7981

82+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
83+
8084
### Example Usage
8185

8286
```python
@@ -96,10 +100,12 @@ if res.categories is not None:
96100
# handle response
97101
```
98102

99-
## update_account_category
103+
## ~~update_account_category~~
100104

101105
Update category for a specific nominal account
102106

107+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
108+
103109
### Example Usage
104110

105111
```python
@@ -112,18 +118,17 @@ s = codatassess.CodatAssess(
112118
),
113119
)
114120

115-
116121
req = operations.UpdateAccountCategoryRequest(
117122
confirm_category=shared.ConfirmCategory(
118123
confirmed=shared.AccountCategory(
119-
detail_type="quibusdam",
120-
subtype="unde",
121-
type="nulla",
124+
detail_type='quibusdam',
125+
subtype='unde',
126+
type='nulla',
122127
),
123128
),
124-
account_id="corrupti",
125-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
126-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
129+
account_id='corrupti',
130+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
131+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
127132
)
128133

129134
res = s.categories.update_account_category(req)
@@ -132,10 +137,12 @@ if res.categorised_account is not None:
132137
# handle response
133138
```
134139

135-
## update_accounts_categories
140+
## ~~update_accounts_categories~~
136141

137142
Comfirms the categories for all or a batch of accounts for a specific connection.
138143

144+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
145+
139146
### Example Usage
140147

141148
```python
@@ -148,54 +155,53 @@ s = codatassess.CodatAssess(
148155
),
149156
)
150157

151-
152158
req = operations.UpdateAccountsCategoriesRequest(
153159
confirm_categories=shared.ConfirmCategories(
154160
categories=[
155161
shared.ConfirmCategoriesCategories(
156162
account_ref=shared.ConfirmCategoriesCategoriesAccountRef(
157-
id="69a674e0-f467-4cc8-b96e-d151a05dfc2d",
163+
id='69a674e0-f467-4cc8-b96e-d151a05dfc2d',
158164
),
159165
confirmed=shared.AccountCategory(
160-
detail_type="at",
161-
subtype="maiores",
162-
type="molestiae",
166+
detail_type='at',
167+
subtype='maiores',
168+
type='molestiae',
163169
),
164170
),
165171
shared.ConfirmCategoriesCategories(
166172
account_ref=shared.ConfirmCategoriesCategoriesAccountRef(
167-
id="cc78ca1b-a928-4fc8-9674-2cb739205929",
173+
id='cc78ca1b-a928-4fc8-9674-2cb739205929',
168174
),
169175
confirmed=shared.AccountCategory(
170-
detail_type="dolor",
171-
subtype="natus",
172-
type="laboriosam",
176+
detail_type='dolor',
177+
subtype='natus',
178+
type='laboriosam',
173179
),
174180
),
175181
shared.ConfirmCategoriesCategories(
176182
account_ref=shared.ConfirmCategoriesCategoriesAccountRef(
177-
id="fea7596e-b10f-4aaa-a352-c5955907aff1",
183+
id='fea7596e-b10f-4aaa-a352-c5955907aff1',
178184
),
179185
confirmed=shared.AccountCategory(
180-
detail_type="mollitia",
181-
subtype="dolorem",
182-
type="culpa",
186+
detail_type='mollitia',
187+
subtype='dolorem',
188+
type='culpa',
183189
),
184190
),
185191
shared.ConfirmCategoriesCategories(
186192
account_ref=shared.ConfirmCategoriesCategoriesAccountRef(
187-
id="2fa94677-3925-41aa-92c3-f5ad019da1ff",
193+
id='2fa94677-3925-41aa-92c3-f5ad019da1ff',
188194
),
189195
confirmed=shared.AccountCategory(
190-
detail_type="vero",
191-
subtype="nihil",
192-
type="praesentium",
196+
detail_type='vero',
197+
subtype='nihil',
198+
type='praesentium',
193199
),
194200
),
195201
],
196202
),
197-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
198-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
203+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
204+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
199205
)
200206

201207
res = s.categories.update_accounts_categories(req)

0 commit comments

Comments
 (0)