Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate (#85)
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 Jun 3, 2024
1 parent 2795548 commit 9317ad8
Show file tree
Hide file tree
Showing 310 changed files with 1,932 additions and 1,671 deletions.
43 changes: 34 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 07961597-3730-4940-9fd0-35eb4118eab3
management:
docChecksum: 241d5a786e59837e86f30500836a2a90
docChecksum: d90db45a44e468bd5d9ffc93c6e415c9
docVersion: 1.0.0
speakeasyVersion: 1.291.0
generationVersion: 2.332.4
releaseVersion: 0.50.0
configChecksum: 3419a83e7a383d870cd14092010722a7
speakeasyVersion: 1.299.4
generationVersion: 2.338.7
releaseVersion: 0.50.1
configChecksum: fbcdc2ce57f888d9af79756839bf1a17
repoURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
repoSubDirectory: .
installationURL: https://github.com/airbytehq/airbyte-api-python-sdk.git
Expand All @@ -16,7 +16,7 @@ features:
additionalDependencies: 0.1.0
additionalProperties: 0.1.0
constsAndDefaults: 0.1.3
core: 4.6.7
core: 4.6.8
globalSecurity: 2.83.5
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.2
Expand All @@ -25,7 +25,7 @@ features:
oauth2ClientCredentials: 0.1.2
responseFormat: 0.1.0
sdkHooks: 0.1.0
unions: 2.82.6
unions: 2.82.7
generatedFiles:
- src/airbyte_api/sdkconfiguration.py
- src/airbyte_api/connections.py
Expand All @@ -35,6 +35,7 @@ generatedFiles:
- src/airbyte_api/permissions.py
- src/airbyte_api/sources.py
- src/airbyte_api/streams.py
- src/airbyte_api/users.py
- src/airbyte_api/workspaces.py
- src/airbyte_api/sdk.py
- py.typed
Expand Down Expand Up @@ -74,6 +75,7 @@ generatedFiles:
- src/airbyte_api/api/patchsource.py
- src/airbyte_api/api/putsource.py
- src/airbyte_api/api/getstreamproperties.py
- src/airbyte_api/api/listusers.py
- src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py
- src/airbyte_api/api/createworkspace.py
- src/airbyte_api/api/deleteworkspace.py
Expand All @@ -90,6 +92,7 @@ generatedFiles:
- src/airbyte_api/models/streamconfigurations.py
- src/airbyte_api/models/streamconfiguration.py
- src/airbyte_api/models/connectionsyncmodeenum.py
- src/airbyte_api/models/selectedfieldinfo.py
- src/airbyte_api/models/connectioncreaterequest.py
- src/airbyte_api/models/airbyteapiconnectionschedule.py
- src/airbyte_api/models/scheduletypeenum.py
Expand All @@ -99,6 +102,7 @@ generatedFiles:
- src/airbyte_api/models/namespacedefinitionenumnodefault.py
- src/airbyte_api/models/geographyenumnodefault.py
- src/airbyte_api/models/destinationresponse.py
- src/airbyte_api/models/destinationconfiguration.py
- src/airbyte_api/models/destination_google_sheets.py
- src/airbyte_api/models/destination_astra.py
- src/airbyte_api/models/destination_aws_datalake.py
Expand All @@ -111,6 +115,7 @@ generatedFiles:
- src/airbyte_api/models/destination_duckdb.py
- src/airbyte_api/models/destination_dynamodb.py
- src/airbyte_api/models/destination_elasticsearch.py
- src/airbyte_api/models/destination_firebolt.py
- src/airbyte_api/models/destination_firestore.py
- src/airbyte_api/models/destination_gcs.py
- src/airbyte_api/models/destination_langchain.py
Expand Down Expand Up @@ -147,11 +152,13 @@ generatedFiles:
- src/airbyte_api/models/permissionresponse.py
- src/airbyte_api/models/permissiontype.py
- src/airbyte_api/models/permissioncreaterequest.py
- src/airbyte_api/models/publicpermissiontype.py
- src/airbyte_api/models/permissionsresponse.py
- src/airbyte_api/models/permissionresponseread.py
- src/airbyte_api/models/permissionscope.py
- src/airbyte_api/models/permissionupdaterequest.py
- src/airbyte_api/models/sourceresponse.py
- src/airbyte_api/models/sourceconfiguration.py
- src/airbyte_api/models/source_aha.py
- src/airbyte_api/models/source_aircall.py
- src/airbyte_api/models/source_airtable.py
Expand Down Expand Up @@ -353,7 +360,10 @@ generatedFiles:
- src/airbyte_api/models/sourcepatchrequest.py
- src/airbyte_api/models/sourceputrequest.py
- src/airbyte_api/models/streamproperties.py
- src/airbyte_api/models/usersresponse.py
- src/airbyte_api/models/userresponse.py
- src/airbyte_api/models/workspaceoauthcredentialsrequest.py
- src/airbyte_api/models/oauthcredentialsconfiguration.py
- src/airbyte_api/models/airtable.py
- src/airbyte_api/models/amazon_ads.py
- src/airbyte_api/models/amazon_seller_partner.py
Expand Down Expand Up @@ -459,6 +469,8 @@ generatedFiles:
- docs/api/putsourceresponse.md
- docs/api/getstreampropertiesrequest.md
- docs/api/getstreampropertiesresponse.md
- docs/api/listusersrequest.md
- docs/api/listusersresponse.md
- docs/api/createorupdateworkspaceoauthcredentialsrequest.md
- docs/api/createorupdateworkspaceoauthcredentialsresponse.md
- docs/api/createworkspaceresponse.md
Expand All @@ -480,6 +492,7 @@ generatedFiles:
- docs/models/streamconfigurations.md
- docs/models/streamconfiguration.md
- docs/models/connectionsyncmodeenum.md
- docs/models/selectedfieldinfo.md
- docs/models/connectioncreaterequest.md
- docs/models/airbyteapiconnectionschedule.md
- docs/models/scheduletypeenum.md
Expand Down Expand Up @@ -592,6 +605,13 @@ generatedFiles:
- docs/models/authenticationmethod.md
- docs/models/elasticsearch.md
- docs/models/destinationelasticsearch.md
- docs/models/firebolt.md
- docs/models/destinationfireboltschemasmethod.md
- docs/models/externaltablevias3.md
- docs/models/destinationfireboltmethod.md
- docs/models/sqlinserts.md
- docs/models/destinationfireboltloadingmethod.md
- docs/models/destinationfirebolt.md
- docs/models/firestore.md
- docs/models/destinationfirestore.md
- docs/models/credentialtype.md
Expand Down Expand Up @@ -1024,6 +1044,7 @@ generatedFiles:
- docs/models/permissionresponse.md
- docs/models/permissiontype.md
- docs/models/permissioncreaterequest.md
- docs/models/publicpermissiontype.md
- docs/models/permissionsresponse.md
- docs/models/permissionresponseread.md
- docs/models/permissionscope.md
Expand Down Expand Up @@ -1052,7 +1073,7 @@ generatedFiles:
- docs/models/awsenvironment.md
- docs/models/awsregion.md
- docs/models/optionslist.md
- docs/models/streamname.md
- docs/models/reportname.md
- docs/models/reportoptions.md
- docs/models/sourceamazonsellerpartneramazonsellerpartner.md
- docs/models/sourceamazonsellerpartner.md
Expand Down Expand Up @@ -1243,7 +1264,7 @@ generatedFiles:
- docs/models/storageprovider.md
- docs/models/file.md
- docs/models/sourcefile.md
- docs/models/firebolt.md
- docs/models/sourcefireboltfirebolt.md
- docs/models/sourcefirebolt.md
- docs/models/freshcaller.md
- docs/models/sourcefreshcaller.md
Expand Down Expand Up @@ -1700,6 +1721,7 @@ generatedFiles:
- docs/models/sourcemailchimpauthentication.md
- docs/models/sourcemailchimpmailchimp.md
- docs/models/sourcemailchimp.md
- docs/models/domainregioncode.md
- docs/models/mailgun.md
- docs/models/sourcemailgun.md
- docs/models/mailjetsms.md
Expand Down Expand Up @@ -2291,6 +2313,8 @@ generatedFiles:
- docs/models/sourcepatchrequest.md
- docs/models/sourceputrequest.md
- docs/models/streamproperties.md
- docs/models/usersresponse.md
- docs/models/userresponse.md
- docs/models/workspaceoauthcredentialsrequest.md
- docs/models/oauthcredentialsconfiguration.md
- docs/models/credentials.md
Expand Down Expand Up @@ -2386,6 +2410,7 @@ generatedFiles:
- docs/sdks/permissions/README.md
- docs/sdks/sources/README.md
- docs/sdks/streams/README.md
- docs/sdks/users/README.md
- docs/sdks/workspaces/README.md
- USAGE.md
- .gitattributes
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.291.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80
sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f
sourceRevisionDigest: sha256:8c5e2173984ab00ea9fa2e659527d7b65173e1c3cd3facd7b4200389a01d099d
sourceBlobDigest: sha256:a5ef729718fb224548bdc82ebec88384a0657acdacbb737b497e2f4c9690394d
tags:
- latest
- main
targets:
python-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80
sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f
sourceRevisionDigest: sha256:8c5e2173984ab00ea9fa2e659527d7b65173e1c3cd3facd7b4200389a01d099d
sourceBlobDigest: sha256:a5ef729718fb224548bdc82ebec88384a0657acdacbb737b497e2f4c9690394d
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ s = airbyte_api.AirbyteAPI(
),
)


