Skip to content

Commit 687b466

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0, Speakeay CLI 1.19.2
1 parent 7d59ebd commit 687b466

File tree

100 files changed

+2876
-4139
lines changed

Some content is hidden

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

100 files changed

+2876
-4139
lines changed

assess/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ if res.categorised_account is not None:
5454

5555
### excel_reports
5656

57+
* `download_excel_report` - Download generated excel report
58+
* `generate_excel_report` - Generate an Excel report
5759
* `get_accounting_marketing_metrics` - Get the marketing metrics from an accounting source for a given company.
5860
* `get_excel_report` - Download generated excel report
59-
* `get_excel_report_post` - Download generated excel report
60-
* `make_request_to_download_excel_report` - Get status of Excel report
61-
* `request_excel_report_for_download` - Generate an Excel report
61+
* `get_excel_report_generation_status` - Get status of Excel report
6262

6363
### reports
6464

@@ -71,7 +71,7 @@ if res.categorised_account is not None:
7171
* `get_commerce_revenue_metrics` - Commerce Revenue Metrics
7272
* `get_enhanced_balance_sheet` - Enhanced Balance Sheet
7373
* `get_enhanced_cash_flow_transactions` - Get enhanced cash flow report
74-
* `get_enhanced_financial_metrics` - List finanicial metrics
74+
* `get_enhanced_financial_metrics` - List financial metrics
7575
* `get_enhanced_invoices_report` - Enhanced Invoices Report
7676
* `get_enhanced_profit_and_loss` - Enhanced Profit and Loss
7777
* `get_recurring_revenue_metrics` - Get key metrics for subscription revenue

assess/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,12 @@ Based on:
182182
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
183183
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
184184
### Releases
185-
- [PyPI v0.9.3] https://pypi.org/project/codat-assess/0.9.3 - assess
185+
- [PyPI v0.9.3] https://pypi.org/project/codat-assess/0.9.3 - assess
186+
187+
## 2023-03-31 00:13:24
188+
### Changes
189+
Based on:
190+
- OpenAPI Doc 1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
191+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
192+
### Releases
193+
- [PyPI v0.9.4] https://pypi.org/project/codat-assess/0.9.4 - assess

