Skip to content

Commit 23816a9

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.57.0
1 parent c0a748b commit 23816a9

19 files changed

Lines changed: 108 additions & 100 deletions

common/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,4 +566,12 @@ Based on:
566566
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
567567
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
568568
### Releases
569-
- [PyPI v0.31.1] https://pypi.org/project/codat-common/0.31.1 - common
569+
- [PyPI v0.31.1] https://pypi.org/project/codat-common/0.31.1 - common
570+
571+
## 2023-07-13 00:21:39
572+
### Changes
573+
Based on:
574+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
575+
- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy
576+
### Releases
577+
- [PyPI v0.32.0] https://pypi.org/project/codat-common/0.32.0 - common

common/gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: 5a5f31fc5122be8cbb5952c4477cf930
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.53.0
6-
generationVersion: 2.58.0
5+
speakeasyVersion: 1.57.0
6+
generationVersion: 2.62.1
77
generation:
88
sdkClassName: CodatCommon
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
python:
12-
version: 0.31.1
12+
version: 0.32.0
1313
author: Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 0

common/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-common",
13-
version="0.31.1",
13+
version="0.32.0",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

common/src/codatcommon/companies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None:
1616
def create(self, request: shared.CompanyRequestBody, retries: Optional[utils.RetryConfig] = None) -> operations.CreateCompanyResponse:
1717
r"""Create company
1818
Creates a new company that can be used to assign connections to.
19-
19+
2020
If forbidden characters (see `name` pattern) are present in the request, a company will be created with the forbidden characters removed. For example, `Company (Codat[1])` with be created as `Company Codat1`.
2121
"""
2222
base_url = utils.template_url(*self.sdk_configuration.get_server_details())

common/src/codatcommon/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None:
1616
def create(self, request: operations.CreateDataConnectionRequest, retries: Optional[utils.RetryConfig] = None) -> operations.CreateDataConnectionResponse:
1717
r"""Create connection
1818
Creates a connection for the company by providing a valid `platformKey`.
19-
19+
2020
Use the [List Integrations](https://docs.codat.io/codat-api#/operations/list-integrations) endpoint to access valid platform keys.
2121
"""
2222
base_url = utils.template_url(*self.sdk_configuration.get_server_details())

common/src/codatcommon/models/shared/company.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
@dataclasses.dataclass
1414
class Company:
1515
r"""In Codat, a company represents a business sharing access to their data. Each company can have multiple [connections](https://docs.codat.io/codat-api#/schemas/Connection) to different data sources such as one connection to [Xero](https://docs.codat.io/integrations/accounting/xero/accounting-xero) for accounting data, two connections to [Plaid](https://docs.codat.io/integrations/banking/plaid/banking-plaid) for two bank accounts and a connection to [Zettle](https://docs.codat.io/integrations/commerce/zettle/commerce-zettle) for POS data.
16-
16+
1717
Typically each company is one of your customers.
18-
18+
1919
When you create a company, you can specify a `name` and we will automatically generate a unique `id` for the company. You can also add a `description` to store any additional information about the company.
2020
"""
2121
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
@@ -26,20 +26,20 @@ class Company:
2626
r"""The `redirect` [Link URL](https://docs.codat.io/auth-flow/authorize-hosted-link) enabling the customer to start their auth flow journey for the company."""
2727
created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }})
2828
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:
29-
29+
3030
```
3131
2020-10-08T22:40:50Z
3232
2021-01-01T00:00:00
3333
```
34-
35-
36-
34+
35+
36+
3737
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
38-
38+
3939
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
4040
- Unqualified local time: `2021-11-15T01:00:00`
4141
- UTC time offsets: `2021-11-15T01:00:00-05:00`
42-
42+
4343
> Time zones
4444
>
4545
> Not all dates from Codat will contain information about time zones.
@@ -51,20 +51,20 @@ class Company:
5151
r"""Additional information about the company. This can be used to store foreign IDs, references, etc."""
5252
last_sync: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastSync'), 'exclude': lambda f: f is None }})
5353
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:
54-
54+
5555
```
5656
2020-10-08T22:40:50Z
5757
2021-01-01T00:00:00
5858
```
59-
60-
61-
59+
60+
61+
6262
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
63-
63+
6464
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
6565
- Unqualified local time: `2021-11-15T01:00:00`
6666
- UTC time offsets: `2021-11-15T01:00:00-05:00`
67-
67+
6868
> Time zones
6969
>
7070
> Not all dates from Codat will contain information about time zones.

