Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored May 15, 2024
1 parent ea664d6 commit fc7d5c4
Show file tree
Hide file tree
Showing 340 changed files with 2,786 additions and 6,984 deletions.
459 changes: 249 additions & 210 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.289.0
speakeasyVersion: 1.291.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:8948d30766f3dc41f16c1c5fbf7a28ca02745f4470da1cfdfca53f6cb7622e27
sourceBlobDigest: sha256:770a7589e02e71b2f3dcb5fefce35fcbd1d94e62c7852bb78b6e70a08f9cdbe0
sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80
sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f
tags:
- latest
- main
targets:
python-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:8948d30766f3dc41f16c1c5fbf7a28ca02745f4470da1cfdfca53f6cb7622e27
sourceBlobDigest: sha256:770a7589e02e71b2f3dcb5fefce35fcbd1d94e62c7852bb78b6e70a08f9cdbe0
sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80
sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
98 changes: 11 additions & 87 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ s = airbyte_api.AirbyteAPI(
),
)

res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand All @@ -56,47 +56,6 @@ if res.connection_response is not None:
<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

### [public_connections](docs/sdks/publicconnections/README.md)

* [create_connection](docs/sdks/publicconnections/README.md#create_connection) - Create a connection
* [delete_connection](docs/sdks/publicconnections/README.md#delete_connection) - Delete a Connection
* [get_connection](docs/sdks/publicconnections/README.md#get_connection) - Get Connection details
* [list_connections](docs/sdks/publicconnections/README.md#list_connections) - List connections
* [patch_connection](docs/sdks/publicconnections/README.md#patch_connection) - Update Connection details

### [public](docs/sdks/public/README.md)

* [cancel_job](docs/sdks/public/README.md#cancel_job) - Cancel a running Job
* [create_connection](docs/sdks/public/README.md#create_connection) - Create a connection
* [create_destination](docs/sdks/public/README.md#create_destination) - Create a destination
* [create_job](docs/sdks/public/README.md#create_job) - Trigger a sync or reset job of a connection
* [create_or_update_workspace_o_auth_credentials](docs/sdks/public/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type.
* [create_permission](docs/sdks/public/README.md#create_permission) - Create a permission
* [create_source](docs/sdks/public/README.md#create_source) - Create a source
* [create_workspace](docs/sdks/public/README.md#create_workspace) - Create a workspace
* [delete_connection](docs/sdks/public/README.md#delete_connection) - Delete a Connection
* [delete_destination](docs/sdks/public/README.md#delete_destination) - Delete a Destination
* [delete_source](docs/sdks/public/README.md#delete_source) - Delete a Source
* [delete_workspace](docs/sdks/public/README.md#delete_workspace) - Delete a Workspace
* [get_connection](docs/sdks/public/README.md#get_connection) - Get Connection details
* [get_destination](docs/sdks/public/README.md#get_destination) - Get Destination details
* [get_job](docs/sdks/public/README.md#get_job) - Get Job status and details
* [get_source](docs/sdks/public/README.md#get_source) - Get Source details
* [get_stream_properties](docs/sdks/public/README.md#get_stream_properties) - Get stream properties
* [get_workspace](docs/sdks/public/README.md#get_workspace) - Get Workspace details
* [initiate_o_auth](docs/sdks/public/README.md#initiate_o_auth) - Initiate OAuth for a source
* [list_connections](docs/sdks/public/README.md#list_connections) - List connections
* [list_destinations](docs/sdks/public/README.md#list_destinations) - List destinations
* [list_jobs](docs/sdks/public/README.md#list_jobs) - List Jobs by sync type
* [list_sources](docs/sdks/public/README.md#list_sources) - List sources
* [list_workspaces](docs/sdks/public/README.md#list_workspaces) - List workspaces
* [patch_connection](docs/sdks/public/README.md#patch_connection) - Update Connection details
* [patch_destination](docs/sdks/public/README.md#patch_destination) - Update a Destination
* [patch_source](docs/sdks/public/README.md#patch_source) - Update a Source
* [put_destination](docs/sdks/public/README.md#put_destination) - Update a Destination and fully overwrite it
* [put_source](docs/sdks/public/README.md#put_source) - Update a Source and fully overwrite it
* [update_workspace](docs/sdks/public/README.md#update_workspace) - Update a workspace

### [connections](docs/sdks/connections/README.md)

* [create_connection](docs/sdks/connections/README.md#create_connection) - Create a connection
Expand All @@ -105,15 +64,6 @@ if res.connection_response is not None:
* [list_connections](docs/sdks/connections/README.md#list_connections) - List connections
* [patch_connection](docs/sdks/connections/README.md#patch_connection) - Update Connection details

### [public_destinations](docs/sdks/publicdestinations/README.md)

* [create_destination](docs/sdks/publicdestinations/README.md#create_destination) - Create a destination
* [delete_destination](docs/sdks/publicdestinations/README.md#delete_destination) - Delete a Destination
* [get_destination](docs/sdks/publicdestinations/README.md#get_destination) - Get Destination details
* [list_destinations](docs/sdks/publicdestinations/README.md#list_destinations) - List destinations
* [patch_destination](docs/sdks/publicdestinations/README.md#patch_destination) - Update a Destination
* [put_destination](docs/sdks/publicdestinations/README.md#put_destination) - Update a Destination and fully overwrite it

### [destinations](docs/sdks/destinations/README.md)

* [create_destination](docs/sdks/destinations/README.md#create_destination) - Create a destination
Expand All @@ -123,12 +73,9 @@ if res.connection_response is not None:
* [patch_destination](docs/sdks/destinations/README.md#patch_destination) - Update a Destination
* [put_destination](docs/sdks/destinations/README.md#put_destination) - Update a Destination and fully overwrite it

### [public_jobs](docs/sdks/publicjobs/README.md)
### [health](docs/sdks/health/README.md)

* [cancel_job](docs/sdks/publicjobs/README.md#cancel_job) - Cancel a running Job
* [create_job](docs/sdks/publicjobs/README.md#create_job) - Trigger a sync or reset job of a connection
* [get_job](docs/sdks/publicjobs/README.md#get_job) - Get Job status and details
* [list_jobs](docs/sdks/publicjobs/README.md#list_jobs) - List Jobs by sync type
* [get_health_check](docs/sdks/health/README.md#get_health_check) - Health Check

### [jobs](docs/sdks/jobs/README.md)

Expand All @@ -137,23 +84,13 @@ if res.connection_response is not None:
* [get_job](docs/sdks/jobs/README.md#get_job) - Get Job status and details
* [list_jobs](docs/sdks/jobs/README.md#list_jobs) - List Jobs by sync type

### [public_permissions](docs/sdks/publicpermissions/README.md)

* [create_permission](docs/sdks/publicpermissions/README.md#create_permission) - Create a permission

### [permissions](docs/sdks/permissions/README.md)

* [create_permission](docs/sdks/permissions/README.md#create_permission) - Create a permission

### [public_sources](docs/sdks/publicsources/README.md)

* [create_source](docs/sdks/publicsources/README.md#create_source) - Create a source
* [delete_source](docs/sdks/publicsources/README.md#delete_source) - Delete a Source
* [get_source](docs/sdks/publicsources/README.md#get_source) - Get Source details
* [initiate_o_auth](docs/sdks/publicsources/README.md#initiate_o_auth) - Initiate OAuth for a source
* [list_sources](docs/sdks/publicsources/README.md#list_sources) - List sources
* [patch_source](docs/sdks/publicsources/README.md#patch_source) - Update a Source
* [put_source](docs/sdks/publicsources/README.md#put_source) - Update a Source and fully overwrite it
* [delete_permission](docs/sdks/permissions/README.md#delete_permission) - Delete a Permission
* [get_permission](docs/sdks/permissions/README.md#get_permission) - Get Permission details
* [list_permissions](docs/sdks/permissions/README.md#list_permissions) - List Permissions by user id
* [update_permission](docs/sdks/permissions/README.md#update_permission) - Update a permission

### [sources](docs/sdks/sources/README.md)

Expand All @@ -165,23 +102,10 @@ if res.connection_response is not None:
* [patch_source](docs/sdks/sources/README.md#patch_source) - Update a Source
* [put_source](docs/sdks/sources/README.md#put_source) - Update a Source and fully overwrite it

### [public_streams](docs/sdks/publicstreams/README.md)

* [get_stream_properties](docs/sdks/publicstreams/README.md#get_stream_properties) - Get stream properties

### [streams](docs/sdks/streams/README.md)

* [get_stream_properties](docs/sdks/streams/README.md#get_stream_properties) - Get stream properties

### [public_workspaces](docs/sdks/publicworkspaces/README.md)

* [create_or_update_workspace_o_auth_credentials](docs/sdks/publicworkspaces/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type.
* [create_workspace](docs/sdks/publicworkspaces/README.md#create_workspace) - Create a workspace
* [delete_workspace](docs/sdks/publicworkspaces/README.md#delete_workspace) - Delete a Workspace
* [get_workspace](docs/sdks/publicworkspaces/README.md#get_workspace) - Get Workspace details
* [list_workspaces](docs/sdks/publicworkspaces/README.md#list_workspaces) - List workspaces
* [update_workspace](docs/sdks/publicworkspaces/README.md#update_workspace) - Update a workspace

### [workspaces](docs/sdks/workspaces/README.md)

* [create_or_update_workspace_o_auth_credentials](docs/sdks/workspaces/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type.
Expand Down Expand Up @@ -224,7 +148,7 @@ s = airbyte_api.AirbyteAPI(

res = None
try:
res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand Down Expand Up @@ -270,7 +194,7 @@ s = airbyte_api.AirbyteAPI(
),
)

res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand Down Expand Up @@ -301,7 +225,7 @@ s = airbyte_api.AirbyteAPI(
),
)

res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand Down Expand Up @@ -362,7 +286,7 @@ s = airbyte_api.AirbyteAPI(
),
)

res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -908,4 +908,14 @@ Based on:
### Generated
- [python v0.49.4] .
### Releases
- [PyPI v0.49.4] https://pypi.org/project/airbyte-api/0.49.4 - .
- [PyPI v0.49.4] https://pypi.org/project/airbyte-api/0.49.4 - .

## 2024-05-15 22:21:55
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.50.0] .
### Releases
- [PyPI v0.50.0] https://pypi.org/project/airbyte-api/0.50.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ s = airbyte_api.AirbyteAPI(
),
)

res = s.public_connections.create_connection(request=models.ConnectionCreateRequest(
res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
name='Postgres-to-Bigquery',
Expand Down
8 changes: 8 additions & 0 deletions docs/api/deletepermissionrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DeletePermissionRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `permission_id` | *str* | :heavy_check_mark: | N/A |
10 changes: 10 additions & 0 deletions docs/api/deletepermissionresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DeletePermissionResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
10 changes: 10 additions & 0 deletions docs/api/gethealthcheckresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# GetHealthCheckResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
8 changes: 8 additions & 0 deletions docs/api/getpermissionrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetPermissionRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `permission_id` | *str* | :heavy_check_mark: | N/A |
11 changes: 11 additions & 0 deletions docs/api/getpermissionresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GetPermissionResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `permission_response` | [Optional[models.PermissionResponse]](../models/permissionresponse.md) | :heavy_minus_sign: | Get a Permission by the id in the path. |
8 changes: 8 additions & 0 deletions docs/api/listpermissionsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ListPermissionsRequest


## Fields

| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `user_id` | *Optional[str]* | :heavy_minus_sign: | User Id in permission. |
Loading

0 comments on commit fc7d5c4

Please sign in to comment.