assess/files.gen

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ src/codat/models/operations/update_accounts_categories.py
1818
src/codat/models/operations/get_data_integrity_details.py
1919
src/codat/models/operations/get_data_integrity_status.py
2020
src/codat/models/operations/get_data_integrity_summaries.py
21+
src/codat/models/operations/download_excel_report.py
22+
src/codat/models/operations/generate_excel_report.py
2123
src/codat/models/operations/get_accounting_marketing_metrics.py
2224
src/codat/models/operations/get_excel_report.py
23-
src/codat/models/operations/get_excel_report_post.py
24-
src/codat/models/operations/make_request_to_download_excel_report.py
25-
src/codat/models/operations/request_excel_report_for_download.py
25+
src/codat/models/operations/get_excel_report_generation_status.py
2626
src/codat/models/operations/get_accounts_for_enhanced_balance_sheet.py
2727
src/codat/models/operations/get_accounts_for_enhanced_profit_and_loss.py
2828
src/codat/models/operations/get_commerce_customer_retention_metrics.py
@@ -38,7 +38,65 @@ src/codat/models/operations/get_enhanced_profit_and_loss.py
3838
src/codat/models/operations/get_recurring_revenue_metrics.py
3939
src/codat/models/operations/request_recurring_revenue_metrics.py
4040
src/codat/models/operations/__init__.py
41+
src/codat/models/shared/categorisedaccount.py
42+
src/codat/models/shared/accountcategorydeprecated.py
43+
src/codat/models/shared/accountref.py
44+
src/codat/models/shared/categorisedaccounts.py
45+
src/codat/models/shared/links.py
46+
src/codat/models/shared/halref.py
47+
src/codat/models/shared/categories.py
48+
src/codat/models/shared/confirmcategory.py
49+
src/codat/models/shared/accountcategory.py
50+
src/codat/models/shared/confirmcategories.py
51+
src/codat/models/shared/details.py
52+
src/codat/models/shared/dataintegritydetails.py
53+
src/codat/models/shared/dataintegritymatch.py
54+
src/codat/models/shared/dataintegritydatatype_enum.py
55+
src/codat/models/shared/status.py
56+
src/codat/models/shared/dataintegritystatus.py
57+
src/codat/models/shared/dataintegritystatusinfo.py
58+
src/codat/models/shared/integritystatus_enum.py
59+
src/codat/models/shared/dataintegritydates.py
60+
src/codat/models/shared/dataintegrityconnectionid.py
61+
src/codat/models/shared/dataintegrityamounts.py
62+
src/codat/models/shared/summaries.py
63+
src/codat/models/shared/dataintegritysummary.py
64+
src/codat/models/shared/dataintegritybycount.py
65+
src/codat/models/shared/dataintegritybyamount.py
66+
src/codat/models/shared/excelreporttype_enum.py
67+
src/codat/models/shared/excelstatus.py
68+
src/codat/models/shared/report.py
69+
src/codat/models/shared/reportcomponent.py
70+
src/codat/models/shared/reportcomponentmeasure.py
71+
src/codat/models/shared/reportmeasure.py
72+
src/codat/models/shared/reporterror.py
73+
src/codat/models/shared/reportdimension.py
74+
src/codat/models/shared/periodunit_enum.py
75+
src/codat/models/shared/enhancedreport.py
76+
src/codat/models/shared/enhancedreportaccountcategory.py
77+
src/codat/models/shared/accountcategorylevel.py
78+
src/codat/models/shared/enhancedreportinfo.py
79+
src/codat/models/shared/enhancedcashflowtransactions.py
80+
src/codat/models/shared/enhancedcashflowitem.py
81+
src/codat/models/shared/enhancedcashflowtransaction.py
82+
src/codat/models/shared/transactioncategory.py
83+
src/codat/models/shared/sourceref.py
84+
src/codat/models/shared/reportinfo.py
85+
src/codat/models/shared/datasource.py
86+
src/codat/models/shared/accounts.py
87+
src/codat/models/shared/financialmetrics.py
88+
src/codat/models/shared/financialmetric.py
89+
src/codat/models/shared/financialmetricerror.py
90+
src/codat/models/shared/enhancedinvoicesreport.py
91+
src/codat/models/shared/enhancedinvoicereportitem.py
92+
src/codat/models/shared/invoicestatus_enum.py
93+
src/codat/models/shared/payment.py
94+
src/codat/models/shared/paymentline.py
95+
src/codat/models/shared/paymentlinelink.py
96+
src/codat/models/shared/paymentlinktype_enum.py
97+
src/codat/models/shared/customerref.py
4198
src/codat/models/shared/security.py
99+
src/codat/models/shared/accountcategoriesupdatedwebhook.py
42100
src/codat/models/shared/__init__.py
43101
src/codat/models/webhooks/account_categories_updated.py
44102
src/codat/models/webhooks/__init__.py

assess/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 7369a6af1ddeac4f9f5be6582afe7c44
3+
docChecksum: a537e65306f3e65dd12363e690636a7f
44
docVersion: "1.0"
55
speakeasyVersion: 1.19.2
66
generationVersion: 2.16.5
@@ -10,7 +10,7 @@ generation:
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
python:
13-
version: 0.9.3
13+
version: 0.9.4
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-assess

assess/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="codat-assess",
13-
version="0.9.3",
13+
version="0.9.4",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

assess/src/codat/categories.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import requests as requests_http
44
from . import utils
5-
from codat.models import operations
5+
from codat.models import operations, shared
66
from typing import Optional
77

88
class Categories:
@@ -40,7 +40,7 @@ def get_account_category(self, request: operations.GetAccountCategoryRequest) ->
4040

4141
if http_res.status_code == 200:
4242
if utils.match_content_type(content_type, 'application/json'):
43-
out = utils.unmarshal_json(http_res.text, Optional[operations.GetAccountCategoryCategorisedAccount])
43+
out = utils.unmarshal_json(http_res.text, Optional[shared.CategorisedAccount])
4444
res.categorised_account = out
4545