res = s.connections.create_connection(request=models.ConnectionCreateRequest(
destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281',
source_id='95e66a59-8045-4307-9678-63bc3c9b8c93',
Expand Down Expand Up @@ -106,6 +107,10 @@ if res.connection_response is not None:

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

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

* [list_users](docs/sdks/users/README.md#list_users) - List users

### [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 @@ -154,6 +159,7 @@ try:
name='Postgres-to-Bigquery',
namespace_format='${SOURCE_NAMESPACE}',
))

except errors.SDKError as e:
# handle exception
raise(e)
Expand Down Expand Up @@ -194,6 +200,7 @@ s = airbyte_api.AirbyteAPI(
),
)


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


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


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

## 2024-06-03 00:15:07
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.299.4 (2.338.7) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.50.1] .
### Releases
- [PyPI v0.50.1] https://pypi.org/project/airbyte-api/0.50.1 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ s = airbyte_api.AirbyteAPI(
),
)


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


## Fields

| Field | Type | Required | Description |
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
| `emails` | List[*str*] | :heavy_minus_sign: | List of user emails to filter by |
| `ids` | List[*str*] | :heavy_minus_sign: | List of user IDs to filter by |
| `organization_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
11 changes: 11 additions & 0 deletions docs/api/listusersresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ListUsersResponse


## 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 |
| `users_response` | [Optional[models.UsersResponse]](../models/usersresponse.md) | :heavy_minus_sign: | List Users. |
8 changes: 4 additions & 4 deletions docs/models/avroapacheavro.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `compression_codec` | [Union[models.NoCompression, models.Deflate, models.Bzip2, models.Xz, models.Zstandard, models.Snappy]](../models/compressioncodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. |
| `format_type` | [Optional[models.DestinationGcsFormatType]](../models/destinationgcsformattype.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `compression_codec` | [models.CompressionCodec](../models/compressioncodec.md) | :heavy_check_mark: | The compression algorithm used to compress data. Default to no compression. |
| `format_type` | [Optional[models.DestinationGcsFormatType]](../models/destinationgcsformattype.md) | :heavy_minus_sign: | N/A |
Loading

0 comments on commit 9317ad8

Please sign in to comment.