common/src/codatcommon/models/shared/connection.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,32 @@
1515
@dataclasses.dataclass
1616
class Connection:
1717
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.
18-
18+
1919
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:
20-
20+
2121
- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
2222
- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
2323
- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
2424
Any combination of accounting, banking, and commerce data connections is allowed.
25-
25+
2626
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).
2727
"""
2828
created: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created') }})
2929
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:
30-
30+
3131
```
3232
2020-10-08T22:40:50Z
3333
2021-01-01T00:00:00
3434
```
35-
36-
37-
35+
36+
37+
3838
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
39-
39+
4040
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
4141
- Unqualified local time: `2021-11-15T01:00:00`
4242
- UTC time offsets: `2021-11-15T01:00:00-05:00`
43-
43+
4444
> Time zones
4545
>
4646
> Not all dates from Codat will contain information about time zones.
@@ -65,20 +65,20 @@ class Connection:
6565
data_connection_errors: Optional[list[shared_dataconnectionerror.DataConnectionError]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dataConnectionErrors'), 'exclude': lambda f: f is None }})
6666
last_sync: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastSync'), 'exclude': lambda f: f is None }})
6767
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:
68-
68+
6969
```
7070
2020-10-08T22:40:50Z
7171
2021-01-01T00:00:00
7272
```
73-
74-
75-
73+
74+
75+
7676
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
77-
77+
7878
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
7979
- Unqualified local time: `2021-11-15T01:00:00`
8080
- UTC time offsets: `2021-11-15T01:00:00-05:00`
81-
81+
8282
> Time zones
8383
>
8484
> Not all dates from Codat will contain information about time zones.

common/src/codatcommon/models/shared/dataconnectionerror.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
class DataConnectionError:
1414
errored_on_utc: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('erroredOnUtc'), 'exclude': lambda f: f is None }})
1515
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:
16-
16+
1717
```
1818
2020-10-08T22:40:50Z
1919
2021-01-01T00:00:00
2020
```
21-
22-
23-
21+
22+
23+
2424
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
25-
25+
2626
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
2727
- Unqualified local time: `2021-11-15T01:00:00`
2828
- UTC time offsets: `2021-11-15T01:00:00-05:00`
29-
29+
3030
> Time zones
3131
>
3232
> Not all dates from Codat will contain information about time zones.

common/src/codatcommon/models/shared/datastatus.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ class DataStatus:
1616
data_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dataType') }})
1717
last_successful_sync: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastSuccessfulSync') }})
1818
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:
19-
19+
2020
```
2121
2020-10-08T22:40:50Z
2222
2021-01-01T00:00:00
2323
```
24-
25-
26-
24+
25+
26+
2727
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
28-
28+
2929
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
3030
- Unqualified local time: `2021-11-15T01:00:00`
3131
- UTC time offsets: `2021-11-15T01:00:00-05:00`
32-
32+
3333
> Time zones
3434
>
3535
> Not all dates from Codat will contain information about time zones.

common/src/codatcommon/models/shared/pulloperation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,20 @@ class PullOperation:
4848
progress: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('progress') }})
4949
requested: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requested') }})
5050
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:
51-
51+
5252
```
5353
2020-10-08T22:40:50Z
5454
2021-01-01T00:00:00
5555
```
56-
57-
58-
56+
57+
58+
5959
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
60-
60+
6161
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
6262
- Unqualified local time: `2021-11-15T01:00:00`
6363
- UTC time offsets: `2021-11-15T01:00:00-05:00`
64-
64+
6565
> Time zones
6666
>
6767
> Not all dates from Codat will contain information about time zones.

0 commit comments

Comments
 (0)