4646
return res
@@ -64,8 +64,8 @@ def list_accounts_categories(self, request: operations.ListAccountsCategoriesReq
6464

6565
if http_res.status_code == 200:
6666
if utils.match_content_type(content_type, 'application/json'):
67-
out = utils.unmarshal_json(http_res.text, Optional[operations.ListAccountsCategories200ApplicationJSON])
68-
res.list_accounts_categories_200_application_json_object = out
67+
out = utils.unmarshal_json(http_res.text, Optional[shared.CategorisedAccounts])
68+
res.categorised_accounts = out
6969

7070
return res
7171

@@ -87,8 +87,8 @@ def list_available_account_categories(self) -> operations.ListAvailableAccountCa
8787

8888
if http_res.status_code == 200:
8989
if utils.match_content_type(content_type, 'application/json'):
90-
out = utils.unmarshal_json(http_res.text, Optional[list[operations.ListAvailableAccountCategoriesChartOfAccountCategory]])
91-
res.list_available_account_categories_chart_of_account_category_anies = out
90+
out = utils.unmarshal_json(http_res.text, Optional[list[shared.Categories]])
91+
res.categories = out
9292

9393
return res
9494

@@ -101,7 +101,7 @@ def update_account_category(self, request: operations.UpdateAccountCategoryReque
101101
url = utils.generate_url(operations.UpdateAccountCategoryRequest, base_url, '/data/companies/{companyId}/connections/{connectionId}/assess/accounts/{accountId}/categories', request)
102102

103103
headers = {}
104-
req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json')
104+
req_content_type, data, form = utils.serialize_request_body(request, "confirm_category", 'json')
105105
if req_content_type not in ('multipart/form-data', 'multipart/mixed'):
106106
headers['content-type'] = req_content_type
107107

@@ -114,7 +114,7 @@ def update_account_category(self, request: operations.UpdateAccountCategoryReque
114114

115115
if http_res.status_code == 200:
116116
if utils.match_content_type(content_type, 'application/json'):
117-
out = utils.unmarshal_json(http_res.text, Optional[operations.UpdateAccountCategoryCategorisedAccount])
117+
out = utils.unmarshal_json(http_res.text, Optional[shared.CategorisedAccount])
118118
res.categorised_account = out
119119

120120
return res
@@ -128,7 +128,7 @@ def update_accounts_categories(self, request: operations.UpdateAccountsCategorie
128128
url = utils.generate_url(operations.UpdateAccountsCategoriesRequest, base_url, '/data/companies/{companyId}/connections/{connectionId}/assess/accounts/categories', request)
129129

130130
headers = {}
131-
req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json')
131+
req_content_type, data, form = utils.serialize_request_body(request, "confirm_categories", 'json')
132132
if req_content_type not in ('multipart/form-data', 'multipart/mixed'):
133133
headers['content-type'] = req_content_type
134134

@@ -141,7 +141,7 @@ def update_accounts_categories(self, request: operations.UpdateAccountsCategorie
141141

142142
if http_res.status_code == 200:
143143
if utils.match_content_type(content_type, 'application/json'):
144-
out = utils.unmarshal_json(http_res.text, Optional[list[operations.UpdateAccountsCategoriesCategorisedAccount]])
144+
out = utils.unmarshal_json(http_res.text, Optional[list[shared.CategorisedAccount]])
145145
res.categorised_accounts = out
146146

147147
return res

assess/src/codat/data_integrity.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import requests as requests_http
44
from . import utils
5-
from codat.models import operations
5+
from codat.models import operations, shared
66
from typing import Optional
77

88
class DataIntegrity:
@@ -41,8 +41,8 @@ def get_data_integrity_details(self, request: operations.GetDataIntegrityDetails
4141

4242
if http_res.status_code == 200:
4343
if utils.match_content_type(content_type, 'application/json'):
44-
out = utils.unmarshal_json(http_res.text, Optional[operations.GetDataIntegrityDetails200ApplicationJSON])
45-
res.get_data_integrity_details_200_application_json_object = out
44+
out = utils.unmarshal_json(http_res.text, Optional[shared.Details])
45+
res.details = out
4646

4747
return res
4848

@@ -64,8 +64,8 @@ def get_data_integrity_status(self, request: operations.GetDataIntegrityStatusRe
6464

6565
if http_res.status_code == 200:
6666
if utils.match_content_type(content_type, 'application/json'):
67-
out = utils.unmarshal_json(http_res.text, Optional[operations.GetDataIntegrityStatus200ApplicationJSON])
68-
res.get_data_integrity_status_200_application_json_object = out
67+
out = utils.unmarshal_json(http_res.text, Optional[shared.Status])
68+
res.status = out
6969

7070
return res
7171

@@ -88,8 +88,8 @@ def get_data_integrity_summaries(self, request: operations.GetDataIntegritySumma
8888

8989
if http_res.status_code == 200:
9090
if utils.match_content_type(content_type, 'application/json'):
91-
out = utils.unmarshal_json(http_res.text, Optional[operations.GetDataIntegritySummaries200ApplicationJSON])
92-
res.get_data_integrity_summaries_200_application_json_object = out
91+
out = utils.unmarshal_json(http_res.text, Optional[shared.Summaries])
92+
res.summaries = out
9393

9494
return res
9595

0 commit comments

Comments
 (0)