Skip to content

Commit 5617ebb

Browse files
committed
ci: regenerated with OpenAPI Doc prealpha, Speakeay CLI 1.50.1
1 parent fb20952 commit 5617ebb

6 files changed

Lines changed: 37 additions & 10 deletions

File tree

expenses/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,4 +542,12 @@ Based on:
542542
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
543543
- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy
544544
### Releases
545-
- [PyPI v0.27.3] https://pypi.org/project/codat-sync-for-expenses/0.27.3 - expenses
545+
- [PyPI v0.27.3] https://pypi.org/project/codat-sync-for-expenses/0.27.3 - expenses
546+
547+
## 2023-06-23 00:17:48
548+
### Changes
549+
Based on:
550+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Expenses.yaml
551+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
552+
### Releases
553+
- [PyPI v0.28.0] https://pypi.org/project/codat-sync-for-expenses/0.28.0 - expenses

expenses/docs/models/shared/dataconnection.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# DataConnection
22

3-
A connection represents the link between a `company` and a source of data.
3+
A connection represents a [company's](https://docs.codat.io/codat-api#/schemas/Company) connection to a data source and allows you to synchronize data (pull and/or push) with that source.
4+
5+
A company can have multiple data connections depending on the type of data source it is connecting to. For example, a single company can link to:
6+
7+
- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
8+
- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
9+
- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
10+
Any combination of accounting, banking, and commerce data connections is allowed.
11+
12+
Before you can use a data connection to pull or push data, the company must grant you access to their business data by [linking the connection](https://docs.codat.io/auth-flow/overview).
413

514

615
## Fields

expenses/gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 5977b22d43be8b8becac3afd8bc19158
3+
docChecksum: 3f4727af6903d2c5cee6317f7ef30894
44
docVersion: prealpha
5-
speakeasyVersion: 1.49.1
6-
generationVersion: 2.41.5
5+
speakeasyVersion: 1.50.1
6+
generationVersion: 2.43.2
77
generation:
88
sdkClassName: CodatSyncExpenses
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
python:
12-
version: 0.27.3
12+
version: 0.28.0
1313
author: Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 0

expenses/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-sync-for-expenses",
13-
version="0.27.3",
13+
version="0.28.0",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

expenses/src/codatsyncexpenses/models/shared/dataconnection.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@ class DataConnectionSourceType(str, Enum):
2222

2323
@dataclasses.dataclass
2424
class DataConnection:
25-
r"""A connection represents the link between a `company` and a source of data."""
25+
r"""A connection represents a [company's](https://docs.codat.io/codat-api#/schemas/Company) connection to a data source and allows you to synchronize data (pull and/or push) with that source.
26+
27+
A company can have multiple data connections depending on the type of data source it is connecting to. For example, a single company can link to:
28+
29+
- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
30+
- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
31+
- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
32+
Any combination of accounting, banking, and commerce data connections is allowed.
33+
34+
Before you can use a data connection to pull or push data, the company must grant you access to their business data by [linking the connection](https://docs.codat.io/auth-flow/overview).
35+
"""
2636
created: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created') }})
2737
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
2838

expenses/src/codatsyncexpenses/sdkconfiguration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class SDKConfiguration:
1717
server_idx: int = 0
1818
language: str = 'python'
1919
openapi_doc_version: str = 'prealpha'
20-
sdk_version: str = '0.27.3'
21-
gen_version: str = '2.41.5'
20+
sdk_version: str = '0.28.0'
21+
gen_version: str = '2.43.2'
2222

2323
def get_server_details(self) -> tuple[str, dict[str, str]]:
2424
if self.server_url:

0 commit comments

Comments
 (0)