Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ pip install codat-common
import codat
from codat.models import operations, shared

s = codat.Codat()
s.config_security(
s = codat.Codat(
security=shared.Security(
api_key="YOUR_API_KEY_HERE",
)
)

req = operations.CreateCompanyRequest(
request=operations.CreateCompanyRequestBody(
description="unde",
name="deserunt",
auth_header="YOUR_API_KEY_HERE",
),
)


req = operations.CreateCompanyRequestBody(
description="unde",
name="deserunt",
)

res = s.companies.create_company(req)

Expand All @@ -41,20 +39,20 @@ if res.create_company_200_application_json_object is not None:

### companies

* `create_company` - Create a company
* `delete_companies_company_id` - Delete a company
* `get_companies_company_id` - Get company
* `create_company` - Create company
* `delete_company` - Delete a company
* `get_company` - Get company
* `list_companies` - List companies
* `put_companies_company_id` - Update a company
* `update_company` - Update company

### connections

* `create_data_connection` - Create a data connection
* `delete_company_connection` - Delete connection
* `get_companies_company_id_connections_connection_id_authorization` - Update authorization
* `get_company_authorization` - Update authorization
* `get_company_connection` - Get connection
* `list_company_connections` - List connections
* `patch_company_connection` - Unlink connection
* `unlink_company_connection` - Unlink connection

### data_status

Expand Down Expand Up @@ -88,9 +86,9 @@ if res.create_company_200_application_json_object is not None:

### webhooks

* `create_rule` - Create webhook
* `get_webhook` - Get webhook
* `list_rules` - List webhooks
* `post_rules` - Create webhook
<!-- End SDK Available Operations -->

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
74 changes: 73 additions & 1 deletion common/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,76 @@ Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.1.1] https://pypi.org/project/codat-common/0.1.1 - common
- [PyPI v0.1.1] https://pypi.org/project/codat-common/0.1.1 - common

## 2023-03-03 01:56:51
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.1.2] https://pypi.org/project/codat-common/0.1.2 - common

## 2023-03-04 00:17:05
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.2.0] https://pypi.org/project/codat-common/0.2.0 - common

## 2023-03-06 00:18:48
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.8.4 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.2.1] https://pypi.org/project/codat-common/0.2.1 - common

## 2023-03-07 00:19:28
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.8.5 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.2.2] https://pypi.org/project/codat-common/0.2.2 - common

## 2023-03-08 00:18:55
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.2.3] https://pypi.org/project/codat-common/0.2.3 - common

## 2023-03-09 00:18:28
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.2.4] https://pypi.org/project/codat-common/0.2.4 - common

## 2023-03-10 00:18:23
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.3.0] https://pypi.org/project/codat-common/0.3.0 - common

## 2023-03-11 00:16:06
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.3.1] https://pypi.org/project/codat-common/0.3.1 - common

## 2023-03-15 00:17:28
### Changes
Based on:
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.4.0] https://pypi.org/project/codat-common/0.4.0 - common
18 changes: 8 additions & 10 deletions common/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@
import codat
from codat.models import operations, shared

s = codat.Codat()
s.config_security(
s = codat.Codat(
security=shared.Security(
api_key="YOUR_API_KEY_HERE",
)
)

req = operations.CreateCompanyRequest(
request=operations.CreateCompanyRequestBody(
description="unde",
name="deserunt",
auth_header="YOUR_API_KEY_HERE",
),
)


req = operations.CreateCompanyRequestBody(
description="unde",
name="deserunt",
)

res = s.companies.create_company(req)

Expand Down
13 changes: 7 additions & 6 deletions common/files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,24 @@ src/codat/refresh_data.py
src/codat/settings.py
src/codat/webhooks.py
src/codat/sdk.py
pylintrc
setup.py
src/codat/__init__.py
src/codat/models/__init__.py
src/codat/utils/__init__.py
src/codat/utils/retries.py
src/codat/utils/utils.py
src/codat/models/operations/create_company.py
src/codat/models/operations/delete_companies_companyid.py
src/codat/models/operations/get_companies_companyid.py
src/codat/models/operations/delete_company.py
src/codat/models/operations/get_company.py
src/codat/models/operations/list_companies.py
src/codat/models/operations/put_companies_companyid.py
src/codat/models/operations/update_company.py
src/codat/models/operations/create_data_connection.py
src/codat/models/operations/delete_company_connection.py
src/codat/models/operations/get_companies_companyid_connections_connectionid_authorization.py
src/codat/models/operations/get_company_authorization.py
src/codat/models/operations/get_company_connection.py
src/codat/models/operations/list_company_connections.py
src/codat/models/operations/patch_company_connection.py
src/codat/models/operations/unlink_company_connection.py
src/codat/models/operations/get_companies_companyid_datastatus.py
src/codat/models/operations/get_company_data_history.py
src/codat/models/operations/get_pull_operation.py
Expand All @@ -39,9 +40,9 @@ src/codat/models/operations/get_profile_syncsettings.py
src/codat/models/operations/get_settings_profile.py
src/codat/models/operations/post_profile_syncsettings.py
src/codat/models/operations/put_profile.py
src/codat/models/operations/create_rule.py
src/codat/models/operations/get_webhook.py
src/codat/models/operations/list_rules.py
src/codat/models/operations/post_rules.py
src/codat/models/operations/__init__.py
src/codat/models/shared/security.py
src/codat/models/shared/__init__.py
Expand Down
6 changes: 3 additions & 3 deletions common/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
configVersion: 1.0.0
management:
docChecksum: 348d07051fb0294d6887f4c766560fc5
docChecksum: c45d111816d2a80343cf68432dd3b89b
docVersion: 2.1.0
speakeasyVersion: 1.7.1
speakeasyVersion: 1.11.0
generation:
telemetryEnabled: false
sdkClassName: codat
sdkFlattening: true
python:
version: 0.1.1
version: 0.4.0
author: Speakeasy
description: Python Client SDK Generated by Speakeasy
packageName: codat-common
Loading