From ad915a599c7fb81e96405e403dbe439512a97a82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 14:33:27 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=90=9D=20Update=20SDK=20-=20Gene?= =?UTF-8?q?rate=20(#74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: speakeasybot --- .speakeasy/gen.lock | 495 ++--- .speakeasy/workflow.lock | 32 + .speakeasy/workflow.yaml | 3 + README.md | 145 +- RELEASES.md | 12 +- USAGE.md | 11 +- docs/api/getstreampropertiesrequest.md | 2 +- docs/api/getstreampropertiesresponse.md | 2 +- docs/api/listjobsrequest.md | 26 +- docs/api/listsourcesrequest.md | 12 +- ...ule.md => airbyteapiconnectionschedule.md} | 2 +- docs/models/apiparameterconfigmodel.md | 9 + docs/models/authenticateviaaccesskeys.md | 11 + docs/models/authenticateviaoauth2.md | 12 + docs/models/authenticateviapassword.md | 9 + docs/models/authenticateviaprivatekey.md | 9 + .../authenticateviastorageaccountkey.md | 9 + docs/models/azureblobstorage.md | 8 +- docs/models/azureblobstoragecredentials.md | 9 + docs/models/capturemodeadvanced.md | 11 + docs/models/connectioncreaterequest.md | 2 +- docs/models/connectionpatchrequest.md | 2 +- docs/models/csv.md | 2 +- docs/models/destinationazureblobstorage.md | 2 +- ...inationazureblobstorageazureblobstorage.md | 8 + docs/models/destinationconfiguration.md | 6 + docs/models/destinationcreaterequest.md | 12 +- docs/models/destinationmssql.md | 1 + docs/models/destinationmysql.md | 2 + docs/models/destinationoracle.md | 1 + docs/models/destinationpatchrequest.md | 8 +- docs/models/destinationpostgres.md | 1 + docs/models/destinationputrequest.md | 8 +- docs/models/destinationredshift.md | 29 +- docs/models/destinationresponse.md | 14 +- docs/models/destinationyellowbrick.md | 18 + docs/models/destinationyellowbrickallow.md | 10 + docs/models/destinationyellowbrickdisable.md | 10 + ...rvest.md => destinationyellowbrickmode.md} | 4 +- docs/models/destinationyellowbricknotunnel.md | 8 + ...ationyellowbrickpasswordauthentication.md} | 15 +- docs/models/destinationyellowbrickprefer.md | 10 + docs/models/destinationyellowbrickrequire.md | 10 + .../destinationyellowbrickschemasmode.md | 8 + ...estinationyellowbrickschemassslmodemode.md | 8 + ...nyellowbrickschemassslmodesslmodes5mode.md | 8 + ...nyellowbrickschemassslmodesslmodes6mode.md | 8 + ...onyellowbrickschemassslmodesslmodesmode.md | 8 + ...stinationyellowbrickschemastunnelmethod.md | 10 + ...lowbrickschemastunnelmethodtunnelmethod.md | 10 + ...tinationyellowbricksshkeyauthentication.md | 12 + .../destinationyellowbricksshtunnelmethod.md | 25 + docs/models/destinationyellowbricksslmodes.md | 50 + .../destinationyellowbricktunnelmethod.md | 10 + docs/models/destinationyellowbrickverifyca.md | 12 + .../destinationyellowbrickverifyfull.md | 14 + docs/models/filetype.md | 11 +- docs/models/harvest.md | 8 +- docs/models/harvestcredentials.md | 9 - docs/models/initiateoauthrequest.md | 12 +- docs/models/oauthactornames.md | 2 +- docs/models/oauthcredentialsconfiguration.md | 12 +- docs/models/oauthinputconfiguration.md | 9 - docs/models/quickbooks.md | 8 - .../readchangesusingchangedatacapturecdc.md | 2 +- docs/models/rolebasedauthentication.md | 9 + docs/models/security.md | 3 +- docs/models/sourceamazonads.md | 28 +- docs/models/sourceazureblobstorage.md | 2 +- .../sourceazureblobstorageauthentication.md | 19 + docs/models/sourceazureblobstorageauthtype.md | 8 + .../sourceazureblobstorageschemasauthtype.md | 8 + docs/models/sourceconfiguration.md | 6 - docs/models/sourcecreaterequest.md | 14 +- docs/models/sourcedynamodb.md | 16 +- docs/models/sourcedynamodbauthtype.md | 8 + docs/models/sourcedynamodbcredentials.md | 19 + docs/models/sourcedynamodbschemasauthtype.md | 8 + docs/models/sourcegooglesheets.md | 13 +- docs/models/sourceharvest.md | 2 +- docs/models/sourceiterable.md | 10 +- ...sharepointauthenticateviamicrosoftoauth.md | 4 +- docs/models/sourcemongodbv2.md | 17 +- docs/models/sourcenotion.md | 4 +- docs/models/sourcepatchrequest.md | 12 +- docs/models/sourceputrequest.md | 8 +- .../sourcequickbooksauthorizationmethod.md | 11 - docs/models/sourcequickbooksoauth20.md | 14 - docs/models/sourceresponse.md | 14 +- docs/models/sources3csvformat.md | 1 + docs/models/sourcesendgrid.md | 10 +- docs/models/sourcesftpbulk.md | 28 +- docs/models/sourcesftpbulkauthentication.md | 19 + ...sauthtype.md => sourcesftpbulkauthtype.md} | 4 +- docs/models/sourcesftpbulkautogenerated.md | 8 + docs/models/sourcesftpbulkavroformat.md | 9 + docs/models/sourcesftpbulkcsvformat.md | 22 + .../sourcesftpbulkcsvheaderdefinition.md | 25 + ...pbulkdocumentfiletypeformatexperimental.md | 13 + .../sourcesftpbulkfilebasedstreamconfig.md | 16 + docs/models/sourcesftpbulkfiletype.md | 8 + docs/models/sourcesftpbulkformat.md | 37 + docs/models/sourcesftpbulkfromcsv.md | 8 + .../sourcesftpbulkheaderdefinitiontype.md | 8 + docs/models/sourcesftpbulkinferencetype.md | 11 + docs/models/sourcesftpbulkjsonlformat.md | 8 + docs/models/sourcesftpbulklocal.md | 10 + docs/models/sourcesftpbulkmode.md | 8 + docs/models/sourcesftpbulkparquetformat.md | 9 + docs/models/sourcesftpbulkparsingstrategy.md | 13 + docs/models/sourcesftpbulkprocessing.md | 19 + docs/models/sourcesftpbulkschemasauthtype.md | 8 + ...pe.md => sourcesftpbulkschemasfiletype.md} | 2 +- ...urcesftpbulkschemasheaderdefinitiontype.md | 8 + docs/models/sourcesftpbulkschemasmode.md | 8 + .../sourcesftpbulkschemasstreamsfiletype.md | 8 + ...rcesftpbulkschemasstreamsformatfiletype.md | 8 + ...pbulkschemasstreamsformatformatfiletype.md | 8 + ...pbulkschemasstreamsheaderdefinitiontype.md | 8 + docs/models/sourcesftpbulkuserprovided.md | 9 + docs/models/sourcesftpbulkvalidationpolicy.md | 12 + docs/models/sourceslack.md | 1 + docs/models/streampropertiesresponse.md | 10 - docs/models/viaapi.md | 13 + .../workspaceoauthcredentialsrequest.md | 10 +- docs/models/yellowbrick.md | 8 + docs/sdks/airbyteapi/README.md | 2 +- docs/sdks/connections/README.md | 33 +- docs/sdks/destinations/README.md | 59 +- docs/sdks/jobs/README.md | 31 +- docs/sdks/public/README.md | 1483 +++++++++++++++ docs/sdks/publicconnections/README.md | 239 +++ docs/sdks/publicdestinations/README.md | 309 ++++ docs/sdks/publicjobs/README.md | 195 ++ docs/sdks/publicsources/README.md | 426 +++++ docs/sdks/publicstreams/README.md | 51 + docs/sdks/publicworkspaces/README.md | 288 +++ docs/sdks/sources/README.md | 137 +- docs/sdks/streams/README.md | 7 +- docs/sdks/workspaces/README.md | 36 +- gen.yaml | 1 + setup.py | 2 +- src/airbyte_api/_hooks/__init__.py | 1 + src/airbyte_api/_hooks/registration.py | 13 + src/airbyte_api/_hooks/sdkhooks.py | 2 + src/airbyte_api/api/getstreamproperties.py | 10 +- src/airbyte_api/api/listjobs.py | 2 +- src/airbyte_api/connections.py | 4 + src/airbyte_api/destinations.py | 7 +- src/airbyte_api/jobs.py | 4 + src/airbyte_api/models/__init__.py | 10 +- ...ule.py => airbyteapiconnectionschedule.py} | 2 +- .../{harvest.py => azure_blob_storage.py} | 10 +- .../models/connectioncreaterequest.py | 4 +- .../models/connectionpatchrequest.py | 4 +- .../models/destination_azure_blob_storage.py | 4 +- src/airbyte_api/models/destination_mssql.py | 2 + src/airbyte_api/models/destination_mysql.py | 4 + src/airbyte_api/models/destination_oracle.py | 2 + .../models/destination_postgres.py | 2 + .../models/destination_redshift.py | 4 +- .../models/destination_yellowbrick.py | 186 ++ .../models/destinationcreaterequest.py | 3 +- .../models/destinationpatchrequest.py | 3 +- .../models/destinationputrequest.py | 3 +- src/airbyte_api/models/destinationresponse.py | 3 +- .../models/initiateoauthrequest.py | 7 +- src/airbyte_api/models/oauthactornames.py | 2 +- .../models/oauthinputconfiguration.py | 11 - src/airbyte_api/models/security.py | 1 + src/airbyte_api/models/source_amazon_ads.py | 2 +- .../models/source_azure_blob_storage.py | 36 +- src/airbyte_api/models/source_dynamodb.py | 43 +- .../models/source_google_sheets.py | 2 + src/airbyte_api/models/source_harvest.py | 4 +- src/airbyte_api/models/source_iterable.py | 4 +- .../models/source_microsoft_sharepoint.py | 4 +- src/airbyte_api/models/source_mongodb_v2.py | 7 + src/airbyte_api/models/source_mssql.py | 2 +- src/airbyte_api/models/source_notion.py | 4 +- src/airbyte_api/models/source_quickbooks.py | 49 - src/airbyte_api/models/source_s3.py | 6 +- src/airbyte_api/models/source_sendgrid.py | 10 +- src/airbyte_api/models/source_sftp_bulk.py | 271 ++- src/airbyte_api/models/source_slack.py | 2 + src/airbyte_api/models/sourcecreaterequest.py | 5 +- src/airbyte_api/models/sourcepatchrequest.py | 5 +- src/airbyte_api/models/sourceputrequest.py | 3 +- src/airbyte_api/models/sourceresponse.py | 3 +- .../models/streampropertiesresponse.py | 17 - .../workspaceoauthcredentialsrequest.py | 4 +- src/airbyte_api/public.py | 1647 +++++++++++++++++ src/airbyte_api/public_connections.py | 296 +++ src/airbyte_api/public_destinations.py | 352 ++++ src/airbyte_api/public_jobs.py | 242 +++ src/airbyte_api/public_sources.py | 412 +++++ src/airbyte_api/public_streams.py | 72 + src/airbyte_api/public_workspaces.py | 353 ++++ src/airbyte_api/sdk.py | 23 +- src/airbyte_api/sdkconfiguration.py | 6 +- src/airbyte_api/sources.py | 7 +- src/airbyte_api/streams.py | 5 +- src/airbyte_api/utils/utils.py | 27 + src/airbyte_api/workspaces.py | 4 + tests/helpers.py | 61 - 205 files changed, 8654 insertions(+), 885 deletions(-) create mode 100644 .speakeasy/workflow.lock rename docs/models/{connectionschedule.md => airbyteapiconnectionschedule.md} (97%) create mode 100644 docs/models/apiparameterconfigmodel.md create mode 100644 docs/models/authenticateviaaccesskeys.md create mode 100644 docs/models/authenticateviaoauth2.md create mode 100644 docs/models/authenticateviapassword.md create mode 100644 docs/models/authenticateviaprivatekey.md create mode 100644 docs/models/authenticateviastorageaccountkey.md create mode 100644 docs/models/azureblobstoragecredentials.md create mode 100644 docs/models/capturemodeadvanced.md create mode 100644 docs/models/destinationazureblobstorageazureblobstorage.md create mode 100644 docs/models/destinationyellowbrick.md create mode 100644 docs/models/destinationyellowbrickallow.md create mode 100644 docs/models/destinationyellowbrickdisable.md rename docs/models/{sourceharvestharvest.md => destinationyellowbrickmode.md} (54%) create mode 100644 docs/models/destinationyellowbricknotunnel.md rename docs/models/{sourcequickbooks.md => destinationyellowbrickpasswordauthentication.md} (54%) create mode 100644 docs/models/destinationyellowbrickprefer.md create mode 100644 docs/models/destinationyellowbrickrequire.md create mode 100644 docs/models/destinationyellowbrickschemasmode.md create mode 100644 docs/models/destinationyellowbrickschemassslmodemode.md create mode 100644 docs/models/destinationyellowbrickschemassslmodesslmodes5mode.md create mode 100644 docs/models/destinationyellowbrickschemassslmodesslmodes6mode.md create mode 100644 docs/models/destinationyellowbrickschemassslmodesslmodesmode.md create mode 100644 docs/models/destinationyellowbrickschemastunnelmethod.md create mode 100644 docs/models/destinationyellowbrickschemastunnelmethodtunnelmethod.md create mode 100644 docs/models/destinationyellowbricksshkeyauthentication.md create mode 100644 docs/models/destinationyellowbricksshtunnelmethod.md create mode 100644 docs/models/destinationyellowbricksslmodes.md create mode 100644 docs/models/destinationyellowbricktunnelmethod.md create mode 100644 docs/models/destinationyellowbrickverifyca.md create mode 100644 docs/models/destinationyellowbrickverifyfull.md delete mode 100644 docs/models/harvestcredentials.md delete mode 100644 docs/models/oauthinputconfiguration.md delete mode 100644 docs/models/quickbooks.md create mode 100644 docs/models/rolebasedauthentication.md create mode 100644 docs/models/sourceazureblobstorageauthentication.md create mode 100644 docs/models/sourceazureblobstorageauthtype.md create mode 100644 docs/models/sourceazureblobstorageschemasauthtype.md create mode 100644 docs/models/sourcedynamodbauthtype.md create mode 100644 docs/models/sourcedynamodbcredentials.md create mode 100644 docs/models/sourcedynamodbschemasauthtype.md delete mode 100644 docs/models/sourcequickbooksauthorizationmethod.md delete mode 100644 docs/models/sourcequickbooksoauth20.md create mode 100644 docs/models/sourcesftpbulkauthentication.md rename docs/models/{sourcequickbooksauthtype.md => sourcesftpbulkauthtype.md} (56%) create mode 100644 docs/models/sourcesftpbulkautogenerated.md create mode 100644 docs/models/sourcesftpbulkavroformat.md create mode 100644 docs/models/sourcesftpbulkcsvformat.md create mode 100644 docs/models/sourcesftpbulkcsvheaderdefinition.md create mode 100644 docs/models/sourcesftpbulkdocumentfiletypeformatexperimental.md create mode 100644 docs/models/sourcesftpbulkfilebasedstreamconfig.md create mode 100644 docs/models/sourcesftpbulkfiletype.md create mode 100644 docs/models/sourcesftpbulkformat.md create mode 100644 docs/models/sourcesftpbulkfromcsv.md create mode 100644 docs/models/sourcesftpbulkheaderdefinitiontype.md create mode 100644 docs/models/sourcesftpbulkinferencetype.md create mode 100644 docs/models/sourcesftpbulkjsonlformat.md create mode 100644 docs/models/sourcesftpbulklocal.md create mode 100644 docs/models/sourcesftpbulkmode.md create mode 100644 docs/models/sourcesftpbulkparquetformat.md create mode 100644 docs/models/sourcesftpbulkparsingstrategy.md create mode 100644 docs/models/sourcesftpbulkprocessing.md create mode 100644 docs/models/sourcesftpbulkschemasauthtype.md rename docs/models/{sources3schemasformatfileformatfiletype.md => sourcesftpbulkschemasfiletype.md} (61%) create mode 100644 docs/models/sourcesftpbulkschemasheaderdefinitiontype.md create mode 100644 docs/models/sourcesftpbulkschemasmode.md create mode 100644 docs/models/sourcesftpbulkschemasstreamsfiletype.md create mode 100644 docs/models/sourcesftpbulkschemasstreamsformatfiletype.md create mode 100644 docs/models/sourcesftpbulkschemasstreamsformatformatfiletype.md create mode 100644 docs/models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md create mode 100644 docs/models/sourcesftpbulkuserprovided.md create mode 100644 docs/models/sourcesftpbulkvalidationpolicy.md delete mode 100644 docs/models/streampropertiesresponse.md create mode 100644 docs/models/viaapi.md create mode 100644 docs/models/yellowbrick.md create mode 100644 docs/sdks/public/README.md create mode 100644 docs/sdks/publicconnections/README.md create mode 100644 docs/sdks/publicdestinations/README.md create mode 100644 docs/sdks/publicjobs/README.md create mode 100644 docs/sdks/publicsources/README.md create mode 100644 docs/sdks/publicstreams/README.md create mode 100644 docs/sdks/publicworkspaces/README.md create mode 100644 src/airbyte_api/_hooks/registration.py rename src/airbyte_api/models/{connectionschedule.py => airbyteapiconnectionschedule.py} (95%) rename src/airbyte_api/models/{harvest.py => azure_blob_storage.py} (66%) create mode 100644 src/airbyte_api/models/destination_yellowbrick.py delete mode 100644 src/airbyte_api/models/oauthinputconfiguration.py delete mode 100644 src/airbyte_api/models/source_quickbooks.py delete mode 100644 src/airbyte_api/models/streampropertiesresponse.py create mode 100644 src/airbyte_api/public.py create mode 100644 src/airbyte_api/public_connections.py create mode 100644 src/airbyte_api/public_destinations.py create mode 100644 src/airbyte_api/public_jobs.py create mode 100644 src/airbyte_api/public_sources.py create mode 100644 src/airbyte_api/public_streams.py create mode 100644 src/airbyte_api/public_workspaces.py delete mode 100644 tests/helpers.py diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8fb6d448..13bd8589 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,32 +1,43 @@ lockVersion: 2.0.0 id: 07961597-3730-4940-9fd0-35eb4118eab3 management: - docChecksum: c7cb5a18199f070c4946089791aa6bfc + docChecksum: 7cdaac2367e7b50dfb925372c2676292 docVersion: 1.0.0 - speakeasyVersion: 1.250.0 - generationVersion: 2.304.1 - releaseVersion: 0.49.2 - configChecksum: 4ffba80c6c7e4b85fd8392cd7f124902 + speakeasyVersion: 1.286.3 + generationVersion: 2.329.0 + releaseVersion: 0.49.3 + configChecksum: a0b48f0835859d47a081e7a74aa38c66 repoURL: https://github.com/airbytehq/airbyte-api-python-sdk.git repoSubDirectory: . installationURL: https://github.com/airbytehq/airbyte-api-python-sdk.git published: true features: python: + additionalDependencies: 0.1.0 additionalProperties: 0.1.0 constsAndDefaults: 0.1.3 - core: 4.6.4 + core: 4.6.7 globalSecurity: 2.83.5 + globalSecurityCallbacks: 0.1.0 globalServerURLs: 2.82.2 + nullables: 0.1.0 responseFormat: 0.1.0 + sdkHooks: 0.1.0 unions: 2.82.6 generatedFiles: - src/airbyte_api/sdkconfiguration.py + - src/airbyte_api/public_connections.py + - src/airbyte_api/public.py - src/airbyte_api/connections.py + - src/airbyte_api/public_destinations.py - src/airbyte_api/destinations.py + - src/airbyte_api/public_jobs.py - src/airbyte_api/jobs.py + - src/airbyte_api/public_sources.py - src/airbyte_api/sources.py + - src/airbyte_api/public_streams.py - src/airbyte_api/streams.py + - src/airbyte_api/public_workspaces.py - src/airbyte_api/workspaces.py - src/airbyte_api/sdk.py - py.typed @@ -37,35 +48,34 @@ generatedFiles: - src/airbyte_api/utils/retries.py - src/airbyte_api/utils/utils.py - src/airbyte_api/errors/sdkerror.py - - tests/helpers.py - src/airbyte_api/api/createconnection.py - src/airbyte_api/api/deleteconnection.py - src/airbyte_api/api/getconnection.py - src/airbyte_api/api/listconnections.py - src/airbyte_api/api/patchconnection.py - - src/airbyte_api/api/createdestination.py - - src/airbyte_api/api/deletedestination.py - - src/airbyte_api/api/getdestination.py - - src/airbyte_api/api/listdestinations.py - - src/airbyte_api/api/patchdestination.py - - src/airbyte_api/api/putdestination.py - src/airbyte_api/api/canceljob.py + - src/airbyte_api/api/createdestination.py - src/airbyte_api/api/createjob.py - - src/airbyte_api/api/getjob.py - - src/airbyte_api/api/listjobs.py + - src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py - src/airbyte_api/api/createsource.py + - src/airbyte_api/api/createworkspace.py + - src/airbyte_api/api/deletedestination.py - src/airbyte_api/api/deletesource.py + - src/airbyte_api/api/deleteworkspace.py + - src/airbyte_api/api/getdestination.py + - src/airbyte_api/api/getjob.py - src/airbyte_api/api/getsource.py + - src/airbyte_api/api/getstreamproperties.py + - src/airbyte_api/api/getworkspace.py - src/airbyte_api/api/initiateoauth.py + - src/airbyte_api/api/listdestinations.py + - src/airbyte_api/api/listjobs.py - src/airbyte_api/api/listsources.py + - src/airbyte_api/api/listworkspaces.py + - src/airbyte_api/api/patchdestination.py - src/airbyte_api/api/patchsource.py + - src/airbyte_api/api/putdestination.py - src/airbyte_api/api/putsource.py - - src/airbyte_api/api/getstreamproperties.py - - src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py - - src/airbyte_api/api/createworkspace.py - - src/airbyte_api/api/deleteworkspace.py - - src/airbyte_api/api/getworkspace.py - - src/airbyte_api/api/listworkspaces.py - src/airbyte_api/api/updateworkspace.py - src/airbyte_api/models/connectionresponse.py - src/airbyte_api/models/connectionstatusenum.py @@ -78,13 +88,16 @@ generatedFiles: - src/airbyte_api/models/streamconfiguration.py - src/airbyte_api/models/connectionsyncmodeenum.py - src/airbyte_api/models/connectioncreaterequest.py - - src/airbyte_api/models/connectionschedule.py + - src/airbyte_api/models/airbyteapiconnectionschedule.py - src/airbyte_api/models/scheduletypeenum.py - src/airbyte_api/models/connectionsresponse.py - src/airbyte_api/models/connectionpatchrequest.py - src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenumnodefault.py - src/airbyte_api/models/namespacedefinitionenumnodefault.py - src/airbyte_api/models/geographyenumnodefault.py + - src/airbyte_api/models/jobresponse.py + - src/airbyte_api/models/jobstatusenum.py + - src/airbyte_api/models/jobtypeenum.py - src/airbyte_api/models/destinationresponse.py - src/airbyte_api/models/destination_google_sheets.py - src/airbyte_api/models/destination_astra.py @@ -120,15 +133,55 @@ generatedFiles: - src/airbyte_api/models/destination_typesense.py - src/airbyte_api/models/destination_vectara.py - src/airbyte_api/models/destination_weaviate.py + - src/airbyte_api/models/destination_yellowbrick.py - src/airbyte_api/models/destinationcreaterequest.py - - src/airbyte_api/models/destinationsresponse.py - - src/airbyte_api/models/destinationpatchrequest.py - - src/airbyte_api/models/destinationputrequest.py - - src/airbyte_api/models/jobresponse.py - - src/airbyte_api/models/jobstatusenum.py - - src/airbyte_api/models/jobtypeenum.py - src/airbyte_api/models/jobcreaterequest.py - - src/airbyte_api/models/jobsresponse.py + - src/airbyte_api/models/workspaceoauthcredentialsrequest.py + - src/airbyte_api/models/oauthactornames.py + - src/airbyte_api/models/airtable.py + - src/airbyte_api/models/amazon_ads.py + - src/airbyte_api/models/amazon_seller_partner.py + - src/airbyte_api/models/asana.py + - src/airbyte_api/models/azure_blob_storage.py + - src/airbyte_api/models/bing_ads.py + - src/airbyte_api/models/facebook_marketing.py + - src/airbyte_api/models/github.py + - src/airbyte_api/models/gitlab.py + - src/airbyte_api/models/google_ads.py + - src/airbyte_api/models/google_analytics_data_api.py + - src/airbyte_api/models/google_drive.py + - src/airbyte_api/models/google_search_console.py + - src/airbyte_api/models/google_sheets.py + - src/airbyte_api/models/hubspot.py + - src/airbyte_api/models/instagram.py + - src/airbyte_api/models/intercom.py + - src/airbyte_api/models/lever_hiring.py + - src/airbyte_api/models/linkedin_ads.py + - src/airbyte_api/models/mailchimp.py + - src/airbyte_api/models/microsoft_onedrive.py + - src/airbyte_api/models/microsoft_sharepoint.py + - src/airbyte_api/models/microsoft_teams.py + - src/airbyte_api/models/monday.py + - src/airbyte_api/models/notion.py + - src/airbyte_api/models/pinterest.py + - src/airbyte_api/models/retently.py + - src/airbyte_api/models/salesforce.py + - src/airbyte_api/models/shopify.py + - src/airbyte_api/models/slack.py + - src/airbyte_api/models/smartsheets.py + - src/airbyte_api/models/snapchat_marketing.py + - src/airbyte_api/models/snowflake.py + - src/airbyte_api/models/square.py + - src/airbyte_api/models/strava.py + - src/airbyte_api/models/surveymonkey.py + - src/airbyte_api/models/tiktok_marketing.py + - src/airbyte_api/models/typeform.py + - src/airbyte_api/models/youtube_analytics.py + - src/airbyte_api/models/zendesk_chat.py + - src/airbyte_api/models/zendesk_sunshine.py + - src/airbyte_api/models/zendesk_support.py + - src/airbyte_api/models/zendesk_talk.py + - src/airbyte_api/models/actortypeenum.py - src/airbyte_api/models/sourceresponse.py - src/airbyte_api/models/source_aha.py - src/airbyte_api/models/source_aircall.py @@ -261,7 +314,6 @@ generatedFiles: - src/airbyte_api/models/source_punk_api.py - src/airbyte_api/models/source_pypi.py - src/airbyte_api/models/source_qualaroo.py - - src/airbyte_api/models/source_quickbooks.py - src/airbyte_api/models/source_railz.py - src/airbyte_api/models/source_recharge.py - src/airbyte_api/models/source_recreation.py @@ -326,62 +378,18 @@ generatedFiles: - src/airbyte_api/models/source_zoho_crm.py - src/airbyte_api/models/source_zoom.py - src/airbyte_api/models/sourcecreaterequest.py + - src/airbyte_api/models/workspaceresponse.py + - src/airbyte_api/models/workspacecreaterequest.py + - src/airbyte_api/models/streamproperties.py - src/airbyte_api/models/initiateoauthrequest.py - - src/airbyte_api/models/oauthactornames.py - - src/airbyte_api/models/oauthinputconfiguration.py + - src/airbyte_api/models/destinationsresponse.py + - src/airbyte_api/models/jobsresponse.py - src/airbyte_api/models/sourcesresponse.py + - src/airbyte_api/models/workspacesresponse.py + - src/airbyte_api/models/destinationpatchrequest.py - src/airbyte_api/models/sourcepatchrequest.py + - src/airbyte_api/models/destinationputrequest.py - src/airbyte_api/models/sourceputrequest.py - - src/airbyte_api/models/streampropertiesresponse.py - - src/airbyte_api/models/streamproperties.py - - src/airbyte_api/models/workspaceoauthcredentialsrequest.py - - src/airbyte_api/models/airtable.py - - src/airbyte_api/models/amazon_ads.py - - src/airbyte_api/models/amazon_seller_partner.py - - src/airbyte_api/models/asana.py - - src/airbyte_api/models/bing_ads.py - - src/airbyte_api/models/facebook_marketing.py - - src/airbyte_api/models/github.py - - src/airbyte_api/models/gitlab.py - - src/airbyte_api/models/google_ads.py - - src/airbyte_api/models/google_analytics_data_api.py - - src/airbyte_api/models/google_drive.py - - src/airbyte_api/models/google_search_console.py - - src/airbyte_api/models/google_sheets.py - - src/airbyte_api/models/harvest.py - - src/airbyte_api/models/hubspot.py - - src/airbyte_api/models/instagram.py - - src/airbyte_api/models/intercom.py - - src/airbyte_api/models/lever_hiring.py - - src/airbyte_api/models/linkedin_ads.py - - src/airbyte_api/models/mailchimp.py - - src/airbyte_api/models/microsoft_onedrive.py - - src/airbyte_api/models/microsoft_sharepoint.py - - src/airbyte_api/models/microsoft_teams.py - - src/airbyte_api/models/monday.py - - src/airbyte_api/models/notion.py - - src/airbyte_api/models/pinterest.py - - src/airbyte_api/models/retently.py - - src/airbyte_api/models/salesforce.py - - src/airbyte_api/models/shopify.py - - src/airbyte_api/models/slack.py - - src/airbyte_api/models/smartsheets.py - - src/airbyte_api/models/snapchat_marketing.py - - src/airbyte_api/models/snowflake.py - - src/airbyte_api/models/square.py - - src/airbyte_api/models/strava.py - - src/airbyte_api/models/surveymonkey.py - - src/airbyte_api/models/tiktok_marketing.py - - src/airbyte_api/models/typeform.py - - src/airbyte_api/models/youtube_analytics.py - - src/airbyte_api/models/zendesk_chat.py - - src/airbyte_api/models/zendesk_sunshine.py - - src/airbyte_api/models/zendesk_support.py - - src/airbyte_api/models/zendesk_talk.py - - src/airbyte_api/models/actortypeenum.py - - src/airbyte_api/models/workspaceresponse.py - - src/airbyte_api/models/workspacecreaterequest.py - - src/airbyte_api/models/workspacesresponse.py - src/airbyte_api/models/workspaceupdaterequest.py - src/airbyte_api/models/security.py - src/airbyte_api/models/schemebasicauth.py @@ -397,47 +405,47 @@ generatedFiles: - docs/api/listconnectionsresponse.md - docs/api/patchconnectionrequest.md - docs/api/patchconnectionresponse.md + - docs/api/canceljobrequest.md + - docs/api/canceljobresponse.md - docs/api/createdestinationresponse.md + - docs/api/createjobresponse.md + - docs/api/createorupdateworkspaceoauthcredentialsrequest.md + - docs/api/createorupdateworkspaceoauthcredentialsresponse.md + - docs/api/createsourceresponse.md + - docs/api/createworkspaceresponse.md - docs/api/deletedestinationrequest.md - docs/api/deletedestinationresponse.md + - docs/api/deletesourcerequest.md + - docs/api/deletesourceresponse.md + - docs/api/deleteworkspacerequest.md + - docs/api/deleteworkspaceresponse.md - docs/api/getdestinationrequest.md - docs/api/getdestinationresponse.md - - docs/api/listdestinationsrequest.md - - docs/api/listdestinationsresponse.md - - docs/api/patchdestinationrequest.md - - docs/api/patchdestinationresponse.md - - docs/api/putdestinationrequest.md - - docs/api/putdestinationresponse.md - - docs/api/canceljobrequest.md - - docs/api/canceljobresponse.md - - docs/api/createjobresponse.md - docs/api/getjobrequest.md - docs/api/getjobresponse.md - - docs/api/listjobsrequest.md - - docs/api/listjobsresponse.md - - docs/api/createsourceresponse.md - - docs/api/deletesourcerequest.md - - docs/api/deletesourceresponse.md - docs/api/getsourcerequest.md - docs/api/getsourceresponse.md + - docs/api/getstreampropertiesrequest.md + - docs/api/getstreampropertiesresponse.md + - docs/api/getworkspacerequest.md + - docs/api/getworkspaceresponse.md - docs/api/initiateoauthresponse.md + - docs/api/listdestinationsrequest.md + - docs/api/listdestinationsresponse.md + - docs/api/listjobsrequest.md + - docs/api/listjobsresponse.md - docs/api/listsourcesrequest.md - docs/api/listsourcesresponse.md + - docs/api/listworkspacesrequest.md + - docs/api/listworkspacesresponse.md + - docs/api/patchdestinationrequest.md + - docs/api/patchdestinationresponse.md - docs/api/patchsourcerequest.md - docs/api/patchsourceresponse.md + - docs/api/putdestinationrequest.md + - docs/api/putdestinationresponse.md - docs/api/putsourcerequest.md - docs/api/putsourceresponse.md - - docs/api/getstreampropertiesrequest.md - - docs/api/getstreampropertiesresponse.md - - docs/api/createorupdateworkspaceoauthcredentialsrequest.md - - docs/api/createorupdateworkspaceoauthcredentialsresponse.md - - docs/api/createworkspaceresponse.md - - docs/api/deleteworkspacerequest.md - - docs/api/deleteworkspaceresponse.md - - docs/api/getworkspacerequest.md - - docs/api/getworkspaceresponse.md - - docs/api/listworkspacesrequest.md - - docs/api/listworkspacesresponse.md - docs/api/updateworkspacerequest.md - docs/api/updateworkspaceresponse.md - docs/models/connectionresponse.md @@ -451,13 +459,16 @@ generatedFiles: - docs/models/streamconfiguration.md - docs/models/connectionsyncmodeenum.md - docs/models/connectioncreaterequest.md - - docs/models/connectionschedule.md + - docs/models/airbyteapiconnectionschedule.md - docs/models/scheduletypeenum.md - docs/models/connectionsresponse.md - docs/models/connectionpatchrequest.md - docs/models/nonbreakingschemaupdatesbehaviorenumnodefault.md - docs/models/namespacedefinitionenumnodefault.md - docs/models/geographyenumnodefault.md + - docs/models/jobresponse.md + - docs/models/jobstatusenum.md + - docs/models/jobtypeenum.md - docs/models/destinationresponse.md - docs/models/destinationconfiguration.md - docs/models/authenticationviagoogleoauth.md @@ -503,7 +514,7 @@ generatedFiles: - docs/models/choosehowtopartitiondata.md - docs/models/s3bucketregion.md - docs/models/destinationawsdatalake.md - - docs/models/azureblobstorage.md + - docs/models/destinationazureblobstorageazureblobstorage.md - docs/models/destinationazureblobstorageformattype.md - docs/models/destinationazureblobstoragejsonlinesnewlinedelimitedjson.md - docs/models/normalizationflattening.md @@ -935,15 +946,111 @@ generatedFiles: - docs/models/destinationweaviatetextsplitter.md - docs/models/destinationweaviateprocessingconfigmodel.md - docs/models/destinationweaviate.md + - docs/models/yellowbrick.md + - docs/models/destinationyellowbrickschemassslmodesslmodes6mode.md + - docs/models/destinationyellowbrickverifyfull.md + - docs/models/destinationyellowbrickschemassslmodesslmodes5mode.md + - docs/models/destinationyellowbrickverifyca.md + - docs/models/destinationyellowbrickschemassslmodesslmodesmode.md + - docs/models/destinationyellowbrickrequire.md + - docs/models/destinationyellowbrickschemassslmodemode.md + - docs/models/destinationyellowbrickprefer.md + - docs/models/destinationyellowbrickschemasmode.md + - docs/models/destinationyellowbrickallow.md + - docs/models/destinationyellowbrickmode.md + - docs/models/destinationyellowbrickdisable.md + - docs/models/destinationyellowbricksslmodes.md + - docs/models/destinationyellowbrickschemastunnelmethodtunnelmethod.md + - docs/models/destinationyellowbrickpasswordauthentication.md + - docs/models/destinationyellowbrickschemastunnelmethod.md + - docs/models/destinationyellowbricksshkeyauthentication.md + - docs/models/destinationyellowbricktunnelmethod.md + - docs/models/destinationyellowbricknotunnel.md + - docs/models/destinationyellowbricksshtunnelmethod.md + - docs/models/destinationyellowbrick.md - docs/models/destinationcreaterequest.md - - docs/models/destinationsresponse.md - - docs/models/destinationpatchrequest.md - - docs/models/destinationputrequest.md - - docs/models/jobresponse.md - - docs/models/jobstatusenum.md - - docs/models/jobtypeenum.md - docs/models/jobcreaterequest.md - - docs/models/jobsresponse.md + - docs/models/workspaceoauthcredentialsrequest.md + - docs/models/oauthactornames.md + - docs/models/oauthcredentialsconfiguration.md + - docs/models/credentials.md + - docs/models/airtable.md + - docs/models/amazonads.md + - docs/models/amazonsellerpartner.md + - docs/models/asanacredentials.md + - docs/models/asana.md + - docs/models/azureblobstoragecredentials.md + - docs/models/azureblobstorage.md + - docs/models/bingads.md + - docs/models/facebookmarketing.md + - docs/models/githubcredentials.md + - docs/models/github.md + - docs/models/gitlabcredentials.md + - docs/models/gitlab.md + - docs/models/googleadscredentials.md + - docs/models/googleads.md + - docs/models/googleanalyticsdataapicredentials.md + - docs/models/googleanalyticsdataapi.md + - docs/models/googledrivecredentials.md + - docs/models/googledrive.md + - docs/models/authorization.md + - docs/models/googlesearchconsole.md + - docs/models/googlesheetscredentials.md + - docs/models/googlesheets.md + - docs/models/hubspotcredentials.md + - docs/models/hubspot.md + - docs/models/instagram.md + - docs/models/intercom.md + - docs/models/leverhiringcredentials.md + - docs/models/leverhiring.md + - docs/models/linkedinadscredentials.md + - docs/models/linkedinads.md + - docs/models/mailchimpcredentials.md + - docs/models/mailchimp.md + - docs/models/microsoftonedrivecredentials.md + - docs/models/microsoftonedrive.md + - docs/models/microsoftsharepointcredentials.md + - docs/models/microsoftsharepoint.md + - docs/models/microsoftteamscredentials.md + - docs/models/microsoftteams.md + - docs/models/mondaycredentials.md + - docs/models/monday.md + - docs/models/notioncredentials.md + - docs/models/notion.md + - docs/models/pinterestcredentials.md + - docs/models/pinterest.md + - docs/models/retentlycredentials.md + - docs/models/retently.md + - docs/models/salesforce.md + - docs/models/shopifycredentials.md + - docs/models/shopify.md + - docs/models/slackcredentials.md + - docs/models/slack.md + - docs/models/smartsheetscredentials.md + - docs/models/smartsheets.md + - docs/models/snapchatmarketing.md + - docs/models/snowflakecredentials.md + - docs/models/snowflake.md + - docs/models/squarecredentials.md + - docs/models/square.md + - docs/models/strava.md + - docs/models/surveymonkeycredentials.md + - docs/models/surveymonkey.md + - docs/models/tiktokmarketingcredentials.md + - docs/models/tiktokmarketing.md + - docs/models/typeformcredentials.md + - docs/models/typeform.md + - docs/models/youtubeanalyticscredentials.md + - docs/models/youtubeanalytics.md + - docs/models/zendeskchatcredentials.md + - docs/models/zendeskchat.md + - docs/models/zendesksunshinecredentials.md + - docs/models/zendesksunshine.md + - docs/models/zendesksupportcredentials.md + - docs/models/zendesksupport.md + - docs/models/zendesktalkcredentials.md + - docs/models/zendesktalk.md + - docs/models/actortypeenum.md - docs/models/sourceresponse.md - docs/models/sourceconfiguration.md - docs/models/aha.md @@ -998,6 +1105,11 @@ generatedFiles: - docs/models/sourceauth0.md - docs/models/awscloudtrail.md - docs/models/sourceawscloudtrail.md + - docs/models/sourceazureblobstorageschemasauthtype.md + - docs/models/authenticateviastorageaccountkey.md + - docs/models/sourceazureblobstorageauthtype.md + - docs/models/authenticateviaoauth2.md + - docs/models/sourceazureblobstorageauthentication.md - docs/models/sourceazureblobstorageazureblobstorage.md - docs/models/sourceazureblobstorageschemasstreamsformatfiletype.md - docs/models/sourceazureblobstoragemode.md @@ -1094,6 +1206,11 @@ generatedFiles: - docs/models/sourcedockerhub.md - docs/models/dremio.md - docs/models/sourcedremio.md + - docs/models/sourcedynamodbschemasauthtype.md + - docs/models/rolebasedauthentication.md + - docs/models/sourcedynamodbauthtype.md + - docs/models/authenticateviaaccesskeys.md + - docs/models/sourcedynamodbcredentials.md - docs/models/sourcedynamodbdynamodbregion.md - docs/models/sourcedynamodbdynamodb.md - docs/models/sourcedynamodb.md @@ -1531,7 +1648,7 @@ generatedFiles: - docs/models/sourceharvestauthtype.md - docs/models/authenticateviaharvestoauth.md - docs/models/sourceharvestauthenticationmechanism.md - - docs/models/sourceharvestharvest.md + - docs/models/harvest.md - docs/models/sourceharvest.md - docs/models/hubplanner.md - docs/models/sourcehubplanner.md @@ -1709,6 +1826,7 @@ generatedFiles: - docs/models/clustertype.md - docs/models/invalidcdcpositionbehavioradvanced.md - docs/models/mongodbv2.md + - docs/models/capturemodeadvanced.md - docs/models/sourcemongodbv2.md - docs/models/sourcemssqlschemasmethod.md - docs/models/scanchangeswithuserdefinedcursor.md @@ -1899,11 +2017,6 @@ generatedFiles: - docs/models/sourcepypi.md - docs/models/qualaroo.md - docs/models/sourcequalaroo.md - - docs/models/sourcequickbooksauthtype.md - - docs/models/sourcequickbooksoauth20.md - - docs/models/sourcequickbooksauthorizationmethod.md - - docs/models/quickbooks.md - - docs/models/sourcequickbooks.md - docs/models/railz.md - docs/models/sourcerailz.md - docs/models/recharge.md @@ -1934,7 +2047,7 @@ generatedFiles: - docs/models/avro.md - docs/models/sources3filetype.md - docs/models/parquet.md - - docs/models/sources3schemasformatfileformatfiletype.md + - docs/models/filetype.md - docs/models/csv.md - docs/models/sources3fileformat.md - docs/models/s3amazonwebservices.md @@ -1996,8 +2109,40 @@ generatedFiles: - docs/models/sourcesftpauthentication.md - docs/models/sftp.md - docs/models/sourcesftp.md - - docs/models/filetype.md + - docs/models/sourcesftpbulkschemasauthtype.md + - docs/models/authenticateviaprivatekey.md + - docs/models/sourcesftpbulkauthtype.md + - docs/models/authenticateviapassword.md + - docs/models/sourcesftpbulkauthentication.md - docs/models/sftpbulk.md + - docs/models/sourcesftpbulkschemasstreamsformatformatfiletype.md + - docs/models/sourcesftpbulkschemasmode.md + - docs/models/apiparameterconfigmodel.md + - docs/models/viaapi.md + - docs/models/sourcesftpbulkmode.md + - docs/models/sourcesftpbulklocal.md + - docs/models/sourcesftpbulkprocessing.md + - docs/models/sourcesftpbulkparsingstrategy.md + - docs/models/sourcesftpbulkdocumentfiletypeformatexperimental.md + - docs/models/sourcesftpbulkschemasstreamsformatfiletype.md + - docs/models/sourcesftpbulkparquetformat.md + - docs/models/sourcesftpbulkschemasstreamsfiletype.md + - docs/models/sourcesftpbulkjsonlformat.md + - docs/models/sourcesftpbulkschemasfiletype.md + - docs/models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md + - docs/models/sourcesftpbulkuserprovided.md + - docs/models/sourcesftpbulkschemasheaderdefinitiontype.md + - docs/models/sourcesftpbulkautogenerated.md + - docs/models/sourcesftpbulkheaderdefinitiontype.md + - docs/models/sourcesftpbulkfromcsv.md + - docs/models/sourcesftpbulkcsvheaderdefinition.md + - docs/models/sourcesftpbulkinferencetype.md + - docs/models/sourcesftpbulkcsvformat.md + - docs/models/sourcesftpbulkfiletype.md + - docs/models/sourcesftpbulkavroformat.md + - docs/models/sourcesftpbulkformat.md + - docs/models/sourcesftpbulkvalidationpolicy.md + - docs/models/sourcesftpbulkfilebasedstreamconfig.md - docs/models/sourcesftpbulk.md - docs/models/sourceshopifyschemasauthmethod.md - docs/models/apipassword.md @@ -2163,106 +2308,34 @@ generatedFiles: - docs/models/zoom.md - docs/models/sourcezoom.md - docs/models/sourcecreaterequest.md + - docs/models/workspaceresponse.md + - docs/models/workspacecreaterequest.md + - docs/models/streamproperties.md - docs/models/initiateoauthrequest.md - - docs/models/oauthactornames.md - - docs/models/oauthinputconfiguration.md + - docs/models/destinationsresponse.md + - docs/models/jobsresponse.md - docs/models/sourcesresponse.md + - docs/models/workspacesresponse.md + - docs/models/destinationpatchrequest.md - docs/models/sourcepatchrequest.md + - docs/models/destinationputrequest.md - docs/models/sourceputrequest.md - - docs/models/streampropertiesresponse.md - - docs/models/streamproperties.md - - docs/models/workspaceoauthcredentialsrequest.md - - docs/models/oauthcredentialsconfiguration.md - - docs/models/credentials.md - - docs/models/airtable.md - - docs/models/amazonads.md - - docs/models/amazonsellerpartner.md - - docs/models/asanacredentials.md - - docs/models/asana.md - - docs/models/bingads.md - - docs/models/facebookmarketing.md - - docs/models/githubcredentials.md - - docs/models/github.md - - docs/models/gitlabcredentials.md - - docs/models/gitlab.md - - docs/models/googleadscredentials.md - - docs/models/googleads.md - - docs/models/googleanalyticsdataapicredentials.md - - docs/models/googleanalyticsdataapi.md - - docs/models/googledrivecredentials.md - - docs/models/googledrive.md - - docs/models/authorization.md - - docs/models/googlesearchconsole.md - - docs/models/googlesheetscredentials.md - - docs/models/googlesheets.md - - docs/models/harvestcredentials.md - - docs/models/harvest.md - - docs/models/hubspotcredentials.md - - docs/models/hubspot.md - - docs/models/instagram.md - - docs/models/intercom.md - - docs/models/leverhiringcredentials.md - - docs/models/leverhiring.md - - docs/models/linkedinadscredentials.md - - docs/models/linkedinads.md - - docs/models/mailchimpcredentials.md - - docs/models/mailchimp.md - - docs/models/microsoftonedrivecredentials.md - - docs/models/microsoftonedrive.md - - docs/models/microsoftsharepointcredentials.md - - docs/models/microsoftsharepoint.md - - docs/models/microsoftteamscredentials.md - - docs/models/microsoftteams.md - - docs/models/mondaycredentials.md - - docs/models/monday.md - - docs/models/notioncredentials.md - - docs/models/notion.md - - docs/models/pinterestcredentials.md - - docs/models/pinterest.md - - docs/models/retentlycredentials.md - - docs/models/retently.md - - docs/models/salesforce.md - - docs/models/shopifycredentials.md - - docs/models/shopify.md - - docs/models/slackcredentials.md - - docs/models/slack.md - - docs/models/smartsheetscredentials.md - - docs/models/smartsheets.md - - docs/models/snapchatmarketing.md - - docs/models/snowflakecredentials.md - - docs/models/snowflake.md - - docs/models/squarecredentials.md - - docs/models/square.md - - docs/models/strava.md - - docs/models/surveymonkeycredentials.md - - docs/models/surveymonkey.md - - docs/models/tiktokmarketingcredentials.md - - docs/models/tiktokmarketing.md - - docs/models/typeformcredentials.md - - docs/models/typeform.md - - docs/models/youtubeanalyticscredentials.md - - docs/models/youtubeanalytics.md - - docs/models/zendeskchatcredentials.md - - docs/models/zendeskchat.md - - docs/models/zendesksunshinecredentials.md - - docs/models/zendesksunshine.md - - docs/models/zendesksupportcredentials.md - - docs/models/zendesksupport.md - - docs/models/zendesktalkcredentials.md - - docs/models/zendesktalk.md - - docs/models/actortypeenum.md - - docs/models/workspaceresponse.md - - docs/models/workspacecreaterequest.md - - docs/models/workspacesresponse.md - docs/models/workspaceupdaterequest.md - docs/models/security.md - docs/models/schemebasicauth.md - docs/sdks/airbyteapi/README.md + - docs/sdks/publicconnections/README.md + - docs/sdks/public/README.md - docs/sdks/connections/README.md + - docs/sdks/publicdestinations/README.md - docs/sdks/destinations/README.md + - docs/sdks/publicjobs/README.md - docs/sdks/jobs/README.md + - docs/sdks/publicsources/README.md - docs/sdks/sources/README.md + - docs/sdks/publicstreams/README.md - docs/sdks/streams/README.md + - docs/sdks/publicworkspaces/README.md - docs/sdks/workspaces/README.md - USAGE.md - .gitattributes diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock new file mode 100644 index 00000000..babb74c1 --- /dev/null +++ b/.speakeasy/workflow.lock @@ -0,0 +1,32 @@ +speakeasyVersion: 1.286.3 +sources: + my-source: + sourceNamespace: my-source + sourceRevisionDigest: sha256:0e36eb3e666e71738d7f18746aaf7a4c2242126e2eb8534be3e0d739bab17fe9 + sourceBlobDigest: sha256:128e131dbcb3ee37a7b330c750e9687d13058634b6c42c80d71ea6c51e6c4596 + tags: + - latest + - main +targets: + python-api: + source: my-source + sourceNamespace: my-source + sourceRevisionDigest: sha256:0e36eb3e666e71738d7f18746aaf7a4c2242126e2eb8534be3e0d739bab17fe9 + sourceBlobDigest: sha256:128e131dbcb3ee37a7b330c750e9687d13058634b6c42c80d71ea6c51e6c4596 + outLocation: /github/workspace/repo +workflow: + workflowVersion: 1.0.0 + speakeasyVersion: latest + sources: + my-source: + inputs: + - location: ./airbyte-api.openapi.yaml + registry: + location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source + targets: + python-api: + target: python + source: my-source + publish: + pypi: + token: $PYPI_TOKEN diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 2b347bc2..24cb516c 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,8 +1,11 @@ workflowVersion: 1.0.0 +speakeasyVersion: latest sources: my-source: inputs: - location: ./airbyte-api.openapi.yaml + registry: + location: registry.speakeasyapi.dev/airbyte/airbyte-prod/my-source targets: python-api: target: python diff --git a/README.md b/README.md index 9e842325..4c5a8737 100755 --- a/README.md +++ b/README.md @@ -39,13 +39,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response @@ -57,6 +56,46 @@ if res.connection_response is not None: ## 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_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 @@ -65,6 +104,15 @@ 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 @@ -74,6 +122,13 @@ 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) + +* [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 + ### [jobs](docs/sdks/jobs/README.md) * [cancel_job](docs/sdks/jobs/README.md#cancel_job) - Cancel a running Job @@ -81,6 +136,16 @@ 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_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 + ### [sources](docs/sdks/sources/README.md) * [create_source](docs/sdks/sources/README.md#create_source) - Create a source @@ -91,10 +156,23 @@ 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. @@ -135,15 +213,14 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', - namespace_format='${SOURCE_NAMESPACE}', -) - res = None try: - res = s.connections.create_connection(req) + res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', + namespace_format='${SOURCE_NAMESPACE}', +)) except errors.SDKError as e: # handle exception raise(e) @@ -184,13 +261,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response @@ -216,13 +292,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response @@ -258,10 +333,11 @@ s = airbyte_api.AirbyteAPI(client=http_client) This SDK supports the following security schemes globally: -| Name | Type | Scheme | -| ------------- | ------------- | ------------- | -| `basic_auth` | http | HTTP Basic | -| `bearer_auth` | http | HTTP Bearer | +| Name | Type | Scheme | +| -------------------- | -------------------- | -------------------- | +| `basic_auth` | http | HTTP Basic | +| `bearer_auth` | http | HTTP Bearer | +| `client_credentials` | oauth2 | OAuth2 token | You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example: ```python @@ -277,13 +353,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response diff --git a/RELEASES.md b/RELEASES.md index d7f0a770..b0ec6ca1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -888,4 +888,14 @@ Based on: ### Generated - [python v0.49.2] . ### Releases -- [PyPI v0.49.2] https://pypi.org/project/airbyte-api/0.49.2 - . \ No newline at end of file +- [PyPI v0.49.2] https://pypi.org/project/airbyte-api/0.49.2 - . + +## 2024-05-14 00:14:22 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.286.3 (2.329.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.49.3] . +### Releases +- [PyPI v0.49.3] https://pypi.org/project/airbyte-api/0.49.3 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index df95980c..79fce084 100644 --- a/USAGE.md +++ b/USAGE.md @@ -12,13 +12,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response diff --git a/docs/api/getstreampropertiesrequest.md b/docs/api/getstreampropertiesrequest.md index 67381f81..1f5b6bd0 100644 --- a/docs/api/getstreampropertiesrequest.md +++ b/docs/api/getstreampropertiesrequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `destination_id` | *str* | :heavy_check_mark: | ID of the destination | | `source_id` | *str* | :heavy_check_mark: | ID of the source | +| `destination_id` | *Optional[str]* | :heavy_minus_sign: | ID of the destination | | `ignore_cache` | *Optional[bool]* | :heavy_minus_sign: | If true pull the latest schema from the source, else pull from cache (default false) | \ No newline at end of file diff --git a/docs/api/getstreampropertiesresponse.md b/docs/api/getstreampropertiesresponse.md index e3e7911d..b603dc06 100644 --- a/docs/api/getstreampropertiesresponse.md +++ b/docs/api/getstreampropertiesresponse.md @@ -8,4 +8,4 @@ | `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 | -| `stream_properties_response` | [Optional[models.StreamPropertiesResponse]](../models/streampropertiesresponse.md) | :heavy_minus_sign: | Get the available streams properties for a source/destination pair. | \ No newline at end of file +| `stream_properties_response` | List[[models.StreamProperties](../models/streamproperties.md)] | :heavy_minus_sign: | Get the available streams properties for a source/destination pair. | \ No newline at end of file diff --git a/docs/api/listjobsrequest.md b/docs/api/listjobsrequest.md index 692f10bd..136a6556 100644 --- a/docs/api/listjobsrequest.md +++ b/docs/api/listjobsrequest.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `connection_id` | *Optional[str]* | :heavy_minus_sign: | Filter the Jobs by connectionId. | -| `created_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | -| `created_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | -| `job_type` | [Optional[models.JobTypeEnum]](../models/jobtypeenum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | -| `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of Jobs returned. The default is 20 Jobs. | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning Jobs. The default is 0. | -| `order_by` | *Optional[str]* | :heavy_minus_sign: | The field and method to use for ordering. Currently allowed are createdAt and updatedAt. | -| `status` | [Optional[models.JobStatusEnum]](../models/jobstatusenum.md) | :heavy_minus_sign: | The Job status you want to filter by | -| `updated_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | -| `updated_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `connection_id` | *Optional[str]* | :heavy_minus_sign: | Filter the Jobs by connectionId. | | +| `created_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | +| `created_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | +| `job_type` | [Optional[models.JobTypeEnum]](../models/jobtypeenum.md) | :heavy_minus_sign: | Filter the Jobs by jobType. | | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of Jobs returned. The default is 20 Jobs. | | +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning Jobs. The default is 0. | | +| `order_by` | *Optional[str]* | :heavy_minus_sign: | The field and method to use for ordering | updatedAt\|DESC | +| `status` | [Optional[models.JobStatusEnum]](../models/jobstatusenum.md) | :heavy_minus_sign: | The Job status you want to filter by | | +| `updated_at_end` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The end date to filter by | 1687450500000 | +| `updated_at_start` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The start date to filter by | 1687450500000 | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list jobs for. Empty list will retrieve all allowed workspaces. | | \ No newline at end of file diff --git a/docs/api/listsourcesrequest.md b/docs/api/listsourcesrequest.md index c31ff3c8..c059ca92 100644 --- a/docs/api/listsourcesrequest.md +++ b/docs/api/listsourcesrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted sources in the returned results. | -| `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of sources returned. The default is 20. | -| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | -| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `include_deleted` | *Optional[bool]* | :heavy_minus_sign: | Include deleted sources in the returned results. | | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Set the limit on the number of sources returned. The default is 20. | | +| `offset` | *Optional[int]* | :heavy_minus_sign: | Set the offset to start at when returning sources. The default is 0 | | +| `workspace_ids` | List[*str*] | :heavy_minus_sign: | The UUIDs of the workspaces you wish to list sources for. Empty list will retrieve all allowed workspaces. | df08f6b0-b364-4cc1-9b3f-96f5d2fccfb2,b0796797-de23-4fc7-a5e2-7e131314718c | \ No newline at end of file diff --git a/docs/models/connectionschedule.md b/docs/models/airbyteapiconnectionschedule.md similarity index 97% rename from docs/models/connectionschedule.md rename to docs/models/airbyteapiconnectionschedule.md index 7b80562c..43ef995c 100644 --- a/docs/models/connectionschedule.md +++ b/docs/models/airbyteapiconnectionschedule.md @@ -1,4 +1,4 @@ -# ConnectionSchedule +# AirbyteAPIConnectionSchedule schedule for when the the connection should run, per the schedule type diff --git a/docs/models/apiparameterconfigmodel.md b/docs/models/apiparameterconfigmodel.md new file mode 100644 index 00000000..f9f67f22 --- /dev/null +++ b/docs/models/apiparameterconfigmodel.md @@ -0,0 +1,9 @@ +# APIParameterConfigModel + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `name` | *str* | :heavy_check_mark: | The name of the unstructured API parameter to use | combine_under_n_chars | +| `value` | *str* | :heavy_check_mark: | The value of the parameter | true | \ No newline at end of file diff --git a/docs/models/authenticateviaaccesskeys.md b/docs/models/authenticateviaaccesskeys.md new file mode 100644 index 00000000..79ac6166 --- /dev/null +++ b/docs/models/authenticateviaaccesskeys.md @@ -0,0 +1,11 @@ +# AuthenticateViaAccessKeys + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `access_key_id` | *str* | :heavy_check_mark: | The access key id to access Dynamodb. Airbyte requires read permissions to the database | A012345678910EXAMPLE | +| `secret_access_key` | *str* | :heavy_check_mark: | The corresponding secret to the access key id. | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | | +| `auth_type` | [Optional[models.SourceDynamodbAuthType]](../models/sourcedynamodbauthtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/authenticateviaoauth2.md b/docs/models/authenticateviaoauth2.md new file mode 100644 index 00000000..44209a58 --- /dev/null +++ b/docs/models/authenticateviaoauth2.md @@ -0,0 +1,12 @@ +# AuthenticateViaOauth2 + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `client_id` | *str* | :heavy_check_mark: | Client ID of your Microsoft developer application | +| `client_secret` | *str* | :heavy_check_mark: | Client Secret of your Microsoft developer application | +| `refresh_token` | *str* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | +| `tenant_id` | *str* | :heavy_check_mark: | Tenant ID of the Microsoft Azure Application user | +| `auth_type` | [Optional[models.SourceAzureBlobStorageAuthType]](../models/sourceazureblobstorageauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/authenticateviapassword.md b/docs/models/authenticateviapassword.md new file mode 100644 index 00000000..63002774 --- /dev/null +++ b/docs/models/authenticateviapassword.md @@ -0,0 +1,9 @@ +# AuthenticateViaPassword + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `password` | *str* | :heavy_check_mark: | Password | +| `auth_type` | [Optional[models.SourceSftpBulkAuthType]](../models/sourcesftpbulkauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/authenticateviaprivatekey.md b/docs/models/authenticateviaprivatekey.md new file mode 100644 index 00000000..ff5cf8c3 --- /dev/null +++ b/docs/models/authenticateviaprivatekey.md @@ -0,0 +1,9 @@ +# AuthenticateViaPrivateKey + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `private_key` | *str* | :heavy_check_mark: | The Private key | +| `auth_type` | [Optional[models.SourceSftpBulkSchemasAuthType]](../models/sourcesftpbulkschemasauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/authenticateviastorageaccountkey.md b/docs/models/authenticateviastorageaccountkey.md new file mode 100644 index 00000000..369d2ab5 --- /dev/null +++ b/docs/models/authenticateviastorageaccountkey.md @@ -0,0 +1,9 @@ +# AuthenticateViaStorageAccountKey + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `azure_blob_storage_account_key` | *str* | :heavy_check_mark: | The Azure blob storage account key. | Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd== | +| `auth_type` | [Optional[models.SourceAzureBlobStorageSchemasAuthType]](../models/sourceazureblobstorageschemasauthtype.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/azureblobstorage.md b/docs/models/azureblobstorage.md index c6c425ff..847fff44 100644 --- a/docs/models/azureblobstorage.md +++ b/docs/models/azureblobstorage.md @@ -1,8 +1,8 @@ # AzureBlobStorage -## Values +## Fields -| Name | Value | -| -------------------- | -------------------- | -| `AZURE_BLOB_STORAGE` | azure-blob-storage | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `credentials` | [Optional[models.AzureBlobStorageCredentials]](../models/azureblobstoragecredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/azureblobstoragecredentials.md b/docs/models/azureblobstoragecredentials.md new file mode 100644 index 00000000..0b9bfc4c --- /dev/null +++ b/docs/models/azureblobstoragecredentials.md @@ -0,0 +1,9 @@ +# AzureBlobStorageCredentials + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `client_id` | *Optional[str]* | :heavy_minus_sign: | Client ID of your Microsoft developer application | +| `client_secret` | *Optional[str]* | :heavy_minus_sign: | Client Secret of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/capturemodeadvanced.md b/docs/models/capturemodeadvanced.md new file mode 100644 index 00000000..720af470 --- /dev/null +++ b/docs/models/capturemodeadvanced.md @@ -0,0 +1,11 @@ +# CaptureModeAdvanced + +Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images. + + +## Values + +| Name | Value | +| ------------ | ------------ | +| `LOOKUP` | Lookup | +| `POST_IMAGE` | Post Image | \ No newline at end of file diff --git a/docs/models/connectioncreaterequest.md b/docs/models/connectioncreaterequest.md index 204ca9a6..3bc9cdf0 100644 --- a/docs/models/connectioncreaterequest.md +++ b/docs/models/connectioncreaterequest.md @@ -14,5 +14,5 @@ | `namespace_format` | *Optional[str]* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | | `non_breaking_schema_updates_behavior` | [Optional[models.NonBreakingSchemaUpdatesBehaviorEnum]](../models/nonbreakingschemaupdatesbehaviorenum.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | | `prefix` | *Optional[str]* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | -| `schedule` | [Optional[models.ConnectionSchedule]](../models/connectionschedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | +| `schedule` | [Optional[models.AirbyteAPIConnectionSchedule]](../models/airbyteapiconnectionschedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | | `status` | [Optional[models.ConnectionStatusEnum]](../models/connectionstatusenum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/connectionpatchrequest.md b/docs/models/connectionpatchrequest.md index d7c71dd5..d4ce8bec 100644 --- a/docs/models/connectionpatchrequest.md +++ b/docs/models/connectionpatchrequest.md @@ -12,5 +12,5 @@ | `namespace_format` | *Optional[str]* | :heavy_minus_sign: | Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. | ${SOURCE_NAMESPACE} | | `non_breaking_schema_updates_behavior` | [Optional[models.NonBreakingSchemaUpdatesBehaviorEnumNoDefault]](../models/nonbreakingschemaupdatesbehaviorenumnodefault.md) | :heavy_minus_sign: | Set how Airbyte handles syncs when it detects a non-breaking schema change in the source | | | `prefix` | *Optional[str]* | :heavy_minus_sign: | Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). | | -| `schedule` | [Optional[models.ConnectionSchedule]](../models/connectionschedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | +| `schedule` | [Optional[models.AirbyteAPIConnectionSchedule]](../models/airbyteapiconnectionschedule.md) | :heavy_minus_sign: | schedule for when the the connection should run, per the schedule type | | | `status` | [Optional[models.ConnectionStatusEnum]](../models/connectionstatusenum.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/csv.md b/docs/models/csv.md index 38fa25fd..f7c8a589 100644 --- a/docs/models/csv.md +++ b/docs/models/csv.md @@ -14,7 +14,7 @@ This connector utilises list of python encodings for allowable options. | | | `escape_char` | *Optional[str]* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | | -| `filetype` | [Optional[models.SourceS3SchemasFormatFileFormatFiletype]](../models/sources3schemasformatfileformatfiletype.md) | :heavy_minus_sign: | N/A | | +| `filetype` | [Optional[models.Filetype]](../models/filetype.md) | :heavy_minus_sign: | N/A | | | `infer_datatypes` | *Optional[bool]* | :heavy_minus_sign: | Configures whether a schema for the source should be inferred from the current data or not. If set to false and a custom schema is set, then the manually enforced schema is used. If a schema is not manually set, and this is set to false, then all fields will be read as strings | | | `newlines_in_values` | *Optional[bool]* | :heavy_minus_sign: | Whether newline characters are allowed in CSV values. Turning this on may affect performance. Leave blank to default to False. | | | `quote_char` | *Optional[str]* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | | \ No newline at end of file diff --git a/docs/models/destinationazureblobstorage.md b/docs/models/destinationazureblobstorage.md index 22757ed5..32ddafa0 100644 --- a/docs/models/destinationazureblobstorage.md +++ b/docs/models/destinationazureblobstorage.md @@ -12,4 +12,4 @@ | `azure_blob_storage_endpoint_domain_name` | *Optional[str]* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | | `azure_blob_storage_output_buffer_size` | *Optional[int]* | :heavy_minus_sign: | The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure. | 5 | | `azure_blob_storage_spill_size` | *Optional[int]* | :heavy_minus_sign: | The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable | 500 | -| `destination_type` | [models.AzureBlobStorage](../models/azureblobstorage.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `destination_type` | [models.DestinationAzureBlobStorageAzureBlobStorage](../models/destinationazureblobstorageazureblobstorage.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/destinationazureblobstorageazureblobstorage.md b/docs/models/destinationazureblobstorageazureblobstorage.md new file mode 100644 index 00000000..f8c6dd56 --- /dev/null +++ b/docs/models/destinationazureblobstorageazureblobstorage.md @@ -0,0 +1,8 @@ +# DestinationAzureBlobStorageAzureBlobStorage + + +## Values + +| Name | Value | +| -------------------- | -------------------- | +| `AZURE_BLOB_STORAGE` | azure-blob-storage | \ No newline at end of file diff --git a/docs/models/destinationconfiguration.md b/docs/models/destinationconfiguration.md index a6308cd9..0865e766 100644 --- a/docs/models/destinationconfiguration.md +++ b/docs/models/destinationconfiguration.md @@ -209,3 +209,9 @@ destinationConfiguration: models.DestinationVectara = /* values here */ destinationConfiguration: models.DestinationWeaviate = /* values here */ ``` +### DestinationYellowbrick + +```python +destinationConfiguration: models.DestinationYellowbrick = /* values here */ +``` + diff --git a/docs/models/destinationcreaterequest.md b/docs/models/destinationcreaterequest.md index a909663c..22c1e3a9 100644 --- a/docs/models/destinationcreaterequest.md +++ b/docs/models/destinationcreaterequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | -| `name` | *str* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate, models.DestinationYellowbrick]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | +| `name` | *str* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | | \ No newline at end of file diff --git a/docs/models/destinationmssql.md b/docs/models/destinationmssql.md index 91dda128..22ff14a8 100644 --- a/docs/models/destinationmssql.md +++ b/docs/models/destinationmssql.md @@ -12,6 +12,7 @@ | `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *Optional[str]* | :heavy_minus_sign: | The password associated with this username. | | | `port` | *Optional[int]* | :heavy_minus_sign: | The port of the MSSQL database. | 1433 | +| `raw_data_schema` | *Optional[str]* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | | `schema` | *Optional[str]* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | | `ssl_method` | [Optional[Union[models.EncryptedTrustServerCertificate, models.EncryptedVerifyCertificate]]](../models/sslmethod.md) | :heavy_minus_sign: | The encryption method which is used to communicate with the database. | | | `tunnel_method` | [Optional[Union[models.DestinationMssqlNoTunnel, models.DestinationMssqlSSHKeyAuthentication, models.DestinationMssqlPasswordAuthentication]]](../models/destinationmssqlsshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | \ No newline at end of file diff --git a/docs/models/destinationmysql.md b/docs/models/destinationmysql.md index 39d09807..bb41dde7 100644 --- a/docs/models/destinationmysql.md +++ b/docs/models/destinationmysql.md @@ -9,7 +9,9 @@ | `host` | *str* | :heavy_check_mark: | Hostname of the database. | | | `username` | *str* | :heavy_check_mark: | Username to use to access the database. | | | `destination_type` | [models.Mysql](../models/mysql.md) | :heavy_check_mark: | N/A | | +| `disable_type_dedupe` | *Optional[bool]* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | | `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *Optional[str]* | :heavy_minus_sign: | Password associated with the username. | | | `port` | *Optional[int]* | :heavy_minus_sign: | Port of the database. | 3306 | +| `raw_data_schema` | *Optional[str]* | :heavy_minus_sign: | The database to write raw tables into | | | `tunnel_method` | [Optional[Union[models.DestinationMysqlNoTunnel, models.DestinationMysqlSSHKeyAuthentication, models.DestinationMysqlPasswordAuthentication]]](../models/destinationmysqlsshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | \ No newline at end of file diff --git a/docs/models/destinationoracle.md b/docs/models/destinationoracle.md index c986b445..121cd6f1 100644 --- a/docs/models/destinationoracle.md +++ b/docs/models/destinationoracle.md @@ -12,5 +12,6 @@ | `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *Optional[str]* | :heavy_minus_sign: | The password associated with the username. | | | `port` | *Optional[int]* | :heavy_minus_sign: | The port of the database. | 1521 | +| `raw_data_schema` | *Optional[str]* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal) | | | `schema` | *Optional[str]* | :heavy_minus_sign: | The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is "airbyte". In Oracle, schemas and users are the same thing, so the "user" parameter is used as the login credentials and this is used for the default Airbyte message schema. | airbyte | | `tunnel_method` | [Optional[Union[models.DestinationOracleNoTunnel, models.DestinationOracleSSHKeyAuthentication, models.DestinationOraclePasswordAuthentication]]](../models/destinationoraclesshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | \ No newline at end of file diff --git a/docs/models/destinationpatchrequest.md b/docs/models/destinationpatchrequest.md index 4678e185..f3f72a36 100644 --- a/docs/models/destinationpatchrequest.md +++ b/docs/models/destinationpatchrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `configuration` | [Optional[Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate]]](../models/destinationconfiguration.md) | :heavy_minus_sign: | The values required to configure the destination. | {
"user": "charles"
} | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Optional[Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate, models.DestinationYellowbrick]]](../models/destinationconfiguration.md) | :heavy_minus_sign: | The values required to configure the destination. | {
"user": "charles"
} | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/destinationpostgres.md b/docs/models/destinationpostgres.md index 13d053f0..778c4cdf 100644 --- a/docs/models/destinationpostgres.md +++ b/docs/models/destinationpostgres.md @@ -10,6 +10,7 @@ | `username` | *str* | :heavy_check_mark: | Username to use to access the database. | | | `destination_type` | [models.Postgres](../models/postgres.md) | :heavy_check_mark: | N/A | | | `disable_type_dedupe` | *Optional[bool]* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `drop_cascade` | *Optional[bool]* | :heavy_minus_sign: | Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects. | | | `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | | `password` | *Optional[str]* | :heavy_minus_sign: | Password associated with the username. | | | `port` | *Optional[int]* | :heavy_minus_sign: | Port of the database. | 5432 | diff --git a/docs/models/destinationputrequest.md b/docs/models/destinationputrequest.md index b49dd8ee..1a0a10e4 100644 --- a/docs/models/destinationputrequest.md +++ b/docs/models/destinationputrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | -| `name` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate, models.DestinationYellowbrick]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | +| `name` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/destinationredshift.md b/docs/models/destinationredshift.md index 6b64b2b1..40c1f41b 100644 --- a/docs/models/destinationredshift.md +++ b/docs/models/destinationredshift.md @@ -3,18 +3,17 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `database` | *str* | :heavy_check_mark: | Name of the database. | | -| `host` | *str* | :heavy_check_mark: | Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com) | | -| `password` | *str* | :heavy_check_mark: | Password associated with the username. | | -| `username` | *str* | :heavy_check_mark: | Username to use to access the database. | | -| `destination_type` | [models.Redshift](../models/redshift.md) | :heavy_check_mark: | N/A | | -| `disable_type_dedupe` | *Optional[bool]* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | -| `enable_incremental_final_table_updates` | *Optional[bool]* | :heavy_minus_sign: | When enabled your data will load into your final tables incrementally while your data is still being synced. When Disabled (the default), your data loads into your final tables once at the end of a sync. Note that this option only applies if you elect to create Final tables | | -| `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | -| `port` | *Optional[int]* | :heavy_minus_sign: | Port of the database. | 5439 | -| `raw_data_schema` | *Optional[str]* | :heavy_minus_sign: | The schema to write raw tables into | | -| `schema` | *Optional[str]* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". | public | -| `tunnel_method` | [Optional[Union[models.DestinationRedshiftNoTunnel, models.DestinationRedshiftSSHKeyAuthentication, models.DestinationRedshiftPasswordAuthentication]]](../models/destinationredshiftsshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | -| `uploading_method` | [Optional[Union[models.AWSS3Staging, models.Standard]]](../models/uploadingmethod.md) | :heavy_minus_sign: | The way data will be uploaded to Redshift. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `database` | *str* | :heavy_check_mark: | Name of the database. | | +| `host` | *str* | :heavy_check_mark: | Host Endpoint of the Redshift Cluster (must include the cluster-id, region and end with .redshift.amazonaws.com) | | +| `password` | *str* | :heavy_check_mark: | Password associated with the username. | | +| `username` | *str* | :heavy_check_mark: | Username to use to access the database. | | +| `destination_type` | [models.Redshift](../models/redshift.md) | :heavy_check_mark: | N/A | | +| `disable_type_dedupe` | *Optional[bool]* | :heavy_minus_sign: | Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions | | +| `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `port` | *Optional[int]* | :heavy_minus_sign: | Port of the database. | 5439 | +| `raw_data_schema` | *Optional[str]* | :heavy_minus_sign: | The schema to write raw tables into (default: airbyte_internal). | | +| `schema` | *Optional[str]* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is "public". | public | +| `tunnel_method` | [Optional[Union[models.DestinationRedshiftNoTunnel, models.DestinationRedshiftSSHKeyAuthentication, models.DestinationRedshiftPasswordAuthentication]]](../models/destinationredshiftsshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | +| `uploading_method` | [Optional[Union[models.AWSS3Staging, models.Standard]]](../models/uploadingmethod.md) | :heavy_minus_sign: | The way data will be uploaded to Redshift. | | \ No newline at end of file diff --git a/docs/models/destinationresponse.md b/docs/models/destinationresponse.md index a28c6156..be73f5f8 100644 --- a/docs/models/destinationresponse.md +++ b/docs/models/destinationresponse.md @@ -5,10 +5,10 @@ Provides details of a single destination. ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | -| `destination_id` | *str* | :heavy_check_mark: | N/A | | -| `destination_type` | *str* | :heavy_check_mark: | N/A | | -| `name` | *str* | :heavy_check_mark: | N/A | | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.DestinationGoogleSheets, models.DestinationAstra, models.DestinationAwsDatalake, models.DestinationAzureBlobStorage, models.DestinationBigquery, models.DestinationClickhouse, models.DestinationConvex, models.DestinationDatabricks, models.DestinationDevNull, models.DestinationDuckdb, models.DestinationDynamodb, models.DestinationElasticsearch, models.DestinationFirestore, models.DestinationGcs, models.DestinationLangchain, models.DestinationMilvus, models.DestinationMongodb, models.DestinationMssql, models.DestinationMysql, models.DestinationOracle, models.DestinationPinecone, models.DestinationPostgres, models.DestinationPubsub, models.DestinationQdrant, models.DestinationRedis, models.DestinationRedshift, models.DestinationS3, models.DestinationS3Glue, models.DestinationSftpJSON, models.DestinationSnowflake, models.DestinationTeradata, models.DestinationTypesense, models.DestinationVectara, models.DestinationWeaviate, models.DestinationYellowbrick]](../models/destinationconfiguration.md) | :heavy_check_mark: | The values required to configure the destination. | {
"user": "charles"
} | +| `destination_id` | *str* | :heavy_check_mark: | N/A | | +| `destination_type` | *str* | :heavy_check_mark: | N/A | | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/destinationyellowbrick.md b/docs/models/destinationyellowbrick.md new file mode 100644 index 00000000..e6c55500 --- /dev/null +++ b/docs/models/destinationyellowbrick.md @@ -0,0 +1,18 @@ +# DestinationYellowbrick + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `database` | *str* | :heavy_check_mark: | Name of the database. | | +| `host` | *str* | :heavy_check_mark: | Hostname of the database. | | +| `username` | *str* | :heavy_check_mark: | Username to use to access the database. | | +| `destination_type` | [models.Yellowbrick](../models/yellowbrick.md) | :heavy_check_mark: | N/A | | +| `jdbc_url_params` | *Optional[str]* | :heavy_minus_sign: | Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3). | | +| `password` | *Optional[str]* | :heavy_minus_sign: | Password associated with the username. | | +| `port` | *Optional[int]* | :heavy_minus_sign: | Port of the database. | 5432 | +| `schema` | *Optional[str]* | :heavy_minus_sign: | The default schema tables are written to if the source does not specify a namespace. The usual value for this field is "public". | public | +| `ssl` | *Optional[bool]* | :heavy_minus_sign: | Encrypt data using SSL. When activating SSL, please select one of the connection modes. | | +| `ssl_mode` | [Optional[Union[models.DestinationYellowbrickDisable, models.DestinationYellowbrickAllow, models.DestinationYellowbrickPrefer, models.DestinationYellowbrickRequire, models.DestinationYellowbrickVerifyCa, models.DestinationYellowbrickVerifyFull]]](../models/destinationyellowbricksslmodes.md) | :heavy_minus_sign: | SSL connection modes.
disable - Chose this mode to disable encryption of communication between Airbyte and destination database
allow - Chose this mode to enable encryption only when required by the source database
prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption
require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail
verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate
verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server
See more information - in the docs. | | +| `tunnel_method` | [Optional[Union[models.DestinationYellowbrickNoTunnel, models.DestinationYellowbrickSSHKeyAuthentication, models.DestinationYellowbrickPasswordAuthentication]]](../models/destinationyellowbricksshtunnelmethod.md) | :heavy_minus_sign: | Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. | | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickallow.md b/docs/models/destinationyellowbrickallow.md new file mode 100644 index 00000000..ec575c6f --- /dev/null +++ b/docs/models/destinationyellowbrickallow.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickAllow + +Allow SSL mode. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `mode` | [Optional[models.DestinationYellowbrickSchemasMode]](../models/destinationyellowbrickschemasmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickdisable.md b/docs/models/destinationyellowbrickdisable.md new file mode 100644 index 00000000..17d02fc6 --- /dev/null +++ b/docs/models/destinationyellowbrickdisable.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickDisable + +Disable SSL. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `mode` | [Optional[models.DestinationYellowbrickMode]](../models/destinationyellowbrickmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourceharvestharvest.md b/docs/models/destinationyellowbrickmode.md similarity index 54% rename from docs/models/sourceharvestharvest.md rename to docs/models/destinationyellowbrickmode.md index 4b1048e3..7b3358d4 100644 --- a/docs/models/sourceharvestharvest.md +++ b/docs/models/destinationyellowbrickmode.md @@ -1,8 +1,8 @@ -# SourceHarvestHarvest +# DestinationYellowbrickMode ## Values | Name | Value | | --------- | --------- | -| `HARVEST` | harvest | \ No newline at end of file +| `DISABLE` | disable | \ No newline at end of file diff --git a/docs/models/destinationyellowbricknotunnel.md b/docs/models/destinationyellowbricknotunnel.md new file mode 100644 index 00000000..3e693999 --- /dev/null +++ b/docs/models/destinationyellowbricknotunnel.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickNoTunnel + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `tunnel_method` | [models.DestinationYellowbrickTunnelMethod](../models/destinationyellowbricktunnelmethod.md) | :heavy_check_mark: | No ssh tunnel needed to connect to database | \ No newline at end of file diff --git a/docs/models/sourcequickbooks.md b/docs/models/destinationyellowbrickpasswordauthentication.md similarity index 54% rename from docs/models/sourcequickbooks.md rename to docs/models/destinationyellowbrickpasswordauthentication.md index a044c1f0..00d82dc8 100644 --- a/docs/models/sourcequickbooks.md +++ b/docs/models/destinationyellowbrickpasswordauthentication.md @@ -1,11 +1,12 @@ -# SourceQuickbooks +# DestinationYellowbrickPasswordAuthentication ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `credentials` | [Union[models.SourceQuickbooksOAuth20]](../models/sourcequickbooksauthorizationmethod.md) | :heavy_check_mark: | N/A | | -| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated. | 2021-03-20T00:00:00Z | -| `sandbox` | *Optional[bool]* | :heavy_minus_sign: | Determines whether to use the sandbox or production environment. | | -| `source_type` | [models.Quickbooks](../models/quickbooks.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `tunnel_host` | *str* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnel_user` | *str* | :heavy_check_mark: | OS-level username for logging into the jump server host | | +| `tunnel_user_password` | *str* | :heavy_check_mark: | OS-level password for logging into the jump server host | | +| `tunnel_method` | [models.DestinationYellowbrickSchemasTunnelMethodTunnelMethod](../models/destinationyellowbrickschemastunnelmethodtunnelmethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and password authentication | | +| `tunnel_port` | *Optional[int]* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickprefer.md b/docs/models/destinationyellowbrickprefer.md new file mode 100644 index 00000000..01803b01 --- /dev/null +++ b/docs/models/destinationyellowbrickprefer.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickPrefer + +Prefer SSL mode. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional[models.DestinationYellowbrickSchemasSslModeMode]](../models/destinationyellowbrickschemassslmodemode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickrequire.md b/docs/models/destinationyellowbrickrequire.md new file mode 100644 index 00000000..adecb3eb --- /dev/null +++ b/docs/models/destinationyellowbrickrequire.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickRequire + +Require SSL mode. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional[models.DestinationYellowbrickSchemasSSLModeSSLModesMode]](../models/destinationyellowbrickschemassslmodesslmodesmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemasmode.md b/docs/models/destinationyellowbrickschemasmode.md new file mode 100644 index 00000000..06b0b58d --- /dev/null +++ b/docs/models/destinationyellowbrickschemasmode.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickSchemasMode + + +## Values + +| Name | Value | +| ------- | ------- | +| `ALLOW` | allow | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemassslmodemode.md b/docs/models/destinationyellowbrickschemassslmodemode.md new file mode 100644 index 00000000..e26794f9 --- /dev/null +++ b/docs/models/destinationyellowbrickschemassslmodemode.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickSchemasSslModeMode + + +## Values + +| Name | Value | +| -------- | -------- | +| `PREFER` | prefer | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemassslmodesslmodes5mode.md b/docs/models/destinationyellowbrickschemassslmodesslmodes5mode.md new file mode 100644 index 00000000..81215df4 --- /dev/null +++ b/docs/models/destinationyellowbrickschemassslmodesslmodes5mode.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickSchemasSSLModeSSLModes5Mode + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `VERIFY_CA` | verify-ca | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemassslmodesslmodes6mode.md b/docs/models/destinationyellowbrickschemassslmodesslmodes6mode.md new file mode 100644 index 00000000..f9f9a8cb --- /dev/null +++ b/docs/models/destinationyellowbrickschemassslmodesslmodes6mode.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickSchemasSSLModeSSLModes6Mode + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `VERIFY_FULL` | verify-full | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemassslmodesslmodesmode.md b/docs/models/destinationyellowbrickschemassslmodesslmodesmode.md new file mode 100644 index 00000000..f9724bc3 --- /dev/null +++ b/docs/models/destinationyellowbrickschemassslmodesslmodesmode.md @@ -0,0 +1,8 @@ +# DestinationYellowbrickSchemasSSLModeSSLModesMode + + +## Values + +| Name | Value | +| --------- | --------- | +| `REQUIRE` | require | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemastunnelmethod.md b/docs/models/destinationyellowbrickschemastunnelmethod.md new file mode 100644 index 00000000..b37eb710 --- /dev/null +++ b/docs/models/destinationyellowbrickschemastunnelmethod.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickSchemasTunnelMethod + +Connect through a jump server tunnel host using username and ssh key + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `SSH_KEY_AUTH` | SSH_KEY_AUTH | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickschemastunnelmethodtunnelmethod.md b/docs/models/destinationyellowbrickschemastunnelmethodtunnelmethod.md new file mode 100644 index 00000000..71472411 --- /dev/null +++ b/docs/models/destinationyellowbrickschemastunnelmethodtunnelmethod.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickSchemasTunnelMethodTunnelMethod + +Connect through a jump server tunnel host using username and password authentication + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `SSH_PASSWORD_AUTH` | SSH_PASSWORD_AUTH | \ No newline at end of file diff --git a/docs/models/destinationyellowbricksshkeyauthentication.md b/docs/models/destinationyellowbricksshkeyauthentication.md new file mode 100644 index 00000000..c3c9c6b7 --- /dev/null +++ b/docs/models/destinationyellowbricksshkeyauthentication.md @@ -0,0 +1,12 @@ +# DestinationYellowbrickSSHKeyAuthentication + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `ssh_key` | *str* | :heavy_check_mark: | OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) | | +| `tunnel_host` | *str* | :heavy_check_mark: | Hostname of the jump server host that allows inbound ssh tunnel. | | +| `tunnel_user` | *str* | :heavy_check_mark: | OS-level username for logging into the jump server host. | | +| `tunnel_method` | [models.DestinationYellowbrickSchemasTunnelMethod](../models/destinationyellowbrickschemastunnelmethod.md) | :heavy_check_mark: | Connect through a jump server tunnel host using username and ssh key | | +| `tunnel_port` | *Optional[int]* | :heavy_minus_sign: | Port on the proxy/jump server that accepts inbound ssh connections. | 22 | \ No newline at end of file diff --git a/docs/models/destinationyellowbricksshtunnelmethod.md b/docs/models/destinationyellowbricksshtunnelmethod.md new file mode 100644 index 00000000..7f795f68 --- /dev/null +++ b/docs/models/destinationyellowbricksshtunnelmethod.md @@ -0,0 +1,25 @@ +# DestinationYellowbrickSSHTunnelMethod + +Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + + +## Supported Types + +### DestinationYellowbrickNoTunnel + +```python +destinationYellowbrickSSHTunnelMethod: models.DestinationYellowbrickNoTunnel = /* values here */ +``` + +### DestinationYellowbrickSSHKeyAuthentication + +```python +destinationYellowbrickSSHTunnelMethod: models.DestinationYellowbrickSSHKeyAuthentication = /* values here */ +``` + +### DestinationYellowbrickPasswordAuthentication + +```python +destinationYellowbrickSSHTunnelMethod: models.DestinationYellowbrickPasswordAuthentication = /* values here */ +``` + diff --git a/docs/models/destinationyellowbricksslmodes.md b/docs/models/destinationyellowbricksslmodes.md new file mode 100644 index 00000000..b6ded302 --- /dev/null +++ b/docs/models/destinationyellowbricksslmodes.md @@ -0,0 +1,50 @@ +# DestinationYellowbrickSSLModes + +SSL connection modes. + disable - Chose this mode to disable encryption of communication between Airbyte and destination database + allow - Chose this mode to enable encryption only when required by the source database + prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption + require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail + verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate + verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server + See more information - in the docs. + + +## Supported Types + +### DestinationYellowbrickDisable + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickDisable = /* values here */ +``` + +### DestinationYellowbrickAllow + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickAllow = /* values here */ +``` + +### DestinationYellowbrickPrefer + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickPrefer = /* values here */ +``` + +### DestinationYellowbrickRequire + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickRequire = /* values here */ +``` + +### DestinationYellowbrickVerifyCa + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickVerifyCa = /* values here */ +``` + +### DestinationYellowbrickVerifyFull + +```python +destinationYellowbrickSSLModes: models.DestinationYellowbrickVerifyFull = /* values here */ +``` + diff --git a/docs/models/destinationyellowbricktunnelmethod.md b/docs/models/destinationyellowbricktunnelmethod.md new file mode 100644 index 00000000..1b7d375b --- /dev/null +++ b/docs/models/destinationyellowbricktunnelmethod.md @@ -0,0 +1,10 @@ +# DestinationYellowbrickTunnelMethod + +No ssh tunnel needed to connect to database + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `NO_TUNNEL` | NO_TUNNEL | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickverifyca.md b/docs/models/destinationyellowbrickverifyca.md new file mode 100644 index 00000000..a7d232a9 --- /dev/null +++ b/docs/models/destinationyellowbrickverifyca.md @@ -0,0 +1,12 @@ +# DestinationYellowbrickVerifyCa + +Verify-ca SSL mode. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `ca_certificate` | *str* | :heavy_check_mark: | CA certificate | +| `client_key_password` | *Optional[str]* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional[models.DestinationYellowbrickSchemasSSLModeSSLModes5Mode]](../models/destinationyellowbrickschemassslmodesslmodes5mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationyellowbrickverifyfull.md b/docs/models/destinationyellowbrickverifyfull.md new file mode 100644 index 00000000..9a56fe01 --- /dev/null +++ b/docs/models/destinationyellowbrickverifyfull.md @@ -0,0 +1,14 @@ +# DestinationYellowbrickVerifyFull + +Verify-full SSL mode. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `ca_certificate` | *str* | :heavy_check_mark: | CA certificate | +| `client_certificate` | *str* | :heavy_check_mark: | Client certificate | +| `client_key` | *str* | :heavy_check_mark: | Client key | +| `client_key_password` | *Optional[str]* | :heavy_minus_sign: | Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically. | +| `mode` | [Optional[models.DestinationYellowbrickSchemasSSLModeSSLModes6Mode]](../models/destinationyellowbrickschemassslmodesslmodes6mode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/filetype.md b/docs/models/filetype.md index 927790b9..12eaecf8 100644 --- a/docs/models/filetype.md +++ b/docs/models/filetype.md @@ -1,11 +1,8 @@ -# FileType - -The file type you want to sync. Currently only 'csv' and 'json' files are supported. +# Filetype ## Values -| Name | Value | -| ------ | ------ | -| `CSV` | csv | -| `JSON` | json | \ No newline at end of file +| Name | Value | +| ----- | ----- | +| `CSV` | csv | \ No newline at end of file diff --git a/docs/models/harvest.md b/docs/models/harvest.md index 2de79ed0..d15c3e20 100644 --- a/docs/models/harvest.md +++ b/docs/models/harvest.md @@ -1,8 +1,8 @@ # Harvest -## Fields +## Values -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `credentials` | [Optional[models.HarvestCredentials]](../models/harvestcredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Name | Value | +| --------- | --------- | +| `HARVEST` | harvest | \ No newline at end of file diff --git a/docs/models/harvestcredentials.md b/docs/models/harvestcredentials.md deleted file mode 100644 index 73cf0d37..00000000 --- a/docs/models/harvestcredentials.md +++ /dev/null @@ -1,9 +0,0 @@ -# HarvestCredentials - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `client_id` | *Optional[str]* | :heavy_minus_sign: | The Client ID of your Harvest developer application. | -| `client_secret` | *Optional[str]* | :heavy_minus_sign: | The Client Secret of your Harvest developer application. | \ No newline at end of file diff --git a/docs/models/initiateoauthrequest.md b/docs/models/initiateoauthrequest.md index 96e8e71e..b90d3863 100644 --- a/docs/models/initiateoauthrequest.md +++ b/docs/models/initiateoauthrequest.md @@ -5,9 +5,9 @@ POST body for initiating OAuth via the public API ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `redirect_url` | *str* | :heavy_check_mark: | The URL to redirect the user to with the OAuth secret stored in the secret_id query string parameter after authentication is complete. | | -| `source_type` | [models.OAuthActorNames](../models/oauthactornames.md) | :heavy_check_mark: | N/A | | -| `workspace_id` | *str* | :heavy_check_mark: | The workspace to create the secret and eventually the full source. | | -| `o_auth_input_configuration` | [Optional[models.OAuthInputConfiguration]](../models/oauthinputconfiguration.md) | :heavy_minus_sign: | Arbitrary vars to pass for OAuth depending on what the source/destination spec requires. | {
"host": "test.snowflake.com"
} | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `redirect_url` | *str* | :heavy_check_mark: | The URL to redirect the user to with the OAuth secret stored in the secret_id query string parameter after authentication is complete. | +| `source_type` | [models.OAuthActorNames](../models/oauthactornames.md) | :heavy_check_mark: | N/A | +| `workspace_id` | *str* | :heavy_check_mark: | The workspace to create the secret and eventually the full source. | +| `o_auth_input_configuration` | *Optional[Any]* | :heavy_minus_sign: | The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema. | \ No newline at end of file diff --git a/docs/models/oauthactornames.md b/docs/models/oauthactornames.md index a98ed275..a474ed44 100644 --- a/docs/models/oauthactornames.md +++ b/docs/models/oauthactornames.md @@ -9,6 +9,7 @@ | `AMAZON_ADS` | amazon-ads | | `AMAZON_SELLER_PARTNER` | amazon-seller-partner | | `ASANA` | asana | +| `AZURE_BLOB_STORAGE` | azure-blob-storage | | `BING_ADS` | bing-ads | | `FACEBOOK_MARKETING` | facebook-marketing | | `GITHUB` | github | @@ -18,7 +19,6 @@ | `GOOGLE_DRIVE` | google-drive | | `GOOGLE_SEARCH_CONSOLE` | google-search-console | | `GOOGLE_SHEETS` | google-sheets | -| `HARVEST` | harvest | | `HUBSPOT` | hubspot | | `INSTAGRAM` | instagram | | `INTERCOM` | intercom | diff --git a/docs/models/oauthcredentialsconfiguration.md b/docs/models/oauthcredentialsconfiguration.md index 4245eaa6..0f973255 100644 --- a/docs/models/oauthcredentialsconfiguration.md +++ b/docs/models/oauthcredentialsconfiguration.md @@ -29,6 +29,12 @@ oAuthCredentialsConfiguration: models.AmazonSellerPartner = /* values here */ oAuthCredentialsConfiguration: models.Asana = /* values here */ ``` +### AzureBlobStorage + +```python +oAuthCredentialsConfiguration: models.AzureBlobStorage = /* values here */ +``` + ### BingAds ```python @@ -83,12 +89,6 @@ oAuthCredentialsConfiguration: models.GoogleSearchConsole = /* values here */ oAuthCredentialsConfiguration: models.GoogleSheets = /* values here */ ``` -### Harvest - -```python -oAuthCredentialsConfiguration: models.Harvest = /* values here */ -``` - ### Hubspot ```python diff --git a/docs/models/oauthinputconfiguration.md b/docs/models/oauthinputconfiguration.md deleted file mode 100644 index 6a0a4deb..00000000 --- a/docs/models/oauthinputconfiguration.md +++ /dev/null @@ -1,9 +0,0 @@ -# OAuthInputConfiguration - -Arbitrary vars to pass for OAuth depending on what the source/destination spec requires. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/quickbooks.md b/docs/models/quickbooks.md deleted file mode 100644 index b096585e..00000000 --- a/docs/models/quickbooks.md +++ /dev/null @@ -1,8 +0,0 @@ -# Quickbooks - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `QUICKBOOKS` | quickbooks | \ No newline at end of file diff --git a/docs/models/readchangesusingchangedatacapturecdc.md b/docs/models/readchangesusingchangedatacapturecdc.md index 928fd81a..23bc45fb 100644 --- a/docs/models/readchangesusingchangedatacapturecdc.md +++ b/docs/models/readchangesusingchangedatacapturecdc.md @@ -7,7 +7,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `initial_waiting_seconds` | *Optional[int]* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 2400 seconds. Read about initial waiting time. | +| `initial_waiting_seconds` | *Optional[int]* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about initial waiting time. | | `invalid_cdc_cursor_position_behavior` | [Optional[models.SourceMssqlInvalidCDCPositionBehaviorAdvanced]](../models/sourcemssqlinvalidcdcpositionbehavioradvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | | `method` | [models.SourceMssqlMethod](../models/sourcemssqlmethod.md) | :heavy_check_mark: | N/A | | `queue_size` | *Optional[int]* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | \ No newline at end of file diff --git a/docs/models/rolebasedauthentication.md b/docs/models/rolebasedauthentication.md new file mode 100644 index 00000000..76cf6a39 --- /dev/null +++ b/docs/models/rolebasedauthentication.md @@ -0,0 +1,9 @@ +# RoleBasedAuthentication + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | +| `auth_type` | [Optional[models.SourceDynamodbSchemasAuthType]](../models/sourcedynamodbschemasauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/security.md b/docs/models/security.md index cc5acea4..40f64fc8 100644 --- a/docs/models/security.md +++ b/docs/models/security.md @@ -6,4 +6,5 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | `basic_auth` | [Optional[models.SchemeBasicAuth]](../models/schemebasicauth.md) | :heavy_minus_sign: | N/A | -| `bearer_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `bearer_auth` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `client_credentials` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourceamazonads.md b/docs/models/sourceamazonads.md index 2cf20622..12b90cd2 100644 --- a/docs/models/sourceamazonads.md +++ b/docs/models/sourceamazonads.md @@ -3,17 +3,17 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `client_id` | *str* | :heavy_check_mark: | The client ID of your Amazon Ads developer application. See the docs for more information. | | -| `client_secret` | *str* | :heavy_check_mark: | The client secret of your Amazon Ads developer application. See the docs for more information. | | -| `refresh_token` | *str* | :heavy_check_mark: | Amazon Ads refresh token. See the docs for more information on how to obtain this token. | | -| `auth_type` | [Optional[models.SourceAmazonAdsAuthType]](../models/sourceamazonadsauthtype.md) | :heavy_minus_sign: | N/A | | -| `look_back_window` | *Optional[int]* | :heavy_minus_sign: | The amount of days to go back in time to get the updated data from Amazon Ads | 3 | -| `marketplace_ids` | List[*str*] | :heavy_minus_sign: | Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | -| `profiles` | List[*int*] | :heavy_minus_sign: | Profile IDs you want to fetch data for. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | -| `region` | [Optional[models.Region]](../models/region.md) | :heavy_minus_sign: | Region to pull data from (EU/NA/FE). See docs for more details. | | -| `report_record_types` | List[[models.ReportRecordTypes](../models/reportrecordtypes.md)] | :heavy_minus_sign: | Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See docs for more details | | -| `source_type` | [models.SourceAmazonAdsAmazonAds](../models/sourceamazonadsamazonads.md) | :heavy_check_mark: | N/A | | -| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format | 2022-10-10 | -| `state_filter` | List[[models.StateFilter](../models/statefilter.md)] | :heavy_minus_sign: | Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `client_id` | *str* | :heavy_check_mark: | The client ID of your Amazon Ads developer application. See the docs for more information. | | +| `client_secret` | *str* | :heavy_check_mark: | The client secret of your Amazon Ads developer application. See the docs for more information. | | +| `refresh_token` | *str* | :heavy_check_mark: | Amazon Ads refresh token. See the docs for more information on how to obtain this token. | | +| `auth_type` | [Optional[models.SourceAmazonAdsAuthType]](../models/sourceamazonadsauthtype.md) | :heavy_minus_sign: | N/A | | +| `look_back_window` | *Optional[int]* | :heavy_minus_sign: | The amount of days to go back in time to get the updated data from Amazon Ads | 3 | +| `marketplace_ids` | List[*str*] | :heavy_minus_sign: | Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | +| `profiles` | List[*int*] | :heavy_minus_sign: | Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID. | | +| `region` | [Optional[models.Region]](../models/region.md) | :heavy_minus_sign: | Region to pull data from (EU/NA/FE). See docs for more details. | | +| `report_record_types` | List[[models.ReportRecordTypes](../models/reportrecordtypes.md)] | :heavy_minus_sign: | Optional configuration which accepts an array of string of record types. Leave blank for default behaviour to pull all report types. Use this config option only if you want to pull specific report type(s). See docs for more details | | +| `source_type` | [models.SourceAmazonAdsAmazonAds](../models/sourceamazonadsamazonads.md) | :heavy_check_mark: | N/A | | +| `start_date` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_minus_sign: | The Start date for collecting reports, should not be more than 60 days in the past. In YYYY-MM-DD format | 2022-10-10 | +| `state_filter` | List[[models.StateFilter](../models/statefilter.md)] | :heavy_minus_sign: | Reflects the state of the Display, Product, and Brand Campaign streams as enabled, paused, or archived. If you do not populate this field, it will be ignored completely. | | \ No newline at end of file diff --git a/docs/models/sourceazureblobstorage.md b/docs/models/sourceazureblobstorage.md index ffa33aa1..f98719c7 100644 --- a/docs/models/sourceazureblobstorage.md +++ b/docs/models/sourceazureblobstorage.md @@ -8,9 +8,9 @@ because it is responsible for converting legacy Azure Blob Storage v0 configs in | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `azure_blob_storage_account_key` | *str* | :heavy_check_mark: | The Azure blob storage account key. | Z8ZkZpteggFx394vm+PJHnGTvdRncaYS+JhLKdj789YNmD+iyGTnG+PV+POiuYNhBg/ACS+LKjd%4FG3FHGN12Nd== | | `azure_blob_storage_account_name` | *str* | :heavy_check_mark: | The account's name of the Azure Blob Storage. | airbyte5storage | | `azure_blob_storage_container_name` | *str* | :heavy_check_mark: | The name of the Azure blob storage container. | airbytetescontainername | +| `credentials` | [Union[models.AuthenticateViaOauth2, models.AuthenticateViaStorageAccountKey]](../models/sourceazureblobstorageauthentication.md) | :heavy_check_mark: | Credentials for connecting to the Azure Blob Storage | | | `streams` | List[[models.FileBasedStreamConfig](../models/filebasedstreamconfig.md)] | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | | `azure_blob_storage_endpoint` | *Optional[str]* | :heavy_minus_sign: | This is Azure Blob Storage endpoint domain name. Leave default value (or leave it empty if run container from command line) to use Microsoft native from example. | blob.core.windows.net | | `source_type` | [models.SourceAzureBlobStorageAzureBlobStorage](../models/sourceazureblobstorageazureblobstorage.md) | :heavy_check_mark: | N/A | | diff --git a/docs/models/sourceazureblobstorageauthentication.md b/docs/models/sourceazureblobstorageauthentication.md new file mode 100644 index 00000000..95fa5236 --- /dev/null +++ b/docs/models/sourceazureblobstorageauthentication.md @@ -0,0 +1,19 @@ +# SourceAzureBlobStorageAuthentication + +Credentials for connecting to the Azure Blob Storage + + +## Supported Types + +### AuthenticateViaOauth2 + +```python +sourceAzureBlobStorageAuthentication: models.AuthenticateViaOauth2 = /* values here */ +``` + +### AuthenticateViaStorageAccountKey + +```python +sourceAzureBlobStorageAuthentication: models.AuthenticateViaStorageAccountKey = /* values here */ +``` + diff --git a/docs/models/sourceazureblobstorageauthtype.md b/docs/models/sourceazureblobstorageauthtype.md new file mode 100644 index 00000000..a6dcd6bb --- /dev/null +++ b/docs/models/sourceazureblobstorageauthtype.md @@ -0,0 +1,8 @@ +# SourceAzureBlobStorageAuthType + + +## Values + +| Name | Value | +| -------- | -------- | +| `OAUTH2` | oauth2 | \ No newline at end of file diff --git a/docs/models/sourceazureblobstorageschemasauthtype.md b/docs/models/sourceazureblobstorageschemasauthtype.md new file mode 100644 index 00000000..a6176c71 --- /dev/null +++ b/docs/models/sourceazureblobstorageschemasauthtype.md @@ -0,0 +1,8 @@ +# SourceAzureBlobStorageSchemasAuthType + + +## Values + +| Name | Value | +| --------------------- | --------------------- | +| `STORAGE_ACCOUNT_KEY` | storage_account_key | \ No newline at end of file diff --git a/docs/models/sourceconfiguration.md b/docs/models/sourceconfiguration.md index b2109e11..88561325 100644 --- a/docs/models/sourceconfiguration.md +++ b/docs/models/sourceconfiguration.md @@ -791,12 +791,6 @@ sourceConfiguration: models.SourcePypi = /* values here */ sourceConfiguration: models.SourceQualaroo = /* values here */ ``` -### SourceQuickbooks - -```python -sourceConfiguration: models.SourceQuickbooks = /* values here */ -``` - ### SourceRailz ```python diff --git a/docs/models/sourcecreaterequest.md b/docs/models/sourcecreaterequest.md index fa355a57..5fae4da8 100644 --- a/docs/models/sourcecreaterequest.md +++ b/docs/models/sourcecreaterequest.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceQuickbooks, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | -| `name` | *str* | :heavy_check_mark: | Name of the source e.g. dev-mysql-instance. | | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | | -| `definition_id` | *Optional[str]* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | | -| `secret_id` | *Optional[str]* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | +| `name` | *str* | :heavy_check_mark: | Name of the source e.g. dev-mysql-instance. | | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | +| `definition_id` | *Optional[str]* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | | +| `secret_id` | *Optional[str]* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | \ No newline at end of file diff --git a/docs/models/sourcedynamodb.md b/docs/models/sourcedynamodb.md index 54c57493..0035cb26 100644 --- a/docs/models/sourcedynamodb.md +++ b/docs/models/sourcedynamodb.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `access_key_id` | *str* | :heavy_check_mark: | The access key id to access Dynamodb. Airbyte requires read permissions to the database | A012345678910EXAMPLE | -| `secret_access_key` | *str* | :heavy_check_mark: | The corresponding secret to the access key id. | a012345678910ABCDEFGH/AbCdEfGhEXAMPLEKEY | -| `endpoint` | *Optional[str]* | :heavy_minus_sign: | the URL of the Dynamodb database | https://{aws_dynamo_db_url}.com | -| `region` | [Optional[models.SourceDynamodbDynamodbRegion]](../models/sourcedynamodbdynamodbregion.md) | :heavy_minus_sign: | The region of the Dynamodb database | | -| `reserved_attribute_names` | *Optional[str]* | :heavy_minus_sign: | Comma separated reserved attribute names present in your tables | name, field_name, field-name | -| `source_type` | [models.SourceDynamodbDynamodb](../models/sourcedynamodbdynamodb.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Optional[Union[models.AuthenticateViaAccessKeys, models.RoleBasedAuthentication]]](../models/sourcedynamodbcredentials.md) | :heavy_minus_sign: | Credentials for the service | | +| `endpoint` | *Optional[str]* | :heavy_minus_sign: | the URL of the Dynamodb database | https://{aws_dynamo_db_url}.com | +| `ignore_missing_read_permissions_tables` | *Optional[bool]* | :heavy_minus_sign: | Ignore tables with missing scan/read permissions | | +| `region` | [Optional[models.SourceDynamodbDynamodbRegion]](../models/sourcedynamodbdynamodbregion.md) | :heavy_minus_sign: | The region of the Dynamodb database | | +| `reserved_attribute_names` | *Optional[str]* | :heavy_minus_sign: | Comma separated reserved attribute names present in your tables | name, field_name, field-name | +| `source_type` | [Optional[models.SourceDynamodbDynamodb]](../models/sourcedynamodbdynamodb.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/sourcedynamodbauthtype.md b/docs/models/sourcedynamodbauthtype.md new file mode 100644 index 00000000..2d2e60db --- /dev/null +++ b/docs/models/sourcedynamodbauthtype.md @@ -0,0 +1,8 @@ +# SourceDynamodbAuthType + + +## Values + +| Name | Value | +| ------ | ------ | +| `USER` | User | \ No newline at end of file diff --git a/docs/models/sourcedynamodbcredentials.md b/docs/models/sourcedynamodbcredentials.md new file mode 100644 index 00000000..fc3291ff --- /dev/null +++ b/docs/models/sourcedynamodbcredentials.md @@ -0,0 +1,19 @@ +# SourceDynamodbCredentials + +Credentials for the service + + +## Supported Types + +### AuthenticateViaAccessKeys + +```python +sourceDynamodbCredentials: models.AuthenticateViaAccessKeys = /* values here */ +``` + +### RoleBasedAuthentication + +```python +sourceDynamodbCredentials: models.RoleBasedAuthentication = /* values here */ +``` + diff --git a/docs/models/sourcedynamodbschemasauthtype.md b/docs/models/sourcedynamodbschemasauthtype.md new file mode 100644 index 00000000..9b129f24 --- /dev/null +++ b/docs/models/sourcedynamodbschemasauthtype.md @@ -0,0 +1,8 @@ +# SourceDynamodbSchemasAuthType + + +## Values + +| Name | Value | +| ------ | ------ | +| `ROLE` | Role | \ No newline at end of file diff --git a/docs/models/sourcegooglesheets.md b/docs/models/sourcegooglesheets.md index fe2c6728..0e3d922d 100644 --- a/docs/models/sourcegooglesheets.md +++ b/docs/models/sourcegooglesheets.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Union[models.SourceGoogleSheetsAuthenticateViaGoogleOAuth, models.SourceGoogleSheetsServiceAccountKeyAuthentication]](../models/sourcegooglesheetsauthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Sheets API | | -| `spreadsheet_id` | *str* | :heavy_check_mark: | Enter the link to the Google spreadsheet you want to sync. To copy the link, click the 'Share' button in the top-right corner of the spreadsheet, then click 'Copy link'. | https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG-arw2xy4HR3D-dwUb/edit | -| `names_conversion` | *Optional[bool]* | :heavy_minus_sign: | Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. | | -| `source_type` | [models.SourceGoogleSheetsGoogleSheets](../models/sourcegooglesheetsgooglesheets.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Union[models.SourceGoogleSheetsAuthenticateViaGoogleOAuth, models.SourceGoogleSheetsServiceAccountKeyAuthentication]](../models/sourcegooglesheetsauthentication.md) | :heavy_check_mark: | Credentials for connecting to the Google Sheets API | | +| `spreadsheet_id` | *str* | :heavy_check_mark: | Enter the link to the Google spreadsheet you want to sync. To copy the link, click the 'Share' button in the top-right corner of the spreadsheet, then click 'Copy link'. | https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG-arw2xy4HR3D-dwUb/edit | +| `batch_size` | *Optional[int]* | :heavy_minus_sign: | Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on Google Sheets API limits documentation, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value. | | +| `names_conversion` | *Optional[bool]* | :heavy_minus_sign: | Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based. | | +| `source_type` | [models.SourceGoogleSheetsGoogleSheets](../models/sourcegooglesheetsgooglesheets.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/sourceharvest.md b/docs/models/sourceharvest.md index c55df5f0..83d3fc9d 100644 --- a/docs/models/sourceharvest.md +++ b/docs/models/sourceharvest.md @@ -9,4 +9,4 @@ | `replication_start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | | `credentials` | [Optional[Union[models.AuthenticateViaHarvestOAuth, models.SourceHarvestAuthenticateWithPersonalAccessToken]]](../models/sourceharvestauthenticationmechanism.md) | :heavy_minus_sign: | Choose how to authenticate to Harvest. | | | `replication_end_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. | 2017-01-25T00:00:00Z | -| `source_type` | [models.SourceHarvestHarvest](../models/sourceharvestharvest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `source_type` | [models.Harvest](../models/harvest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/sourceiterable.md b/docs/models/sourceiterable.md index 63c49369..809ca108 100644 --- a/docs/models/sourceiterable.md +++ b/docs/models/sourceiterable.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `api_key` | *str* | :heavy_check_mark: | Iterable API Key. See the docs for more information on how to obtain this key. | | -| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date from which you'd like to replicate data for Iterable, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2021-04-01T00:00:00Z | -| `source_type` | [models.Iterable](../models/iterable.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `api_key` | *str* | :heavy_check_mark: | Iterable API Key. See the docs for more information on how to obtain this key. | | +| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date from which you'd like to replicate data for Iterable, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2021-04-01T00:00:00Z | +| `source_type` | [models.Iterable](../models/iterable.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/sourcemicrosoftsharepointauthenticateviamicrosoftoauth.md b/docs/models/sourcemicrosoftsharepointauthenticateviamicrosoftoauth.md index 0fcfbf57..7aace8ae 100644 --- a/docs/models/sourcemicrosoftsharepointauthenticateviamicrosoftoauth.md +++ b/docs/models/sourcemicrosoftsharepointauthenticateviamicrosoftoauth.md @@ -10,6 +10,6 @@ This class uses pydantic for data validation and settings management. | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | | `client_id` | *str* | :heavy_check_mark: | Client ID of your Microsoft developer application | | `client_secret` | *str* | :heavy_check_mark: | Client Secret of your Microsoft developer application | -| `refresh_token` | *str* | :heavy_check_mark: | Refresh Token of your Microsoft developer application | | `tenant_id` | *str* | :heavy_check_mark: | Tenant ID of the Microsoft SharePoint user | -| `auth_type` | [Optional[models.SourceMicrosoftSharepointAuthType]](../models/sourcemicrosoftsharepointauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `auth_type` | [Optional[models.SourceMicrosoftSharepointAuthType]](../models/sourcemicrosoftsharepointauthtype.md) | :heavy_minus_sign: | N/A | +| `refresh_token` | *Optional[str]* | :heavy_minus_sign: | Refresh Token of your Microsoft developer application | \ No newline at end of file diff --git a/docs/models/sourcemongodbv2.md b/docs/models/sourcemongodbv2.md index 1418e6a4..f3ee42b5 100644 --- a/docs/models/sourcemongodbv2.md +++ b/docs/models/sourcemongodbv2.md @@ -3,11 +3,12 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `database_config` | [Union[models.MongoDBAtlasReplicaSet, models.SelfManagedReplicaSet]](../models/clustertype.md) | :heavy_check_mark: | Configures the MongoDB cluster type. | -| `discover_sample_size` | *Optional[int]* | :heavy_minus_sign: | The maximum number of documents to sample when attempting to discover the unique fields for a collection. | -| `initial_waiting_seconds` | *Optional[int]* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. | -| `invalid_cdc_cursor_position_behavior` | [Optional[models.InvalidCDCPositionBehaviorAdvanced]](../models/invalidcdcpositionbehavioradvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | -| `queue_size` | *Optional[int]* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | -| `source_type` | [models.MongodbV2](../models/mongodbv2.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `database_config` | [Union[models.MongoDBAtlasReplicaSet, models.SelfManagedReplicaSet]](../models/clustertype.md) | :heavy_check_mark: | Configures the MongoDB cluster type. | +| `discover_sample_size` | *Optional[int]* | :heavy_minus_sign: | The maximum number of documents to sample when attempting to discover the unique fields for a collection. | +| `initial_waiting_seconds` | *Optional[int]* | :heavy_minus_sign: | The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 1200 seconds. | +| `invalid_cdc_cursor_position_behavior` | [Optional[models.InvalidCDCPositionBehaviorAdvanced]](../models/invalidcdcpositionbehavioradvanced.md) | :heavy_minus_sign: | Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss. | +| `queue_size` | *Optional[int]* | :heavy_minus_sign: | The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful. | +| `source_type` | [models.MongodbV2](../models/mongodbv2.md) | :heavy_check_mark: | N/A | +| `update_capture_mode` | [Optional[models.CaptureModeAdvanced]](../models/capturemodeadvanced.md) | :heavy_minus_sign: | Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images. | \ No newline at end of file diff --git a/docs/models/sourcenotion.md b/docs/models/sourcenotion.md index 0b478f59..f3a5ca26 100644 --- a/docs/models/sourcenotion.md +++ b/docs/models/sourcenotion.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `credentials` | [Union[models.SourceNotionOAuth20, models.SourceNotionAccessToken]](../models/sourcenotionauthenticationmethod.md) | :heavy_check_mark: | Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information. | | -| `source_type` | [models.SourceNotionNotion](../models/sourcenotionnotion.md) | :heavy_check_mark: | N/A | | +| `credentials` | [Optional[Union[models.SourceNotionOAuth20, models.SourceNotionAccessToken]]](../models/sourcenotionauthenticationmethod.md) | :heavy_minus_sign: | Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information. | | +| `source_type` | [Optional[models.SourceNotionNotion]](../models/sourcenotionnotion.md) | :heavy_minus_sign: | N/A | | | `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date. | 2020-11-16T00:00:00.000Z | \ No newline at end of file diff --git a/docs/models/sourcepatchrequest.md b/docs/models/sourcepatchrequest.md index 5b36b5db..064c2347 100644 --- a/docs/models/sourcepatchrequest.md +++ b/docs/models/sourcepatchrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Optional[Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceQuickbooks, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]]](../models/sourceconfiguration.md) | :heavy_minus_sign: | The values required to configure the source. | {
"user": "charles"
} | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | My source | -| `secret_id` | *Optional[str]* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | | -| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Optional[Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]]](../models/sourceconfiguration.md) | :heavy_minus_sign: | The values required to configure the source. | {
"user": "charles"
} | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | My source | +| `secret_id` | *Optional[str]* | :heavy_minus_sign: | Optional secretID obtained through the OAuth redirect flow. | | +| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/sourceputrequest.md b/docs/models/sourceputrequest.md index d58e5f47..e162570f 100644 --- a/docs/models/sourceputrequest.md +++ b/docs/models/sourceputrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceQuickbooks, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | -| `name` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | +| `name` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/sourcequickbooksauthorizationmethod.md b/docs/models/sourcequickbooksauthorizationmethod.md deleted file mode 100644 index f66970fb..00000000 --- a/docs/models/sourcequickbooksauthorizationmethod.md +++ /dev/null @@ -1,11 +0,0 @@ -# SourceQuickbooksAuthorizationMethod - - -## Supported Types - -### SourceQuickbooksOAuth20 - -```python -sourceQuickbooksAuthorizationMethod: models.SourceQuickbooksOAuth20 = /* values here */ -``` - diff --git a/docs/models/sourcequickbooksoauth20.md b/docs/models/sourcequickbooksoauth20.md deleted file mode 100644 index cd533c98..00000000 --- a/docs/models/sourcequickbooksoauth20.md +++ /dev/null @@ -1,14 +0,0 @@ -# SourceQuickbooksOAuth20 - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `access_token` | *str* | :heavy_check_mark: | Access token for making authenticated requests. | -| `client_id` | *str* | :heavy_check_mark: | Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. | -| `client_secret` | *str* | :heavy_check_mark: | Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production. | -| `realm_id` | *str* | :heavy_check_mark: | Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token. | -| `refresh_token` | *str* | :heavy_check_mark: | A token used when refreshing the access token. | -| `token_expiry_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date-time when the access token should be refreshed. | -| `auth_type` | [Optional[models.SourceQuickbooksAuthType]](../models/sourcequickbooksauthtype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourceresponse.md b/docs/models/sourceresponse.md index 519c91fb..e1e5d995 100644 --- a/docs/models/sourceresponse.md +++ b/docs/models/sourceresponse.md @@ -5,10 +5,10 @@ Provides details of a single source. ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceQuickbooks, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | -| `name` | *str* | :heavy_check_mark: | N/A | | -| `source_id` | *str* | :heavy_check_mark: | N/A | | -| `source_type` | *str* | :heavy_check_mark: | N/A | | -| `workspace_id` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `configuration` | [Union[models.SourceAha, models.SourceAircall, models.SourceAirtable, models.SourceAmazonAds, models.SourceAmazonSellerPartner, models.SourceAmazonSqs, models.SourceAmplitude, models.SourceApifyDataset, models.SourceAppfollow, models.SourceAsana, models.SourceAuth0, models.SourceAwsCloudtrail, models.SourceAzureBlobStorage, models.SourceAzureTable, models.SourceBambooHr, models.SourceBigquery, models.SourceBingAds, models.SourceBraintree, models.SourceBraze, models.SourceCart, models.SourceChargebee, models.SourceChartmogul, models.SourceClickhouse, models.SourceClickupAPI, models.SourceClockify, models.SourceCloseCom, models.SourceCoda, models.SourceCoinAPI, models.SourceCoinmarketcap, models.SourceConfigcat, models.SourceConfluence, models.SourceConvex, models.SourceDatascope, models.SourceDelighted, models.SourceDixa, models.SourceDockerhub, models.SourceDremio, models.SourceDynamodb, Union[models.ContinuousFeed], models.SourceEmailoctopus, models.SourceExchangeRates, models.SourceFacebookMarketing, models.SourceFaker, models.SourceFauna, models.SourceFile, models.SourceFirebolt, models.SourceFreshcaller, models.SourceFreshdesk, models.SourceFreshsales, models.SourceGainsightPx, models.SourceGcs, models.SourceGetlago, models.SourceGithub, models.SourceGitlab, models.SourceGlassfrog, models.SourceGnews, models.SourceGoogleAds, models.SourceGoogleAnalyticsDataAPI, models.SourceGoogleAnalyticsV4ServiceAccountOnly, models.SourceGoogleDirectory, models.SourceGoogleDrive, models.SourceGooglePagespeedInsights, models.SourceGoogleSearchConsole, models.SourceGoogleSheets, models.SourceGoogleWebfonts, models.SourceGreenhouse, models.SourceGridly, models.SourceHarvest, models.SourceHubplanner, models.SourceHubspot, models.SourceInsightly, models.SourceInstagram, models.SourceInstatus, models.SourceIntercom, models.SourceIp2whois, models.SourceIterable, models.SourceJira, models.SourceK6Cloud, models.SourceKlarna, models.SourceKlaviyo, models.SourceKyve, models.SourceLaunchdarkly, models.SourceLemlist, models.SourceLeverHiring, models.SourceLinkedinAds, models.SourceLinkedinPages, models.SourceLinnworks, models.SourceLokalise, models.SourceMailchimp, models.SourceMailgun, models.SourceMailjetSms, models.SourceMarketo, models.SourceMetabase, models.SourceMicrosoftOnedrive, models.SourceMicrosoftSharepoint, models.SourceMicrosoftTeams, models.SourceMixpanel, models.SourceMonday, models.SourceMongodbInternalPoc, models.SourceMongodbV2, models.SourceMssql, models.SourceMyHours, models.SourceMysql, models.SourceNetsuite, models.SourceNotion, models.SourceNytimes, models.SourceOkta, models.SourceOmnisend, models.SourceOnesignal, models.SourceOracle, models.SourceOrb, models.SourceOrbit, models.SourceOutbrainAmplify, models.SourceOutreach, models.SourcePaypalTransaction, models.SourcePaystack, models.SourcePendo, models.SourcePersistiq, models.SourcePexelsAPI, models.SourcePinterest, models.SourcePipedrive, models.SourcePocket, models.SourcePokeapi, models.SourcePolygonStockAPI, models.SourcePostgres, models.SourcePosthog, models.SourcePostmarkapp, models.SourcePrestashop, models.SourcePunkAPI, models.SourcePypi, models.SourceQualaroo, models.SourceRailz, models.SourceRecharge, models.SourceRecreation, models.SourceRecruitee, models.SourceRecurly, models.SourceRedshift, models.SourceRetently, models.SourceRkiCovid, models.SourceRss, models.SourceS3, models.SourceSalesforce, models.SourceSalesloft, models.SourceSapFieldglass, models.SourceSecoda, models.SourceSendgrid, models.SourceSendinblue, models.SourceSenseforce, models.SourceSentry, models.SourceSftp, models.SourceSftpBulk, models.SourceShopify, models.SourceShortio, models.SourceSlack, models.SourceSmaily, models.SourceSmartengage, models.SourceSmartsheets, models.SourceSnapchatMarketing, models.SourceSnowflake, models.SourceSonarCloud, models.SourceSpacexAPI, models.SourceSquare, models.SourceStrava, models.SourceStripe, models.SourceSurveySparrow, models.SourceSurveymonkey, models.SourceTempo, models.SourceTheGuardianAPI, models.SourceTiktokMarketing, models.SourceTrello, models.SourceTrustpilot, models.SourceTvmazeSchedule, models.SourceTwilio, models.SourceTwilioTaskrouter, models.SourceTwitter, models.SourceTypeform, models.SourceUsCensus, models.SourceVantage, models.SourceWebflow, models.SourceWhiskyHunter, models.SourceWikipediaPageviews, models.SourceWoocommerce, models.SourceXkcd, models.SourceYandexMetrica, models.SourceYotpo, models.SourceYoutubeAnalytics, models.SourceZendeskChat, models.SourceZendeskSell, models.SourceZendeskSunshine, models.SourceZendeskSupport, models.SourceZendeskTalk, models.SourceZenloop, models.SourceZohoCrm, models.SourceZoom]](../models/sourceconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | +| `name` | *str* | :heavy_check_mark: | N/A | | +| `source_id` | *str* | :heavy_check_mark: | N/A | | +| `source_type` | *str* | :heavy_check_mark: | N/A | | +| `workspace_id` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/sources3csvformat.md b/docs/models/sources3csvformat.md index 76822a21..b8066c1c 100644 --- a/docs/models/sources3csvformat.md +++ b/docs/models/sources3csvformat.md @@ -12,6 +12,7 @@ | `false_values` | List[*str*] | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | | `filetype` | [Optional[models.SourceS3SchemasStreamsFormatFiletype]](../models/sources3schemasstreamsformatfiletype.md) | :heavy_minus_sign: | N/A | | `header_definition` | [Optional[Union[models.SourceS3FromCSV, models.SourceS3Autogenerated, models.SourceS3UserProvided]]](../models/sources3csvheaderdefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignore_errors_on_fields_mismatch` | *Optional[bool]* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | | `inference_type` | [Optional[models.SourceS3InferenceType]](../models/sources3inferencetype.md) | :heavy_minus_sign: | How to infer the types of the columns. If none, inference default to strings. | | `null_values` | List[*str*] | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | | `quote_char` | *Optional[str]* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | diff --git a/docs/models/sourcesendgrid.md b/docs/models/sourcesendgrid.md index a996e927..b2b7e669 100644 --- a/docs/models/sourcesendgrid.md +++ b/docs/models/sourcesendgrid.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `apikey` | *str* | :heavy_check_mark: | API Key, use admin to generate this key. | | -| `source_type` | [models.Sendgrid](../models/sendgrid.md) | :heavy_check_mark: | N/A | | -| `start_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Start time in ISO8601 format. Any data before this time point will not be replicated. | 2020-01-01T01:01:01Z | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `api_key` | *str* | :heavy_check_mark: | Sendgrid API Key, use admin to generate this key. | +| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | +| `source_type` | [models.Sendgrid](../models/sendgrid.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulk.md b/docs/models/sourcesftpbulk.md index bea2789b..bdc16070 100644 --- a/docs/models/sourcesftpbulk.md +++ b/docs/models/sourcesftpbulk.md @@ -1,20 +1,18 @@ # SourceSftpBulk +Used during spec; allows the developer to configure the cloud provider specific options +that are needed when users configure a file-based source. + ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `host` | *str* | :heavy_check_mark: | The server host address | www.host.com | -| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. | 2017-01-25T00:00:00Z | -| `stream_name` | *str* | :heavy_check_mark: | The name of the stream or table you want to create | ftp_contacts | -| `username` | *str* | :heavy_check_mark: | The server user | | -| `file_most_recent` | *Optional[bool]* | :heavy_minus_sign: | Sync only the most recent file for the configured folder path and file pattern | | -| `file_pattern` | *Optional[str]* | :heavy_minus_sign: | The regular expression to specify files for sync in a chosen Folder Path | log-([0-9]{4})([0-9]{2})([0-9]{2}) - This will filter files which `log-yearmmdd` | -| `file_type` | [Optional[models.FileType]](../models/filetype.md) | :heavy_minus_sign: | The file type you want to sync. Currently only 'csv' and 'json' files are supported. | csv | -| `folder_path` | *Optional[str]* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | -| `password` | *Optional[str]* | :heavy_minus_sign: | OS-level password for logging into the jump server host | | -| `port` | *Optional[int]* | :heavy_minus_sign: | The server port | 22 | -| `private_key` | *Optional[str]* | :heavy_minus_sign: | The private key | | -| `separator` | *Optional[str]* | :heavy_minus_sign: | The separator used in the CSV files. Define None if you want to use the Sniffer functionality | , | -| `source_type` | [models.SftpBulk](../models/sftpbulk.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [Union[models.AuthenticateViaPassword, models.AuthenticateViaPrivateKey]](../models/sourcesftpbulkauthentication.md) | :heavy_check_mark: | Credentials for connecting to the SFTP Server | | +| `host` | *str* | :heavy_check_mark: | The server host address | www.host.com | +| `streams` | List[[models.SourceSftpBulkFileBasedStreamConfig](../models/sourcesftpbulkfilebasedstreamconfig.md)] | :heavy_check_mark: | Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table. | | +| `username` | *str* | :heavy_check_mark: | The server user | | +| `folder_path` | *Optional[str]* | :heavy_minus_sign: | The directory to search files for sync | /logs/2022 | +| `port` | *Optional[int]* | :heavy_minus_sign: | The server port | 22 | +| `source_type` | [models.SftpBulk](../models/sftpbulk.md) | :heavy_check_mark: | N/A | | +| `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated. | 2021-01-01T00:00:00.000000Z | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkauthentication.md b/docs/models/sourcesftpbulkauthentication.md new file mode 100644 index 00000000..181fd7f4 --- /dev/null +++ b/docs/models/sourcesftpbulkauthentication.md @@ -0,0 +1,19 @@ +# SourceSftpBulkAuthentication + +Credentials for connecting to the SFTP Server + + +## Supported Types + +### AuthenticateViaPassword + +```python +sourceSftpBulkAuthentication: models.AuthenticateViaPassword = /* values here */ +``` + +### AuthenticateViaPrivateKey + +```python +sourceSftpBulkAuthentication: models.AuthenticateViaPrivateKey = /* values here */ +``` + diff --git a/docs/models/sourcequickbooksauthtype.md b/docs/models/sourcesftpbulkauthtype.md similarity index 56% rename from docs/models/sourcequickbooksauthtype.md rename to docs/models/sourcesftpbulkauthtype.md index 0c7770a6..955f4492 100644 --- a/docs/models/sourcequickbooksauthtype.md +++ b/docs/models/sourcesftpbulkauthtype.md @@ -1,8 +1,8 @@ -# SourceQuickbooksAuthType +# SourceSftpBulkAuthType ## Values | Name | Value | | ---------- | ---------- | -| `OAUTH2_0` | oauth2.0 | \ No newline at end of file +| `PASSWORD` | password | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkautogenerated.md b/docs/models/sourcesftpbulkautogenerated.md new file mode 100644 index 00000000..7435ab37 --- /dev/null +++ b/docs/models/sourcesftpbulkautogenerated.md @@ -0,0 +1,8 @@ +# SourceSftpBulkAutogenerated + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `header_definition_type` | [Optional[models.SourceSftpBulkSchemasHeaderDefinitionType]](../models/sourcesftpbulkschemasheaderdefinitiontype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkavroformat.md b/docs/models/sourcesftpbulkavroformat.md new file mode 100644 index 00000000..8d845fa7 --- /dev/null +++ b/docs/models/sourcesftpbulkavroformat.md @@ -0,0 +1,9 @@ +# SourceSftpBulkAvroFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `double_as_string` | *Optional[bool]* | :heavy_minus_sign: | Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers. | +| `filetype` | [Optional[models.SourceSftpBulkFiletype]](../models/sourcesftpbulkfiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkcsvformat.md b/docs/models/sourcesftpbulkcsvformat.md new file mode 100644 index 00000000..aab635d8 --- /dev/null +++ b/docs/models/sourcesftpbulkcsvformat.md @@ -0,0 +1,22 @@ +# SourceSftpBulkCSVFormat + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `delimiter` | *Optional[str]* | :heavy_minus_sign: | The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'. | +| `double_quote` | *Optional[bool]* | :heavy_minus_sign: | Whether two quotes in a quoted CSV value denote a single quote in the data. | +| `encoding` | *Optional[str]* | :heavy_minus_sign: | The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options. | +| `escape_char` | *Optional[str]* | :heavy_minus_sign: | The character used for escaping special characters. To disallow escaping, leave this field blank. | +| `false_values` | List[*str*] | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as false values. | +| `filetype` | [Optional[models.SourceSftpBulkSchemasFiletype]](../models/sourcesftpbulkschemasfiletype.md) | :heavy_minus_sign: | N/A | +| `header_definition` | [Optional[Union[models.SourceSftpBulkFromCSV, models.SourceSftpBulkAutogenerated, models.SourceSftpBulkUserProvided]]](../models/sourcesftpbulkcsvheaderdefinition.md) | :heavy_minus_sign: | How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. | +| `ignore_errors_on_fields_mismatch` | *Optional[bool]* | :heavy_minus_sign: | Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema. | +| `inference_type` | [Optional[models.SourceSftpBulkInferenceType]](../models/sourcesftpbulkinferencetype.md) | :heavy_minus_sign: | How to infer the types of the columns. If none, inference default to strings. | +| `null_values` | List[*str*] | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field. | +| `quote_char` | *Optional[str]* | :heavy_minus_sign: | The character used for quoting CSV values. To disallow quoting, make this field blank. | +| `skip_rows_after_header` | *Optional[int]* | :heavy_minus_sign: | The number of rows to skip after the header row. | +| `skip_rows_before_header` | *Optional[int]* | :heavy_minus_sign: | The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field. | +| `strings_can_be_null` | *Optional[bool]* | :heavy_minus_sign: | Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself. | +| `true_values` | List[*str*] | :heavy_minus_sign: | A set of case-sensitive strings that should be interpreted as true values. | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkcsvheaderdefinition.md b/docs/models/sourcesftpbulkcsvheaderdefinition.md new file mode 100644 index 00000000..c7ec5d2a --- /dev/null +++ b/docs/models/sourcesftpbulkcsvheaderdefinition.md @@ -0,0 +1,25 @@ +# SourceSftpBulkCSVHeaderDefinition + +How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows. + + +## Supported Types + +### SourceSftpBulkFromCSV + +```python +sourceSftpBulkCSVHeaderDefinition: models.SourceSftpBulkFromCSV = /* values here */ +``` + +### SourceSftpBulkAutogenerated + +```python +sourceSftpBulkCSVHeaderDefinition: models.SourceSftpBulkAutogenerated = /* values here */ +``` + +### SourceSftpBulkUserProvided + +```python +sourceSftpBulkCSVHeaderDefinition: models.SourceSftpBulkUserProvided = /* values here */ +``` + diff --git a/docs/models/sourcesftpbulkdocumentfiletypeformatexperimental.md b/docs/models/sourcesftpbulkdocumentfiletypeformatexperimental.md new file mode 100644 index 00000000..9f734408 --- /dev/null +++ b/docs/models/sourcesftpbulkdocumentfiletypeformatexperimental.md @@ -0,0 +1,13 @@ +# SourceSftpBulkDocumentFileTypeFormatExperimental + +Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional[models.SourceSftpBulkSchemasStreamsFormatFormatFiletype]](../models/sourcesftpbulkschemasstreamsformatformatfiletype.md) | :heavy_minus_sign: | N/A | +| `processing` | [Optional[Union[models.SourceSftpBulkLocal, models.ViaAPI]]](../models/sourcesftpbulkprocessing.md) | :heavy_minus_sign: | Processing configuration | +| `skip_unprocessable_files` | *Optional[bool]* | :heavy_minus_sign: | If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync. | +| `strategy` | [Optional[models.SourceSftpBulkParsingStrategy]](../models/sourcesftpbulkparsingstrategy.md) | :heavy_minus_sign: | The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkfilebasedstreamconfig.md b/docs/models/sourcesftpbulkfilebasedstreamconfig.md new file mode 100644 index 00000000..9a6e1d69 --- /dev/null +++ b/docs/models/sourcesftpbulkfilebasedstreamconfig.md @@ -0,0 +1,16 @@ +# SourceSftpBulkFileBasedStreamConfig + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `format` | [Union[models.SourceSftpBulkAvroFormat, models.SourceSftpBulkCSVFormat, models.SourceSftpBulkJsonlFormat, models.SourceSftpBulkParquetFormat, models.SourceSftpBulkDocumentFileTypeFormatExperimental]](../models/sourcesftpbulkformat.md) | :heavy_check_mark: | The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. | +| `name` | *str* | :heavy_check_mark: | The name of the stream. | +| `days_to_sync_if_history_is_full` | *Optional[int]* | :heavy_minus_sign: | When the state history of the file store is full, syncs will only read files that were last modified in the provided day range. | +| `globs` | List[*str*] | :heavy_minus_sign: | The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here. | +| `input_schema` | *Optional[str]* | :heavy_minus_sign: | The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files. | +| `legacy_prefix` | *Optional[str]* | :heavy_minus_sign: | The path prefix configured in v3 versions of the S3 connector. This option is deprecated in favor of a single glob. | +| `primary_key` | *Optional[str]* | :heavy_minus_sign: | The column or columns (for a composite key) that serves as the unique identifier of a record. If empty, the primary key will default to the parser's default primary key. | +| `schemaless` | *Optional[bool]* | :heavy_minus_sign: | When enabled, syncs will not validate or structure records against the stream's schema. | +| `validation_policy` | [Optional[models.SourceSftpBulkValidationPolicy]](../models/sourcesftpbulkvalidationpolicy.md) | :heavy_minus_sign: | The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkfiletype.md b/docs/models/sourcesftpbulkfiletype.md new file mode 100644 index 00000000..0b7876e6 --- /dev/null +++ b/docs/models/sourcesftpbulkfiletype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkFiletype + + +## Values + +| Name | Value | +| ------ | ------ | +| `AVRO` | avro | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkformat.md b/docs/models/sourcesftpbulkformat.md new file mode 100644 index 00000000..0362c006 --- /dev/null +++ b/docs/models/sourcesftpbulkformat.md @@ -0,0 +1,37 @@ +# SourceSftpBulkFormat + +The configuration options that are used to alter how to read incoming files that deviate from the standard formatting. + + +## Supported Types + +### SourceSftpBulkAvroFormat + +```python +sourceSftpBulkFormat: models.SourceSftpBulkAvroFormat = /* values here */ +``` + +### SourceSftpBulkCSVFormat + +```python +sourceSftpBulkFormat: models.SourceSftpBulkCSVFormat = /* values here */ +``` + +### SourceSftpBulkJsonlFormat + +```python +sourceSftpBulkFormat: models.SourceSftpBulkJsonlFormat = /* values here */ +``` + +### SourceSftpBulkParquetFormat + +```python +sourceSftpBulkFormat: models.SourceSftpBulkParquetFormat = /* values here */ +``` + +### SourceSftpBulkDocumentFileTypeFormatExperimental + +```python +sourceSftpBulkFormat: models.SourceSftpBulkDocumentFileTypeFormatExperimental = /* values here */ +``` + diff --git a/docs/models/sourcesftpbulkfromcsv.md b/docs/models/sourcesftpbulkfromcsv.md new file mode 100644 index 00000000..85086a92 --- /dev/null +++ b/docs/models/sourcesftpbulkfromcsv.md @@ -0,0 +1,8 @@ +# SourceSftpBulkFromCSV + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `header_definition_type` | [Optional[models.SourceSftpBulkHeaderDefinitionType]](../models/sourcesftpbulkheaderdefinitiontype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkheaderdefinitiontype.md b/docs/models/sourcesftpbulkheaderdefinitiontype.md new file mode 100644 index 00000000..2dafabec --- /dev/null +++ b/docs/models/sourcesftpbulkheaderdefinitiontype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkHeaderDefinitionType + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `FROM_CSV` | From CSV | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkinferencetype.md b/docs/models/sourcesftpbulkinferencetype.md new file mode 100644 index 00000000..57571b94 --- /dev/null +++ b/docs/models/sourcesftpbulkinferencetype.md @@ -0,0 +1,11 @@ +# SourceSftpBulkInferenceType + +How to infer the types of the columns. If none, inference default to strings. + + +## Values + +| Name | Value | +| ---------------------- | ---------------------- | +| `NONE` | None | +| `PRIMITIVE_TYPES_ONLY` | Primitive Types Only | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkjsonlformat.md b/docs/models/sourcesftpbulkjsonlformat.md new file mode 100644 index 00000000..4e5b3d5d --- /dev/null +++ b/docs/models/sourcesftpbulkjsonlformat.md @@ -0,0 +1,8 @@ +# SourceSftpBulkJsonlFormat + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `filetype` | [Optional[models.SourceSftpBulkSchemasStreamsFiletype]](../models/sourcesftpbulkschemasstreamsfiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulklocal.md b/docs/models/sourcesftpbulklocal.md new file mode 100644 index 00000000..c90cd664 --- /dev/null +++ b/docs/models/sourcesftpbulklocal.md @@ -0,0 +1,10 @@ +# SourceSftpBulkLocal + +Process files locally, supporting `fast` and `ocr` modes. This is the default option. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `mode` | [Optional[models.SourceSftpBulkMode]](../models/sourcesftpbulkmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkmode.md b/docs/models/sourcesftpbulkmode.md new file mode 100644 index 00000000..cf7d4bb5 --- /dev/null +++ b/docs/models/sourcesftpbulkmode.md @@ -0,0 +1,8 @@ +# SourceSftpBulkMode + + +## Values + +| Name | Value | +| ------- | ------- | +| `LOCAL` | local | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkparquetformat.md b/docs/models/sourcesftpbulkparquetformat.md new file mode 100644 index 00000000..bcae5424 --- /dev/null +++ b/docs/models/sourcesftpbulkparquetformat.md @@ -0,0 +1,9 @@ +# SourceSftpBulkParquetFormat + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| `decimal_as_float` | *Optional[bool]* | :heavy_minus_sign: | Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended. | +| `filetype` | [Optional[models.SourceSftpBulkSchemasStreamsFormatFiletype]](../models/sourcesftpbulkschemasstreamsformatfiletype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkparsingstrategy.md b/docs/models/sourcesftpbulkparsingstrategy.md new file mode 100644 index 00000000..9a13a5e3 --- /dev/null +++ b/docs/models/sourcesftpbulkparsingstrategy.md @@ -0,0 +1,13 @@ +# SourceSftpBulkParsingStrategy + +The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `AUTO` | auto | +| `FAST` | fast | +| `OCR_ONLY` | ocr_only | +| `HI_RES` | hi_res | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkprocessing.md b/docs/models/sourcesftpbulkprocessing.md new file mode 100644 index 00000000..2e402526 --- /dev/null +++ b/docs/models/sourcesftpbulkprocessing.md @@ -0,0 +1,19 @@ +# SourceSftpBulkProcessing + +Processing configuration + + +## Supported Types + +### SourceSftpBulkLocal + +```python +sourceSftpBulkProcessing: models.SourceSftpBulkLocal = /* values here */ +``` + +### ViaAPI + +```python +sourceSftpBulkProcessing: models.ViaAPI = /* values here */ +``` + diff --git a/docs/models/sourcesftpbulkschemasauthtype.md b/docs/models/sourcesftpbulkschemasauthtype.md new file mode 100644 index 00000000..d32ac4b5 --- /dev/null +++ b/docs/models/sourcesftpbulkschemasauthtype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasAuthType + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `PRIVATE_KEY` | private_key | \ No newline at end of file diff --git a/docs/models/sources3schemasformatfileformatfiletype.md b/docs/models/sourcesftpbulkschemasfiletype.md similarity index 61% rename from docs/models/sources3schemasformatfileformatfiletype.md rename to docs/models/sourcesftpbulkschemasfiletype.md index eee657ef..8dd96013 100644 --- a/docs/models/sources3schemasformatfileformatfiletype.md +++ b/docs/models/sourcesftpbulkschemasfiletype.md @@ -1,4 +1,4 @@ -# SourceS3SchemasFormatFileFormatFiletype +# SourceSftpBulkSchemasFiletype ## Values diff --git a/docs/models/sourcesftpbulkschemasheaderdefinitiontype.md b/docs/models/sourcesftpbulkschemasheaderdefinitiontype.md new file mode 100644 index 00000000..c53b881c --- /dev/null +++ b/docs/models/sourcesftpbulkschemasheaderdefinitiontype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasHeaderDefinitionType + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `AUTOGENERATED` | Autogenerated | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkschemasmode.md b/docs/models/sourcesftpbulkschemasmode.md new file mode 100644 index 00000000..446f81ba --- /dev/null +++ b/docs/models/sourcesftpbulkschemasmode.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasMode + + +## Values + +| Name | Value | +| ----- | ----- | +| `API` | api | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkschemasstreamsfiletype.md b/docs/models/sourcesftpbulkschemasstreamsfiletype.md new file mode 100644 index 00000000..2649bdb3 --- /dev/null +++ b/docs/models/sourcesftpbulkschemasstreamsfiletype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasStreamsFiletype + + +## Values + +| Name | Value | +| ------- | ------- | +| `JSONL` | jsonl | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkschemasstreamsformatfiletype.md b/docs/models/sourcesftpbulkschemasstreamsformatfiletype.md new file mode 100644 index 00000000..2f292656 --- /dev/null +++ b/docs/models/sourcesftpbulkschemasstreamsformatfiletype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasStreamsFormatFiletype + + +## Values + +| Name | Value | +| --------- | --------- | +| `PARQUET` | parquet | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkschemasstreamsformatformatfiletype.md b/docs/models/sourcesftpbulkschemasstreamsformatformatfiletype.md new file mode 100644 index 00000000..d411e1af --- /dev/null +++ b/docs/models/sourcesftpbulkschemasstreamsformatformatfiletype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasStreamsFormatFormatFiletype + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `UNSTRUCTURED` | unstructured | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md b/docs/models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md new file mode 100644 index 00000000..783b70e7 --- /dev/null +++ b/docs/models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md @@ -0,0 +1,8 @@ +# SourceSftpBulkSchemasStreamsHeaderDefinitionType + + +## Values + +| Name | Value | +| --------------- | --------------- | +| `USER_PROVIDED` | User Provided | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkuserprovided.md b/docs/models/sourcesftpbulkuserprovided.md new file mode 100644 index 00000000..18fd3917 --- /dev/null +++ b/docs/models/sourcesftpbulkuserprovided.md @@ -0,0 +1,9 @@ +# SourceSftpBulkUserProvided + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `column_names` | List[*str*] | :heavy_check_mark: | The column names that will be used while emitting the CSV records | +| `header_definition_type` | [Optional[models.SourceSftpBulkSchemasStreamsHeaderDefinitionType]](../models/sourcesftpbulkschemasstreamsheaderdefinitiontype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sourcesftpbulkvalidationpolicy.md b/docs/models/sourcesftpbulkvalidationpolicy.md new file mode 100644 index 00000000..83d970f5 --- /dev/null +++ b/docs/models/sourcesftpbulkvalidationpolicy.md @@ -0,0 +1,12 @@ +# SourceSftpBulkValidationPolicy + +The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema. + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `EMIT_RECORD` | Emit Record | +| `SKIP_RECORD` | Skip Record | +| `WAIT_FOR_DISCOVER` | Wait for Discover | \ No newline at end of file diff --git a/docs/models/sourceslack.md b/docs/models/sourceslack.md index 3af0a32c..2bc97d0d 100644 --- a/docs/models/sourceslack.md +++ b/docs/models/sourceslack.md @@ -8,6 +8,7 @@ | `start_date` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. | 2017-01-25T00:00:00Z | | `channel_filter` | List[*str*] | :heavy_minus_sign: | A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter. | channel_one | | `credentials` | [Optional[Union[models.SignInViaSlackOAuth, models.SourceSlackAPIToken]]](../models/sourceslackauthenticationmechanism.md) | :heavy_minus_sign: | Choose how to authenticate into Slack | | +| `include_private_channels` | *Optional[bool]* | :heavy_minus_sign: | Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels. | | | `join_channels` | *Optional[bool]* | :heavy_minus_sign: | Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages. | | | `lookback_window` | *Optional[int]* | :heavy_minus_sign: | How far into the past to look for messages in threads, default is 0 days | 7 | | `source_type` | [models.SourceSlackSlack](../models/sourceslackslack.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/streampropertiesresponse.md b/docs/models/streampropertiesresponse.md deleted file mode 100644 index 5ee46b0b..00000000 --- a/docs/models/streampropertiesresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# StreamPropertiesResponse - -A list of stream properties. - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `streams` | List[[models.StreamProperties](../models/streamproperties.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/viaapi.md b/docs/models/viaapi.md new file mode 100644 index 00000000..0827ddd1 --- /dev/null +++ b/docs/models/viaapi.md @@ -0,0 +1,13 @@ +# ViaAPI + +Process files via an API, using the `hi_res` mode. This option is useful for increased performance and accuracy, but requires an API key and a hosted instance of unstructured. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `api_key` | *Optional[str]* | :heavy_minus_sign: | The API key to use matching the environment | | +| `api_url` | *Optional[str]* | :heavy_minus_sign: | The URL of the unstructured API to use | https://api.unstructured.com | +| `mode` | [Optional[models.SourceSftpBulkSchemasMode]](../models/sourcesftpbulkschemasmode.md) | :heavy_minus_sign: | N/A | | +| `parameters` | List[[models.APIParameterConfigModel](../models/apiparameterconfigmodel.md)] | :heavy_minus_sign: | List of parameters send to the API | | \ No newline at end of file diff --git a/docs/models/workspaceoauthcredentialsrequest.md b/docs/models/workspaceoauthcredentialsrequest.md index 27f05bdf..90a978d1 100644 --- a/docs/models/workspaceoauthcredentialsrequest.md +++ b/docs/models/workspaceoauthcredentialsrequest.md @@ -5,8 +5,8 @@ POST body for creating/updating workspace level OAuth credentials ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `actor_type` | [models.ActorTypeEnum](../models/actortypeenum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | | -| `configuration` | [Union[models.Airtable, models.AmazonAds, models.AmazonSellerPartner, models.Asana, models.BingAds, models.FacebookMarketing, models.Github, models.Gitlab, models.GoogleAds, models.GoogleAnalyticsDataAPI, models.GoogleDrive, models.GoogleSearchConsole, models.GoogleSheets, models.Harvest, models.Hubspot, models.Instagram, models.Intercom, models.LeverHiring, models.LinkedinAds, models.Mailchimp, models.MicrosoftOnedrive, models.MicrosoftSharepoint, models.MicrosoftTeams, models.Monday, models.Notion, models.Pinterest, models.Retently, models.Salesforce, models.Shopify, models.Slack, models.Smartsheets, models.SnapchatMarketing, models.Snowflake, models.Square, models.Strava, models.Surveymonkey, models.TiktokMarketing, Any, models.Typeform, models.YoutubeAnalytics, models.ZendeskChat, models.ZendeskSunshine, models.ZendeskSupport, models.ZendeskTalk]](../models/oauthcredentialsconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | -| `name` | [models.OAuthActorNames](../models/oauthactornames.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `actor_type` | [models.ActorTypeEnum](../models/actortypeenum.md) | :heavy_check_mark: | Whether you're setting this override for a source or destination | | +| `configuration` | [Union[models.Airtable, models.AmazonAds, models.AmazonSellerPartner, models.Asana, models.AzureBlobStorage, models.BingAds, models.FacebookMarketing, models.Github, models.Gitlab, models.GoogleAds, models.GoogleAnalyticsDataAPI, models.GoogleDrive, models.GoogleSearchConsole, models.GoogleSheets, models.Hubspot, models.Instagram, models.Intercom, models.LeverHiring, models.LinkedinAds, models.Mailchimp, models.MicrosoftOnedrive, models.MicrosoftSharepoint, models.MicrosoftTeams, models.Monday, models.Notion, models.Pinterest, models.Retently, models.Salesforce, models.Shopify, models.Slack, models.Smartsheets, models.SnapchatMarketing, models.Snowflake, models.Square, models.Strava, models.Surveymonkey, models.TiktokMarketing, Any, models.Typeform, models.YoutubeAnalytics, models.ZendeskChat, models.ZendeskSunshine, models.ZendeskSupport, models.ZendeskTalk]](../models/oauthcredentialsconfiguration.md) | :heavy_check_mark: | The values required to configure the source. | {
"user": "charles"
} | +| `name` | [models.OAuthActorNames](../models/oauthactornames.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/yellowbrick.md b/docs/models/yellowbrick.md new file mode 100644 index 00000000..78e5c13c --- /dev/null +++ b/docs/models/yellowbrick.md @@ -0,0 +1,8 @@ +# Yellowbrick + + +## Values + +| Name | Value | +| ------------- | ------------- | +| `YELLOWBRICK` | yellowbrick | \ No newline at end of file diff --git a/docs/sdks/airbyteapi/README.md b/docs/sdks/airbyteapi/README.md index d29ba0f9..06ba6ae7 100644 --- a/docs/sdks/airbyteapi/README.md +++ b/docs/sdks/airbyteapi/README.md @@ -3,7 +3,7 @@ ## Overview -airbyte-api: Programmatically control Airbyte Cloud, OSS & Enterprise. +airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise. ### Available Operations diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index b8c7c0f3..bff0a837 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -28,13 +28,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.ConnectionCreateRequest( - destination_id='c669dd1e-3620-483e-afc8-55914e0a570f', - source_id='6dd427d8-3a55-4584-b835-842325b6c7b3', +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', namespace_format='${SOURCE_NAMESPACE}', -) - -res = s.connections.create_connection(req) +)) if res.connection_response is not None: # handle response @@ -77,11 +76,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.DeleteConnectionRequest( +res = s.connections.delete_connection(request=api.DeleteConnectionRequest( connection_id='', -) - -res = s.connections.delete_connection(req) +)) if res is not None: # handle response @@ -124,11 +121,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetConnectionRequest( +res = s.connections.get_connection(request=api.GetConnectionRequest( connection_id='', -) - -res = s.connections.get_connection(req) +)) if res.connection_response is not None: # handle response @@ -171,9 +166,7 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.ListConnectionsRequest() - -res = s.connections.list_connections(req) +res = s.connections.list_connections(request=api.ListConnectionsRequest()) if res.connections_response is not None: # handle response @@ -216,14 +209,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.PatchConnectionRequest( +res = s.connections.patch_connection(request=api.PatchConnectionRequest( connection_patch_request=models.ConnectionPatchRequest( namespace_format='${SOURCE_NAMESPACE}', ), connection_id='', -) - -res = s.connections.patch_connection(req) +)) if res.connection_response is not None: # handle response diff --git a/docs/sdks/destinations/README.md b/docs/sdks/destinations/README.md index e57d837c..fde198ad 100644 --- a/docs/sdks/destinations/README.md +++ b/docs/sdks/destinations/README.md @@ -29,7 +29,7 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.DestinationCreateRequest( +res = s.destinations.create_destination(request=models.DestinationCreateRequest( configuration=models.DestinationGoogleSheets( credentials=models.AuthenticationViaGoogleOAuth( client_id='', @@ -38,11 +38,9 @@ req = models.DestinationCreateRequest( ), spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', ), - name='', - workspace_id='8360860a-d46e-48e6-af62-08e5ba5019ef', -) - -res = s.destinations.create_destination(req) + name='Postgres', + workspace_id='2155ae5a-de39-4808-af6a-16fe7b8b4ed2', +)) if res.destination_response is not None: # handle response @@ -85,11 +83,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.DeleteDestinationRequest( +res = s.destinations.delete_destination(request=api.DeleteDestinationRequest( destination_id='', -) - -res = s.destinations.delete_destination(req) +)) if res is not None: # handle response @@ -132,11 +128,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetDestinationRequest( +res = s.destinations.get_destination(request=api.GetDestinationRequest( destination_id='', -) - -res = s.destinations.get_destination(req) +)) if res.destination_response is not None: # handle response @@ -179,9 +173,7 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.ListDestinationsRequest() - -res = s.destinations.list_destinations(req) +res = s.destinations.list_destinations(request=api.ListDestinationsRequest()) if res.destinations_response is not None: # handle response @@ -224,11 +216,19 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.PatchDestinationRequest( +res = s.destinations.patch_destination(request=api.PatchDestinationRequest( destination_id='', -) - -res = s.destinations.patch_destination(req) + destination_patch_request=models.DestinationPatchRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + ), +)) if res.destination_response is not None: # handle response @@ -271,11 +271,20 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.PutDestinationRequest( +res = s.destinations.put_destination(request=api.PutDestinationRequest( destination_id='', -) - -res = s.destinations.put_destination(req) + destination_put_request=models.DestinationPutRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + name='', + ), +)) if res.destination_response is not None: # handle response diff --git a/docs/sdks/jobs/README.md b/docs/sdks/jobs/README.md index b34e8b4c..8117987c 100644 --- a/docs/sdks/jobs/README.md +++ b/docs/sdks/jobs/README.md @@ -27,11 +27,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.CancelJobRequest( +res = s.jobs.cancel_job(request=api.CancelJobRequest( job_id=801771, -) - -res = s.jobs.cancel_job(req) +)) if res.job_response is not None: # handle response @@ -74,12 +72,10 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.JobCreateRequest( - connection_id='18dccc91-0ab1-4f72-9ed7-0b8fc27c5826', +res = s.jobs.create_job(request=models.JobCreateRequest( + connection_id='e735894a-e773-4938-969f-45f53957b75b', job_type=models.JobTypeEnum.SYNC, -) - -res = s.jobs.create_job(req) +)) if res.job_response is not None: # handle response @@ -122,11 +118,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetJobRequest( +res = s.jobs.get_job(request=api.GetJobRequest( job_id=131101, -) - -res = s.jobs.get_job(req) +)) if res.job_response is not None: # handle response @@ -158,6 +152,7 @@ List Jobs by sync type ```python import airbyte_api +import dateutil.parser from airbyte_api import api, models s = airbyte_api.AirbyteAPI( @@ -169,9 +164,13 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.ListJobsRequest() - -res = s.jobs.list_jobs(req) +res = s.jobs.list_jobs(request=api.ListJobsRequest( + created_at_end=dateutil.parser.isoparse('1687450500000'), + created_at_start=dateutil.parser.isoparse('1687450500000'), + order_by='updatedAt|DESC', + updated_at_end=dateutil.parser.isoparse('1687450500000'), + updated_at_start=dateutil.parser.isoparse('1687450500000'), +)) if res.jobs_response is not None: # handle response diff --git a/docs/sdks/public/README.md b/docs/sdks/public/README.md new file mode 100644 index 00000000..24c49764 --- /dev/null +++ b/docs/sdks/public/README.md @@ -0,0 +1,1483 @@ +# Public +(*public*) + +### Available Operations + +* [cancel_job](#cancel_job) - Cancel a running Job +* [create_connection](#create_connection) - Create a connection +* [create_destination](#create_destination) - Create a destination +* [create_job](#create_job) - Trigger a sync or reset job of a connection +* [create_or_update_workspace_o_auth_credentials](#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type. +* [create_source](#create_source) - Create a source +* [create_workspace](#create_workspace) - Create a workspace +* [delete_connection](#delete_connection) - Delete a Connection +* [delete_destination](#delete_destination) - Delete a Destination +* [delete_source](#delete_source) - Delete a Source +* [delete_workspace](#delete_workspace) - Delete a Workspace +* [get_connection](#get_connection) - Get Connection details +* [get_destination](#get_destination) - Get Destination details +* [get_job](#get_job) - Get Job status and details +* [get_source](#get_source) - Get Source details +* [get_stream_properties](#get_stream_properties) - Get stream properties +* [get_workspace](#get_workspace) - Get Workspace details +* [initiate_o_auth](#initiate_o_auth) - Initiate OAuth for a source +* [list_connections](#list_connections) - List connections +* [list_destinations](#list_destinations) - List destinations +* [list_jobs](#list_jobs) - List Jobs by sync type +* [list_sources](#list_sources) - List sources +* [list_workspaces](#list_workspaces) - List workspaces +* [patch_connection](#patch_connection) - Update Connection details +* [patch_destination](#patch_destination) - Update a Destination +* [patch_source](#patch_source) - Update a Source +* [put_destination](#put_destination) - Update a Destination and fully overwrite it +* [put_source](#put_source) - Update a Source and fully overwrite it +* [update_workspace](#update_workspace) - Update a workspace + +## cancel_job + +Cancel a running Job + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.cancel_job(request=api.CancelJobRequest( + job_id=801771, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.CancelJobRequest](../../api/canceljobrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CancelJobResponse](../../api/canceljobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_connection + +Create a connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', + namespace_format='${SOURCE_NAMESPACE}', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [models.ConnectionCreateRequest](../../models/connectioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateConnectionResponse](../../api/createconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_destination + +Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_destination(request=models.DestinationCreateRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + name='Postgres', + workspace_id='2155ae5a-de39-4808-af6a-16fe7b8b4ed2', +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [models.DestinationCreateRequest](../../models/destinationcreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateDestinationResponse](../../api/createdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_job + +Trigger a sync or reset job of a connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_job(request=models.JobCreateRequest( + connection_id='e735894a-e773-4938-969f-45f53957b75b', + job_type=models.JobTypeEnum.SYNC, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [models.JobCreateRequest](../../models/jobcreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateJobResponse](../../api/createjobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_or_update_workspace_o_auth_credentials + +Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth. +In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_or_update_workspace_o_auth_credentials(request=api.CreateOrUpdateWorkspaceOAuthCredentialsRequest( + workspace_o_auth_credentials_request=models.WorkspaceOAuthCredentialsRequest( + actor_type=models.ActorTypeEnum.DESTINATION, + configuration=models.Airtable(), + name=models.OAuthActorNames.AMAZON_ADS, + ), + workspace_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `request` | [api.CreateOrUpdateWorkspaceOAuthCredentialsRequest](../../api/createorupdateworkspaceoauthcredentialsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateOrUpdateWorkspaceOAuthCredentialsResponse](../../api/createorupdateworkspaceoauthcredentialsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_source + +Creates a source given a name, workspace id, and a json blob containing the configuration for the source. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_source(request=models.SourceCreateRequest( + configuration=models.SourceAha( + api_key='', + url='https://complicated-seat.org', + ), + name='My Source', + workspace_id='744cc0ed-7f05-4949-9e60-2a814f90c035', +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [models.SourceCreateRequest](../../models/sourcecreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateSourceResponse](../../api/createsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_workspace + +Create a workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.create_workspace(request=models.WorkspaceCreateRequest( + name='Company Workspace Name', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [models.WorkspaceCreateRequest](../../models/workspacecreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateWorkspaceResponse](../../api/createworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_connection + +Delete a Connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.delete_connection(request=api.DeleteConnectionRequest( + connection_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.DeleteConnectionRequest](../../api/deleteconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteConnectionResponse](../../api/deleteconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_destination + +Delete a Destination + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.delete_destination(request=api.DeleteDestinationRequest( + destination_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `request` | [api.DeleteDestinationRequest](../../api/deletedestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteDestinationResponse](../../api/deletedestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_source + +Delete a Source + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.delete_source(request=api.DeleteSourceRequest( + source_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [api.DeleteSourceRequest](../../api/deletesourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteSourceResponse](../../api/deletesourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_workspace + +Delete a Workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.delete_workspace(request=api.DeleteWorkspaceRequest( + workspace_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.DeleteWorkspaceRequest](../../api/deleteworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteWorkspaceResponse](../../api/deleteworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_connection + +Get Connection details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_connection(request=api.GetConnectionRequest( + connection_id='', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `request` | [api.GetConnectionRequest](../../api/getconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetConnectionResponse](../../api/getconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_destination + +Get Destination details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_destination(request=api.GetDestinationRequest( + destination_id='', +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.GetDestinationRequest](../../api/getdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetDestinationResponse](../../api/getdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_job + +Get Job status and details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_job(request=api.GetJobRequest( + job_id=131101, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `request` | [api.GetJobRequest](../../api/getjobrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetJobResponse](../../api/getjobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_source + +Get Source details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_source(request=api.GetSourceRequest( + source_id='', +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.GetSourceRequest](../../api/getsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetSourceResponse](../../api/getsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_stream_properties + +Get stream properties + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_stream_properties(request=api.GetStreamPropertiesRequest( + source_id='', +)) + +if res.stream_properties_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [api.GetStreamPropertiesRequest](../../api/getstreampropertiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetStreamPropertiesResponse](../../api/getstreampropertiesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_workspace + +Get Workspace details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.get_workspace(request=api.GetWorkspaceRequest( + workspace_id='', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [api.GetWorkspaceRequest](../../api/getworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetWorkspaceResponse](../../api/getworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## initiate_o_auth + +Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source. + +This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter. + +That secret ID can be used to create a source with credentials in place of actual tokens. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.initiate_o_auth(request=models.InitiateOauthRequest( + redirect_url='https://cloud.airbyte.io/v1/api/oauth/callback', + source_type=models.OAuthActorNames.GITLAB, + workspace_id='871d9b60-11d1-44cb-8c92-c246d53bf87e', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [models.InitiateOauthRequest](../../models/initiateoauthrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.InitiateOAuthResponse](../../api/initiateoauthresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_connections + +List connections + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.list_connections(request=api.ListConnectionsRequest()) + +if res.connections_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.ListConnectionsRequest](../../api/listconnectionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListConnectionsResponse](../../api/listconnectionsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_destinations + +List destinations + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.list_destinations(request=api.ListDestinationsRequest()) + +if res.destinations_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.ListDestinationsRequest](../../api/listdestinationsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListDestinationsResponse](../../api/listdestinationsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_jobs + +List Jobs by sync type + +### Example Usage + +```python +import airbyte_api +import dateutil.parser +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.list_jobs(request=api.ListJobsRequest( + created_at_end=dateutil.parser.isoparse('1687450500000'), + created_at_start=dateutil.parser.isoparse('1687450500000'), + order_by='updatedAt|DESC', + updated_at_end=dateutil.parser.isoparse('1687450500000'), + updated_at_start=dateutil.parser.isoparse('1687450500000'), +)) + +if res.jobs_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `request` | [api.ListJobsRequest](../../api/listjobsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListJobsResponse](../../api/listjobsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_sources + +List sources + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.list_sources(request=api.ListSourcesRequest( + workspace_ids=[ + 'd', + 'f', + '0', + '8', + 'f', + '6', + 'b', + '0', + '-', + 'b', + '3', + '6', + '4', + '-', + '4', + 'c', + 'c', + '1', + '-', + '9', + 'b', + '3', + 'f', + '-', + '9', + '6', + 'f', + '5', + 'd', + '2', + 'f', + 'c', + 'c', + 'f', + 'b', + '2', + ',', + 'b', + '0', + '7', + '9', + '6', + '7', + '9', + '7', + '-', + 'd', + 'e', + '2', + '3', + '-', + '4', + 'f', + 'c', + '7', + '-', + 'a', + '5', + 'e', + '2', + '-', + '7', + 'e', + '1', + '3', + '1', + '3', + '1', + '4', + '7', + '1', + '8', + 'c', + ], +)) + +if res.sources_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `request` | [api.ListSourcesRequest](../../api/listsourcesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListSourcesResponse](../../api/listsourcesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_workspaces + +List workspaces + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.list_workspaces(request=api.ListWorkspacesRequest()) + +if res.workspaces_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.ListWorkspacesRequest](../../api/listworkspacesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListWorkspacesResponse](../../api/listworkspacesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_connection + +Update Connection details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.patch_connection(request=api.PatchConnectionRequest( + connection_patch_request=models.ConnectionPatchRequest( + namespace_format='${SOURCE_NAMESPACE}', + ), + connection_id='', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.PatchConnectionRequest](../../api/patchconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchConnectionResponse](../../api/patchconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_destination + +Update a Destination + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.patch_destination(request=api.PatchDestinationRequest( + destination_id='', + destination_patch_request=models.DestinationPatchRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + ), +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.PatchDestinationRequest](../../api/patchdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchDestinationResponse](../../api/patchdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_source + +Update a Source + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.patch_source(request=api.PatchSourceRequest( + source_id='', + source_patch_request=models.SourcePatchRequest( + configuration=models.SourceAha( + api_key='', + url='http://apprehensive-visa.net', + ), + name='My source', + ), +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `request` | [api.PatchSourceRequest](../../api/patchsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchSourceResponse](../../api/patchsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## put_destination + +Update a Destination and fully overwrite it + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.put_destination(request=api.PutDestinationRequest( + destination_id='', + destination_put_request=models.DestinationPutRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + name='', + ), +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.PutDestinationRequest](../../api/putdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PutDestinationResponse](../../api/putdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## put_source + +Update a Source and fully overwrite it + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.put_source(request=api.PutSourceRequest( + source_id='', + source_put_request=models.SourcePutRequest( + configuration=models.SourceAha( + api_key='', + url='http://alienated-traveler.name', + ), + name='', + ), +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.PutSourceRequest](../../api/putsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PutSourceResponse](../../api/putsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## update_workspace + +Update a workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public.update_workspace(request=api.UpdateWorkspaceRequest( + workspace_update_request=models.WorkspaceUpdateRequest( + name='', + ), + workspace_id='', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.UpdateWorkspaceRequest](../../api/updateworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.UpdateWorkspaceResponse](../../api/updateworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicconnections/README.md b/docs/sdks/publicconnections/README.md new file mode 100644 index 00000000..b92209a4 --- /dev/null +++ b/docs/sdks/publicconnections/README.md @@ -0,0 +1,239 @@ +# PublicConnections +(*public_connections*) + +### Available Operations + +* [create_connection](#create_connection) - Create a connection +* [delete_connection](#delete_connection) - Delete a Connection +* [get_connection](#get_connection) - Get Connection details +* [list_connections](#list_connections) - List connections +* [patch_connection](#patch_connection) - Update Connection details + +## create_connection + +Create a connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', + source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', + name='Postgres-to-Bigquery', + namespace_format='${SOURCE_NAMESPACE}', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [models.ConnectionCreateRequest](../../models/connectioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateConnectionResponse](../../api/createconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_connection + +Delete a Connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_connections.delete_connection(request=api.DeleteConnectionRequest( + connection_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.DeleteConnectionRequest](../../api/deleteconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteConnectionResponse](../../api/deleteconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_connection + +Get Connection details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_connections.get_connection(request=api.GetConnectionRequest( + connection_id='', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `request` | [api.GetConnectionRequest](../../api/getconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetConnectionResponse](../../api/getconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_connections + +List connections + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_connections.list_connections(request=api.ListConnectionsRequest()) + +if res.connections_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.ListConnectionsRequest](../../api/listconnectionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListConnectionsResponse](../../api/listconnectionsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_connection + +Update Connection details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_connections.patch_connection(request=api.PatchConnectionRequest( + connection_patch_request=models.ConnectionPatchRequest( + namespace_format='${SOURCE_NAMESPACE}', + ), + connection_id='', +)) + +if res.connection_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.PatchConnectionRequest](../../api/patchconnectionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchConnectionResponse](../../api/patchconnectionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicdestinations/README.md b/docs/sdks/publicdestinations/README.md new file mode 100644 index 00000000..a9bcdd97 --- /dev/null +++ b/docs/sdks/publicdestinations/README.md @@ -0,0 +1,309 @@ +# PublicDestinations +(*public_destinations*) + +### Available Operations + +* [create_destination](#create_destination) - Create a destination +* [delete_destination](#delete_destination) - Delete a Destination +* [get_destination](#get_destination) - Get Destination details +* [list_destinations](#list_destinations) - List destinations +* [patch_destination](#patch_destination) - Update a Destination +* [put_destination](#put_destination) - Update a Destination and fully overwrite it + +## create_destination + +Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.create_destination(request=models.DestinationCreateRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + name='Postgres', + workspace_id='2155ae5a-de39-4808-af6a-16fe7b8b4ed2', +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| `request` | [models.DestinationCreateRequest](../../models/destinationcreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateDestinationResponse](../../api/createdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_destination + +Delete a Destination + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.delete_destination(request=api.DeleteDestinationRequest( + destination_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `request` | [api.DeleteDestinationRequest](../../api/deletedestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteDestinationResponse](../../api/deletedestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_destination + +Get Destination details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.get_destination(request=api.GetDestinationRequest( + destination_id='', +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.GetDestinationRequest](../../api/getdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetDestinationResponse](../../api/getdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_destinations + +List destinations + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.list_destinations(request=api.ListDestinationsRequest()) + +if res.destinations_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.ListDestinationsRequest](../../api/listdestinationsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListDestinationsResponse](../../api/listdestinationsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_destination + +Update a Destination + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.patch_destination(request=api.PatchDestinationRequest( + destination_id='', + destination_patch_request=models.DestinationPatchRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + ), +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.PatchDestinationRequest](../../api/patchdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchDestinationResponse](../../api/patchdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## put_destination + +Update a Destination and fully overwrite it + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_destinations.put_destination(request=api.PutDestinationRequest( + destination_id='', + destination_put_request=models.DestinationPutRequest( + configuration=models.DestinationGoogleSheets( + credentials=models.AuthenticationViaGoogleOAuth( + client_id='', + client_secret='', + refresh_token='', + ), + spreadsheet_id='https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG/edit', + ), + name='', + ), +)) + +if res.destination_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.PutDestinationRequest](../../api/putdestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PutDestinationResponse](../../api/putdestinationresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicjobs/README.md b/docs/sdks/publicjobs/README.md new file mode 100644 index 00000000..d63c5463 --- /dev/null +++ b/docs/sdks/publicjobs/README.md @@ -0,0 +1,195 @@ +# PublicJobs +(*public_jobs*) + +### Available Operations + +* [cancel_job](#cancel_job) - Cancel a running Job +* [create_job](#create_job) - Trigger a sync or reset job of a connection +* [get_job](#get_job) - Get Job status and details +* [list_jobs](#list_jobs) - List Jobs by sync type + +## cancel_job + +Cancel a running Job + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_jobs.cancel_job(request=api.CancelJobRequest( + job_id=801771, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.CancelJobRequest](../../api/canceljobrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CancelJobResponse](../../api/canceljobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_job + +Trigger a sync or reset job of a connection + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_jobs.create_job(request=models.JobCreateRequest( + connection_id='e735894a-e773-4938-969f-45f53957b75b', + job_type=models.JobTypeEnum.SYNC, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [models.JobCreateRequest](../../models/jobcreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateJobResponse](../../api/createjobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_job + +Get Job status and details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_jobs.get_job(request=api.GetJobRequest( + job_id=131101, +)) + +if res.job_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| `request` | [api.GetJobRequest](../../api/getjobrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetJobResponse](../../api/getjobresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_jobs + +List Jobs by sync type + +### Example Usage + +```python +import airbyte_api +import dateutil.parser +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_jobs.list_jobs(request=api.ListJobsRequest( + created_at_end=dateutil.parser.isoparse('1687450500000'), + created_at_start=dateutil.parser.isoparse('1687450500000'), + order_by='updatedAt|DESC', + updated_at_end=dateutil.parser.isoparse('1687450500000'), + updated_at_start=dateutil.parser.isoparse('1687450500000'), +)) + +if res.jobs_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | +| `request` | [api.ListJobsRequest](../../api/listjobsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListJobsResponse](../../api/listjobsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicsources/README.md b/docs/sdks/publicsources/README.md new file mode 100644 index 00000000..dbc6a347 --- /dev/null +++ b/docs/sdks/publicsources/README.md @@ -0,0 +1,426 @@ +# PublicSources +(*public_sources*) + +### Available Operations + +* [create_source](#create_source) - Create a source +* [delete_source](#delete_source) - Delete a Source +* [get_source](#get_source) - Get Source details +* [initiate_o_auth](#initiate_o_auth) - Initiate OAuth for a source +* [list_sources](#list_sources) - List sources +* [patch_source](#patch_source) - Update a Source +* [put_source](#put_source) - Update a Source and fully overwrite it + +## create_source + +Creates a source given a name, workspace id, and a json blob containing the configuration for the source. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.create_source(request=models.SourceCreateRequest( + configuration=models.SourceAha( + api_key='', + url='https://complicated-seat.org', + ), + name='My Source', + workspace_id='744cc0ed-7f05-4949-9e60-2a814f90c035', +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [models.SourceCreateRequest](../../models/sourcecreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateSourceResponse](../../api/createsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_source + +Delete a Source + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.delete_source(request=api.DeleteSourceRequest( + source_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [api.DeleteSourceRequest](../../api/deletesourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteSourceResponse](../../api/deletesourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_source + +Get Source details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.get_source(request=api.GetSourceRequest( + source_id='', +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.GetSourceRequest](../../api/getsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetSourceResponse](../../api/getsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## initiate_o_auth + +Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source. + +This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter. + +That secret ID can be used to create a source with credentials in place of actual tokens. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.initiate_o_auth(request=models.InitiateOauthRequest( + redirect_url='https://cloud.airbyte.io/v1/api/oauth/callback', + source_type=models.OAuthActorNames.GITLAB, + workspace_id='871d9b60-11d1-44cb-8c92-c246d53bf87e', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [models.InitiateOauthRequest](../../models/initiateoauthrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.InitiateOAuthResponse](../../api/initiateoauthresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_sources + +List sources + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.list_sources(request=api.ListSourcesRequest( + workspace_ids=[ + 'd', + 'f', + '0', + '8', + 'f', + '6', + 'b', + '0', + '-', + 'b', + '3', + '6', + '4', + '-', + '4', + 'c', + 'c', + '1', + '-', + '9', + 'b', + '3', + 'f', + '-', + '9', + '6', + 'f', + '5', + 'd', + '2', + 'f', + 'c', + 'c', + 'f', + 'b', + '2', + ',', + 'b', + '0', + '7', + '9', + '6', + '7', + '9', + '7', + '-', + 'd', + 'e', + '2', + '3', + '-', + '4', + 'f', + 'c', + '7', + '-', + 'a', + '5', + 'e', + '2', + '-', + '7', + 'e', + '1', + '3', + '1', + '3', + '1', + '4', + '7', + '1', + '8', + 'c', + ], +)) + +if res.sources_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `request` | [api.ListSourcesRequest](../../api/listsourcesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListSourcesResponse](../../api/listsourcesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## patch_source + +Update a Source + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.patch_source(request=api.PatchSourceRequest( + source_id='', + source_patch_request=models.SourcePatchRequest( + configuration=models.SourceAha( + api_key='', + url='http://apprehensive-visa.net', + ), + name='My source', + ), +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `request` | [api.PatchSourceRequest](../../api/patchsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PatchSourceResponse](../../api/patchsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## put_source + +Update a Source and fully overwrite it + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_sources.put_source(request=api.PutSourceRequest( + source_id='', + source_put_request=models.SourcePutRequest( + configuration=models.SourceAha( + api_key='', + url='http://alienated-traveler.name', + ), + name='', + ), +)) + +if res.source_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | +| `request` | [api.PutSourceRequest](../../api/putsourcerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.PutSourceResponse](../../api/putsourceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicstreams/README.md b/docs/sdks/publicstreams/README.md new file mode 100644 index 00000000..7b5024dc --- /dev/null +++ b/docs/sdks/publicstreams/README.md @@ -0,0 +1,51 @@ +# PublicStreams +(*public_streams*) + +### Available Operations + +* [get_stream_properties](#get_stream_properties) - Get stream properties + +## get_stream_properties + +Get stream properties + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_streams.get_stream_properties(request=api.GetStreamPropertiesRequest( + source_id='', +)) + +if res.stream_properties_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `request` | [api.GetStreamPropertiesRequest](../../api/getstreampropertiesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetStreamPropertiesResponse](../../api/getstreampropertiesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/publicworkspaces/README.md b/docs/sdks/publicworkspaces/README.md new file mode 100644 index 00000000..2aa92b9c --- /dev/null +++ b/docs/sdks/publicworkspaces/README.md @@ -0,0 +1,288 @@ +# PublicWorkspaces +(*public_workspaces*) + +### Available Operations + +* [create_or_update_workspace_o_auth_credentials](#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type. +* [create_workspace](#create_workspace) - Create a workspace +* [delete_workspace](#delete_workspace) - Delete a Workspace +* [get_workspace](#get_workspace) - Get Workspace details +* [list_workspaces](#list_workspaces) - List workspaces +* [update_workspace](#update_workspace) - Update a workspace + +## create_or_update_workspace_o_auth_credentials + +Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth. +In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.create_or_update_workspace_o_auth_credentials(request=api.CreateOrUpdateWorkspaceOAuthCredentialsRequest( + workspace_o_auth_credentials_request=models.WorkspaceOAuthCredentialsRequest( + actor_type=models.ActorTypeEnum.DESTINATION, + configuration=models.Airtable(), + name=models.OAuthActorNames.AMAZON_ADS, + ), + workspace_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `request` | [api.CreateOrUpdateWorkspaceOAuthCredentialsRequest](../../api/createorupdateworkspaceoauthcredentialsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateOrUpdateWorkspaceOAuthCredentialsResponse](../../api/createorupdateworkspaceoauthcredentialsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## create_workspace + +Create a workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.create_workspace(request=models.WorkspaceCreateRequest( + name='Company Workspace Name', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `request` | [models.WorkspaceCreateRequest](../../models/workspacecreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.CreateWorkspaceResponse](../../api/createworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## delete_workspace + +Delete a Workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.delete_workspace(request=api.DeleteWorkspaceRequest( + workspace_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.DeleteWorkspaceRequest](../../api/deleteworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeleteWorkspaceResponse](../../api/deleteworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_workspace + +Get Workspace details + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.get_workspace(request=api.GetWorkspaceRequest( + workspace_id='', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `request` | [api.GetWorkspaceRequest](../../api/getworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetWorkspaceResponse](../../api/getworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_workspaces + +List workspaces + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.list_workspaces(request=api.ListWorkspacesRequest()) + +if res.workspaces_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | +| `request` | [api.ListWorkspacesRequest](../../api/listworkspacesrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListWorkspacesResponse](../../api/listworkspacesresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## update_workspace + +Update a workspace + +### Example Usage + +```python +import airbyte_api +from airbyte_api import api, models + +s = airbyte_api.AirbyteAPI( + security=models.Security( + basic_auth=models.SchemeBasicAuth( + password="", + username="", + ), + ), +) + +res = s.public_workspaces.update_workspace(request=api.UpdateWorkspaceRequest( + workspace_update_request=models.WorkspaceUpdateRequest( + name='', + ), + workspace_id='', +)) + +if res.workspace_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.UpdateWorkspaceRequest](../../api/updateworkspacerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.UpdateWorkspaceResponse](../../api/updateworkspaceresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index d684b3b3..cce35e9f 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -30,16 +30,14 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.SourceCreateRequest( +res = s.sources.create_source(request=models.SourceCreateRequest( configuration=models.SourceAha( api_key='', url='https://complicated-seat.org', ), - name='', - workspace_id='0f31f3dd-c984-48c3-8bdf-b109056aa6d6', -) - -res = s.sources.create_source(req) + name='My Source', + workspace_id='744cc0ed-7f05-4949-9e60-2a814f90c035', +)) if res.source_response is not None: # handle response @@ -82,11 +80,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.DeleteSourceRequest( +res = s.sources.delete_source(request=api.DeleteSourceRequest( source_id='', -) - -res = s.sources.delete_source(req) +)) if res is not None: # handle response @@ -129,11 +125,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetSourceRequest( +res = s.sources.get_source(request=api.GetSourceRequest( source_id='', -) - -res = s.sources.get_source(req) +)) if res.source_response is not None: # handle response @@ -180,14 +174,11 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.InitiateOauthRequest( +res = s.sources.initiate_o_auth(request=models.InitiateOauthRequest( redirect_url='https://cloud.airbyte.io/v1/api/oauth/callback', - source_type=models.OAuthActorNames.GOOGLE_ADS, + source_type=models.OAuthActorNames.GITLAB, workspace_id='871d9b60-11d1-44cb-8c92-c246d53bf87e', - o_auth_input_configuration=models.OAuthInputConfiguration(), -) - -res = s.sources.initiate_o_auth(req) +)) if res is not None: # handle response @@ -230,9 +221,83 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.ListSourcesRequest() - -res = s.sources.list_sources(req) +res = s.sources.list_sources(request=api.ListSourcesRequest( + workspace_ids=[ + 'd', + 'f', + '0', + '8', + 'f', + '6', + 'b', + '0', + '-', + 'b', + '3', + '6', + '4', + '-', + '4', + 'c', + 'c', + '1', + '-', + '9', + 'b', + '3', + 'f', + '-', + '9', + '6', + 'f', + '5', + 'd', + '2', + 'f', + 'c', + 'c', + 'f', + 'b', + '2', + ',', + 'b', + '0', + '7', + '9', + '6', + '7', + '9', + '7', + '-', + 'd', + 'e', + '2', + '3', + '-', + '4', + 'f', + 'c', + '7', + '-', + 'a', + '5', + 'e', + '2', + '-', + '7', + 'e', + '1', + '3', + '1', + '3', + '1', + '4', + '7', + '1', + '8', + 'c', + ], +)) if res.sources_response is not None: # handle response @@ -275,11 +340,16 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.PatchSourceRequest( +res = s.sources.patch_source(request=api.PatchSourceRequest( source_id='', -) - -res = s.sources.patch_source(req) + source_patch_request=models.SourcePatchRequest( + configuration=models.SourceAha( + api_key='', + url='http://apprehensive-visa.net', + ), + name='My source', + ), +)) if res.source_response is not None: # handle response @@ -322,11 +392,16 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.PutSourceRequest( +res = s.sources.put_source(request=api.PutSourceRequest( source_id='', -) - -res = s.sources.put_source(req) + source_put_request=models.SourcePutRequest( + configuration=models.SourceAha( + api_key='', + url='http://alienated-traveler.name', + ), + name='', + ), +)) if res.source_response is not None: # handle response diff --git a/docs/sdks/streams/README.md b/docs/sdks/streams/README.md index 983561b1..e9754341 100644 --- a/docs/sdks/streams/README.md +++ b/docs/sdks/streams/README.md @@ -24,12 +24,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetStreamPropertiesRequest( - destination_id='', +res = s.streams.get_stream_properties(request=api.GetStreamPropertiesRequest( source_id='', -) - -res = s.streams.get_stream_properties(req) +)) if res.stream_properties_response is not None: # handle response diff --git a/docs/sdks/workspaces/README.md b/docs/sdks/workspaces/README.md index 7cd611a9..2421ae68 100644 --- a/docs/sdks/workspaces/README.md +++ b/docs/sdks/workspaces/README.md @@ -30,16 +30,14 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.CreateOrUpdateWorkspaceOAuthCredentialsRequest( +res = s.workspaces.create_or_update_workspace_o_auth_credentials(request=api.CreateOrUpdateWorkspaceOAuthCredentialsRequest( workspace_o_auth_credentials_request=models.WorkspaceOAuthCredentialsRequest( actor_type=models.ActorTypeEnum.DESTINATION, configuration=models.Airtable(), name=models.OAuthActorNames.AMAZON_ADS, ), workspace_id='', -) - -res = s.workspaces.create_or_update_workspace_o_auth_credentials(req) +)) if res is not None: # handle response @@ -82,11 +80,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = models.WorkspaceCreateRequest( - name='', -) - -res = s.workspaces.create_workspace(req) +res = s.workspaces.create_workspace(request=models.WorkspaceCreateRequest( + name='Company Workspace Name', +)) if res.workspace_response is not None: # handle response @@ -129,11 +125,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.DeleteWorkspaceRequest( +res = s.workspaces.delete_workspace(request=api.DeleteWorkspaceRequest( workspace_id='', -) - -res = s.workspaces.delete_workspace(req) +)) if res is not None: # handle response @@ -176,11 +170,9 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.GetWorkspaceRequest( +res = s.workspaces.get_workspace(request=api.GetWorkspaceRequest( workspace_id='', -) - -res = s.workspaces.get_workspace(req) +)) if res.workspace_response is not None: # handle response @@ -223,9 +215,7 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.ListWorkspacesRequest() - -res = s.workspaces.list_workspaces(req) +res = s.workspaces.list_workspaces(request=api.ListWorkspacesRequest()) if res.workspaces_response is not None: # handle response @@ -268,14 +258,12 @@ s = airbyte_api.AirbyteAPI( ), ) -req = api.UpdateWorkspaceRequest( +res = s.workspaces.update_workspace(request=api.UpdateWorkspaceRequest( workspace_update_request=models.WorkspaceUpdateRequest( name='', ), workspace_id='', -) - -res = s.workspaces.update_workspace(req) +)) if res.workspace_response is not None: # handle response diff --git a/gen.yaml b/gen.yaml index 236e9060..85905525 100644 --- a/gen.yaml +++ b/gen.yaml @@ -30,6 +30,7 @@ python: webhooks: api inputModelSuffix: input maxMethodParams: 0 + methodArguments: require-security-and-request outputModelSuffix: output packageName: airbyte-api projectUrls: {} diff --git a/setup.py b/setup.py index 0494faa6..72b62778 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setuptools.setup( name='airbyte-api', - version='0.49.2', + version='0.49.3', author='Airbyte', description='Python Client SDK for Airbyte API', url='https://github.com/airbytehq/airbyte-api-python-sdk.git', diff --git a/src/airbyte_api/_hooks/__init__.py b/src/airbyte_api/_hooks/__init__.py index b2ab14b3..5fd985a8 100644 --- a/src/airbyte_api/_hooks/__init__.py +++ b/src/airbyte_api/_hooks/__init__.py @@ -2,3 +2,4 @@ from .sdkhooks import * from .types import * +from .registration import * diff --git a/src/airbyte_api/_hooks/registration.py b/src/airbyte_api/_hooks/registration.py new file mode 100644 index 00000000..1db6a529 --- /dev/null +++ b/src/airbyte_api/_hooks/registration.py @@ -0,0 +1,13 @@ +from .types import Hooks + + +# This file is only ever generated once on the first generation and then is free to be modified. +# Any hooks you wish to add should be registered in the init_hooks function. Feel free to define them +# in this file or in separate files in the hooks folder. + + +def init_hooks(hooks: Hooks): + # pylint: disable=unused-argument + """Add hooks by calling hooks.register{sdk_init/before_request/after_success/after_error}Hook + with an instance of a hook that implements that specific Hook interface + Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance""" diff --git a/src/airbyte_api/_hooks/sdkhooks.py b/src/airbyte_api/_hooks/sdkhooks.py index 1bd70b2a..17750b62 100644 --- a/src/airbyte_api/_hooks/sdkhooks.py +++ b/src/airbyte_api/_hooks/sdkhooks.py @@ -2,6 +2,7 @@ import requests from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterSuccessContext, AfterSuccessHook, AfterErrorContext, AfterErrorHook, Hooks +from .registration import init_hooks from typing import List, Optional, Tuple @@ -11,6 +12,7 @@ def __init__(self): self.before_request_hooks: List[BeforeRequestHook] = [] self.after_success_hooks: List[AfterSuccessHook] = [] self.after_error_hooks: List[AfterErrorHook] = [] + init_hooks(self) def register_sdk_init_hook(self, hook: SDKInitHook) -> None: self.sdk_init_hooks.append(hook) diff --git a/src/airbyte_api/api/getstreamproperties.py b/src/airbyte_api/api/getstreamproperties.py index 1f906eef..1a1476da 100644 --- a/src/airbyte_api/api/getstreamproperties.py +++ b/src/airbyte_api/api/getstreamproperties.py @@ -3,16 +3,16 @@ from __future__ import annotations import dataclasses import requests as requests_http -from ..models import streampropertiesresponse as models_streampropertiesresponse -from typing import Optional +from ..models import streamproperties as models_streamproperties +from typing import List, Optional @dataclasses.dataclass class GetStreamPropertiesRequest: - destination_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'destinationId', 'style': 'form', 'explode': True }}) - r"""ID of the destination""" source_id: str = dataclasses.field(metadata={'query_param': { 'field_name': 'sourceId', 'style': 'form', 'explode': True }}) r"""ID of the source""" + destination_id: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'destinationId', 'style': 'form', 'explode': True }}) + r"""ID of the destination""" ignore_cache: Optional[bool] = dataclasses.field(default=False, metadata={'query_param': { 'field_name': 'ignoreCache', 'style': 'form', 'explode': True }}) r"""If true pull the latest schema from the source, else pull from cache (default false)""" @@ -27,7 +27,7 @@ class GetStreamPropertiesResponse: r"""HTTP response status code for this operation""" raw_response: requests_http.Response = dataclasses.field() r"""Raw HTTP response; suitable for custom response parsing""" - stream_properties_response: Optional[models_streampropertiesresponse.StreamPropertiesResponse] = dataclasses.field(default=None) + stream_properties_response: Optional[List[models_streamproperties.StreamProperties]] = dataclasses.field(default=None) r"""Get the available streams properties for a source/destination pair.""" diff --git a/src/airbyte_api/api/listjobs.py b/src/airbyte_api/api/listjobs.py index d6c89461..e7e76421 100644 --- a/src/airbyte_api/api/listjobs.py +++ b/src/airbyte_api/api/listjobs.py @@ -25,7 +25,7 @@ class ListJobsRequest: offset: Optional[int] = dataclasses.field(default=0, metadata={'query_param': { 'field_name': 'offset', 'style': 'form', 'explode': True }}) r"""Set the offset to start at when returning Jobs. The default is 0.""" order_by: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'orderBy', 'style': 'form', 'explode': True }}) - r"""The field and method to use for ordering. Currently allowed are createdAt and updatedAt.""" + r"""The field and method to use for ordering""" status: Optional[models_jobstatusenum.JobStatusEnum] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'status', 'style': 'form', 'explode': True }}) r"""The Job status you want to filter by""" updated_at_end: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'updatedAtEnd', 'style': 'form', 'explode': True }}) diff --git a/src/airbyte_api/connections.py b/src/airbyte_api/connections.py index 6bda693e..40e6cc44 100644 --- a/src/airbyte_api/connections.py +++ b/src/airbyte_api/connections.py @@ -58,6 +58,7 @@ def create_connection(self, request: models.ConnectionCreateRequest) -> api.Crea res = api.CreateConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) res.connection_response = out @@ -161,6 +162,7 @@ def get_connection(self, request: api.GetConnectionRequest) -> api.GetConnection res = api.GetConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) res.connection_response = out @@ -216,6 +218,7 @@ def list_connections(self, request: api.ListConnectionsRequest) -> api.ListConne res = api.ListConnectionsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionsResponse]) res.connections_response = out @@ -275,6 +278,7 @@ def patch_connection(self, request: api.PatchConnectionRequest) -> api.PatchConn res = api.PatchConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) res.connection_response = out diff --git a/src/airbyte_api/destinations.py b/src/airbyte_api/destinations.py index 36925357..fd314555 100644 --- a/src/airbyte_api/destinations.py +++ b/src/airbyte_api/destinations.py @@ -14,7 +14,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None: - def create_destination(self, request: Optional[models.DestinationCreateRequest]) -> api.CreateDestinationResponse: + def create_destination(self, request: Optional[models.DestinationCreateRequest] = None) -> api.CreateDestinationResponse: r"""Create a destination Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. """ @@ -58,6 +58,7 @@ def create_destination(self, request: Optional[models.DestinationCreateRequest]) res = api.CreateDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) res.destination_response = out @@ -161,6 +162,7 @@ def get_destination(self, request: api.GetDestinationRequest) -> api.GetDestinat res = api.GetDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) res.destination_response = out @@ -216,6 +218,7 @@ def list_destinations(self, request: api.ListDestinationsRequest) -> api.ListDes res = api.ListDestinationsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.DestinationsResponse]) res.destinations_response = out @@ -273,6 +276,7 @@ def patch_destination(self, request: api.PatchDestinationRequest) -> api.PatchDe res = api.PatchDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) res.destination_response = out @@ -330,6 +334,7 @@ def put_destination(self, request: api.PutDestinationRequest) -> api.PutDestinat res = api.PutDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) res.destination_response = out diff --git a/src/airbyte_api/jobs.py b/src/airbyte_api/jobs.py index 0262a7cd..80751eba 100644 --- a/src/airbyte_api/jobs.py +++ b/src/airbyte_api/jobs.py @@ -53,6 +53,7 @@ def cancel_job(self, request: api.CancelJobRequest) -> api.CancelJobResponse: res = api.CancelJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) res.job_response = out @@ -112,6 +113,7 @@ def create_job(self, request: models.JobCreateRequest) -> api.CreateJobResponse: res = api.CreateJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) res.job_response = out @@ -166,6 +168,7 @@ def get_job(self, request: api.GetJobRequest) -> api.GetJobResponse: res = api.GetJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) res.job_response = out @@ -221,6 +224,7 @@ def list_jobs(self, request: api.ListJobsRequest) -> api.ListJobsResponse: res = api.ListJobsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.JobsResponse]) res.jobs_response = out diff --git a/src/airbyte_api/models/__init__.py b/src/airbyte_api/models/__init__.py index 6526e984..8a90d0bf 100644 --- a/src/airbyte_api/models/__init__.py +++ b/src/airbyte_api/models/__init__.py @@ -1,15 +1,16 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" from .actortypeenum import * +from .airbyteapiconnectionschedule import * from .airtable import * from .amazon_ads import * from .amazon_seller_partner import * from .asana import * +from .azure_blob_storage import * from .bing_ads import * from .connectioncreaterequest import * from .connectionpatchrequest import * from .connectionresponse import * -from .connectionschedule import * from .connectionscheduleresponse import * from .connectionsresponse import * from .connectionstatusenum import * @@ -48,6 +49,7 @@ from .destination_typesense import * from .destination_vectara import * from .destination_weaviate import * +from .destination_yellowbrick import * from .destinationcreaterequest import * from .destinationpatchrequest import * from .destinationputrequest import * @@ -63,7 +65,6 @@ from .google_drive import * from .google_search_console import * from .google_sheets import * -from .harvest import * from .hubspot import * from .initiateoauthrequest import * from .instagram import * @@ -86,7 +87,6 @@ from .nonbreakingschemaupdatesbehaviorenumnodefault import * from .notion import * from .oauthactornames import * -from .oauthinputconfiguration import * from .pinterest import * from .retently import * from .salesforce import * @@ -230,7 +230,6 @@ from .source_punk_api import * from .source_pypi import * from .source_qualaroo import * -from .source_quickbooks import * from .source_railz import * from .source_recharge import * from .source_recreation import * @@ -304,7 +303,6 @@ from .streamconfiguration import * from .streamconfigurations import * from .streamproperties import * -from .streampropertiesresponse import * from .surveymonkey import * from .tiktok_marketing import * from .typeform import * @@ -319,4 +317,4 @@ from .zendesk_support import * from .zendesk_talk import * -__all__ = ["AESCBCEnvelopeEncryption","APIAccessToken","APIKey","APIKeyAuth","APIKeySecret","APIPassword","APIToken","AWSEnvironment","AWSRegion","AWSS3Staging","AWSSellerPartnerAccountType","AccessToken","AccessTokenIsRequiredForAuthenticationRequests","AccountNames","ActionReportTime","ActorTypeEnum","AdAnalyticsReportConfiguration","Aha","Aircall","Airtable","Allow","AmazonAds","AmazonS3","AmazonSellerPartner","AmazonSqs","Amplitude","AndGroup","ApifyDataset","Appfollow","Applications","Asana","AsanaCredentials","Astra","Auth0","AuthMethod","AuthType","AuthenticateViaAPIKey","AuthenticateViaAsanaOauth","AuthenticateViaGoogleOauth","AuthenticateViaHarvestOAuth","AuthenticateViaLeverAPIKey","AuthenticateViaLeverOAuth","AuthenticateViaMicrosoft","AuthenticateViaMicrosoftOAuth","AuthenticateViaMicrosoftOAuth20","AuthenticateViaOAuth","AuthenticateViaOAuth20","AuthenticateViaRetentlyOAuth","AuthenticateWithAPIToken","AuthenticateWithPersonalAccessToken","AuthenticationViaGoogleOAuth","Authorization","Autogenerated","Avro","AvroApacheAvro","AvroFormat","AwsCloudtrail","AwsDatalake","AzBlobAzureBlobStorage","AzureBlobStorage","AzureOpenAI","AzureTable","BambooHr","BetweenFilter","Bigquery","BingAds","BothUsernameAndPasswordIsRequiredForAuthenticationRequest","Braintree","Braze","ByMarkdownHeader","ByProgrammingLanguage","BySeparator","Bzip2","CSVCommaSeparatedValues","CSVFormat","CacheType","Cart","Categories","CentralAPIRouter","Chargebee","Chartmogul","ChooseHowToPartitionData","ChromaLocalPersistance","ClickWindowDays","Clickhouse","ClickupAPI","Clockify","CloseCom","Coda","Codec","Cohere","CohortReportSettings","Cohorts","CohortsRange","CoinAPI","Coinmarketcap","Collection","CompressionCodecOptional","CompressionType","Configcat","Confluence","ConnectionCreateRequest","ConnectionPatchRequest","ConnectionResponse","ConnectionSchedule","ConnectionScheduleResponse","ConnectionStatusEnum","ConnectionSyncModeEnum","ConnectionType","ConnectionsResponse","ContentType","ContinuousFeed","ConversionReportTime","Convex","Country","CredentialType","Credentials","CredentialsTitle","Csv","CustomQueriesArray","CustomReportConfig","CustomerStatus","DataCenterLocation","DataFreshness","DataRegion","DataSourceType","DataType","Databricks","Datascope","DatasetLocation","DateRange","DefaultVectorizer","Deflate","Delighted","DestinationAstra","DestinationAstraLanguage","DestinationAstraMode","DestinationAstraSchemasEmbeddingEmbedding1Mode","DestinationAstraSchemasEmbeddingEmbeddingMode","DestinationAstraSchemasEmbeddingMode","DestinationAstraSchemasMode","DestinationAstraSchemasProcessingMode","DestinationAstraSchemasProcessingTextSplitterMode","DestinationAstraSchemasProcessingTextSplitterTextSplitterMode","DestinationAwsDatalake","DestinationAwsDatalakeCompressionCodecOptional","DestinationAwsDatalakeCredentialsTitle","DestinationAwsDatalakeFormatTypeWildcard","DestinationAzureBlobStorage","DestinationAzureBlobStorageFormatType","DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON","DestinationBigquery","DestinationBigqueryCredentialType","DestinationBigqueryHMACKey","DestinationBigqueryMethod","DestinationClickhouse","DestinationClickhouseSchemasTunnelMethod","DestinationClickhouseTunnelMethod","DestinationConvex","DestinationCreateRequest","DestinationDatabricks","DestinationDatabricksAzureBlobStorage","DestinationDatabricksDataSourceType","DestinationDatabricksS3BucketRegion","DestinationDatabricksSchemasDataSourceType","DestinationDevNull","DestinationDuckdb","DestinationDynamodb","DestinationElasticsearch","DestinationElasticsearchMethod","DestinationElasticsearchSchemasMethod","DestinationFirestore","DestinationGcs","DestinationGcsCSVCommaSeparatedValues","DestinationGcsCodec","DestinationGcsCompressionCodec","DestinationGcsCompressionType","DestinationGcsFormatType","DestinationGcsGZIP","DestinationGcsJSONLinesNewlineDelimitedJSON","DestinationGcsNoCompression","DestinationGcsParquetColumnarStorage","DestinationGcsSchemasCodec","DestinationGcsSchemasCompressionType","DestinationGcsSchemasFormatCodec","DestinationGcsSchemasFormatCompressionType","DestinationGcsSchemasFormatFormatType","DestinationGcsSchemasFormatOutputFormat1Codec","DestinationGcsSchemasFormatOutputFormatCodec","DestinationGcsSchemasFormatOutputFormatFormatType","DestinationGcsSchemasFormatType","DestinationGcsSchemasNoCompression","DestinationGoogleSheets","DestinationGoogleSheetsGoogleSheets","DestinationLangchain","DestinationLangchainFake","DestinationLangchainMode","DestinationLangchainOpenAI","DestinationLangchainPinecone","DestinationLangchainProcessingConfigModel","DestinationLangchainSchemasIndexingIndexing3Mode","DestinationLangchainSchemasIndexingIndexingMode","DestinationLangchainSchemasIndexingMode","DestinationLangchainSchemasMode","DestinationMilvus","DestinationMilvusAPIToken","DestinationMilvusAzureOpenAI","DestinationMilvusByMarkdownHeader","DestinationMilvusByProgrammingLanguage","DestinationMilvusBySeparator","DestinationMilvusCohere","DestinationMilvusFake","DestinationMilvusFieldNameMappingConfigModel","DestinationMilvusIndexing","DestinationMilvusLanguage","DestinationMilvusMode","DestinationMilvusOpenAI","DestinationMilvusOpenAICompatible","DestinationMilvusProcessingConfigModel","DestinationMilvusSchemasEmbeddingEmbedding5Mode","DestinationMilvusSchemasEmbeddingEmbeddingMode","DestinationMilvusSchemasEmbeddingMode","DestinationMilvusSchemasIndexingAuthAuthenticationMode","DestinationMilvusSchemasIndexingAuthMode","DestinationMilvusSchemasIndexingMode","DestinationMilvusSchemasMode","DestinationMilvusSchemasProcessingMode","DestinationMilvusSchemasProcessingTextSplitterMode","DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode","DestinationMilvusUsernamePassword","DestinationMongodb","DestinationMongodbAuthorization","DestinationMongodbInstance","DestinationMongodbNoTunnel","DestinationMongodbPasswordAuthentication","DestinationMongodbSSHKeyAuthentication","DestinationMongodbSchemasAuthorization","DestinationMongodbSchemasInstance","DestinationMongodbSchemasTunnelMethod","DestinationMongodbSchemasTunnelMethodTunnelMethod","DestinationMongodbTunnelMethod","DestinationMssql","DestinationMssqlNoTunnel","DestinationMssqlPasswordAuthentication","DestinationMssqlSSHKeyAuthentication","DestinationMssqlSchemasSslMethod","DestinationMssqlSchemasTunnelMethod","DestinationMssqlSchemasTunnelMethodTunnelMethod","DestinationMssqlSslMethod","DestinationMssqlTunnelMethod","DestinationMysql","DestinationMysqlNoTunnel","DestinationMysqlPasswordAuthentication","DestinationMysqlSSHKeyAuthentication","DestinationMysqlSchemasTunnelMethod","DestinationMysqlSchemasTunnelMethodTunnelMethod","DestinationMysqlTunnelMethod","DestinationOracle","DestinationOracleNoTunnel","DestinationOraclePasswordAuthentication","DestinationOracleSSHKeyAuthentication","DestinationOracleSchemasTunnelMethod","DestinationOracleSchemasTunnelMethodTunnelMethod","DestinationOracleTunnelMethod","DestinationPatchRequest","DestinationPinecone","DestinationPineconeAzureOpenAI","DestinationPineconeByMarkdownHeader","DestinationPineconeByProgrammingLanguage","DestinationPineconeBySeparator","DestinationPineconeCohere","DestinationPineconeFake","DestinationPineconeFieldNameMappingConfigModel","DestinationPineconeIndexing","DestinationPineconeLanguage","DestinationPineconeMode","DestinationPineconeOpenAI","DestinationPineconeOpenAICompatible","DestinationPineconeProcessingConfigModel","DestinationPineconeSchemasEmbeddingEmbedding5Mode","DestinationPineconeSchemasEmbeddingEmbeddingMode","DestinationPineconeSchemasEmbeddingMode","DestinationPineconeSchemasMode","DestinationPineconeSchemasProcessingMode","DestinationPineconeSchemasProcessingTextSplitterMode","DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode","DestinationPostgres","DestinationPostgresMode","DestinationPostgresNoTunnel","DestinationPostgresPasswordAuthentication","DestinationPostgresSSHKeyAuthentication","DestinationPostgresSchemasMode","DestinationPostgresSchemasSSLModeSSLModes6Mode","DestinationPostgresSchemasSSLModeSSLModesMode","DestinationPostgresSchemasSslModeMode","DestinationPostgresSchemasTunnelMethod","DestinationPostgresSchemasTunnelMethodTunnelMethod","DestinationPostgresTunnelMethod","DestinationPubsub","DestinationPutRequest","DestinationQdrant","DestinationQdrantAzureOpenAI","DestinationQdrantByMarkdownHeader","DestinationQdrantByProgrammingLanguage","DestinationQdrantBySeparator","DestinationQdrantCohere","DestinationQdrantFake","DestinationQdrantFieldNameMappingConfigModel","DestinationQdrantIndexing","DestinationQdrantLanguage","DestinationQdrantMode","DestinationQdrantNoAuth","DestinationQdrantOpenAI","DestinationQdrantOpenAICompatible","DestinationQdrantProcessingConfigModel","DestinationQdrantSchemasEmbeddingEmbedding5Mode","DestinationQdrantSchemasEmbeddingEmbeddingMode","DestinationQdrantSchemasEmbeddingMode","DestinationQdrantSchemasIndexingAuthMethodMode","DestinationQdrantSchemasIndexingMode","DestinationQdrantSchemasMode","DestinationQdrantSchemasProcessingMode","DestinationQdrantSchemasProcessingTextSplitterMode","DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode","DestinationRedis","DestinationRedisDisable","DestinationRedisMode","DestinationRedisNoTunnel","DestinationRedisPasswordAuthentication","DestinationRedisSSHKeyAuthentication","DestinationRedisSchemasMode","DestinationRedisSchemasTunnelMethod","DestinationRedisSchemasTunnelMethodTunnelMethod","DestinationRedisTunnelMethod","DestinationRedisVerifyFull","DestinationRedshift","DestinationRedshiftEncryptionType","DestinationRedshiftMethod","DestinationRedshiftNoTunnel","DestinationRedshiftPasswordAuthentication","DestinationRedshiftS3BucketRegion","DestinationRedshiftSSHKeyAuthentication","DestinationRedshiftSchemasMethod","DestinationRedshiftSchemasTunnelMethod","DestinationRedshiftSchemasTunnelMethodTunnelMethod","DestinationRedshiftTunnelMethod","DestinationResponse","DestinationS3","DestinationS3AvroApacheAvro","DestinationS3Bzip2","DestinationS3CSVCommaSeparatedValues","DestinationS3Codec","DestinationS3CompressionType","DestinationS3Deflate","DestinationS3Flattening","DestinationS3FormatType","DestinationS3GZIP","DestinationS3Glue","DestinationS3GlueCompressionType","DestinationS3GlueFormatType","DestinationS3GlueGZIP","DestinationS3GlueJSONLinesNewlineDelimitedJSON","DestinationS3GlueNoCompression","DestinationS3GlueS3BucketRegion","DestinationS3GlueSchemasCompressionType","DestinationS3JSONLinesNewlineDelimitedJSON","DestinationS3NoCompression","DestinationS3ParquetColumnarStorage","DestinationS3S3BucketRegion","DestinationS3SchemasCodec","DestinationS3SchemasCompressionCodec","DestinationS3SchemasCompressionType","DestinationS3SchemasFlattening","DestinationS3SchemasFormatCodec","DestinationS3SchemasFormatCompressionType","DestinationS3SchemasFormatFormatType","DestinationS3SchemasFormatNoCompression","DestinationS3SchemasFormatOutputFormat3Codec","DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec","DestinationS3SchemasFormatOutputFormatCodec","DestinationS3SchemasFormatOutputFormatCompressionType","DestinationS3SchemasFormatOutputFormatFormatType","DestinationS3SchemasFormatType","DestinationS3SchemasGZIP","DestinationS3SchemasNoCompression","DestinationS3Snappy","DestinationS3Xz","DestinationS3Zstandard","DestinationSftpJSON","DestinationSnowflake","DestinationSnowflakeAuthType","DestinationSnowflakeOAuth20","DestinationSnowflakeSchemasAuthType","DestinationSnowflakeSchemasCredentialsAuthType","DestinationSnowflakeSnowflake","DestinationTeradata","DestinationTeradataAllow","DestinationTeradataDisable","DestinationTeradataMode","DestinationTeradataPrefer","DestinationTeradataRequire","DestinationTeradataSchemasMode","DestinationTeradataSchemasSSLModeSSLModes5Mode","DestinationTeradataSchemasSSLModeSSLModes6Mode","DestinationTeradataSchemasSSLModeSSLModesMode","DestinationTeradataSchemasSslModeMode","DestinationTeradataVerifyCa","DestinationTeradataVerifyFull","DestinationTypesense","DestinationVectara","DestinationWeaviate","DestinationWeaviateAPIToken","DestinationWeaviateAzureOpenAI","DestinationWeaviateByMarkdownHeader","DestinationWeaviateByProgrammingLanguage","DestinationWeaviateBySeparator","DestinationWeaviateCohere","DestinationWeaviateFake","DestinationWeaviateFieldNameMappingConfigModel","DestinationWeaviateIndexing","DestinationWeaviateLanguage","DestinationWeaviateMode","DestinationWeaviateOpenAI","DestinationWeaviateOpenAICompatible","DestinationWeaviateProcessingConfigModel","DestinationWeaviateSchemasEmbeddingEmbedding5Mode","DestinationWeaviateSchemasEmbeddingEmbedding6Mode","DestinationWeaviateSchemasEmbeddingEmbedding7Mode","DestinationWeaviateSchemasEmbeddingEmbeddingMode","DestinationWeaviateSchemasEmbeddingMode","DestinationWeaviateSchemasIndexingAuthAuthenticationMode","DestinationWeaviateSchemasIndexingAuthMode","DestinationWeaviateSchemasIndexingMode","DestinationWeaviateSchemasMode","DestinationWeaviateSchemasProcessingMode","DestinationWeaviateSchemasProcessingTextSplitterMode","DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode","DestinationWeaviateUsernamePassword","DestinationsResponse","DetailType","DetectChangesWithXminSystemColumn","DevNull","Dimension","Disable","Disabled","DistanceMetric","Dixa","DocArrayHnswSearch","Dockerhub","DocumentFileTypeFormatExperimental","DoubleValue","Dremio","Duckdb","DynamoDBRegion","Dynamodb","E2eTestCloud","EUBasedAccount","Elasticsearch","Emailoctopus","Enabled","EncryptedTrustServerCertificate","EncryptedVerifyCertificate","EncryptionAlgorithm","EncryptionMethod","EncryptionType","EngagementWindowDays","Environment","ExchangeRates","Expression","FacebookMarketing","Fake","Faker","Fauna","FieldNameMappingConfigModel","File","FileBasedStreamConfig","FileFormat","FileType","Filter","FilterName","FilterType","Firebolt","Firestore","Flattening","FormatType","FormatTypeWildcard","Freshcaller","Freshdesk","Freshsales","FromCSV","FromField","GCSBucketRegion","GCSGoogleCloudStorage","GCSStaging","GCSTmpFilesAfterwardProcessing","GainsightPx","Gcs","GeographyEnum","GeographyEnumNoDefault","Getlago","Github","GithubCredentials","Gitlab","GitlabCredentials","Glassfrog","GlobalAccount","Gnews","GoogleAds","GoogleAdsCredentials","GoogleAnalyticsDataAPI","GoogleAnalyticsDataAPICredentials","GoogleAnalyticsV4ServiceAccountOnly","GoogleCredentials","GoogleDirectory","GoogleDrive","GoogleDriveCredentials","GooglePagespeedInsights","GoogleSearchConsole","GoogleSheets","GoogleSheetsCredentials","GoogleWebfonts","Granularity","GranularityForGeoLocationRegion","GranularityForPeriodicReports","Greenhouse","Gridly","Gzip","HMACKey","HTTPSPublicWeb","Harvest","HarvestCredentials","Header","HeaderDefinitionType","Hubplanner","Hubspot","HubspotCredentials","IAMRole","IAMUser","In","InListFilter","Indexing","InferenceType","InitiateOauthRequest","InsightConfig","Insightly","Instagram","Instance","Instatus","Int64Value","Intercom","InvalidCDCPositionBehaviorAdvanced","Ip2whois","IssuesStreamExpandWith","Iterable","JSONLinesNewlineDelimitedJSON","Jira","JobCreateRequest","JobResponse","JobStatusEnum","JobTypeEnum","JobsResponse","Jsonl","JsonlFormat","K6Cloud","KeyPairAuthentication","Klarna","Klaviyo","Kyve","LSNCommitBehaviour","Langchain","Language","Launchdarkly","Lemlist","Level","LeverHiring","LeverHiringCredentials","LinkedinAds","LinkedinAdsCredentials","LinkedinPages","Linnworks","Local","LoginPassword","Lokalise","Mailchimp","MailchimpCredentials","Mailgun","MailjetSms","Marketo","Metabase","Method","MicrosoftOnedrive","MicrosoftOnedriveCredentials","MicrosoftSharepoint","MicrosoftSharepointCredentials","MicrosoftTeams","MicrosoftTeamsCredentials","Milvus","Mixpanel","Mode","Monday","MondayCredentials","MongoDBAtlas","MongoDBAtlasReplicaSet","Mongodb","MongodbInternalPoc","MongodbV2","Mssql","MultiSchema","MyHours","Mysql","NamespaceDefinitionEnum","NamespaceDefinitionEnumNoDefault","NativeNetworkEncryptionNNE","Netsuite","NoAuth","NoAuthentication","NoCompression","NoEncryption","NoExternalEmbedding","NoTunnel","NonBreakingSchemaUpdatesBehaviorEnum","NonBreakingSchemaUpdatesBehaviorEnumNoDefault","NoneT","Normalization","NormalizationFlattening","NotExpression","Notion","NotionCredentials","Nullable","NumericFilter","Nytimes","OAuth","OAuth20","OAuth20Credentials","OAuth2AccessToken","OAuth2ConfidentialApplication","OAuthActorNames","OAuthInputConfiguration","OauthAuthentication","Okta","Omnisend","Onesignal","OpenAI","OpenAICompatible","Operator","OptionTitle","OptionsList","OrGroup","Oracle","Orb","Orbit","OriginDatacenterOfTheSurveyMonkeyAccount","OutbrainAmplify","Outreach","Parquet","ParquetColumnarStorage","ParquetFormat","ParsingStrategy","PasswordAuthentication","PaypalTransaction","Paystack","Pendo","PeriodUsedForMostPopularStreams","Persistiq","PersonalAccessToken","PexelsAPI","Pinecone","Pinterest","PinterestCredentials","Pipedrive","PivotCategory","Plugin","Pocket","Pokeapi","PokemonName","PolygonStockAPI","Postgres","Posthog","Postmarkapp","Prefer","Preferred","Prestashop","PrivateApp","PrivateToken","ProcessingConfigModel","ProductCatalog","ProjectSecret","Pubsub","PunkAPI","Pypi","Qdrant","Qualaroo","Quickbooks","Railz","ReadChangesUsingBinaryLogCDC","ReadChangesUsingChangeDataCaptureCDC","ReadChangesUsingWriteAheadLogCDC","Recharge","RecommendedManagedTables","Recreation","Recruitee","Recurly","Redis","Redshift","Region","ReplicaSet","ReportConfig","ReportOptions","ReportRecordTypes","ReportingDataObject","Require","Required","Retently","RetentlyCredentials","RkiCovid","Rss","S3","S3AmazonWebServices","S3BucketRegion","S3Glue","SCPSecureCopyProtocol","SFTPSecureFileTransferProtocol","SSHKeyAuthentication","SSHSecureShell","Salesforce","Salesloft","SandboxAccessToken","SapFieldglass","ScanChangesWithUserDefinedCursor","ScheduleTypeEnum","ScheduleTypeWithBasicEnum","SchemeBasicAuth","SearchCriteria","SearchScope","Secoda","Security","SelfManagedReplicaSet","Sendgrid","Sendinblue","Senseforce","Sentry","SerializationLibrary","ServiceAccount","ServiceAccountKey","ServiceAccountKeyAuthentication","ServiceKeyAuthentication","ServiceName","Sftp","SftpBulk","SftpJSON","ShareTypeUsedForMostPopularSharedStream","Shopify","ShopifyCredentials","Shortio","SignInViaGoogleOAuth","SignInViaSlackOAuth","Silent","SingleSchema","SingleStoreAccessToken","Slack","SlackCredentials","Smaily","Smartengage","Smartsheets","SmartsheetsCredentials","SnapchatMarketing","Snappy","Snowflake","SnowflakeCredentials","SonarCloud","SortBy","SourceAha","SourceAircall","SourceAirtable","SourceAirtableAirtable","SourceAirtableAuthMethod","SourceAirtableOAuth20","SourceAirtableSchemasAuthMethod","SourceAmazonAds","SourceAmazonAdsAmazonAds","SourceAmazonAdsAuthType","SourceAmazonSellerPartner","SourceAmazonSellerPartnerAmazonSellerPartner","SourceAmazonSellerPartnerAuthType","SourceAmazonSqs","SourceAmazonSqsAWSRegion","SourceAmplitude","SourceApifyDataset","SourceAppfollow","SourceAsana","SourceAsanaAsana","SourceAsanaCredentialsTitle","SourceAsanaSchemasCredentialsTitle","SourceAuth0","SourceAuth0SchemasAuthenticationMethod","SourceAuth0SchemasCredentialsAuthenticationMethod","SourceAwsCloudtrail","SourceAzureBlobStorage","SourceAzureBlobStorageAzureBlobStorage","SourceAzureBlobStorageFiletype","SourceAzureBlobStorageHeaderDefinitionType","SourceAzureBlobStorageMode","SourceAzureBlobStorageSchemasFiletype","SourceAzureBlobStorageSchemasHeaderDefinitionType","SourceAzureBlobStorageSchemasStreamsFiletype","SourceAzureBlobStorageSchemasStreamsFormatFiletype","SourceAzureBlobStorageSchemasStreamsFormatFormatFiletype","SourceAzureTable","SourceBambooHr","SourceBigquery","SourceBigqueryBigquery","SourceBingAds","SourceBingAdsBingAds","SourceBraintree","SourceBraintreeEnvironment","SourceBraze","SourceCart","SourceCartAuthType","SourceCartSchemasAuthType","SourceChargebee","SourceChartmogul","SourceClickhouse","SourceClickhouseClickhouse","SourceClickhouseNoTunnel","SourceClickhousePasswordAuthentication","SourceClickhouseSSHKeyAuthentication","SourceClickhouseSchemasTunnelMethod","SourceClickhouseSchemasTunnelMethodTunnelMethod","SourceClickhouseTunnelMethod","SourceClickupAPI","SourceClockify","SourceCloseCom","SourceCoda","SourceCoinAPI","SourceCoinmarketcap","SourceConfigcat","SourceConfluence","SourceConvex","SourceConvexConvex","SourceCreateRequest","SourceDatascope","SourceDelighted","SourceDixa","SourceDockerhub","SourceDremio","SourceDynamodb","SourceDynamodbDynamodb","SourceDynamodbDynamodbRegion","SourceE2eTestCloudSchemasType","SourceE2eTestCloudType","SourceEmailoctopus","SourceExchangeRates","SourceFacebookMarketing","SourceFacebookMarketingActionReportTime","SourceFacebookMarketingFacebookMarketing","SourceFacebookMarketingValidEnums","SourceFaker","SourceFauna","SourceFaunaDeletionMode","SourceFaunaSchemasDeletionMode","SourceFile","SourceFileS3AmazonWebServices","SourceFileSchemasProviderStorage","SourceFileSchemasProviderStorageProvider6Storage","SourceFileSchemasProviderStorageProvider7Storage","SourceFileSchemasProviderStorageProviderStorage","SourceFileSchemasStorage","SourceFileStorage","SourceFirebolt","SourceFreshcaller","SourceFreshdesk","SourceFreshsales","SourceGCSStreamConfig","SourceGainsightPx","SourceGcs","SourceGcsAutogenerated","SourceGcsCSVFormat","SourceGcsFiletype","SourceGcsFromCSV","SourceGcsGcs","SourceGcsHeaderDefinitionType","SourceGcsInferenceType","SourceGcsSchemasHeaderDefinitionType","SourceGcsSchemasStreamsHeaderDefinitionType","SourceGcsUserProvided","SourceGcsValidationPolicy","SourceGetlago","SourceGithub","SourceGithubGithub","SourceGithubOptionTitle","SourceGithubPersonalAccessToken","SourceGitlab","SourceGitlabAuthType","SourceGitlabGitlab","SourceGitlabOAuth20","SourceGitlabSchemasAuthType","SourceGlassfrog","SourceGnews","SourceGoogleAds","SourceGoogleAdsGoogleAds","SourceGoogleAnalyticsDataAPI","SourceGoogleAnalyticsDataAPIAndGroup","SourceGoogleAnalyticsDataAPIAuthType","SourceGoogleAnalyticsDataAPIBetweenFilter","SourceGoogleAnalyticsDataAPICustomReportConfig","SourceGoogleAnalyticsDataAPIDisabled","SourceGoogleAnalyticsDataAPIDoubleValue","SourceGoogleAnalyticsDataAPIEnabled","SourceGoogleAnalyticsDataAPIExpression","SourceGoogleAnalyticsDataAPIFilter","SourceGoogleAnalyticsDataAPIFilterName","SourceGoogleAnalyticsDataAPIFilterType","SourceGoogleAnalyticsDataAPIGoogleAnalyticsDataAPI","SourceGoogleAnalyticsDataAPIGranularity","SourceGoogleAnalyticsDataAPIInListFilter","SourceGoogleAnalyticsDataAPIInt64Value","SourceGoogleAnalyticsDataAPINotExpression","SourceGoogleAnalyticsDataAPINumericFilter","SourceGoogleAnalyticsDataAPIOrGroup","SourceGoogleAnalyticsDataAPISchemasAuthType","SourceGoogleAnalyticsDataAPISchemasBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayEnabled","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValueType","SourceGoogleAnalyticsDataAPISchemasDoubleValue","SourceGoogleAnalyticsDataAPISchemasEnabled","SourceGoogleAnalyticsDataAPISchemasExpression","SourceGoogleAnalyticsDataAPISchemasFilterName","SourceGoogleAnalyticsDataAPISchemasFilterType","SourceGoogleAnalyticsDataAPISchemasInListFilter","SourceGoogleAnalyticsDataAPISchemasInt64Value","SourceGoogleAnalyticsDataAPISchemasNumericFilter","SourceGoogleAnalyticsDataAPISchemasStringFilter","SourceGoogleAnalyticsDataAPISchemasValidEnums","SourceGoogleAnalyticsDataAPISchemasValueType","SourceGoogleAnalyticsDataAPIStringFilter","SourceGoogleAnalyticsDataAPIValidEnums","SourceGoogleAnalyticsDataAPIValueType","SourceGoogleAnalyticsV4ServiceAccountOnly","SourceGoogleAnalyticsV4ServiceAccountOnlyAuthType","SourceGoogleAnalyticsV4ServiceAccountOnlyServiceAccountKeyAuthentication","SourceGoogleDirectory","SourceGoogleDirectoryCredentialsTitle","SourceGoogleDirectorySchemasCredentialsTitle","SourceGoogleDrive","SourceGoogleDriveAuthType","SourceGoogleDriveAuthenticateViaGoogleOAuth","SourceGoogleDriveAutogenerated","SourceGoogleDriveAvroFormat","SourceGoogleDriveCSVFormat","SourceGoogleDriveDocumentFileTypeFormatExperimental","SourceGoogleDriveFileBasedStreamConfig","SourceGoogleDriveFiletype","SourceGoogleDriveFromCSV","SourceGoogleDriveGoogleDrive","SourceGoogleDriveHeaderDefinitionType","SourceGoogleDriveJsonlFormat","SourceGoogleDriveLocal","SourceGoogleDriveMode","SourceGoogleDriveParquetFormat","SourceGoogleDriveParsingStrategy","SourceGoogleDriveSchemasAuthType","SourceGoogleDriveSchemasFiletype","SourceGoogleDriveSchemasHeaderDefinitionType","SourceGoogleDriveSchemasStreamsFiletype","SourceGoogleDriveSchemasStreamsFormatFiletype","SourceGoogleDriveSchemasStreamsFormatFormatFiletype","SourceGoogleDriveSchemasStreamsHeaderDefinitionType","SourceGoogleDriveServiceAccountKeyAuthentication","SourceGoogleDriveUserProvided","SourceGoogleDriveValidationPolicy","SourceGooglePagespeedInsights","SourceGoogleSearchConsole","SourceGoogleSearchConsoleAuthType","SourceGoogleSearchConsoleCustomReportConfig","SourceGoogleSearchConsoleGoogleSearchConsole","SourceGoogleSearchConsoleOAuth","SourceGoogleSearchConsoleSchemasAuthType","SourceGoogleSearchConsoleServiceAccountKeyAuthentication","SourceGoogleSearchConsoleValidEnums","SourceGoogleSheets","SourceGoogleSheetsAuthType","SourceGoogleSheetsAuthenticateViaGoogleOAuth","SourceGoogleSheetsGoogleSheets","SourceGoogleSheetsSchemasAuthType","SourceGoogleSheetsServiceAccountKeyAuthentication","SourceGoogleWebfonts","SourceGreenhouse","SourceGridly","SourceHarvest","SourceHarvestAuthType","SourceHarvestAuthenticateWithPersonalAccessToken","SourceHarvestHarvest","SourceHarvestSchemasAuthType","SourceHubplanner","SourceHubspot","SourceHubspotAuthType","SourceHubspotHubspot","SourceHubspotOAuth","SourceHubspotSchemasAuthType","SourceInsightly","SourceInstagram","SourceInstagramInstagram","SourceInstatus","SourceIntercom","SourceIntercomIntercom","SourceIp2whois","SourceIterable","SourceJira","SourceK6Cloud","SourceKlarna","SourceKlarnaRegion","SourceKlaviyo","SourceKyve","SourceLaunchdarkly","SourceLemlist","SourceLeverHiring","SourceLeverHiringAuthType","SourceLeverHiringEnvironment","SourceLeverHiringLeverHiring","SourceLeverHiringSchemasAuthType","SourceLinkedinAds","SourceLinkedinAdsAuthMethod","SourceLinkedinAdsLinkedinAds","SourceLinkedinAdsOAuth20","SourceLinkedinAdsSchemasAuthMethod","SourceLinkedinPages","SourceLinkedinPagesAccessToken","SourceLinkedinPagesAuthMethod","SourceLinkedinPagesOAuth20","SourceLinkedinPagesSchemasAuthMethod","SourceLinnworks","SourceLokalise","SourceMailchimp","SourceMailchimpAuthType","SourceMailchimpMailchimp","SourceMailchimpOAuth20","SourceMailchimpSchemasAuthType","SourceMailgun","SourceMailjetSms","SourceMarketo","SourceMetabase","SourceMicrosoftOnedrive","SourceMicrosoftOnedriveAuthType","SourceMicrosoftOnedriveAutogenerated","SourceMicrosoftOnedriveAvroFormat","SourceMicrosoftOnedriveCSVFormat","SourceMicrosoftOnedriveDocumentFileTypeFormatExperimental","SourceMicrosoftOnedriveFileBasedStreamConfig","SourceMicrosoftOnedriveFiletype","SourceMicrosoftOnedriveFromCSV","SourceMicrosoftOnedriveHeaderDefinitionType","SourceMicrosoftOnedriveJsonlFormat","SourceMicrosoftOnedriveLocal","SourceMicrosoftOnedriveMicrosoftOnedrive","SourceMicrosoftOnedriveMode","SourceMicrosoftOnedriveParquetFormat","SourceMicrosoftOnedriveParsingStrategy","SourceMicrosoftOnedriveSchemasAuthType","SourceMicrosoftOnedriveSchemasFiletype","SourceMicrosoftOnedriveSchemasHeaderDefinitionType","SourceMicrosoftOnedriveSchemasStreamsFiletype","SourceMicrosoftOnedriveSchemasStreamsFormatFiletype","SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype","SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType","SourceMicrosoftOnedriveUserProvided","SourceMicrosoftOnedriveValidationPolicy","SourceMicrosoftSharepoint","SourceMicrosoftSharepointAuthType","SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth","SourceMicrosoftSharepointAutogenerated","SourceMicrosoftSharepointAvroFormat","SourceMicrosoftSharepointCSVFormat","SourceMicrosoftSharepointDocumentFileTypeFormatExperimental","SourceMicrosoftSharepointFileBasedStreamConfig","SourceMicrosoftSharepointFiletype","SourceMicrosoftSharepointFromCSV","SourceMicrosoftSharepointHeaderDefinitionType","SourceMicrosoftSharepointJsonlFormat","SourceMicrosoftSharepointLocal","SourceMicrosoftSharepointMicrosoftSharepoint","SourceMicrosoftSharepointMode","SourceMicrosoftSharepointParquetFormat","SourceMicrosoftSharepointParsingStrategy","SourceMicrosoftSharepointSchemasAuthType","SourceMicrosoftSharepointSchemasFiletype","SourceMicrosoftSharepointSchemasHeaderDefinitionType","SourceMicrosoftSharepointSchemasStreamsFiletype","SourceMicrosoftSharepointSchemasStreamsFormatFiletype","SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype","SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType","SourceMicrosoftSharepointSearchScope","SourceMicrosoftSharepointServiceKeyAuthentication","SourceMicrosoftSharepointUserProvided","SourceMicrosoftSharepointValidationPolicy","SourceMicrosoftTeams","SourceMicrosoftTeamsAuthType","SourceMicrosoftTeamsMicrosoftTeams","SourceMicrosoftTeamsSchemasAuthType","SourceMixpanel","SourceMixpanelOptionTitle","SourceMixpanelRegion","SourceMixpanelSchemasOptionTitle","SourceMonday","SourceMondayAuthType","SourceMondayMonday","SourceMondayOAuth20","SourceMondaySchemasAuthType","SourceMongodbInternalPoc","SourceMongodbV2","SourceMongodbV2ClusterType","SourceMongodbV2SchemasClusterType","SourceMssql","SourceMssqlEncryptedTrustServerCertificate","SourceMssqlEncryptedVerifyCertificate","SourceMssqlInvalidCDCPositionBehaviorAdvanced","SourceMssqlMethod","SourceMssqlMssql","SourceMssqlNoTunnel","SourceMssqlPasswordAuthentication","SourceMssqlSSHKeyAuthentication","SourceMssqlSchemasMethod","SourceMssqlSchemasSSLMethodSSLMethodSSLMethod","SourceMssqlSchemasSslMethod","SourceMssqlSchemasSslMethodSslMethod","SourceMssqlSchemasTunnelMethod","SourceMssqlSchemasTunnelMethodTunnelMethod","SourceMssqlTunnelMethod","SourceMyHours","SourceMysql","SourceMysqlInvalidCDCPositionBehaviorAdvanced","SourceMysqlMethod","SourceMysqlMode","SourceMysqlMysql","SourceMysqlNoTunnel","SourceMysqlPasswordAuthentication","SourceMysqlSSHKeyAuthentication","SourceMysqlScanChangesWithUserDefinedCursor","SourceMysqlSchemasMethod","SourceMysqlSchemasMode","SourceMysqlSchemasSSLModeSSLModesMode","SourceMysqlSchemasSslModeMode","SourceMysqlSchemasTunnelMethod","SourceMysqlSchemasTunnelMethodTunnelMethod","SourceMysqlTunnelMethod","SourceMysqlVerifyCA","SourceNetsuite","SourceNotion","SourceNotionAccessToken","SourceNotionAuthType","SourceNotionNotion","SourceNotionOAuth20","SourceNotionSchemasAuthType","SourceNytimes","SourceOkta","SourceOktaAPIToken","SourceOktaAuthType","SourceOktaOAuth20","SourceOktaSchemasAuthType","SourceOmnisend","SourceOnesignal","SourceOracle","SourceOracleConnectionType","SourceOracleEncryptionMethod","SourceOracleNoTunnel","SourceOracleOracle","SourceOraclePasswordAuthentication","SourceOracleSSHKeyAuthentication","SourceOracleSchemasTunnelMethod","SourceOracleSchemasTunnelMethodTunnelMethod","SourceOracleTunnelMethod","SourceOrb","SourceOrbit","SourceOutbrainAmplify","SourceOutbrainAmplifyAccessToken","SourceOutbrainAmplifyUsernamePassword","SourceOutreach","SourcePatchRequest","SourcePaypalTransaction","SourcePaystack","SourcePendo","SourcePersistiq","SourcePexelsAPI","SourcePinterest","SourcePinterestAuthMethod","SourcePinterestLevel","SourcePinterestPinterest","SourcePinterestSchemasValidEnums","SourcePinterestValidEnums","SourcePipedrive","SourcePocket","SourcePocketSortBy","SourcePokeapi","SourcePolygonStockAPI","SourcePostgres","SourcePostgresAllow","SourcePostgresDisable","SourcePostgresInvalidCDCPositionBehaviorAdvanced","SourcePostgresMethod","SourcePostgresMode","SourcePostgresNoTunnel","SourcePostgresPasswordAuthentication","SourcePostgresPostgres","SourcePostgresPrefer","SourcePostgresRequire","SourcePostgresSSHKeyAuthentication","SourcePostgresScanChangesWithUserDefinedCursor","SourcePostgresSchemasMethod","SourcePostgresSchemasMode","SourcePostgresSchemasReplicationMethodMethod","SourcePostgresSchemasSSLModeSSLModes5Mode","SourcePostgresSchemasSSLModeSSLModes6Mode","SourcePostgresSchemasSSLModeSSLModesMode","SourcePostgresSchemasSslModeMode","SourcePostgresSchemasTunnelMethod","SourcePostgresSchemasTunnelMethodTunnelMethod","SourcePostgresTunnelMethod","SourcePostgresVerifyCa","SourcePostgresVerifyFull","SourcePosthog","SourcePostmarkapp","SourcePrestashop","SourcePunkAPI","SourcePutRequest","SourcePypi","SourceQualaroo","SourceQuickbooks","SourceQuickbooksAuthType","SourceQuickbooksOAuth20","SourceRailz","SourceRecharge","SourceRecreation","SourceRecruitee","SourceRecurly","SourceRedshift","SourceRedshiftRedshift","SourceResponse","SourceRetently","SourceRetentlyAuthType","SourceRetentlyRetently","SourceRetentlySchemasAuthType","SourceRkiCovid","SourceRss","SourceS3","SourceS3Autogenerated","SourceS3AvroFormat","SourceS3CSVFormat","SourceS3DocumentFileTypeFormatExperimental","SourceS3FileBasedStreamConfig","SourceS3Filetype","SourceS3FromCSV","SourceS3HeaderDefinitionType","SourceS3InferenceType","SourceS3JsonlFormat","SourceS3Local","SourceS3Mode","SourceS3ParquetFormat","SourceS3ParsingStrategy","SourceS3S3","SourceS3SchemasFiletype","SourceS3SchemasFormatFileFormatFiletype","SourceS3SchemasFormatFiletype","SourceS3SchemasHeaderDefinitionType","SourceS3SchemasStreamsFiletype","SourceS3SchemasStreamsFormatFiletype","SourceS3SchemasStreamsFormatFormat4Filetype","SourceS3SchemasStreamsFormatFormat5Filetype","SourceS3SchemasStreamsFormatFormatFiletype","SourceS3SchemasStreamsHeaderDefinitionType","SourceS3UserProvided","SourceS3ValidationPolicy","SourceSalesforce","SourceSalesforceSalesforce","SourceSalesloft","SourceSalesloftAuthType","SourceSalesloftSchemasAuthType","SourceSapFieldglass","SourceSecoda","SourceSendgrid","SourceSendinblue","SourceSenseforce","SourceSentry","SourceSftp","SourceSftpAuthMethod","SourceSftpBulk","SourceSftpPasswordAuthentication","SourceSftpSSHKeyAuthentication","SourceSftpSchemasAuthMethod","SourceShopify","SourceShopifyAuthMethod","SourceShopifyOAuth20","SourceShopifySchemasAuthMethod","SourceShopifyShopify","SourceShortio","SourceSlack","SourceSlackAPIToken","SourceSlackOptionTitle","SourceSlackSchemasOptionTitle","SourceSlackSlack","SourceSmaily","SourceSmartengage","SourceSmartsheets","SourceSmartsheetsAuthType","SourceSmartsheetsOAuth20","SourceSmartsheetsSchemasAuthType","SourceSmartsheetsSmartsheets","SourceSnapchatMarketing","SourceSnapchatMarketingSnapchatMarketing","SourceSnowflake","SourceSnowflakeAuthType","SourceSnowflakeOAuth20","SourceSnowflakeSchemasAuthType","SourceSnowflakeSnowflake","SourceSnowflakeUsernameAndPassword","SourceSonarCloud","SourceSpacexAPI","SourceSquare","SourceSquareAPIKey","SourceSquareAuthType","SourceSquareSchemasAuthType","SourceSquareSquare","SourceStrava","SourceStravaAuthType","SourceStravaStrava","SourceStripe","SourceSurveySparrow","SourceSurveySparrowURLBase","SourceSurveymonkey","SourceSurveymonkeyAuthMethod","SourceSurveymonkeySurveymonkey","SourceTempo","SourceTheGuardianAPI","SourceTiktokMarketing","SourceTiktokMarketingAuthType","SourceTiktokMarketingOAuth20","SourceTiktokMarketingSchemasAuthType","SourceTiktokMarketingTiktokMarketing","SourceTrello","SourceTrustpilot","SourceTrustpilotAPIKey","SourceTrustpilotAuthType","SourceTrustpilotOAuth20","SourceTrustpilotSchemasAuthType","SourceTvmazeSchedule","SourceTwilio","SourceTwilioTaskrouter","SourceTwitter","SourceTypeform","SourceTypeformAuthType","SourceTypeformOAuth20","SourceTypeformPrivateToken","SourceTypeformSchemasAuthType","SourceTypeformTypeform","SourceUsCensus","SourceVantage","SourceWebflow","SourceWhiskyHunter","SourceWikipediaPageviews","SourceWoocommerce","SourceXkcd","SourceYandexMetrica","SourceYotpo","SourceYoutubeAnalytics","SourceYoutubeAnalyticsYoutubeAnalytics","SourceZendeskChat","SourceZendeskChatAccessToken","SourceZendeskChatCredentials","SourceZendeskChatOAuth20","SourceZendeskChatSchemasCredentials","SourceZendeskChatZendeskChat","SourceZendeskSell","SourceZendeskSunshine","SourceZendeskSunshineAPIToken","SourceZendeskSunshineAuthMethod","SourceZendeskSunshineOAuth20","SourceZendeskSunshineSchemasAuthMethod","SourceZendeskSunshineZendeskSunshine","SourceZendeskSupport","SourceZendeskSupportAPIToken","SourceZendeskSupportCredentials","SourceZendeskSupportOAuth20","SourceZendeskSupportSchemasCredentials","SourceZendeskSupportZendeskSupport","SourceZendeskTalk","SourceZendeskTalkAPIToken","SourceZendeskTalkAuthType","SourceZendeskTalkOAuth20","SourceZendeskTalkSchemasAuthType","SourceZendeskTalkZendeskTalk","SourceZenloop","SourceZohoCrm","SourceZohoCrmEnvironment","SourceZoom","SourcesResponse","SpacexAPI","Square","SquareCredentials","StandaloneMongoDbInstance","Standard","StandardInserts","State","StateFilter","Status","Storage","Strategies","Strava","StreamConfiguration","StreamConfigurations","StreamName","StreamProperties","StreamPropertiesResponse","StreamsCriteria","StringFilter","Stripe","SurveyMonkeyAuthorizationMethod","SurveySparrow","Surveymonkey","SurveymonkeyCredentials","SwipeUpAttributionWindow","SystemIDSID","TLSEncryptedVerifyCertificate","Tempo","Teradata","TestDestinationType","TheGuardianAPI","TiktokMarketing","TiktokMarketingCredentials","TimeGranularity","TopHeadlinesTopic","TransformationQueryRunType","Trello","Trustpilot","TunnelMethod","TvmazeSchedule","Twilio","TwilioTaskrouter","Twitter","Type","Typeform","TypeformCredentials","Typesense","URLBase","Unencrypted","UnexpectedFieldBehavior","UsCensus","UserProvided","UsernameAndPassword","UsernamePassword","ValidActionBreakdowns","ValidAdSetStatuses","ValidAdStatuses","ValidBreakdowns","ValidCampaignStatuses","ValidationPolicy","Validenums","ValueType","Vantage","Vectara","VerifyCa","VerifyFull","VerifyIdentity","ViewAttributionWindow","ViewWindowDays","Weaviate","Webflow","WhiskyHunter","WikipediaPageviews","Woocommerce","WorkspaceCreateRequest","WorkspaceOAuthCredentialsRequest","WorkspaceResponse","WorkspaceUpdateRequest","WorkspacesResponse","Xkcd","Xz","YandexMetrica","Yotpo","YoutubeAnalytics","YoutubeAnalyticsCredentials","ZendeskChat","ZendeskChatCredentials","ZendeskSell","ZendeskSunshine","ZendeskSunshineCredentials","ZendeskSupport","ZendeskSupportCredentials","ZendeskTalk","ZendeskTalkCredentials","Zenloop","ZohoCRMEdition","ZohoCrm","Zoom","Zstandard"] +__all__ = ["AESCBCEnvelopeEncryption","APIAccessToken","APIKey","APIKeyAuth","APIKeySecret","APIParameterConfigModel","APIPassword","APIToken","AWSEnvironment","AWSRegion","AWSS3Staging","AWSSellerPartnerAccountType","AccessToken","AccessTokenIsRequiredForAuthenticationRequests","AccountNames","ActionReportTime","ActorTypeEnum","AdAnalyticsReportConfiguration","Aha","AirbyteAPIConnectionSchedule","Aircall","Airtable","Allow","AmazonAds","AmazonS3","AmazonSellerPartner","AmazonSqs","Amplitude","AndGroup","ApifyDataset","Appfollow","Applications","Asana","AsanaCredentials","Astra","Auth0","AuthMethod","AuthType","AuthenticateViaAPIKey","AuthenticateViaAccessKeys","AuthenticateViaAsanaOauth","AuthenticateViaGoogleOauth","AuthenticateViaHarvestOAuth","AuthenticateViaLeverAPIKey","AuthenticateViaLeverOAuth","AuthenticateViaMicrosoft","AuthenticateViaMicrosoftOAuth","AuthenticateViaMicrosoftOAuth20","AuthenticateViaOAuth","AuthenticateViaOAuth20","AuthenticateViaOauth2","AuthenticateViaPassword","AuthenticateViaPrivateKey","AuthenticateViaRetentlyOAuth","AuthenticateViaStorageAccountKey","AuthenticateWithAPIToken","AuthenticateWithPersonalAccessToken","AuthenticationViaGoogleOAuth","Authorization","Autogenerated","Avro","AvroApacheAvro","AvroFormat","AwsCloudtrail","AwsDatalake","AzBlobAzureBlobStorage","AzureBlobStorage","AzureBlobStorageCredentials","AzureOpenAI","AzureTable","BambooHr","BetweenFilter","Bigquery","BingAds","BothUsernameAndPasswordIsRequiredForAuthenticationRequest","Braintree","Braze","ByMarkdownHeader","ByProgrammingLanguage","BySeparator","Bzip2","CSVCommaSeparatedValues","CSVFormat","CacheType","CaptureModeAdvanced","Cart","Categories","CentralAPIRouter","Chargebee","Chartmogul","ChooseHowToPartitionData","ChromaLocalPersistance","ClickWindowDays","Clickhouse","ClickupAPI","Clockify","CloseCom","Coda","Codec","Cohere","CohortReportSettings","Cohorts","CohortsRange","CoinAPI","Coinmarketcap","Collection","CompressionCodecOptional","CompressionType","Configcat","Confluence","ConnectionCreateRequest","ConnectionPatchRequest","ConnectionResponse","ConnectionScheduleResponse","ConnectionStatusEnum","ConnectionSyncModeEnum","ConnectionType","ConnectionsResponse","ContentType","ContinuousFeed","ConversionReportTime","Convex","Country","CredentialType","Credentials","CredentialsTitle","Csv","CustomQueriesArray","CustomReportConfig","CustomerStatus","DataCenterLocation","DataFreshness","DataRegion","DataSourceType","DataType","Databricks","Datascope","DatasetLocation","DateRange","DefaultVectorizer","Deflate","Delighted","DestinationAstra","DestinationAstraLanguage","DestinationAstraMode","DestinationAstraSchemasEmbeddingEmbedding1Mode","DestinationAstraSchemasEmbeddingEmbeddingMode","DestinationAstraSchemasEmbeddingMode","DestinationAstraSchemasMode","DestinationAstraSchemasProcessingMode","DestinationAstraSchemasProcessingTextSplitterMode","DestinationAstraSchemasProcessingTextSplitterTextSplitterMode","DestinationAwsDatalake","DestinationAwsDatalakeCompressionCodecOptional","DestinationAwsDatalakeCredentialsTitle","DestinationAwsDatalakeFormatTypeWildcard","DestinationAzureBlobStorage","DestinationAzureBlobStorageAzureBlobStorage","DestinationAzureBlobStorageFormatType","DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON","DestinationBigquery","DestinationBigqueryCredentialType","DestinationBigqueryHMACKey","DestinationBigqueryMethod","DestinationClickhouse","DestinationClickhouseSchemasTunnelMethod","DestinationClickhouseTunnelMethod","DestinationConvex","DestinationCreateRequest","DestinationDatabricks","DestinationDatabricksAzureBlobStorage","DestinationDatabricksDataSourceType","DestinationDatabricksS3BucketRegion","DestinationDatabricksSchemasDataSourceType","DestinationDevNull","DestinationDuckdb","DestinationDynamodb","DestinationElasticsearch","DestinationElasticsearchMethod","DestinationElasticsearchSchemasMethod","DestinationFirestore","DestinationGcs","DestinationGcsCSVCommaSeparatedValues","DestinationGcsCodec","DestinationGcsCompressionCodec","DestinationGcsCompressionType","DestinationGcsFormatType","DestinationGcsGZIP","DestinationGcsJSONLinesNewlineDelimitedJSON","DestinationGcsNoCompression","DestinationGcsParquetColumnarStorage","DestinationGcsSchemasCodec","DestinationGcsSchemasCompressionType","DestinationGcsSchemasFormatCodec","DestinationGcsSchemasFormatCompressionType","DestinationGcsSchemasFormatFormatType","DestinationGcsSchemasFormatOutputFormat1Codec","DestinationGcsSchemasFormatOutputFormatCodec","DestinationGcsSchemasFormatOutputFormatFormatType","DestinationGcsSchemasFormatType","DestinationGcsSchemasNoCompression","DestinationGoogleSheets","DestinationGoogleSheetsGoogleSheets","DestinationLangchain","DestinationLangchainFake","DestinationLangchainMode","DestinationLangchainOpenAI","DestinationLangchainPinecone","DestinationLangchainProcessingConfigModel","DestinationLangchainSchemasIndexingIndexing3Mode","DestinationLangchainSchemasIndexingIndexingMode","DestinationLangchainSchemasIndexingMode","DestinationLangchainSchemasMode","DestinationMilvus","DestinationMilvusAPIToken","DestinationMilvusAzureOpenAI","DestinationMilvusByMarkdownHeader","DestinationMilvusByProgrammingLanguage","DestinationMilvusBySeparator","DestinationMilvusCohere","DestinationMilvusFake","DestinationMilvusFieldNameMappingConfigModel","DestinationMilvusIndexing","DestinationMilvusLanguage","DestinationMilvusMode","DestinationMilvusOpenAI","DestinationMilvusOpenAICompatible","DestinationMilvusProcessingConfigModel","DestinationMilvusSchemasEmbeddingEmbedding5Mode","DestinationMilvusSchemasEmbeddingEmbeddingMode","DestinationMilvusSchemasEmbeddingMode","DestinationMilvusSchemasIndexingAuthAuthenticationMode","DestinationMilvusSchemasIndexingAuthMode","DestinationMilvusSchemasIndexingMode","DestinationMilvusSchemasMode","DestinationMilvusSchemasProcessingMode","DestinationMilvusSchemasProcessingTextSplitterMode","DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode","DestinationMilvusUsernamePassword","DestinationMongodb","DestinationMongodbAuthorization","DestinationMongodbInstance","DestinationMongodbNoTunnel","DestinationMongodbPasswordAuthentication","DestinationMongodbSSHKeyAuthentication","DestinationMongodbSchemasAuthorization","DestinationMongodbSchemasInstance","DestinationMongodbSchemasTunnelMethod","DestinationMongodbSchemasTunnelMethodTunnelMethod","DestinationMongodbTunnelMethod","DestinationMssql","DestinationMssqlNoTunnel","DestinationMssqlPasswordAuthentication","DestinationMssqlSSHKeyAuthentication","DestinationMssqlSchemasSslMethod","DestinationMssqlSchemasTunnelMethod","DestinationMssqlSchemasTunnelMethodTunnelMethod","DestinationMssqlSslMethod","DestinationMssqlTunnelMethod","DestinationMysql","DestinationMysqlNoTunnel","DestinationMysqlPasswordAuthentication","DestinationMysqlSSHKeyAuthentication","DestinationMysqlSchemasTunnelMethod","DestinationMysqlSchemasTunnelMethodTunnelMethod","DestinationMysqlTunnelMethod","DestinationOracle","DestinationOracleNoTunnel","DestinationOraclePasswordAuthentication","DestinationOracleSSHKeyAuthentication","DestinationOracleSchemasTunnelMethod","DestinationOracleSchemasTunnelMethodTunnelMethod","DestinationOracleTunnelMethod","DestinationPatchRequest","DestinationPinecone","DestinationPineconeAzureOpenAI","DestinationPineconeByMarkdownHeader","DestinationPineconeByProgrammingLanguage","DestinationPineconeBySeparator","DestinationPineconeCohere","DestinationPineconeFake","DestinationPineconeFieldNameMappingConfigModel","DestinationPineconeIndexing","DestinationPineconeLanguage","DestinationPineconeMode","DestinationPineconeOpenAI","DestinationPineconeOpenAICompatible","DestinationPineconeProcessingConfigModel","DestinationPineconeSchemasEmbeddingEmbedding5Mode","DestinationPineconeSchemasEmbeddingEmbeddingMode","DestinationPineconeSchemasEmbeddingMode","DestinationPineconeSchemasMode","DestinationPineconeSchemasProcessingMode","DestinationPineconeSchemasProcessingTextSplitterMode","DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode","DestinationPostgres","DestinationPostgresMode","DestinationPostgresNoTunnel","DestinationPostgresPasswordAuthentication","DestinationPostgresSSHKeyAuthentication","DestinationPostgresSchemasMode","DestinationPostgresSchemasSSLModeSSLModes6Mode","DestinationPostgresSchemasSSLModeSSLModesMode","DestinationPostgresSchemasSslModeMode","DestinationPostgresSchemasTunnelMethod","DestinationPostgresSchemasTunnelMethodTunnelMethod","DestinationPostgresTunnelMethod","DestinationPubsub","DestinationPutRequest","DestinationQdrant","DestinationQdrantAzureOpenAI","DestinationQdrantByMarkdownHeader","DestinationQdrantByProgrammingLanguage","DestinationQdrantBySeparator","DestinationQdrantCohere","DestinationQdrantFake","DestinationQdrantFieldNameMappingConfigModel","DestinationQdrantIndexing","DestinationQdrantLanguage","DestinationQdrantMode","DestinationQdrantNoAuth","DestinationQdrantOpenAI","DestinationQdrantOpenAICompatible","DestinationQdrantProcessingConfigModel","DestinationQdrantSchemasEmbeddingEmbedding5Mode","DestinationQdrantSchemasEmbeddingEmbeddingMode","DestinationQdrantSchemasEmbeddingMode","DestinationQdrantSchemasIndexingAuthMethodMode","DestinationQdrantSchemasIndexingMode","DestinationQdrantSchemasMode","DestinationQdrantSchemasProcessingMode","DestinationQdrantSchemasProcessingTextSplitterMode","DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode","DestinationRedis","DestinationRedisDisable","DestinationRedisMode","DestinationRedisNoTunnel","DestinationRedisPasswordAuthentication","DestinationRedisSSHKeyAuthentication","DestinationRedisSchemasMode","DestinationRedisSchemasTunnelMethod","DestinationRedisSchemasTunnelMethodTunnelMethod","DestinationRedisTunnelMethod","DestinationRedisVerifyFull","DestinationRedshift","DestinationRedshiftEncryptionType","DestinationRedshiftMethod","DestinationRedshiftNoTunnel","DestinationRedshiftPasswordAuthentication","DestinationRedshiftS3BucketRegion","DestinationRedshiftSSHKeyAuthentication","DestinationRedshiftSchemasMethod","DestinationRedshiftSchemasTunnelMethod","DestinationRedshiftSchemasTunnelMethodTunnelMethod","DestinationRedshiftTunnelMethod","DestinationResponse","DestinationS3","DestinationS3AvroApacheAvro","DestinationS3Bzip2","DestinationS3CSVCommaSeparatedValues","DestinationS3Codec","DestinationS3CompressionType","DestinationS3Deflate","DestinationS3Flattening","DestinationS3FormatType","DestinationS3GZIP","DestinationS3Glue","DestinationS3GlueCompressionType","DestinationS3GlueFormatType","DestinationS3GlueGZIP","DestinationS3GlueJSONLinesNewlineDelimitedJSON","DestinationS3GlueNoCompression","DestinationS3GlueS3BucketRegion","DestinationS3GlueSchemasCompressionType","DestinationS3JSONLinesNewlineDelimitedJSON","DestinationS3NoCompression","DestinationS3ParquetColumnarStorage","DestinationS3S3BucketRegion","DestinationS3SchemasCodec","DestinationS3SchemasCompressionCodec","DestinationS3SchemasCompressionType","DestinationS3SchemasFlattening","DestinationS3SchemasFormatCodec","DestinationS3SchemasFormatCompressionType","DestinationS3SchemasFormatFormatType","DestinationS3SchemasFormatNoCompression","DestinationS3SchemasFormatOutputFormat3Codec","DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec","DestinationS3SchemasFormatOutputFormatCodec","DestinationS3SchemasFormatOutputFormatCompressionType","DestinationS3SchemasFormatOutputFormatFormatType","DestinationS3SchemasFormatType","DestinationS3SchemasGZIP","DestinationS3SchemasNoCompression","DestinationS3Snappy","DestinationS3Xz","DestinationS3Zstandard","DestinationSftpJSON","DestinationSnowflake","DestinationSnowflakeAuthType","DestinationSnowflakeOAuth20","DestinationSnowflakeSchemasAuthType","DestinationSnowflakeSchemasCredentialsAuthType","DestinationSnowflakeSnowflake","DestinationTeradata","DestinationTeradataAllow","DestinationTeradataDisable","DestinationTeradataMode","DestinationTeradataPrefer","DestinationTeradataRequire","DestinationTeradataSchemasMode","DestinationTeradataSchemasSSLModeSSLModes5Mode","DestinationTeradataSchemasSSLModeSSLModes6Mode","DestinationTeradataSchemasSSLModeSSLModesMode","DestinationTeradataSchemasSslModeMode","DestinationTeradataVerifyCa","DestinationTeradataVerifyFull","DestinationTypesense","DestinationVectara","DestinationWeaviate","DestinationWeaviateAPIToken","DestinationWeaviateAzureOpenAI","DestinationWeaviateByMarkdownHeader","DestinationWeaviateByProgrammingLanguage","DestinationWeaviateBySeparator","DestinationWeaviateCohere","DestinationWeaviateFake","DestinationWeaviateFieldNameMappingConfigModel","DestinationWeaviateIndexing","DestinationWeaviateLanguage","DestinationWeaviateMode","DestinationWeaviateOpenAI","DestinationWeaviateOpenAICompatible","DestinationWeaviateProcessingConfigModel","DestinationWeaviateSchemasEmbeddingEmbedding5Mode","DestinationWeaviateSchemasEmbeddingEmbedding6Mode","DestinationWeaviateSchemasEmbeddingEmbedding7Mode","DestinationWeaviateSchemasEmbeddingEmbeddingMode","DestinationWeaviateSchemasEmbeddingMode","DestinationWeaviateSchemasIndexingAuthAuthenticationMode","DestinationWeaviateSchemasIndexingAuthMode","DestinationWeaviateSchemasIndexingMode","DestinationWeaviateSchemasMode","DestinationWeaviateSchemasProcessingMode","DestinationWeaviateSchemasProcessingTextSplitterMode","DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode","DestinationWeaviateUsernamePassword","DestinationYellowbrick","DestinationYellowbrickAllow","DestinationYellowbrickDisable","DestinationYellowbrickMode","DestinationYellowbrickNoTunnel","DestinationYellowbrickPasswordAuthentication","DestinationYellowbrickPrefer","DestinationYellowbrickRequire","DestinationYellowbrickSSHKeyAuthentication","DestinationYellowbrickSchemasMode","DestinationYellowbrickSchemasSSLModeSSLModes5Mode","DestinationYellowbrickSchemasSSLModeSSLModes6Mode","DestinationYellowbrickSchemasSSLModeSSLModesMode","DestinationYellowbrickSchemasSslModeMode","DestinationYellowbrickSchemasTunnelMethod","DestinationYellowbrickSchemasTunnelMethodTunnelMethod","DestinationYellowbrickTunnelMethod","DestinationYellowbrickVerifyCa","DestinationYellowbrickVerifyFull","DestinationsResponse","DetailType","DetectChangesWithXminSystemColumn","DevNull","Dimension","Disable","Disabled","DistanceMetric","Dixa","DocArrayHnswSearch","Dockerhub","DocumentFileTypeFormatExperimental","DoubleValue","Dremio","Duckdb","DynamoDBRegion","Dynamodb","E2eTestCloud","EUBasedAccount","Elasticsearch","Emailoctopus","Enabled","EncryptedTrustServerCertificate","EncryptedVerifyCertificate","EncryptionAlgorithm","EncryptionMethod","EncryptionType","EngagementWindowDays","Environment","ExchangeRates","Expression","FacebookMarketing","Fake","Faker","Fauna","FieldNameMappingConfigModel","File","FileBasedStreamConfig","FileFormat","Filetype","Filter","FilterName","FilterType","Firebolt","Firestore","Flattening","FormatType","FormatTypeWildcard","Freshcaller","Freshdesk","Freshsales","FromCSV","FromField","GCSBucketRegion","GCSGoogleCloudStorage","GCSStaging","GCSTmpFilesAfterwardProcessing","GainsightPx","Gcs","GeographyEnum","GeographyEnumNoDefault","Getlago","Github","GithubCredentials","Gitlab","GitlabCredentials","Glassfrog","GlobalAccount","Gnews","GoogleAds","GoogleAdsCredentials","GoogleAnalyticsDataAPI","GoogleAnalyticsDataAPICredentials","GoogleAnalyticsV4ServiceAccountOnly","GoogleCredentials","GoogleDirectory","GoogleDrive","GoogleDriveCredentials","GooglePagespeedInsights","GoogleSearchConsole","GoogleSheets","GoogleSheetsCredentials","GoogleWebfonts","Granularity","GranularityForGeoLocationRegion","GranularityForPeriodicReports","Greenhouse","Gridly","Gzip","HMACKey","HTTPSPublicWeb","Harvest","Header","HeaderDefinitionType","Hubplanner","Hubspot","HubspotCredentials","IAMRole","IAMUser","In","InListFilter","Indexing","InferenceType","InitiateOauthRequest","InsightConfig","Insightly","Instagram","Instance","Instatus","Int64Value","Intercom","InvalidCDCPositionBehaviorAdvanced","Ip2whois","IssuesStreamExpandWith","Iterable","JSONLinesNewlineDelimitedJSON","Jira","JobCreateRequest","JobResponse","JobStatusEnum","JobTypeEnum","JobsResponse","Jsonl","JsonlFormat","K6Cloud","KeyPairAuthentication","Klarna","Klaviyo","Kyve","LSNCommitBehaviour","Langchain","Language","Launchdarkly","Lemlist","Level","LeverHiring","LeverHiringCredentials","LinkedinAds","LinkedinAdsCredentials","LinkedinPages","Linnworks","Local","LoginPassword","Lokalise","Mailchimp","MailchimpCredentials","Mailgun","MailjetSms","Marketo","Metabase","Method","MicrosoftOnedrive","MicrosoftOnedriveCredentials","MicrosoftSharepoint","MicrosoftSharepointCredentials","MicrosoftTeams","MicrosoftTeamsCredentials","Milvus","Mixpanel","Mode","Monday","MondayCredentials","MongoDBAtlas","MongoDBAtlasReplicaSet","Mongodb","MongodbInternalPoc","MongodbV2","Mssql","MultiSchema","MyHours","Mysql","NamespaceDefinitionEnum","NamespaceDefinitionEnumNoDefault","NativeNetworkEncryptionNNE","Netsuite","NoAuth","NoAuthentication","NoCompression","NoEncryption","NoExternalEmbedding","NoTunnel","NonBreakingSchemaUpdatesBehaviorEnum","NonBreakingSchemaUpdatesBehaviorEnumNoDefault","NoneT","Normalization","NormalizationFlattening","NotExpression","Notion","NotionCredentials","Nullable","NumericFilter","Nytimes","OAuth","OAuth20","OAuth20Credentials","OAuth2AccessToken","OAuth2ConfidentialApplication","OAuthActorNames","OauthAuthentication","Okta","Omnisend","Onesignal","OpenAI","OpenAICompatible","Operator","OptionTitle","OptionsList","OrGroup","Oracle","Orb","Orbit","OriginDatacenterOfTheSurveyMonkeyAccount","OutbrainAmplify","Outreach","Parquet","ParquetColumnarStorage","ParquetFormat","ParsingStrategy","PasswordAuthentication","PaypalTransaction","Paystack","Pendo","PeriodUsedForMostPopularStreams","Persistiq","PersonalAccessToken","PexelsAPI","Pinecone","Pinterest","PinterestCredentials","Pipedrive","PivotCategory","Plugin","Pocket","Pokeapi","PokemonName","PolygonStockAPI","Postgres","Posthog","Postmarkapp","Prefer","Preferred","Prestashop","PrivateApp","PrivateToken","ProcessingConfigModel","ProductCatalog","ProjectSecret","Pubsub","PunkAPI","Pypi","Qdrant","Qualaroo","Railz","ReadChangesUsingBinaryLogCDC","ReadChangesUsingChangeDataCaptureCDC","ReadChangesUsingWriteAheadLogCDC","Recharge","RecommendedManagedTables","Recreation","Recruitee","Recurly","Redis","Redshift","Region","ReplicaSet","ReportConfig","ReportOptions","ReportRecordTypes","ReportingDataObject","Require","Required","Retently","RetentlyCredentials","RkiCovid","RoleBasedAuthentication","Rss","S3","S3AmazonWebServices","S3BucketRegion","S3Glue","SCPSecureCopyProtocol","SFTPSecureFileTransferProtocol","SSHKeyAuthentication","SSHSecureShell","Salesforce","Salesloft","SandboxAccessToken","SapFieldglass","ScanChangesWithUserDefinedCursor","ScheduleTypeEnum","ScheduleTypeWithBasicEnum","SchemeBasicAuth","SearchCriteria","SearchScope","Secoda","Security","SelfManagedReplicaSet","Sendgrid","Sendinblue","Senseforce","Sentry","SerializationLibrary","ServiceAccount","ServiceAccountKey","ServiceAccountKeyAuthentication","ServiceKeyAuthentication","ServiceName","Sftp","SftpBulk","SftpJSON","ShareTypeUsedForMostPopularSharedStream","Shopify","ShopifyCredentials","Shortio","SignInViaGoogleOAuth","SignInViaSlackOAuth","Silent","SingleSchema","SingleStoreAccessToken","Slack","SlackCredentials","Smaily","Smartengage","Smartsheets","SmartsheetsCredentials","SnapchatMarketing","Snappy","Snowflake","SnowflakeCredentials","SonarCloud","SortBy","SourceAha","SourceAircall","SourceAirtable","SourceAirtableAirtable","SourceAirtableAuthMethod","SourceAirtableOAuth20","SourceAirtableSchemasAuthMethod","SourceAmazonAds","SourceAmazonAdsAmazonAds","SourceAmazonAdsAuthType","SourceAmazonSellerPartner","SourceAmazonSellerPartnerAmazonSellerPartner","SourceAmazonSellerPartnerAuthType","SourceAmazonSqs","SourceAmazonSqsAWSRegion","SourceAmplitude","SourceApifyDataset","SourceAppfollow","SourceAsana","SourceAsanaAsana","SourceAsanaCredentialsTitle","SourceAsanaSchemasCredentialsTitle","SourceAuth0","SourceAuth0SchemasAuthenticationMethod","SourceAuth0SchemasCredentialsAuthenticationMethod","SourceAwsCloudtrail","SourceAzureBlobStorage","SourceAzureBlobStorageAuthType","SourceAzureBlobStorageAzureBlobStorage","SourceAzureBlobStorageFiletype","SourceAzureBlobStorageHeaderDefinitionType","SourceAzureBlobStorageMode","SourceAzureBlobStorageSchemasAuthType","SourceAzureBlobStorageSchemasFiletype","SourceAzureBlobStorageSchemasHeaderDefinitionType","SourceAzureBlobStorageSchemasStreamsFiletype","SourceAzureBlobStorageSchemasStreamsFormatFiletype","SourceAzureBlobStorageSchemasStreamsFormatFormatFiletype","SourceAzureTable","SourceBambooHr","SourceBigquery","SourceBigqueryBigquery","SourceBingAds","SourceBingAdsBingAds","SourceBraintree","SourceBraintreeEnvironment","SourceBraze","SourceCart","SourceCartAuthType","SourceCartSchemasAuthType","SourceChargebee","SourceChartmogul","SourceClickhouse","SourceClickhouseClickhouse","SourceClickhouseNoTunnel","SourceClickhousePasswordAuthentication","SourceClickhouseSSHKeyAuthentication","SourceClickhouseSchemasTunnelMethod","SourceClickhouseSchemasTunnelMethodTunnelMethod","SourceClickhouseTunnelMethod","SourceClickupAPI","SourceClockify","SourceCloseCom","SourceCoda","SourceCoinAPI","SourceCoinmarketcap","SourceConfigcat","SourceConfluence","SourceConvex","SourceConvexConvex","SourceCreateRequest","SourceDatascope","SourceDelighted","SourceDixa","SourceDockerhub","SourceDremio","SourceDynamodb","SourceDynamodbAuthType","SourceDynamodbDynamodb","SourceDynamodbDynamodbRegion","SourceDynamodbSchemasAuthType","SourceE2eTestCloudSchemasType","SourceE2eTestCloudType","SourceEmailoctopus","SourceExchangeRates","SourceFacebookMarketing","SourceFacebookMarketingActionReportTime","SourceFacebookMarketingFacebookMarketing","SourceFacebookMarketingValidEnums","SourceFaker","SourceFauna","SourceFaunaDeletionMode","SourceFaunaSchemasDeletionMode","SourceFile","SourceFileS3AmazonWebServices","SourceFileSchemasProviderStorage","SourceFileSchemasProviderStorageProvider6Storage","SourceFileSchemasProviderStorageProvider7Storage","SourceFileSchemasProviderStorageProviderStorage","SourceFileSchemasStorage","SourceFileStorage","SourceFirebolt","SourceFreshcaller","SourceFreshdesk","SourceFreshsales","SourceGCSStreamConfig","SourceGainsightPx","SourceGcs","SourceGcsAutogenerated","SourceGcsCSVFormat","SourceGcsFiletype","SourceGcsFromCSV","SourceGcsGcs","SourceGcsHeaderDefinitionType","SourceGcsInferenceType","SourceGcsSchemasHeaderDefinitionType","SourceGcsSchemasStreamsHeaderDefinitionType","SourceGcsUserProvided","SourceGcsValidationPolicy","SourceGetlago","SourceGithub","SourceGithubGithub","SourceGithubOptionTitle","SourceGithubPersonalAccessToken","SourceGitlab","SourceGitlabAuthType","SourceGitlabGitlab","SourceGitlabOAuth20","SourceGitlabSchemasAuthType","SourceGlassfrog","SourceGnews","SourceGoogleAds","SourceGoogleAdsGoogleAds","SourceGoogleAnalyticsDataAPI","SourceGoogleAnalyticsDataAPIAndGroup","SourceGoogleAnalyticsDataAPIAuthType","SourceGoogleAnalyticsDataAPIBetweenFilter","SourceGoogleAnalyticsDataAPICustomReportConfig","SourceGoogleAnalyticsDataAPIDisabled","SourceGoogleAnalyticsDataAPIDoubleValue","SourceGoogleAnalyticsDataAPIEnabled","SourceGoogleAnalyticsDataAPIExpression","SourceGoogleAnalyticsDataAPIFilter","SourceGoogleAnalyticsDataAPIFilterName","SourceGoogleAnalyticsDataAPIFilterType","SourceGoogleAnalyticsDataAPIGoogleAnalyticsDataAPI","SourceGoogleAnalyticsDataAPIGranularity","SourceGoogleAnalyticsDataAPIInListFilter","SourceGoogleAnalyticsDataAPIInt64Value","SourceGoogleAnalyticsDataAPINotExpression","SourceGoogleAnalyticsDataAPINumericFilter","SourceGoogleAnalyticsDataAPIOrGroup","SourceGoogleAnalyticsDataAPISchemasAuthType","SourceGoogleAnalyticsDataAPISchemasBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayEnabled","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3BetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3DoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3InListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3Int64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3NumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3StringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterBetweenFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterDoubleValue","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterExpression","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterName","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterInListFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterInt64Value","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValueType","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayNumericFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayStringFilter","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValidEnums","SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValueType","SourceGoogleAnalyticsDataAPISchemasDoubleValue","SourceGoogleAnalyticsDataAPISchemasEnabled","SourceGoogleAnalyticsDataAPISchemasExpression","SourceGoogleAnalyticsDataAPISchemasFilterName","SourceGoogleAnalyticsDataAPISchemasFilterType","SourceGoogleAnalyticsDataAPISchemasInListFilter","SourceGoogleAnalyticsDataAPISchemasInt64Value","SourceGoogleAnalyticsDataAPISchemasNumericFilter","SourceGoogleAnalyticsDataAPISchemasStringFilter","SourceGoogleAnalyticsDataAPISchemasValidEnums","SourceGoogleAnalyticsDataAPISchemasValueType","SourceGoogleAnalyticsDataAPIStringFilter","SourceGoogleAnalyticsDataAPIValidEnums","SourceGoogleAnalyticsDataAPIValueType","SourceGoogleAnalyticsV4ServiceAccountOnly","SourceGoogleAnalyticsV4ServiceAccountOnlyAuthType","SourceGoogleAnalyticsV4ServiceAccountOnlyServiceAccountKeyAuthentication","SourceGoogleDirectory","SourceGoogleDirectoryCredentialsTitle","SourceGoogleDirectorySchemasCredentialsTitle","SourceGoogleDrive","SourceGoogleDriveAuthType","SourceGoogleDriveAuthenticateViaGoogleOAuth","SourceGoogleDriveAutogenerated","SourceGoogleDriveAvroFormat","SourceGoogleDriveCSVFormat","SourceGoogleDriveDocumentFileTypeFormatExperimental","SourceGoogleDriveFileBasedStreamConfig","SourceGoogleDriveFiletype","SourceGoogleDriveFromCSV","SourceGoogleDriveGoogleDrive","SourceGoogleDriveHeaderDefinitionType","SourceGoogleDriveJsonlFormat","SourceGoogleDriveLocal","SourceGoogleDriveMode","SourceGoogleDriveParquetFormat","SourceGoogleDriveParsingStrategy","SourceGoogleDriveSchemasAuthType","SourceGoogleDriveSchemasFiletype","SourceGoogleDriveSchemasHeaderDefinitionType","SourceGoogleDriveSchemasStreamsFiletype","SourceGoogleDriveSchemasStreamsFormatFiletype","SourceGoogleDriveSchemasStreamsFormatFormatFiletype","SourceGoogleDriveSchemasStreamsHeaderDefinitionType","SourceGoogleDriveServiceAccountKeyAuthentication","SourceGoogleDriveUserProvided","SourceGoogleDriveValidationPolicy","SourceGooglePagespeedInsights","SourceGoogleSearchConsole","SourceGoogleSearchConsoleAuthType","SourceGoogleSearchConsoleCustomReportConfig","SourceGoogleSearchConsoleGoogleSearchConsole","SourceGoogleSearchConsoleOAuth","SourceGoogleSearchConsoleSchemasAuthType","SourceGoogleSearchConsoleServiceAccountKeyAuthentication","SourceGoogleSearchConsoleValidEnums","SourceGoogleSheets","SourceGoogleSheetsAuthType","SourceGoogleSheetsAuthenticateViaGoogleOAuth","SourceGoogleSheetsGoogleSheets","SourceGoogleSheetsSchemasAuthType","SourceGoogleSheetsServiceAccountKeyAuthentication","SourceGoogleWebfonts","SourceGreenhouse","SourceGridly","SourceHarvest","SourceHarvestAuthType","SourceHarvestAuthenticateWithPersonalAccessToken","SourceHarvestSchemasAuthType","SourceHubplanner","SourceHubspot","SourceHubspotAuthType","SourceHubspotHubspot","SourceHubspotOAuth","SourceHubspotSchemasAuthType","SourceInsightly","SourceInstagram","SourceInstagramInstagram","SourceInstatus","SourceIntercom","SourceIntercomIntercom","SourceIp2whois","SourceIterable","SourceJira","SourceK6Cloud","SourceKlarna","SourceKlarnaRegion","SourceKlaviyo","SourceKyve","SourceLaunchdarkly","SourceLemlist","SourceLeverHiring","SourceLeverHiringAuthType","SourceLeverHiringEnvironment","SourceLeverHiringLeverHiring","SourceLeverHiringSchemasAuthType","SourceLinkedinAds","SourceLinkedinAdsAuthMethod","SourceLinkedinAdsLinkedinAds","SourceLinkedinAdsOAuth20","SourceLinkedinAdsSchemasAuthMethod","SourceLinkedinPages","SourceLinkedinPagesAccessToken","SourceLinkedinPagesAuthMethod","SourceLinkedinPagesOAuth20","SourceLinkedinPagesSchemasAuthMethod","SourceLinnworks","SourceLokalise","SourceMailchimp","SourceMailchimpAuthType","SourceMailchimpMailchimp","SourceMailchimpOAuth20","SourceMailchimpSchemasAuthType","SourceMailgun","SourceMailjetSms","SourceMarketo","SourceMetabase","SourceMicrosoftOnedrive","SourceMicrosoftOnedriveAuthType","SourceMicrosoftOnedriveAutogenerated","SourceMicrosoftOnedriveAvroFormat","SourceMicrosoftOnedriveCSVFormat","SourceMicrosoftOnedriveDocumentFileTypeFormatExperimental","SourceMicrosoftOnedriveFileBasedStreamConfig","SourceMicrosoftOnedriveFiletype","SourceMicrosoftOnedriveFromCSV","SourceMicrosoftOnedriveHeaderDefinitionType","SourceMicrosoftOnedriveJsonlFormat","SourceMicrosoftOnedriveLocal","SourceMicrosoftOnedriveMicrosoftOnedrive","SourceMicrosoftOnedriveMode","SourceMicrosoftOnedriveParquetFormat","SourceMicrosoftOnedriveParsingStrategy","SourceMicrosoftOnedriveSchemasAuthType","SourceMicrosoftOnedriveSchemasFiletype","SourceMicrosoftOnedriveSchemasHeaderDefinitionType","SourceMicrosoftOnedriveSchemasStreamsFiletype","SourceMicrosoftOnedriveSchemasStreamsFormatFiletype","SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype","SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType","SourceMicrosoftOnedriveUserProvided","SourceMicrosoftOnedriveValidationPolicy","SourceMicrosoftSharepoint","SourceMicrosoftSharepointAuthType","SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth","SourceMicrosoftSharepointAutogenerated","SourceMicrosoftSharepointAvroFormat","SourceMicrosoftSharepointCSVFormat","SourceMicrosoftSharepointDocumentFileTypeFormatExperimental","SourceMicrosoftSharepointFileBasedStreamConfig","SourceMicrosoftSharepointFiletype","SourceMicrosoftSharepointFromCSV","SourceMicrosoftSharepointHeaderDefinitionType","SourceMicrosoftSharepointJsonlFormat","SourceMicrosoftSharepointLocal","SourceMicrosoftSharepointMicrosoftSharepoint","SourceMicrosoftSharepointMode","SourceMicrosoftSharepointParquetFormat","SourceMicrosoftSharepointParsingStrategy","SourceMicrosoftSharepointSchemasAuthType","SourceMicrosoftSharepointSchemasFiletype","SourceMicrosoftSharepointSchemasHeaderDefinitionType","SourceMicrosoftSharepointSchemasStreamsFiletype","SourceMicrosoftSharepointSchemasStreamsFormatFiletype","SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype","SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType","SourceMicrosoftSharepointSearchScope","SourceMicrosoftSharepointServiceKeyAuthentication","SourceMicrosoftSharepointUserProvided","SourceMicrosoftSharepointValidationPolicy","SourceMicrosoftTeams","SourceMicrosoftTeamsAuthType","SourceMicrosoftTeamsMicrosoftTeams","SourceMicrosoftTeamsSchemasAuthType","SourceMixpanel","SourceMixpanelOptionTitle","SourceMixpanelRegion","SourceMixpanelSchemasOptionTitle","SourceMonday","SourceMondayAuthType","SourceMondayMonday","SourceMondayOAuth20","SourceMondaySchemasAuthType","SourceMongodbInternalPoc","SourceMongodbV2","SourceMongodbV2ClusterType","SourceMongodbV2SchemasClusterType","SourceMssql","SourceMssqlEncryptedTrustServerCertificate","SourceMssqlEncryptedVerifyCertificate","SourceMssqlInvalidCDCPositionBehaviorAdvanced","SourceMssqlMethod","SourceMssqlMssql","SourceMssqlNoTunnel","SourceMssqlPasswordAuthentication","SourceMssqlSSHKeyAuthentication","SourceMssqlSchemasMethod","SourceMssqlSchemasSSLMethodSSLMethodSSLMethod","SourceMssqlSchemasSslMethod","SourceMssqlSchemasSslMethodSslMethod","SourceMssqlSchemasTunnelMethod","SourceMssqlSchemasTunnelMethodTunnelMethod","SourceMssqlTunnelMethod","SourceMyHours","SourceMysql","SourceMysqlInvalidCDCPositionBehaviorAdvanced","SourceMysqlMethod","SourceMysqlMode","SourceMysqlMysql","SourceMysqlNoTunnel","SourceMysqlPasswordAuthentication","SourceMysqlSSHKeyAuthentication","SourceMysqlScanChangesWithUserDefinedCursor","SourceMysqlSchemasMethod","SourceMysqlSchemasMode","SourceMysqlSchemasSSLModeSSLModesMode","SourceMysqlSchemasSslModeMode","SourceMysqlSchemasTunnelMethod","SourceMysqlSchemasTunnelMethodTunnelMethod","SourceMysqlTunnelMethod","SourceMysqlVerifyCA","SourceNetsuite","SourceNotion","SourceNotionAccessToken","SourceNotionAuthType","SourceNotionNotion","SourceNotionOAuth20","SourceNotionSchemasAuthType","SourceNytimes","SourceOkta","SourceOktaAPIToken","SourceOktaAuthType","SourceOktaOAuth20","SourceOktaSchemasAuthType","SourceOmnisend","SourceOnesignal","SourceOracle","SourceOracleConnectionType","SourceOracleEncryptionMethod","SourceOracleNoTunnel","SourceOracleOracle","SourceOraclePasswordAuthentication","SourceOracleSSHKeyAuthentication","SourceOracleSchemasTunnelMethod","SourceOracleSchemasTunnelMethodTunnelMethod","SourceOracleTunnelMethod","SourceOrb","SourceOrbit","SourceOutbrainAmplify","SourceOutbrainAmplifyAccessToken","SourceOutbrainAmplifyUsernamePassword","SourceOutreach","SourcePatchRequest","SourcePaypalTransaction","SourcePaystack","SourcePendo","SourcePersistiq","SourcePexelsAPI","SourcePinterest","SourcePinterestAuthMethod","SourcePinterestLevel","SourcePinterestPinterest","SourcePinterestSchemasValidEnums","SourcePinterestValidEnums","SourcePipedrive","SourcePocket","SourcePocketSortBy","SourcePokeapi","SourcePolygonStockAPI","SourcePostgres","SourcePostgresAllow","SourcePostgresDisable","SourcePostgresInvalidCDCPositionBehaviorAdvanced","SourcePostgresMethod","SourcePostgresMode","SourcePostgresNoTunnel","SourcePostgresPasswordAuthentication","SourcePostgresPostgres","SourcePostgresPrefer","SourcePostgresRequire","SourcePostgresSSHKeyAuthentication","SourcePostgresScanChangesWithUserDefinedCursor","SourcePostgresSchemasMethod","SourcePostgresSchemasMode","SourcePostgresSchemasReplicationMethodMethod","SourcePostgresSchemasSSLModeSSLModes5Mode","SourcePostgresSchemasSSLModeSSLModes6Mode","SourcePostgresSchemasSSLModeSSLModesMode","SourcePostgresSchemasSslModeMode","SourcePostgresSchemasTunnelMethod","SourcePostgresSchemasTunnelMethodTunnelMethod","SourcePostgresTunnelMethod","SourcePostgresVerifyCa","SourcePostgresVerifyFull","SourcePosthog","SourcePostmarkapp","SourcePrestashop","SourcePunkAPI","SourcePutRequest","SourcePypi","SourceQualaroo","SourceRailz","SourceRecharge","SourceRecreation","SourceRecruitee","SourceRecurly","SourceRedshift","SourceRedshiftRedshift","SourceResponse","SourceRetently","SourceRetentlyAuthType","SourceRetentlyRetently","SourceRetentlySchemasAuthType","SourceRkiCovid","SourceRss","SourceS3","SourceS3Autogenerated","SourceS3AvroFormat","SourceS3CSVFormat","SourceS3DocumentFileTypeFormatExperimental","SourceS3FileBasedStreamConfig","SourceS3Filetype","SourceS3FromCSV","SourceS3HeaderDefinitionType","SourceS3InferenceType","SourceS3JsonlFormat","SourceS3Local","SourceS3Mode","SourceS3ParquetFormat","SourceS3ParsingStrategy","SourceS3S3","SourceS3SchemasFiletype","SourceS3SchemasFormatFiletype","SourceS3SchemasHeaderDefinitionType","SourceS3SchemasStreamsFiletype","SourceS3SchemasStreamsFormatFiletype","SourceS3SchemasStreamsFormatFormat4Filetype","SourceS3SchemasStreamsFormatFormat5Filetype","SourceS3SchemasStreamsFormatFormatFiletype","SourceS3SchemasStreamsHeaderDefinitionType","SourceS3UserProvided","SourceS3ValidationPolicy","SourceSalesforce","SourceSalesforceSalesforce","SourceSalesloft","SourceSalesloftAuthType","SourceSalesloftSchemasAuthType","SourceSapFieldglass","SourceSecoda","SourceSendgrid","SourceSendinblue","SourceSenseforce","SourceSentry","SourceSftp","SourceSftpAuthMethod","SourceSftpBulk","SourceSftpBulkAuthType","SourceSftpBulkAutogenerated","SourceSftpBulkAvroFormat","SourceSftpBulkCSVFormat","SourceSftpBulkDocumentFileTypeFormatExperimental","SourceSftpBulkFileBasedStreamConfig","SourceSftpBulkFiletype","SourceSftpBulkFromCSV","SourceSftpBulkHeaderDefinitionType","SourceSftpBulkInferenceType","SourceSftpBulkJsonlFormat","SourceSftpBulkLocal","SourceSftpBulkMode","SourceSftpBulkParquetFormat","SourceSftpBulkParsingStrategy","SourceSftpBulkSchemasAuthType","SourceSftpBulkSchemasFiletype","SourceSftpBulkSchemasHeaderDefinitionType","SourceSftpBulkSchemasMode","SourceSftpBulkSchemasStreamsFiletype","SourceSftpBulkSchemasStreamsFormatFiletype","SourceSftpBulkSchemasStreamsFormatFormatFiletype","SourceSftpBulkSchemasStreamsHeaderDefinitionType","SourceSftpBulkUserProvided","SourceSftpBulkValidationPolicy","SourceSftpPasswordAuthentication","SourceSftpSSHKeyAuthentication","SourceSftpSchemasAuthMethod","SourceShopify","SourceShopifyAuthMethod","SourceShopifyOAuth20","SourceShopifySchemasAuthMethod","SourceShopifyShopify","SourceShortio","SourceSlack","SourceSlackAPIToken","SourceSlackOptionTitle","SourceSlackSchemasOptionTitle","SourceSlackSlack","SourceSmaily","SourceSmartengage","SourceSmartsheets","SourceSmartsheetsAuthType","SourceSmartsheetsOAuth20","SourceSmartsheetsSchemasAuthType","SourceSmartsheetsSmartsheets","SourceSnapchatMarketing","SourceSnapchatMarketingSnapchatMarketing","SourceSnowflake","SourceSnowflakeAuthType","SourceSnowflakeOAuth20","SourceSnowflakeSchemasAuthType","SourceSnowflakeSnowflake","SourceSnowflakeUsernameAndPassword","SourceSonarCloud","SourceSpacexAPI","SourceSquare","SourceSquareAPIKey","SourceSquareAuthType","SourceSquareSchemasAuthType","SourceSquareSquare","SourceStrava","SourceStravaAuthType","SourceStravaStrava","SourceStripe","SourceSurveySparrow","SourceSurveySparrowURLBase","SourceSurveymonkey","SourceSurveymonkeyAuthMethod","SourceSurveymonkeySurveymonkey","SourceTempo","SourceTheGuardianAPI","SourceTiktokMarketing","SourceTiktokMarketingAuthType","SourceTiktokMarketingOAuth20","SourceTiktokMarketingSchemasAuthType","SourceTiktokMarketingTiktokMarketing","SourceTrello","SourceTrustpilot","SourceTrustpilotAPIKey","SourceTrustpilotAuthType","SourceTrustpilotOAuth20","SourceTrustpilotSchemasAuthType","SourceTvmazeSchedule","SourceTwilio","SourceTwilioTaskrouter","SourceTwitter","SourceTypeform","SourceTypeformAuthType","SourceTypeformOAuth20","SourceTypeformPrivateToken","SourceTypeformSchemasAuthType","SourceTypeformTypeform","SourceUsCensus","SourceVantage","SourceWebflow","SourceWhiskyHunter","SourceWikipediaPageviews","SourceWoocommerce","SourceXkcd","SourceYandexMetrica","SourceYotpo","SourceYoutubeAnalytics","SourceYoutubeAnalyticsYoutubeAnalytics","SourceZendeskChat","SourceZendeskChatAccessToken","SourceZendeskChatCredentials","SourceZendeskChatOAuth20","SourceZendeskChatSchemasCredentials","SourceZendeskChatZendeskChat","SourceZendeskSell","SourceZendeskSunshine","SourceZendeskSunshineAPIToken","SourceZendeskSunshineAuthMethod","SourceZendeskSunshineOAuth20","SourceZendeskSunshineSchemasAuthMethod","SourceZendeskSunshineZendeskSunshine","SourceZendeskSupport","SourceZendeskSupportAPIToken","SourceZendeskSupportCredentials","SourceZendeskSupportOAuth20","SourceZendeskSupportSchemasCredentials","SourceZendeskSupportZendeskSupport","SourceZendeskTalk","SourceZendeskTalkAPIToken","SourceZendeskTalkAuthType","SourceZendeskTalkOAuth20","SourceZendeskTalkSchemasAuthType","SourceZendeskTalkZendeskTalk","SourceZenloop","SourceZohoCrm","SourceZohoCrmEnvironment","SourceZoom","SourcesResponse","SpacexAPI","Square","SquareCredentials","StandaloneMongoDbInstance","Standard","StandardInserts","State","StateFilter","Status","Storage","Strategies","Strava","StreamConfiguration","StreamConfigurations","StreamName","StreamProperties","StreamsCriteria","StringFilter","Stripe","SurveyMonkeyAuthorizationMethod","SurveySparrow","Surveymonkey","SurveymonkeyCredentials","SwipeUpAttributionWindow","SystemIDSID","TLSEncryptedVerifyCertificate","Tempo","Teradata","TestDestinationType","TheGuardianAPI","TiktokMarketing","TiktokMarketingCredentials","TimeGranularity","TopHeadlinesTopic","TransformationQueryRunType","Trello","Trustpilot","TunnelMethod","TvmazeSchedule","Twilio","TwilioTaskrouter","Twitter","Type","Typeform","TypeformCredentials","Typesense","URLBase","Unencrypted","UnexpectedFieldBehavior","UsCensus","UserProvided","UsernameAndPassword","UsernamePassword","ValidActionBreakdowns","ValidAdSetStatuses","ValidAdStatuses","ValidBreakdowns","ValidCampaignStatuses","ValidationPolicy","Validenums","ValueType","Vantage","Vectara","VerifyCa","VerifyFull","VerifyIdentity","ViaAPI","ViewAttributionWindow","ViewWindowDays","Weaviate","Webflow","WhiskyHunter","WikipediaPageviews","Woocommerce","WorkspaceCreateRequest","WorkspaceOAuthCredentialsRequest","WorkspaceResponse","WorkspaceUpdateRequest","WorkspacesResponse","Xkcd","Xz","YandexMetrica","Yellowbrick","Yotpo","YoutubeAnalytics","YoutubeAnalyticsCredentials","ZendeskChat","ZendeskChatCredentials","ZendeskSell","ZendeskSunshine","ZendeskSunshineCredentials","ZendeskSupport","ZendeskSupportCredentials","ZendeskTalk","ZendeskTalkCredentials","Zenloop","ZohoCRMEdition","ZohoCrm","Zoom","Zstandard"] diff --git a/src/airbyte_api/models/connectionschedule.py b/src/airbyte_api/models/airbyteapiconnectionschedule.py similarity index 95% rename from src/airbyte_api/models/connectionschedule.py rename to src/airbyte_api/models/airbyteapiconnectionschedule.py index 78751b0b..97269453 100644 --- a/src/airbyte_api/models/connectionschedule.py +++ b/src/airbyte_api/models/airbyteapiconnectionschedule.py @@ -10,7 +10,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class ConnectionSchedule: +class AirbyteAPIConnectionSchedule: r"""schedule for when the the connection should run, per the schedule type""" schedule_type: ScheduleTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('scheduleType') }}) cron_expression: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cronExpression'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/harvest.py b/src/airbyte_api/models/azure_blob_storage.py similarity index 66% rename from src/airbyte_api/models/harvest.py rename to src/airbyte_api/models/azure_blob_storage.py index 1cfa5767..0d48c1af 100644 --- a/src/airbyte_api/models/harvest.py +++ b/src/airbyte_api/models/azure_blob_storage.py @@ -9,18 +9,18 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class HarvestCredentials: +class AzureBlobStorageCredentials: client_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_id'), 'exclude': lambda f: f is None }}) - r"""The Client ID of your Harvest developer application.""" + r"""Client ID of your Microsoft developer application""" client_secret: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_secret'), 'exclude': lambda f: f is None }}) - r"""The Client Secret of your Harvest developer application.""" + r"""Client Secret of your Microsoft developer application""" @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass -class Harvest: - credentials: Optional[HarvestCredentials] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials'), 'exclude': lambda f: f is None }}) +class AzureBlobStorage: + credentials: Optional[AzureBlobStorageCredentials] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/connectioncreaterequest.py b/src/airbyte_api/models/connectioncreaterequest.py index 498e5cad..efc8b177 100644 --- a/src/airbyte_api/models/connectioncreaterequest.py +++ b/src/airbyte_api/models/connectioncreaterequest.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from .connectionschedule import ConnectionSchedule +from .airbyteapiconnectionschedule import AirbyteAPIConnectionSchedule from .connectionstatusenum import ConnectionStatusEnum from .geographyenum import GeographyEnum from .namespacedefinitionenum import NamespaceDefinitionEnum @@ -31,7 +31,7 @@ class ConnectionCreateRequest: r"""Set how Airbyte handles syncs when it detects a non-breaking schema change in the source""" prefix: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('prefix'), 'exclude': lambda f: f is None }}) r"""Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”).""" - schedule: Optional[ConnectionSchedule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schedule'), 'exclude': lambda f: f is None }}) + schedule: Optional[AirbyteAPIConnectionSchedule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schedule'), 'exclude': lambda f: f is None }}) r"""schedule for when the the connection should run, per the schedule type""" status: Optional[ConnectionStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/connectionpatchrequest.py b/src/airbyte_api/models/connectionpatchrequest.py index 64c24eae..d6f18141 100644 --- a/src/airbyte_api/models/connectionpatchrequest.py +++ b/src/airbyte_api/models/connectionpatchrequest.py @@ -2,7 +2,7 @@ from __future__ import annotations import dataclasses -from .connectionschedule import ConnectionSchedule +from .airbyteapiconnectionschedule import AirbyteAPIConnectionSchedule from .connectionstatusenum import ConnectionStatusEnum from .geographyenumnodefault import GeographyEnumNoDefault from .namespacedefinitionenumnodefault import NamespaceDefinitionEnumNoDefault @@ -29,7 +29,7 @@ class ConnectionPatchRequest: r"""Set how Airbyte handles syncs when it detects a non-breaking schema change in the source""" prefix: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('prefix'), 'exclude': lambda f: f is None }}) r"""Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”).""" - schedule: Optional[ConnectionSchedule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schedule'), 'exclude': lambda f: f is None }}) + schedule: Optional[AirbyteAPIConnectionSchedule] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schedule'), 'exclude': lambda f: f is None }}) r"""schedule for when the the connection should run, per the schedule type""" status: Optional[ConnectionStatusEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('status'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_azure_blob_storage.py b/src/airbyte_api/models/destination_azure_blob_storage.py index 0e64f88d..637205be 100644 --- a/src/airbyte_api/models/destination_azure_blob_storage.py +++ b/src/airbyte_api/models/destination_azure_blob_storage.py @@ -7,7 +7,7 @@ from enum import Enum from typing import Final, Optional, Union -class AzureBlobStorage(str, Enum): +class DestinationAzureBlobStorageAzureBlobStorage(str, Enum): AZURE_BLOB_STORAGE = 'azure-blob-storage' class DestinationAzureBlobStorageFormatType(str, Enum): @@ -57,6 +57,6 @@ class DestinationAzureBlobStorage: r"""The amount of megabytes to buffer for the output stream to Azure. This will impact memory footprint on workers, but may need adjustment for performance and appropriate block size in Azure.""" azure_blob_storage_spill_size: Optional[int] = dataclasses.field(default=500, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_spill_size'), 'exclude': lambda f: f is None }}) r"""The amount of megabytes after which the connector should spill the records in a new blob object. Make sure to configure size greater than individual records. Enter 0 if not applicable""" - DESTINATION_TYPE: Final[AzureBlobStorage] = dataclasses.field(default=AzureBlobStorage.AZURE_BLOB_STORAGE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) + DESTINATION_TYPE: Final[DestinationAzureBlobStorageAzureBlobStorage] = dataclasses.field(default=DestinationAzureBlobStorageAzureBlobStorage.AZURE_BLOB_STORAGE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) diff --git a/src/airbyte_api/models/destination_mssql.py b/src/airbyte_api/models/destination_mssql.py index 8c603372..66be4a11 100644 --- a/src/airbyte_api/models/destination_mssql.py +++ b/src/airbyte_api/models/destination_mssql.py @@ -108,6 +108,8 @@ class DestinationMssql: r"""The password associated with this username.""" port: Optional[int] = dataclasses.field(default=1433, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) r"""The port of the MSSQL database.""" + raw_data_schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('raw_data_schema'), 'exclude': lambda f: f is None }}) + r"""The schema to write raw tables into (default: airbyte_internal)""" schema: Optional[str] = dataclasses.field(default='public', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) r"""The default schema tables are written to if the source does not specify a namespace. The usual value for this field is \\"public\\".""" ssl_method: Optional[Union[EncryptedTrustServerCertificate, EncryptedVerifyCertificate]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ssl_method'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_mysql.py b/src/airbyte_api/models/destination_mysql.py index ed266bb1..4edb0c30 100644 --- a/src/airbyte_api/models/destination_mysql.py +++ b/src/airbyte_api/models/destination_mysql.py @@ -76,12 +76,16 @@ class DestinationMysql: username: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('username') }}) r"""Username to use to access the database.""" DESTINATION_TYPE: Final[Mysql] = dataclasses.field(default=Mysql.MYSQL, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) + disable_type_dedupe: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_type_dedupe'), 'exclude': lambda f: f is None }}) + r"""Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions""" jdbc_url_params: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('jdbc_url_params'), 'exclude': lambda f: f is None }}) r"""Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3).""" password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) r"""Password associated with the username.""" port: Optional[int] = dataclasses.field(default=3306, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) r"""Port of the database.""" + raw_data_schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('raw_data_schema'), 'exclude': lambda f: f is None }}) + r"""The database to write raw tables into""" tunnel_method: Optional[Union[DestinationMysqlNoTunnel, DestinationMysqlSSHKeyAuthentication, DestinationMysqlPasswordAuthentication]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method'), 'exclude': lambda f: f is None }}) r"""Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use.""" diff --git a/src/airbyte_api/models/destination_oracle.py b/src/airbyte_api/models/destination_oracle.py index b86622f1..a7eaee79 100644 --- a/src/airbyte_api/models/destination_oracle.py +++ b/src/airbyte_api/models/destination_oracle.py @@ -82,6 +82,8 @@ class DestinationOracle: r"""The password associated with the username.""" port: Optional[int] = dataclasses.field(default=1521, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) r"""The port of the database.""" + raw_data_schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('raw_data_schema'), 'exclude': lambda f: f is None }}) + r"""The schema to write raw tables into (default: airbyte_internal)""" schema: Optional[str] = dataclasses.field(default='airbyte', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) r"""The default schema is used as the target schema for all statements issued from the connection that do not explicitly specify a schema name. The usual value for this field is \\"airbyte\\". In Oracle, schemas and users are the same thing, so the \\"user\\" parameter is used as the login credentials and this is used for the default Airbyte message schema.""" tunnel_method: Optional[Union[DestinationOracleNoTunnel, DestinationOracleSSHKeyAuthentication, DestinationOraclePasswordAuthentication]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_postgres.py b/src/airbyte_api/models/destination_postgres.py index d9541881..e098b7c7 100644 --- a/src/airbyte_api/models/destination_postgres.py +++ b/src/airbyte_api/models/destination_postgres.py @@ -162,6 +162,8 @@ class DestinationPostgres: DESTINATION_TYPE: Final[Postgres] = dataclasses.field(default=Postgres.POSTGRES, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) disable_type_dedupe: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_type_dedupe'), 'exclude': lambda f: f is None }}) r"""Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions""" + drop_cascade: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('drop_cascade'), 'exclude': lambda f: f is None }}) + r"""Drop tables with CASCADE. WARNING! This will delete all data in all dependent objects (views, etc.). Use with caution. This option is intended for usecases which can easily rebuild the dependent objects.""" jdbc_url_params: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('jdbc_url_params'), 'exclude': lambda f: f is None }}) r"""Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3).""" password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_redshift.py b/src/airbyte_api/models/destination_redshift.py index d0c74359..9bc293da 100644 --- a/src/airbyte_api/models/destination_redshift.py +++ b/src/airbyte_api/models/destination_redshift.py @@ -183,14 +183,12 @@ class DestinationRedshift: DESTINATION_TYPE: Final[Redshift] = dataclasses.field(default=Redshift.REDSHIFT, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) disable_type_dedupe: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disable_type_dedupe'), 'exclude': lambda f: f is None }}) r"""Disable Writing Final Tables. WARNING! The data format in _airbyte_data is likely stable but there are no guarantees that other metadata columns will remain the same in future versions""" - enable_incremental_final_table_updates: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('enable_incremental_final_table_updates'), 'exclude': lambda f: f is None }}) - r"""When enabled your data will load into your final tables incrementally while your data is still being synced. When Disabled (the default), your data loads into your final tables once at the end of a sync. Note that this option only applies if you elect to create Final tables""" jdbc_url_params: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('jdbc_url_params'), 'exclude': lambda f: f is None }}) r"""Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3).""" port: Optional[int] = dataclasses.field(default=5439, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) r"""Port of the database.""" raw_data_schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('raw_data_schema'), 'exclude': lambda f: f is None }}) - r"""The schema to write raw tables into""" + r"""The schema to write raw tables into (default: airbyte_internal).""" schema: Optional[str] = dataclasses.field(default='public', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) r"""The default schema tables are written to if the source does not specify a namespace. Unless specifically configured, the usual value for this field is \\"public\\".""" tunnel_method: Optional[Union[DestinationRedshiftNoTunnel, DestinationRedshiftSSHKeyAuthentication, DestinationRedshiftPasswordAuthentication]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_yellowbrick.py b/src/airbyte_api/models/destination_yellowbrick.py new file mode 100644 index 00000000..00d27f63 --- /dev/null +++ b/src/airbyte_api/models/destination_yellowbrick.py @@ -0,0 +1,186 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from airbyte_api import utils +from dataclasses_json import Undefined, dataclass_json +from enum import Enum +from typing import Final, Optional, Union + +class Yellowbrick(str, Enum): + YELLOWBRICK = 'yellowbrick' + +class DestinationYellowbrickSchemasSSLModeSSLModes6Mode(str, Enum): + VERIFY_FULL = 'verify-full' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickVerifyFull: + r"""Verify-full SSL mode.""" + ca_certificate: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ca_certificate') }}) + r"""CA certificate""" + client_certificate: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_certificate') }}) + r"""Client certificate""" + client_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_key') }}) + r"""Client key""" + client_key_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_key_password'), 'exclude': lambda f: f is None }}) + r"""Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically.""" + MODE: Final[Optional[DestinationYellowbrickSchemasSSLModeSSLModes6Mode]] = dataclasses.field(default=DestinationYellowbrickSchemasSSLModeSSLModes6Mode.VERIFY_FULL, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickSchemasSSLModeSSLModes5Mode(str, Enum): + VERIFY_CA = 'verify-ca' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickVerifyCa: + r"""Verify-ca SSL mode.""" + ca_certificate: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ca_certificate') }}) + r"""CA certificate""" + client_key_password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_key_password'), 'exclude': lambda f: f is None }}) + r"""Password for keystorage. This field is optional. If you do not add it - the password will be generated automatically.""" + MODE: Final[Optional[DestinationYellowbrickSchemasSSLModeSSLModes5Mode]] = dataclasses.field(default=DestinationYellowbrickSchemasSSLModeSSLModes5Mode.VERIFY_CA, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickSchemasSSLModeSSLModesMode(str, Enum): + REQUIRE = 'require' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickRequire: + r"""Require SSL mode.""" + MODE: Final[Optional[DestinationYellowbrickSchemasSSLModeSSLModesMode]] = dataclasses.field(default=DestinationYellowbrickSchemasSSLModeSSLModesMode.REQUIRE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickSchemasSslModeMode(str, Enum): + PREFER = 'prefer' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickPrefer: + r"""Prefer SSL mode.""" + MODE: Final[Optional[DestinationYellowbrickSchemasSslModeMode]] = dataclasses.field(default=DestinationYellowbrickSchemasSslModeMode.PREFER, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickSchemasMode(str, Enum): + ALLOW = 'allow' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickAllow: + r"""Allow SSL mode.""" + MODE: Final[Optional[DestinationYellowbrickSchemasMode]] = dataclasses.field(default=DestinationYellowbrickSchemasMode.ALLOW, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickMode(str, Enum): + DISABLE = 'disable' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickDisable: + r"""Disable SSL.""" + MODE: Final[Optional[DestinationYellowbrickMode]] = dataclasses.field(default=DestinationYellowbrickMode.DISABLE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class DestinationYellowbrickSchemasTunnelMethodTunnelMethod(str, Enum): + r"""Connect through a jump server tunnel host using username and password authentication""" + SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickPasswordAuthentication: + tunnel_host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_host') }}) + r"""Hostname of the jump server host that allows inbound ssh tunnel.""" + tunnel_user: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_user') }}) + r"""OS-level username for logging into the jump server host""" + tunnel_user_password: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_user_password') }}) + r"""OS-level password for logging into the jump server host""" + TUNNEL_METHOD: Final[DestinationYellowbrickSchemasTunnelMethodTunnelMethod] = dataclasses.field(default=DestinationYellowbrickSchemasTunnelMethodTunnelMethod.SSH_PASSWORD_AUTH, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method') }}) + r"""Connect through a jump server tunnel host using username and password authentication""" + tunnel_port: Optional[int] = dataclasses.field(default=22, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_port'), 'exclude': lambda f: f is None }}) + r"""Port on the proxy/jump server that accepts inbound ssh connections.""" + + + +class DestinationYellowbrickSchemasTunnelMethod(str, Enum): + r"""Connect through a jump server tunnel host using username and ssh key""" + SSH_KEY_AUTH = 'SSH_KEY_AUTH' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickSSHKeyAuthentication: + ssh_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ssh_key') }}) + r"""OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa )""" + tunnel_host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_host') }}) + r"""Hostname of the jump server host that allows inbound ssh tunnel.""" + tunnel_user: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_user') }}) + r"""OS-level username for logging into the jump server host.""" + TUNNEL_METHOD: Final[DestinationYellowbrickSchemasTunnelMethod] = dataclasses.field(default=DestinationYellowbrickSchemasTunnelMethod.SSH_KEY_AUTH, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method') }}) + r"""Connect through a jump server tunnel host using username and ssh key""" + tunnel_port: Optional[int] = dataclasses.field(default=22, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_port'), 'exclude': lambda f: f is None }}) + r"""Port on the proxy/jump server that accepts inbound ssh connections.""" + + + +class DestinationYellowbrickTunnelMethod(str, Enum): + r"""No ssh tunnel needed to connect to database""" + NO_TUNNEL = 'NO_TUNNEL' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrickNoTunnel: + TUNNEL_METHOD: Final[DestinationYellowbrickTunnelMethod] = dataclasses.field(default=DestinationYellowbrickTunnelMethod.NO_TUNNEL, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method') }}) + r"""No ssh tunnel needed to connect to database""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationYellowbrick: + database: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('database') }}) + r"""Name of the database.""" + host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('host') }}) + r"""Hostname of the database.""" + username: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('username') }}) + r"""Username to use to access the database.""" + DESTINATION_TYPE: Final[Yellowbrick] = dataclasses.field(default=Yellowbrick.YELLOWBRICK, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) + jdbc_url_params: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('jdbc_url_params'), 'exclude': lambda f: f is None }}) + r"""Additional properties to pass to the JDBC URL string when connecting to the database formatted as 'key=value' pairs separated by the symbol '&'. (example: key1=value1&key2=value2&key3=value3).""" + password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) + r"""Password associated with the username.""" + port: Optional[int] = dataclasses.field(default=5432, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) + r"""Port of the database.""" + schema: Optional[str] = dataclasses.field(default='public', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schema'), 'exclude': lambda f: f is None }}) + r"""The default schema tables are written to if the source does not specify a namespace. The usual value for this field is \\"public\\".""" + ssl: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ssl'), 'exclude': lambda f: f is None }}) + r"""Encrypt data using SSL. When activating SSL, please select one of the connection modes.""" + ssl_mode: Optional[Union[DestinationYellowbrickDisable, DestinationYellowbrickAllow, DestinationYellowbrickPrefer, DestinationYellowbrickRequire, DestinationYellowbrickVerifyCa, DestinationYellowbrickVerifyFull]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ssl_mode'), 'exclude': lambda f: f is None }}) + r"""SSL connection modes. + disable - Chose this mode to disable encryption of communication between Airbyte and destination database + allow - Chose this mode to enable encryption only when required by the source database + prefer - Chose this mode to allow unencrypted connection only if the source database does not support encryption + require - Chose this mode to always require encryption. If the source database server does not support encryption, connection will fail + verify-ca - Chose this mode to always require encryption and to verify that the source database server has a valid SSL certificate + verify-full - This is the most secure mode. Chose this mode to always require encryption and to verify the identity of the source database server + See more information - in the docs. + """ + tunnel_method: Optional[Union[DestinationYellowbrickNoTunnel, DestinationYellowbrickSSHKeyAuthentication, DestinationYellowbrickPasswordAuthentication]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tunnel_method'), 'exclude': lambda f: f is None }}) + r"""Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use.""" + + diff --git a/src/airbyte_api/models/destinationcreaterequest.py b/src/airbyte_api/models/destinationcreaterequest.py index 25d8b149..9c64f6c3 100644 --- a/src/airbyte_api/models/destinationcreaterequest.py +++ b/src/airbyte_api/models/destinationcreaterequest.py @@ -36,6 +36,7 @@ from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara from .destination_weaviate import DestinationWeaviate +from .destination_yellowbrick import DestinationYellowbrick from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json from typing import Optional, Union @@ -44,7 +45,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DestinationCreateRequest: - configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate, DestinationYellowbrick] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the destination.""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name of the destination e.g. dev-mysql-instance.""" diff --git a/src/airbyte_api/models/destinationpatchrequest.py b/src/airbyte_api/models/destinationpatchrequest.py index 28000668..d2fde9fe 100644 --- a/src/airbyte_api/models/destinationpatchrequest.py +++ b/src/airbyte_api/models/destinationpatchrequest.py @@ -36,6 +36,7 @@ from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara from .destination_weaviate import DestinationWeaviate +from .destination_yellowbrick import DestinationYellowbrick from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json from typing import Optional, Union @@ -44,7 +45,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DestinationPatchRequest: - configuration: Optional[Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration'), 'exclude': lambda f: f is None }}) + configuration: Optional[Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate, DestinationYellowbrick]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration'), 'exclude': lambda f: f is None }}) r"""The values required to configure the destination.""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destinationputrequest.py b/src/airbyte_api/models/destinationputrequest.py index fde23059..38d35637 100644 --- a/src/airbyte_api/models/destinationputrequest.py +++ b/src/airbyte_api/models/destinationputrequest.py @@ -36,6 +36,7 @@ from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara from .destination_weaviate import DestinationWeaviate +from .destination_yellowbrick import DestinationYellowbrick from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json from typing import Union @@ -44,7 +45,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DestinationPutRequest: - configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate, DestinationYellowbrick] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the destination.""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) diff --git a/src/airbyte_api/models/destinationresponse.py b/src/airbyte_api/models/destinationresponse.py index dc841539..ff5a7490 100644 --- a/src/airbyte_api/models/destinationresponse.py +++ b/src/airbyte_api/models/destinationresponse.py @@ -36,6 +36,7 @@ from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara from .destination_weaviate import DestinationWeaviate +from .destination_yellowbrick import DestinationYellowbrick from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json from typing import Union @@ -45,7 +46,7 @@ @dataclasses.dataclass class DestinationResponse: r"""Provides details of a single destination.""" - configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[DestinationGoogleSheets, DestinationAstra, DestinationAwsDatalake, DestinationAzureBlobStorage, DestinationBigquery, DestinationClickhouse, DestinationConvex, DestinationDatabricks, DestinationDevNull, DestinationDuckdb, DestinationDynamodb, DestinationElasticsearch, DestinationFirestore, DestinationGcs, DestinationLangchain, DestinationMilvus, DestinationMongodb, DestinationMssql, DestinationMysql, DestinationOracle, DestinationPinecone, DestinationPostgres, DestinationPubsub, DestinationQdrant, DestinationRedis, DestinationRedshift, DestinationS3, DestinationS3Glue, DestinationSftpJSON, DestinationSnowflake, DestinationTeradata, DestinationTypesense, DestinationVectara, DestinationWeaviate, DestinationYellowbrick] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the destination.""" destination_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationId') }}) destination_type: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) diff --git a/src/airbyte_api/models/initiateoauthrequest.py b/src/airbyte_api/models/initiateoauthrequest.py index b071e76f..e8c8b071 100644 --- a/src/airbyte_api/models/initiateoauthrequest.py +++ b/src/airbyte_api/models/initiateoauthrequest.py @@ -3,10 +3,9 @@ from __future__ import annotations import dataclasses from .oauthactornames import OAuthActorNames -from .oauthinputconfiguration import OAuthInputConfiguration from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json -from typing import Optional +from typing import Any, Optional @dataclass_json(undefined=Undefined.EXCLUDE) @@ -18,7 +17,7 @@ class InitiateOauthRequest: source_type: OAuthActorNames = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) workspace_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workspaceId') }}) r"""The workspace to create the secret and eventually the full source.""" - o_auth_input_configuration: Optional[OAuthInputConfiguration] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('oAuthInputConfiguration'), 'exclude': lambda f: f is None }}) - r"""Arbitrary vars to pass for OAuth depending on what the source/destination spec requires.""" + o_auth_input_configuration: Optional[Any] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('oAuthInputConfiguration'), 'exclude': lambda f: f is None }}) + r"""The values required to configure OAuth flows. The schema for this must match the `OAuthConfigSpecification.oauthUserInputFromConnectorConfigSpecification` schema.""" diff --git a/src/airbyte_api/models/oauthactornames.py b/src/airbyte_api/models/oauthactornames.py index 614c1147..ed56a724 100644 --- a/src/airbyte_api/models/oauthactornames.py +++ b/src/airbyte_api/models/oauthactornames.py @@ -8,6 +8,7 @@ class OAuthActorNames(str, Enum): AMAZON_ADS = 'amazon-ads' AMAZON_SELLER_PARTNER = 'amazon-seller-partner' ASANA = 'asana' + AZURE_BLOB_STORAGE = 'azure-blob-storage' BING_ADS = 'bing-ads' FACEBOOK_MARKETING = 'facebook-marketing' GITHUB = 'github' @@ -17,7 +18,6 @@ class OAuthActorNames(str, Enum): GOOGLE_DRIVE = 'google-drive' GOOGLE_SEARCH_CONSOLE = 'google-search-console' GOOGLE_SHEETS = 'google-sheets' - HARVEST = 'harvest' HUBSPOT = 'hubspot' INSTAGRAM = 'instagram' INTERCOM = 'intercom' diff --git a/src/airbyte_api/models/oauthinputconfiguration.py b/src/airbyte_api/models/oauthinputconfiguration.py deleted file mode 100644 index 43e7447e..00000000 --- a/src/airbyte_api/models/oauthinputconfiguration.py +++ /dev/null @@ -1,11 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses - - -@dataclasses.dataclass -class OAuthInputConfiguration: - r"""Arbitrary vars to pass for OAuth depending on what the source/destination spec requires.""" - - diff --git a/src/airbyte_api/models/security.py b/src/airbyte_api/models/security.py index 27d44e69..699d604f 100644 --- a/src/airbyte_api/models/security.py +++ b/src/airbyte_api/models/security.py @@ -10,5 +10,6 @@ class Security: basic_auth: Optional[SchemeBasicAuth] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'basic' }}) bearer_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + client_credentials: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'oauth2', 'field_name': 'Authorization' }}) diff --git a/src/airbyte_api/models/source_amazon_ads.py b/src/airbyte_api/models/source_amazon_ads.py index 5935684c..680b0b34 100644 --- a/src/airbyte_api/models/source_amazon_ads.py +++ b/src/airbyte_api/models/source_amazon_ads.py @@ -51,7 +51,7 @@ class SourceAmazonAds: marketplace_ids: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('marketplace_ids'), 'exclude': lambda f: f is None }}) r"""Marketplace IDs you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.""" profiles: Optional[List[int]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('profiles'), 'exclude': lambda f: f is None }}) - r"""Profile IDs you want to fetch data for. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.""" + r"""Profile IDs you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details. Note: If Marketplace IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.""" region: Optional[Region] = dataclasses.field(default=Region.NA, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('region'), 'exclude': lambda f: f is None }}) r"""Region to pull data from (EU/NA/FE). See docs for more details.""" report_record_types: Optional[List[ReportRecordTypes]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('report_record_types'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/source_azure_blob_storage.py b/src/airbyte_api/models/source_azure_blob_storage.py index 42203ae4..15a9b35a 100644 --- a/src/airbyte_api/models/source_azure_blob_storage.py +++ b/src/airbyte_api/models/source_azure_blob_storage.py @@ -9,6 +9,38 @@ from enum import Enum from typing import Final, List, Optional, Union +class SourceAzureBlobStorageSchemasAuthType(str, Enum): + STORAGE_ACCOUNT_KEY = 'storage_account_key' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AuthenticateViaStorageAccountKey: + azure_blob_storage_account_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_account_key') }}) + r"""The Azure blob storage account key.""" + AUTH_TYPE: Final[Optional[SourceAzureBlobStorageSchemasAuthType]] = dataclasses.field(default=SourceAzureBlobStorageSchemasAuthType.STORAGE_ACCOUNT_KEY, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + + + +class SourceAzureBlobStorageAuthType(str, Enum): + OAUTH2 = 'oauth2' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AuthenticateViaOauth2: + client_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_id') }}) + r"""Client ID of your Microsoft developer application""" + client_secret: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_secret') }}) + r"""Client Secret of your Microsoft developer application""" + refresh_token: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('refresh_token') }}) + r"""Refresh Token of your Microsoft developer application""" + tenant_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tenant_id') }}) + r"""Tenant ID of the Microsoft Azure Application user""" + AUTH_TYPE: Final[Optional[SourceAzureBlobStorageAuthType]] = dataclasses.field(default=SourceAzureBlobStorageAuthType.OAUTH2, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + + + class SourceAzureBlobStorageAzureBlobStorage(str, Enum): AZURE_BLOB_STORAGE = 'azure-blob-storage' @@ -203,12 +235,12 @@ class SourceAzureBlobStorage: r"""NOTE: When this Spec is changed, legacy_config_transformer.py must also be modified to uptake the changes because it is responsible for converting legacy Azure Blob Storage v0 configs into v1 configs using the File-Based CDK. """ - azure_blob_storage_account_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_account_key') }}) - r"""The Azure blob storage account key.""" azure_blob_storage_account_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_account_name') }}) r"""The account's name of the Azure Blob Storage.""" azure_blob_storage_container_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_container_name') }}) r"""The name of the Azure blob storage container.""" + credentials: Union[AuthenticateViaOauth2, AuthenticateViaStorageAccountKey] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials') }}) + r"""Credentials for connecting to the Azure Blob Storage""" streams: List[FileBasedStreamConfig] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('streams') }}) r"""Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table.""" azure_blob_storage_endpoint: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('azure_blob_storage_endpoint'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/source_dynamodb.py b/src/airbyte_api/models/source_dynamodb.py index c833a118..09ed0237 100644 --- a/src/airbyte_api/models/source_dynamodb.py +++ b/src/airbyte_api/models/source_dynamodb.py @@ -5,7 +5,37 @@ from airbyte_api import utils from dataclasses_json import Undefined, dataclass_json from enum import Enum -from typing import Final, Optional +from typing import Any, Dict, Final, Optional, Union + +class SourceDynamodbSchemasAuthType(str, Enum): + ROLE = 'Role' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class RoleBasedAuthentication: + UNSET='__SPEAKEASY_UNSET__' + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + AUTH_TYPE: Final[Optional[SourceDynamodbSchemasAuthType]] = dataclasses.field(default=SourceDynamodbSchemasAuthType.ROLE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + + + +class SourceDynamodbAuthType(str, Enum): + USER = 'User' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AuthenticateViaAccessKeys: + UNSET='__SPEAKEASY_UNSET__' + access_key_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_key_id') }}) + r"""The access key id to access Dynamodb. Airbyte requires read permissions to the database""" + secret_access_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secret_access_key') }}) + r"""The corresponding secret to the access key id.""" + additional_properties: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: f is None }}) + AUTH_TYPE: Final[Optional[SourceDynamodbAuthType]] = dataclasses.field(default=SourceDynamodbAuthType.USER, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + + class SourceDynamodbDynamodbRegion(str, Enum): r"""The region of the Dynamodb database""" @@ -51,16 +81,17 @@ class SourceDynamodbDynamodb(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceDynamodb: - access_key_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_key_id') }}) - r"""The access key id to access Dynamodb. Airbyte requires read permissions to the database""" - secret_access_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secret_access_key') }}) - r"""The corresponding secret to the access key id.""" + UNSET='__SPEAKEASY_UNSET__' + credentials: Optional[Union[AuthenticateViaAccessKeys, RoleBasedAuthentication]] = dataclasses.field(default=UNSET, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials'), 'exclude': lambda f: f is SourceDynamodb.UNSET }}) + r"""Credentials for the service""" endpoint: Optional[str] = dataclasses.field(default='', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('endpoint'), 'exclude': lambda f: f is None }}) r"""the URL of the Dynamodb database""" + ignore_missing_read_permissions_tables: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ignore_missing_read_permissions_tables'), 'exclude': lambda f: f is None }}) + r"""Ignore tables with missing scan/read permissions""" region: Optional[SourceDynamodbDynamodbRegion] = dataclasses.field(default=SourceDynamodbDynamodbRegion.UNKNOWN, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('region'), 'exclude': lambda f: f is None }}) r"""The region of the Dynamodb database""" reserved_attribute_names: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reserved_attribute_names'), 'exclude': lambda f: f is None }}) r"""Comma separated reserved attribute names present in your tables""" - SOURCE_TYPE: Final[SourceDynamodbDynamodb] = dataclasses.field(default=SourceDynamodbDynamodb.DYNAMODB, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) + SOURCE_TYPE: Final[Optional[SourceDynamodbDynamodb]] = dataclasses.field(default=SourceDynamodbDynamodb.DYNAMODB, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/source_google_sheets.py b/src/airbyte_api/models/source_google_sheets.py index 9be21d2f..bf345853 100644 --- a/src/airbyte_api/models/source_google_sheets.py +++ b/src/airbyte_api/models/source_google_sheets.py @@ -48,6 +48,8 @@ class SourceGoogleSheets: r"""Credentials for connecting to the Google Sheets API""" spreadsheet_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('spreadsheet_id') }}) r"""Enter the link to the Google spreadsheet you want to sync. To copy the link, click the 'Share' button in the top-right corner of the spreadsheet, then click 'Copy link'.""" + batch_size: Optional[int] = dataclasses.field(default=200, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('batch_size'), 'exclude': lambda f: f is None }}) + r"""Default value is 200. An integer representing row batch size for each sent request to Google Sheets API. Row batch size means how many rows are processed from the google sheet, for example default value 200 would process rows 1-201, then 201-401 and so on. Based on Google Sheets API limits documentation, it is possible to send up to 300 requests per minute, but each individual request has to be processed under 180 seconds, otherwise the request returns a timeout error. In regards to this information, consider network speed and number of columns of the google sheet when deciding a batch_size value. Default value should cover most of the cases, but if a google sheet has over 100,000 records or more, consider increasing batch_size value.""" names_conversion: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('names_conversion'), 'exclude': lambda f: f is None }}) r"""Enables the conversion of column names to a standardized, SQL-compliant format. For example, 'My Name' -> 'my_name'. Enable this option if your destination is SQL-based.""" SOURCE_TYPE: Final[SourceGoogleSheetsGoogleSheets] = dataclasses.field(default=SourceGoogleSheetsGoogleSheets.GOOGLE_SHEETS, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) diff --git a/src/airbyte_api/models/source_harvest.py b/src/airbyte_api/models/source_harvest.py index fb106955..aa91f0c8 100644 --- a/src/airbyte_api/models/source_harvest.py +++ b/src/airbyte_api/models/source_harvest.py @@ -43,7 +43,7 @@ class AuthenticateViaHarvestOAuth: -class SourceHarvestHarvest(str, Enum): +class Harvest(str, Enum): HARVEST = 'harvest' @@ -58,6 +58,6 @@ class SourceHarvest: r"""Choose how to authenticate to Harvest.""" replication_end_date: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('replication_end_date'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) r"""UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated.""" - SOURCE_TYPE: Final[SourceHarvestHarvest] = dataclasses.field(default=SourceHarvestHarvest.HARVEST, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) + SOURCE_TYPE: Final[Harvest] = dataclasses.field(default=Harvest.HARVEST, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) diff --git a/src/airbyte_api/models/source_iterable.py b/src/airbyte_api/models/source_iterable.py index 1f15eb27..4c129f5c 100644 --- a/src/airbyte_api/models/source_iterable.py +++ b/src/airbyte_api/models/source_iterable.py @@ -17,9 +17,9 @@ class Iterable(str, Enum): @dataclasses.dataclass class SourceIterable: api_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_key') }}) - r"""Iterable API Key. See the docs for more information on how to obtain this key.""" + r"""Iterable API Key. See the docs for more information on how to obtain this key.""" start_date: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) - r"""The date from which you'd like to replicate data for Iterable, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.""" + r"""The date from which you'd like to replicate data for Iterable, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.""" SOURCE_TYPE: Final[Iterable] = dataclasses.field(default=Iterable.ITERABLE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) diff --git a/src/airbyte_api/models/source_microsoft_sharepoint.py b/src/airbyte_api/models/source_microsoft_sharepoint.py index 9f6cddc4..e9427e2e 100644 --- a/src/airbyte_api/models/source_microsoft_sharepoint.py +++ b/src/airbyte_api/models/source_microsoft_sharepoint.py @@ -45,11 +45,11 @@ class SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth: r"""Client ID of your Microsoft developer application""" client_secret: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_secret') }}) r"""Client Secret of your Microsoft developer application""" - refresh_token: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('refresh_token') }}) - r"""Refresh Token of your Microsoft developer application""" tenant_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('tenant_id') }}) r"""Tenant ID of the Microsoft SharePoint user""" AUTH_TYPE: Final[Optional[SourceMicrosoftSharepointAuthType]] = dataclasses.field(default=SourceMicrosoftSharepointAuthType.CLIENT, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + refresh_token: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('refresh_token'), 'exclude': lambda f: f is None }}) + r"""Refresh Token of your Microsoft developer application""" diff --git a/src/airbyte_api/models/source_mongodb_v2.py b/src/airbyte_api/models/source_mongodb_v2.py index 7ccb4c50..75693b3a 100644 --- a/src/airbyte_api/models/source_mongodb_v2.py +++ b/src/airbyte_api/models/source_mongodb_v2.py @@ -67,6 +67,11 @@ class InvalidCDCPositionBehaviorAdvanced(str, Enum): class MongodbV2(str, Enum): MONGODB_V2 = 'mongodb-v2' +class CaptureModeAdvanced(str, Enum): + r"""Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images.""" + LOOKUP = 'Lookup' + POST_IMAGE = 'Post Image' + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass @@ -82,5 +87,7 @@ class SourceMongodbV2: queue_size: Optional[int] = dataclasses.field(default=10000, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('queue_size'), 'exclude': lambda f: f is None }}) r"""The size of the internal queue. This may interfere with memory consumption and efficiency of the connector, please be careful.""" SOURCE_TYPE: Final[MongodbV2] = dataclasses.field(default=MongodbV2.MONGODB_V2, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) + update_capture_mode: Optional[CaptureModeAdvanced] = dataclasses.field(default=CaptureModeAdvanced.LOOKUP, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('update_capture_mode'), 'exclude': lambda f: f is None }}) + r"""Determines how Airbyte looks up the value of an updated document. If 'Lookup' is chosen, the current value of the document will be read. If 'Post Image' is chosen, then the version of the document immediately after an update will be read. WARNING : Severe data loss will occur if this option is chosen and the appropriate settings are not set on your Mongo instance : https://www.mongodb.com/docs/manual/changeStreams/#change-streams-with-document-pre-and-post-images.""" diff --git a/src/airbyte_api/models/source_mssql.py b/src/airbyte_api/models/source_mssql.py index 2935b708..161f0013 100644 --- a/src/airbyte_api/models/source_mssql.py +++ b/src/airbyte_api/models/source_mssql.py @@ -33,7 +33,7 @@ class SourceMssqlMethod(str, Enum): class ReadChangesUsingChangeDataCaptureCDC: r"""Recommended - Incrementally reads new inserts, updates, and deletes using the SQL Server's change data capture feature. This must be enabled on your database.""" initial_waiting_seconds: Optional[int] = dataclasses.field(default=300, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('initial_waiting_seconds'), 'exclude': lambda f: f is None }}) - r"""The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 2400 seconds. Read about initial waiting time.""" + r"""The amount of time the connector will wait when it launches to determine if there is new data to sync or not. Defaults to 300 seconds. Valid range: 120 seconds to 3600 seconds. Read about initial waiting time.""" invalid_cdc_cursor_position_behavior: Optional[SourceMssqlInvalidCDCPositionBehaviorAdvanced] = dataclasses.field(default=SourceMssqlInvalidCDCPositionBehaviorAdvanced.FAIL_SYNC, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('invalid_cdc_cursor_position_behavior'), 'exclude': lambda f: f is None }}) r"""Determines whether Airbyte should fail or re-sync data in case of an stale/invalid cursor value into the WAL. If 'Fail sync' is chosen, a user will have to manually reset the connection before being able to continue syncing data. If 'Re-sync data' is chosen, Airbyte will automatically trigger a refresh but could lead to higher cloud costs and data loss.""" METHOD: Final[SourceMssqlMethod] = dataclasses.field(default=SourceMssqlMethod.CDC, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('method') }}) diff --git a/src/airbyte_api/models/source_notion.py b/src/airbyte_api/models/source_notion.py index 21e0f24d..127187cc 100644 --- a/src/airbyte_api/models/source_notion.py +++ b/src/airbyte_api/models/source_notion.py @@ -46,9 +46,9 @@ class SourceNotionNotion(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceNotion: - credentials: Union[SourceNotionOAuth20, SourceNotionAccessToken] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials') }}) + credentials: Optional[Union[SourceNotionOAuth20, SourceNotionAccessToken]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials'), 'exclude': lambda f: f is None }}) r"""Choose either OAuth (recommended for Airbyte Cloud) or Access Token. See our docs for more information.""" - SOURCE_TYPE: Final[SourceNotionNotion] = dataclasses.field(default=SourceNotionNotion.NOTION, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) + SOURCE_TYPE: Final[Optional[SourceNotionNotion]] = dataclasses.field(default=SourceNotionNotion.NOTION, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType'), 'exclude': lambda f: f is None }}) start_date: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) r"""UTC date and time in the format YYYY-MM-DDTHH:MM:SS.000Z. During incremental sync, any data generated before this date will not be replicated. If left blank, the start date will be set to 2 years before the present date.""" diff --git a/src/airbyte_api/models/source_quickbooks.py b/src/airbyte_api/models/source_quickbooks.py deleted file mode 100644 index 3471eabf..00000000 --- a/src/airbyte_api/models/source_quickbooks.py +++ /dev/null @@ -1,49 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -import dateutil.parser -from airbyte_api import utils -from dataclasses_json import Undefined, dataclass_json -from datetime import datetime -from enum import Enum -from typing import Final, Optional, Union - -class SourceQuickbooksAuthType(str, Enum): - OAUTH2_0 = 'oauth2.0' - - -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class SourceQuickbooksOAuth20: - access_token: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('access_token') }}) - r"""Access token for making authenticated requests.""" - client_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_id') }}) - r"""Identifies which app is making the request. Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production.""" - client_secret: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('client_secret') }}) - r"""Obtain this value from the Keys tab on the app profile via My Apps on the developer site. There are two versions of this key: development and production.""" - realm_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('realm_id') }}) - r"""Labeled Company ID. The Make API Calls panel is populated with the realm id and the current access token.""" - refresh_token: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('refresh_token') }}) - r"""A token used when refreshing the access token.""" - token_expiry_date: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token_expiry_date'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) - r"""The date-time when the access token should be refreshed.""" - AUTH_TYPE: Final[Optional[SourceQuickbooksAuthType]] = dataclasses.field(default=SourceQuickbooksAuthType.OAUTH2_0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) - - - -class Quickbooks(str, Enum): - QUICKBOOKS = 'quickbooks' - - -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class SourceQuickbooks: - credentials: Union[SourceQuickbooksOAuth20] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials') }}) - start_date: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) - r"""The default value to use if no bookmark exists for an endpoint (rfc3339 date string). E.g, 2021-03-20T00:00:00Z. Any data before this date will not be replicated.""" - sandbox: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sandbox'), 'exclude': lambda f: f is None }}) - r"""Determines whether to use the sandbox or production environment.""" - SOURCE_TYPE: Final[Quickbooks] = dataclasses.field(default=Quickbooks.QUICKBOOKS, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) - - diff --git a/src/airbyte_api/models/source_s3.py b/src/airbyte_api/models/source_s3.py index 38a360bc..bbe675dd 100644 --- a/src/airbyte_api/models/source_s3.py +++ b/src/airbyte_api/models/source_s3.py @@ -63,7 +63,7 @@ class Parquet: -class SourceS3SchemasFormatFileFormatFiletype(str, Enum): +class Filetype(str, Enum): CSV = 'csv' @@ -85,7 +85,7 @@ class Csv: r"""The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options.""" escape_char: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('escape_char'), 'exclude': lambda f: f is None }}) r"""The character used for escaping special characters. To disallow escaping, leave this field blank.""" - FILETYPE: Final[Optional[SourceS3SchemasFormatFileFormatFiletype]] = dataclasses.field(default=SourceS3SchemasFormatFileFormatFiletype.CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + FILETYPE: Final[Optional[Filetype]] = dataclasses.field(default=Filetype.CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) infer_datatypes: Optional[bool] = dataclasses.field(default=True, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('infer_datatypes'), 'exclude': lambda f: f is None }}) r"""Configures whether a schema for the source should be inferred from the current data or not. If set to false and a custom schema is set, then the manually enforced schema is used. If a schema is not manually set, and this is set to false, then all fields will be read as strings""" newlines_in_values: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('newlines_in_values'), 'exclude': lambda f: f is None }}) @@ -243,6 +243,8 @@ class SourceS3CSVFormat: FILETYPE: Final[Optional[SourceS3SchemasStreamsFormatFiletype]] = dataclasses.field(default=SourceS3SchemasStreamsFormatFiletype.CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) header_definition: Optional[Union[SourceS3FromCSV, SourceS3Autogenerated, SourceS3UserProvided]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('header_definition'), 'exclude': lambda f: f is None }}) r"""How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows.""" + ignore_errors_on_fields_mismatch: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ignore_errors_on_fields_mismatch'), 'exclude': lambda f: f is None }}) + r"""Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema.""" inference_type: Optional[SourceS3InferenceType] = dataclasses.field(default=SourceS3InferenceType.NONE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('inference_type'), 'exclude': lambda f: f is None }}) r"""How to infer the types of the columns. If none, inference default to strings.""" null_values: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('null_values'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/source_sendgrid.py b/src/airbyte_api/models/source_sendgrid.py index b486fa26..f82228bb 100644 --- a/src/airbyte_api/models/source_sendgrid.py +++ b/src/airbyte_api/models/source_sendgrid.py @@ -7,7 +7,7 @@ from dataclasses_json import Undefined, dataclass_json from datetime import datetime from enum import Enum -from typing import Final, Optional +from typing import Final class Sendgrid(str, Enum): SENDGRID = 'sendgrid' @@ -16,10 +16,10 @@ class Sendgrid(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceSendgrid: - apikey: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('apikey') }}) - r"""API Key, use admin to generate this key.""" + api_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_key') }}) + r"""Sendgrid API Key, use admin to generate this key.""" + start_date: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) + r"""UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated.""" SOURCE_TYPE: Final[Sendgrid] = dataclasses.field(default=Sendgrid.SENDGRID, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) - start_time: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_time'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) - r"""Start time in ISO8601 format. Any data before this time point will not be replicated.""" diff --git a/src/airbyte_api/models/source_sftp_bulk.py b/src/airbyte_api/models/source_sftp_bulk.py index 0d139e3a..b489e96f 100644 --- a/src/airbyte_api/models/source_sftp_bulk.py +++ b/src/airbyte_api/models/source_sftp_bulk.py @@ -7,44 +7,271 @@ from dataclasses_json import Undefined, dataclass_json from datetime import datetime from enum import Enum -from typing import Final, Optional +from typing import Final, List, Optional, Union + +class SourceSftpBulkSchemasAuthType(str, Enum): + PRIVATE_KEY = 'private_key' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AuthenticateViaPrivateKey: + private_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('private_key') }}) + r"""The Private key""" + AUTH_TYPE: Final[Optional[SourceSftpBulkSchemasAuthType]] = dataclasses.field(default=SourceSftpBulkSchemasAuthType.PRIVATE_KEY, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkAuthType(str, Enum): + PASSWORD = 'password' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class AuthenticateViaPassword: + password: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password') }}) + r"""Password""" + AUTH_TYPE: Final[Optional[SourceSftpBulkAuthType]] = dataclasses.field(default=SourceSftpBulkAuthType.PASSWORD, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('auth_type'), 'exclude': lambda f: f is None }}) + -class FileType(str, Enum): - r"""The file type you want to sync. Currently only 'csv' and 'json' files are supported.""" - CSV = 'csv' - JSON = 'json' class SftpBulk(str, Enum): SFTP_BULK = 'sftp-bulk' +class SourceSftpBulkSchemasStreamsFormatFormatFiletype(str, Enum): + UNSTRUCTURED = 'unstructured' + +class SourceSftpBulkSchemasMode(str, Enum): + API = 'api' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class APIParameterConfigModel: + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + r"""The name of the unstructured API parameter to use""" + value: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('value') }}) + r"""The value of the parameter""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class ViaAPI: + r"""Process files via an API, using the `hi_res` mode. This option is useful for increased performance and accuracy, but requires an API key and a hosted instance of unstructured.""" + api_key: Optional[str] = dataclasses.field(default='', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_key'), 'exclude': lambda f: f is None }}) + r"""The API key to use matching the environment""" + api_url: Optional[str] = dataclasses.field(default='https://api.unstructured.io', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_url'), 'exclude': lambda f: f is None }}) + r"""The URL of the unstructured API to use""" + MODE: Final[Optional[SourceSftpBulkSchemasMode]] = dataclasses.field(default=SourceSftpBulkSchemasMode.API, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + parameters: Optional[List[APIParameterConfigModel]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('parameters'), 'exclude': lambda f: f is None }}) + r"""List of parameters send to the API""" + + + +class SourceSftpBulkMode(str, Enum): + LOCAL = 'local' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkLocal: + r"""Process files locally, supporting `fast` and `ocr` modes. This is the default option.""" + MODE: Final[Optional[SourceSftpBulkMode]] = dataclasses.field(default=SourceSftpBulkMode.LOCAL, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkParsingStrategy(str, Enum): + r"""The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf""" + AUTO = 'auto' + FAST = 'fast' + OCR_ONLY = 'ocr_only' + HI_RES = 'hi_res' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkDocumentFileTypeFormatExperimental: + r"""Extract text from document formats (.pdf, .docx, .md, .pptx) and emit as one record per file.""" + FILETYPE: Final[Optional[SourceSftpBulkSchemasStreamsFormatFormatFiletype]] = dataclasses.field(default=SourceSftpBulkSchemasStreamsFormatFormatFiletype.UNSTRUCTURED, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + processing: Optional[Union[SourceSftpBulkLocal, ViaAPI]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('processing'), 'exclude': lambda f: f is None }}) + r"""Processing configuration""" + skip_unprocessable_files: Optional[bool] = dataclasses.field(default=True, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('skip_unprocessable_files'), 'exclude': lambda f: f is None }}) + r"""If true, skip files that cannot be parsed and pass the error message along as the _ab_source_file_parse_error field. If false, fail the sync.""" + strategy: Optional[SourceSftpBulkParsingStrategy] = dataclasses.field(default=SourceSftpBulkParsingStrategy.AUTO, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('strategy'), 'exclude': lambda f: f is None }}) + r"""The strategy used to parse documents. `fast` extracts text directly from the document which doesn't work for all files. `ocr_only` is more reliable, but slower. `hi_res` is the most reliable, but requires an API key and a hosted instance of unstructured and can't be used with local mode. See the unstructured.io documentation for more details: https://unstructured-io.github.io/unstructured/core/partition.html#partition-pdf""" + + + +class SourceSftpBulkSchemasStreamsFormatFiletype(str, Enum): + PARQUET = 'parquet' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkParquetFormat: + decimal_as_float: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('decimal_as_float'), 'exclude': lambda f: f is None }}) + r"""Whether to convert decimal fields to floats. There is a loss of precision when converting decimals to floats, so this is not recommended.""" + FILETYPE: Final[Optional[SourceSftpBulkSchemasStreamsFormatFiletype]] = dataclasses.field(default=SourceSftpBulkSchemasStreamsFormatFiletype.PARQUET, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkSchemasStreamsFiletype(str, Enum): + JSONL = 'jsonl' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkJsonlFormat: + FILETYPE: Final[Optional[SourceSftpBulkSchemasStreamsFiletype]] = dataclasses.field(default=SourceSftpBulkSchemasStreamsFiletype.JSONL, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkSchemasFiletype(str, Enum): + CSV = 'csv' + +class SourceSftpBulkSchemasStreamsHeaderDefinitionType(str, Enum): + USER_PROVIDED = 'User Provided' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkUserProvided: + column_names: List[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('column_names') }}) + r"""The column names that will be used while emitting the CSV records""" + HEADER_DEFINITION_TYPE: Final[Optional[SourceSftpBulkSchemasStreamsHeaderDefinitionType]] = dataclasses.field(default=SourceSftpBulkSchemasStreamsHeaderDefinitionType.USER_PROVIDED, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('header_definition_type'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkSchemasHeaderDefinitionType(str, Enum): + AUTOGENERATED = 'Autogenerated' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkAutogenerated: + HEADER_DEFINITION_TYPE: Final[Optional[SourceSftpBulkSchemasHeaderDefinitionType]] = dataclasses.field(default=SourceSftpBulkSchemasHeaderDefinitionType.AUTOGENERATED, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('header_definition_type'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkHeaderDefinitionType(str, Enum): + FROM_CSV = 'From CSV' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkFromCSV: + HEADER_DEFINITION_TYPE: Final[Optional[SourceSftpBulkHeaderDefinitionType]] = dataclasses.field(default=SourceSftpBulkHeaderDefinitionType.FROM_CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('header_definition_type'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkInferenceType(str, Enum): + r"""How to infer the types of the columns. If none, inference default to strings.""" + NONE = 'None' + PRIMITIVE_TYPES_ONLY = 'Primitive Types Only' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkCSVFormat: + delimiter: Optional[str] = dataclasses.field(default=',', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('delimiter'), 'exclude': lambda f: f is None }}) + r"""The character delimiting individual cells in the CSV data. This may only be a 1-character string. For tab-delimited data enter '\t'.""" + double_quote: Optional[bool] = dataclasses.field(default=True, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('double_quote'), 'exclude': lambda f: f is None }}) + r"""Whether two quotes in a quoted CSV value denote a single quote in the data.""" + encoding: Optional[str] = dataclasses.field(default='utf8', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('encoding'), 'exclude': lambda f: f is None }}) + r"""The character encoding of the CSV data. Leave blank to default to UTF8. See list of python encodings for allowable options.""" + escape_char: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('escape_char'), 'exclude': lambda f: f is None }}) + r"""The character used for escaping special characters. To disallow escaping, leave this field blank.""" + false_values: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('false_values'), 'exclude': lambda f: f is None }}) + r"""A set of case-sensitive strings that should be interpreted as false values.""" + FILETYPE: Final[Optional[SourceSftpBulkSchemasFiletype]] = dataclasses.field(default=SourceSftpBulkSchemasFiletype.CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + header_definition: Optional[Union[SourceSftpBulkFromCSV, SourceSftpBulkAutogenerated, SourceSftpBulkUserProvided]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('header_definition'), 'exclude': lambda f: f is None }}) + r"""How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows.""" + ignore_errors_on_fields_mismatch: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('ignore_errors_on_fields_mismatch'), 'exclude': lambda f: f is None }}) + r"""Whether to ignore errors that occur when the number of fields in the CSV does not match the number of columns in the schema.""" + inference_type: Optional[SourceSftpBulkInferenceType] = dataclasses.field(default=SourceSftpBulkInferenceType.NONE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('inference_type'), 'exclude': lambda f: f is None }}) + r"""How to infer the types of the columns. If none, inference default to strings.""" + null_values: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('null_values'), 'exclude': lambda f: f is None }}) + r"""A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field.""" + quote_char: Optional[str] = dataclasses.field(default='"', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('quote_char'), 'exclude': lambda f: f is None }}) + r"""The character used for quoting CSV values. To disallow quoting, make this field blank.""" + skip_rows_after_header: Optional[int] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('skip_rows_after_header'), 'exclude': lambda f: f is None }}) + r"""The number of rows to skip after the header row.""" + skip_rows_before_header: Optional[int] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('skip_rows_before_header'), 'exclude': lambda f: f is None }}) + r"""The number of rows to skip before the header row. For example, if the header row is on the 3rd row, enter 2 in this field.""" + strings_can_be_null: Optional[bool] = dataclasses.field(default=True, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('strings_can_be_null'), 'exclude': lambda f: f is None }}) + r"""Whether strings can be interpreted as null values. If true, strings that match the null_values set will be interpreted as null. If false, strings that match the null_values set will be interpreted as the string itself.""" + true_values: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('true_values'), 'exclude': lambda f: f is None }}) + r"""A set of case-sensitive strings that should be interpreted as true values.""" + + + +class SourceSftpBulkFiletype(str, Enum): + AVRO = 'avro' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkAvroFormat: + double_as_string: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('double_as_string'), 'exclude': lambda f: f is None }}) + r"""Whether to convert double fields to strings. This is recommended if you have decimal numbers with a high degree of precision because there can be a loss precision when handling floating point numbers.""" + FILETYPE: Final[Optional[SourceSftpBulkFiletype]] = dataclasses.field(default=SourceSftpBulkFiletype.AVRO, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('filetype'), 'exclude': lambda f: f is None }}) + + + +class SourceSftpBulkValidationPolicy(str, Enum): + r"""The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema.""" + EMIT_RECORD = 'Emit Record' + SKIP_RECORD = 'Skip Record' + WAIT_FOR_DISCOVER = 'Wait for Discover' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class SourceSftpBulkFileBasedStreamConfig: + format: Union[SourceSftpBulkAvroFormat, SourceSftpBulkCSVFormat, SourceSftpBulkJsonlFormat, SourceSftpBulkParquetFormat, SourceSftpBulkDocumentFileTypeFormatExperimental] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('format') }}) + r"""The configuration options that are used to alter how to read incoming files that deviate from the standard formatting.""" + name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + r"""The name of the stream.""" + days_to_sync_if_history_is_full: Optional[int] = dataclasses.field(default=3, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('days_to_sync_if_history_is_full'), 'exclude': lambda f: f is None }}) + r"""When the state history of the file store is full, syncs will only read files that were last modified in the provided day range.""" + globs: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('globs'), 'exclude': lambda f: f is None }}) + r"""The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look here.""" + input_schema: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('input_schema'), 'exclude': lambda f: f is None }}) + r"""The schema that will be used to validate records extracted from the file. This will override the stream schema that is auto-detected from incoming files.""" + legacy_prefix: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('legacy_prefix'), 'exclude': lambda f: f is None }}) + r"""The path prefix configured in v3 versions of the S3 connector. This option is deprecated in favor of a single glob.""" + primary_key: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('primary_key'), 'exclude': lambda f: f is None }}) + r"""The column or columns (for a composite key) that serves as the unique identifier of a record. If empty, the primary key will default to the parser's default primary key.""" + schemaless: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('schemaless'), 'exclude': lambda f: f is None }}) + r"""When enabled, syncs will not validate or structure records against the stream's schema.""" + validation_policy: Optional[SourceSftpBulkValidationPolicy] = dataclasses.field(default=SourceSftpBulkValidationPolicy.EMIT_RECORD, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('validation_policy'), 'exclude': lambda f: f is None }}) + r"""The name of the validation policy that dictates sync behavior when a record does not adhere to the stream schema.""" + + + @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceSftpBulk: + r"""Used during spec; allows the developer to configure the cloud provider specific options + that are needed when users configure a file-based source. + """ + credentials: Union[AuthenticateViaPassword, AuthenticateViaPrivateKey] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials') }}) + r"""Credentials for connecting to the SFTP Server""" host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('host') }}) r"""The server host address""" - start_date: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) - r"""The date from which you'd like to replicate data for all incremental streams, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.""" - stream_name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('stream_name') }}) - r"""The name of the stream or table you want to create""" + streams: List[SourceSftpBulkFileBasedStreamConfig] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('streams') }}) + r"""Each instance of this configuration defines a stream. Use this to define which files belong in the stream, their format, and how they should be parsed and validated. When sending data to warehouse destination such as Snowflake or BigQuery, each stream is a separate table.""" username: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('username') }}) r"""The server user""" - file_most_recent: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_most_recent'), 'exclude': lambda f: f is None }}) - r"""Sync only the most recent file for the configured folder path and file pattern""" - file_pattern: Optional[str] = dataclasses.field(default='', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_pattern'), 'exclude': lambda f: f is None }}) - r"""The regular expression to specify files for sync in a chosen Folder Path""" - file_type: Optional[FileType] = dataclasses.field(default=FileType.CSV, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('file_type'), 'exclude': lambda f: f is None }}) - r"""The file type you want to sync. Currently only 'csv' and 'json' files are supported.""" - folder_path: Optional[str] = dataclasses.field(default='', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('folder_path'), 'exclude': lambda f: f is None }}) + folder_path: Optional[str] = dataclasses.field(default='/', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('folder_path'), 'exclude': lambda f: f is None }}) r"""The directory to search files for sync""" - password: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password'), 'exclude': lambda f: f is None }}) - r"""OS-level password for logging into the jump server host""" port: Optional[int] = dataclasses.field(default=22, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) r"""The server port""" - private_key: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('private_key'), 'exclude': lambda f: f is None }}) - r"""The private key""" - separator: Optional[str] = dataclasses.field(default=',', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('separator'), 'exclude': lambda f: f is None }}) - r"""The separator used in the CSV files. Define None if you want to use the Sniffer functionality""" SOURCE_TYPE: Final[SftpBulk] = dataclasses.field(default=SftpBulk.SFTP_BULK, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceType') }}) + start_date: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) + r"""UTC date and time in the format 2017-01-25T00:00:00.000000Z. Any file modified before this date will not be replicated.""" diff --git a/src/airbyte_api/models/source_slack.py b/src/airbyte_api/models/source_slack.py index fb64c404..64703d28 100644 --- a/src/airbyte_api/models/source_slack.py +++ b/src/airbyte_api/models/source_slack.py @@ -52,6 +52,8 @@ class SourceSlack: r"""A channel name list (without leading '#' char) which limit the channels from which you'd like to sync. Empty list means no filter.""" credentials: Optional[Union[SignInViaSlackOAuth, SourceSlackAPIToken]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials'), 'exclude': lambda f: f is None }}) r"""Choose how to authenticate into Slack""" + include_private_channels: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('include_private_channels'), 'exclude': lambda f: f is None }}) + r"""Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels.""" join_channels: Optional[bool] = dataclasses.field(default=True, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('join_channels'), 'exclude': lambda f: f is None }}) r"""Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages.""" lookback_window: Optional[int] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lookback_window'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/sourcecreaterequest.py b/src/airbyte_api/models/sourcecreaterequest.py index 66729a6e..b6519fcd 100644 --- a/src/airbyte_api/models/sourcecreaterequest.py +++ b/src/airbyte_api/models/sourcecreaterequest.py @@ -133,7 +133,6 @@ from .source_punk_api import SourcePunkAPI from .source_pypi import SourcePypi from .source_qualaroo import SourceQualaroo -from .source_quickbooks import SourceQuickbooks from .source_railz import SourceRailz from .source_recharge import SourceRecharge from .source_recreation import SourceRecreation @@ -205,7 +204,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceCreateRequest: - configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceQuickbooks, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the source.""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) r"""Name of the source e.g. dev-mysql-instance.""" @@ -213,6 +212,6 @@ class SourceCreateRequest: definition_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('definitionId'), 'exclude': lambda f: f is None }}) r"""The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided.""" secret_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secretId'), 'exclude': lambda f: f is None }}) - r"""Optional secretID obtained through the public API OAuth redirect flow.""" + r"""Optional secretID obtained through the OAuth redirect flow.""" diff --git a/src/airbyte_api/models/sourcepatchrequest.py b/src/airbyte_api/models/sourcepatchrequest.py index c4794d4d..afaf0aa4 100644 --- a/src/airbyte_api/models/sourcepatchrequest.py +++ b/src/airbyte_api/models/sourcepatchrequest.py @@ -133,7 +133,6 @@ from .source_punk_api import SourcePunkAPI from .source_pypi import SourcePypi from .source_qualaroo import SourceQualaroo -from .source_quickbooks import SourceQuickbooks from .source_railz import SourceRailz from .source_recharge import SourceRecharge from .source_recreation import SourceRecreation @@ -205,11 +204,11 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourcePatchRequest: - configuration: Optional[Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceQuickbooks, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration'), 'exclude': lambda f: f is None }}) + configuration: Optional[Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration'), 'exclude': lambda f: f is None }}) r"""The values required to configure the source.""" name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) secret_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('secretId'), 'exclude': lambda f: f is None }}) - r"""Optional secretID obtained through the public API OAuth redirect flow.""" + r"""Optional secretID obtained through the OAuth redirect flow.""" workspace_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workspaceId'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/sourceputrequest.py b/src/airbyte_api/models/sourceputrequest.py index 50debee6..e3517ba0 100644 --- a/src/airbyte_api/models/sourceputrequest.py +++ b/src/airbyte_api/models/sourceputrequest.py @@ -133,7 +133,6 @@ from .source_punk_api import SourcePunkAPI from .source_pypi import SourcePypi from .source_qualaroo import SourceQualaroo -from .source_quickbooks import SourceQuickbooks from .source_railz import SourceRailz from .source_recharge import SourceRecharge from .source_recreation import SourceRecreation @@ -205,7 +204,7 @@ @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourcePutRequest: - configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceQuickbooks, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the source.""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) diff --git a/src/airbyte_api/models/sourceresponse.py b/src/airbyte_api/models/sourceresponse.py index e990891d..2ef85a0e 100644 --- a/src/airbyte_api/models/sourceresponse.py +++ b/src/airbyte_api/models/sourceresponse.py @@ -133,7 +133,6 @@ from .source_punk_api import SourcePunkAPI from .source_pypi import SourcePypi from .source_qualaroo import SourceQualaroo -from .source_quickbooks import SourceQuickbooks from .source_railz import SourceRailz from .source_recharge import SourceRecharge from .source_recreation import SourceRecreation @@ -206,7 +205,7 @@ @dataclasses.dataclass class SourceResponse: r"""Provides details of a single source.""" - configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceQuickbooks, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[SourceAha, SourceAircall, SourceAirtable, SourceAmazonAds, SourceAmazonSellerPartner, SourceAmazonSqs, SourceAmplitude, SourceApifyDataset, SourceAppfollow, SourceAsana, SourceAuth0, SourceAwsCloudtrail, SourceAzureBlobStorage, SourceAzureTable, SourceBambooHr, SourceBigquery, SourceBingAds, SourceBraintree, SourceBraze, SourceCart, SourceChargebee, SourceChartmogul, SourceClickhouse, SourceClickupAPI, SourceClockify, SourceCloseCom, SourceCoda, SourceCoinAPI, SourceCoinmarketcap, SourceConfigcat, SourceConfluence, SourceConvex, SourceDatascope, SourceDelighted, SourceDixa, SourceDockerhub, SourceDremio, SourceDynamodb, Union[ContinuousFeed], SourceEmailoctopus, SourceExchangeRates, SourceFacebookMarketing, SourceFaker, SourceFauna, SourceFile, SourceFirebolt, SourceFreshcaller, SourceFreshdesk, SourceFreshsales, SourceGainsightPx, SourceGcs, SourceGetlago, SourceGithub, SourceGitlab, SourceGlassfrog, SourceGnews, SourceGoogleAds, SourceGoogleAnalyticsDataAPI, SourceGoogleAnalyticsV4ServiceAccountOnly, SourceGoogleDirectory, SourceGoogleDrive, SourceGooglePagespeedInsights, SourceGoogleSearchConsole, SourceGoogleSheets, SourceGoogleWebfonts, SourceGreenhouse, SourceGridly, SourceHarvest, SourceHubplanner, SourceHubspot, SourceInsightly, SourceInstagram, SourceInstatus, SourceIntercom, SourceIp2whois, SourceIterable, SourceJira, SourceK6Cloud, SourceKlarna, SourceKlaviyo, SourceKyve, SourceLaunchdarkly, SourceLemlist, SourceLeverHiring, SourceLinkedinAds, SourceLinkedinPages, SourceLinnworks, SourceLokalise, SourceMailchimp, SourceMailgun, SourceMailjetSms, SourceMarketo, SourceMetabase, SourceMicrosoftOnedrive, SourceMicrosoftSharepoint, SourceMicrosoftTeams, SourceMixpanel, SourceMonday, SourceMongodbInternalPoc, SourceMongodbV2, SourceMssql, SourceMyHours, SourceMysql, SourceNetsuite, SourceNotion, SourceNytimes, SourceOkta, SourceOmnisend, SourceOnesignal, SourceOracle, SourceOrb, SourceOrbit, SourceOutbrainAmplify, SourceOutreach, SourcePaypalTransaction, SourcePaystack, SourcePendo, SourcePersistiq, SourcePexelsAPI, SourcePinterest, SourcePipedrive, SourcePocket, SourcePokeapi, SourcePolygonStockAPI, SourcePostgres, SourcePosthog, SourcePostmarkapp, SourcePrestashop, SourcePunkAPI, SourcePypi, SourceQualaroo, SourceRailz, SourceRecharge, SourceRecreation, SourceRecruitee, SourceRecurly, SourceRedshift, SourceRetently, SourceRkiCovid, SourceRss, SourceS3, SourceSalesforce, SourceSalesloft, SourceSapFieldglass, SourceSecoda, SourceSendgrid, SourceSendinblue, SourceSenseforce, SourceSentry, SourceSftp, SourceSftpBulk, SourceShopify, SourceShortio, SourceSlack, SourceSmaily, SourceSmartengage, SourceSmartsheets, SourceSnapchatMarketing, SourceSnowflake, SourceSonarCloud, SourceSpacexAPI, SourceSquare, SourceStrava, SourceStripe, SourceSurveySparrow, SourceSurveymonkey, SourceTempo, SourceTheGuardianAPI, SourceTiktokMarketing, SourceTrello, SourceTrustpilot, SourceTvmazeSchedule, SourceTwilio, SourceTwilioTaskrouter, SourceTwitter, SourceTypeform, SourceUsCensus, SourceVantage, SourceWebflow, SourceWhiskyHunter, SourceWikipediaPageviews, SourceWoocommerce, SourceXkcd, SourceYandexMetrica, SourceYotpo, SourceYoutubeAnalytics, SourceZendeskChat, SourceZendeskSell, SourceZendeskSunshine, SourceZendeskSupport, SourceZendeskTalk, SourceZenloop, SourceZohoCrm, SourceZoom] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the source.""" name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) source_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceId') }}) diff --git a/src/airbyte_api/models/streampropertiesresponse.py b/src/airbyte_api/models/streampropertiesresponse.py deleted file mode 100644 index 6adb3117..00000000 --- a/src/airbyte_api/models/streampropertiesresponse.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -from __future__ import annotations -import dataclasses -from .streamproperties import StreamProperties -from airbyte_api import utils -from dataclasses_json import Undefined, dataclass_json -from typing import List, Optional - - -@dataclass_json(undefined=Undefined.EXCLUDE) -@dataclasses.dataclass -class StreamPropertiesResponse: - r"""A list of stream properties.""" - streams: Optional[List[StreamProperties]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('streams'), 'exclude': lambda f: f is None }}) - - diff --git a/src/airbyte_api/models/workspaceoauthcredentialsrequest.py b/src/airbyte_api/models/workspaceoauthcredentialsrequest.py index 790f19ba..a89a1d3e 100644 --- a/src/airbyte_api/models/workspaceoauthcredentialsrequest.py +++ b/src/airbyte_api/models/workspaceoauthcredentialsrequest.py @@ -7,6 +7,7 @@ from .amazon_ads import AmazonAds from .amazon_seller_partner import AmazonSellerPartner from .asana import Asana +from .azure_blob_storage import AzureBlobStorage from .bing_ads import BingAds from .facebook_marketing import FacebookMarketing from .github import Github @@ -16,7 +17,6 @@ from .google_drive import GoogleDrive from .google_search_console import GoogleSearchConsole from .google_sheets import GoogleSheets -from .harvest import Harvest from .hubspot import Hubspot from .instagram import Instagram from .intercom import Intercom @@ -58,7 +58,7 @@ class WorkspaceOAuthCredentialsRequest: r"""POST body for creating/updating workspace level OAuth credentials""" actor_type: ActorTypeEnum = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('actorType') }}) r"""Whether you're setting this override for a source or destination""" - configuration: Union[Airtable, AmazonAds, AmazonSellerPartner, Asana, BingAds, FacebookMarketing, Github, Gitlab, GoogleAds, GoogleAnalyticsDataAPI, GoogleDrive, GoogleSearchConsole, GoogleSheets, Harvest, Hubspot, Instagram, Intercom, LeverHiring, LinkedinAds, Mailchimp, MicrosoftOnedrive, MicrosoftSharepoint, MicrosoftTeams, Monday, Notion, Pinterest, Retently, Salesforce, Shopify, Slack, Smartsheets, SnapchatMarketing, Snowflake, Square, Strava, Surveymonkey, TiktokMarketing, Any, Typeform, YoutubeAnalytics, ZendeskChat, ZendeskSunshine, ZendeskSupport, ZendeskTalk] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) + configuration: Union[Airtable, AmazonAds, AmazonSellerPartner, Asana, AzureBlobStorage, BingAds, FacebookMarketing, Github, Gitlab, GoogleAds, GoogleAnalyticsDataAPI, GoogleDrive, GoogleSearchConsole, GoogleSheets, Hubspot, Instagram, Intercom, LeverHiring, LinkedinAds, Mailchimp, MicrosoftOnedrive, MicrosoftSharepoint, MicrosoftTeams, Monday, Notion, Pinterest, Retently, Salesforce, Shopify, Slack, Smartsheets, SnapchatMarketing, Snowflake, Square, Strava, Surveymonkey, TiktokMarketing, Any, Typeform, YoutubeAnalytics, ZendeskChat, ZendeskSunshine, ZendeskSupport, ZendeskTalk] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('configuration') }}) r"""The values required to configure the source.""" name: OAuthActorNames = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) diff --git a/src/airbyte_api/public.py b/src/airbyte_api/public.py new file mode 100644 index 00000000..385ee857 --- /dev/null +++ b/src/airbyte_api/public.py @@ -0,0 +1,1647 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import List, Optional + +class Public: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def cancel_job(self, request: api.CancelJobRequest) -> api.CancelJobResponse: + r"""Cancel a running Job""" + hook_ctx = HookContext(operation_id='cancelJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/jobs/{jobId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CancelJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_connection(self, request: models.ConnectionCreateRequest) -> api.CreateConnectionResponse: + r"""Create a connection""" + hook_ctx = HookContext(operation_id='createConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/connections' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.ConnectionCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_destination(self, request: Optional[models.DestinationCreateRequest] = None) -> api.CreateDestinationResponse: + r"""Create a destination + Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. + """ + hook_ctx = HookContext(operation_id='createDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/destinations' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, Optional[models.DestinationCreateRequest], "request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_job(self, request: models.JobCreateRequest) -> api.CreateJobResponse: + r"""Trigger a sync or reset job of a connection""" + hook_ctx = HookContext(operation_id='createJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/jobs' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.JobCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_or_update_workspace_o_auth_credentials(self, request: api.CreateOrUpdateWorkspaceOAuthCredentialsRequest) -> api.CreateOrUpdateWorkspaceOAuthCredentialsResponse: + r"""Create OAuth override credentials for a workspace and source type. + Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth. + In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. + """ + hook_ctx = HookContext(operation_id='createOrUpdateWorkspaceOAuthCredentials', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}/oauthCredentials', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.CreateOrUpdateWorkspaceOAuthCredentialsRequest, "workspace_o_auth_credentials_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateOrUpdateWorkspaceOAuthCredentialsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + pass + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_source(self, request: Optional[models.SourceCreateRequest] = None) -> api.CreateSourceResponse: + r"""Create a source + Creates a source given a name, workspace id, and a json blob containing the configuration for the source. + """ + hook_ctx = HookContext(operation_id='createSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, Optional[models.SourceCreateRequest], "request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_workspace(self, request: models.WorkspaceCreateRequest) -> api.CreateWorkspaceResponse: + r"""Create a workspace""" + hook_ctx = HookContext(operation_id='createWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/workspaces' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.WorkspaceCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_connection(self, request: api.DeleteConnectionRequest) -> api.DeleteConnectionResponse: + r"""Delete a Connection""" + hook_ctx = HookContext(operation_id='deleteConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_destination(self, request: api.DeleteDestinationRequest) -> api.DeleteDestinationResponse: + r"""Delete a Destination""" + hook_ctx = HookContext(operation_id='deleteDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_source(self, request: api.DeleteSourceRequest) -> api.DeleteSourceResponse: + r"""Delete a Source""" + hook_ctx = HookContext(operation_id='deleteSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_workspace(self, request: api.DeleteWorkspaceRequest) -> api.DeleteWorkspaceResponse: + r"""Delete a Workspace""" + hook_ctx = HookContext(operation_id='deleteWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_connection(self, request: api.GetConnectionRequest) -> api.GetConnectionResponse: + r"""Get Connection details""" + hook_ctx = HookContext(operation_id='getConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_destination(self, request: api.GetDestinationRequest) -> api.GetDestinationResponse: + r"""Get Destination details""" + hook_ctx = HookContext(operation_id='getDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_job(self, request: api.GetJobRequest) -> api.GetJobResponse: + r"""Get Job status and details""" + hook_ctx = HookContext(operation_id='getJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/jobs/{jobId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_source(self, request: api.GetSourceRequest) -> api.GetSourceResponse: + r"""Get Source details""" + hook_ctx = HookContext(operation_id='getSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_stream_properties(self, request: api.GetStreamPropertiesRequest) -> api.GetStreamPropertiesResponse: + r"""Get stream properties""" + hook_ctx = HookContext(operation_id='getStreamProperties', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/streams' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetStreamPropertiesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[List[models.StreamProperties]]) + res.stream_properties_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_workspace(self, request: api.GetWorkspaceRequest) -> api.GetWorkspaceResponse: + r"""Get Workspace details""" + hook_ctx = HookContext(operation_id='getWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def initiate_o_auth(self, request: models.InitiateOauthRequest) -> api.InitiateOAuthResponse: + r"""Initiate OAuth for a source + Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source. + + This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter. + + That secret ID can be used to create a source with credentials in place of actual tokens. + """ + hook_ctx = HookContext(operation_id='initiateOAuth', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources/initiateOAuth' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.InitiateOauthRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.InitiateOAuthResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + pass + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_connections(self, request: api.ListConnectionsRequest) -> api.ListConnectionsResponse: + r"""List connections""" + hook_ctx = HookContext(operation_id='listConnections', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/connections' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListConnectionsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionsResponse]) + res.connections_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_destinations(self, request: api.ListDestinationsRequest) -> api.ListDestinationsResponse: + r"""List destinations""" + hook_ctx = HookContext(operation_id='listDestinations', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/destinations' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListDestinationsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationsResponse]) + res.destinations_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_jobs(self, request: api.ListJobsRequest) -> api.ListJobsResponse: + r"""List Jobs by sync type""" + hook_ctx = HookContext(operation_id='listJobs', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/jobs' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListJobsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobsResponse]) + res.jobs_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_sources(self, request: api.ListSourcesRequest) -> api.ListSourcesResponse: + r"""List sources""" + hook_ctx = HookContext(operation_id='listSources', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListSourcesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourcesResponse]) + res.sources_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_workspaces(self, request: api.ListWorkspacesRequest) -> api.ListWorkspacesResponse: + r"""List workspaces""" + hook_ctx = HookContext(operation_id='listWorkspaces', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/workspaces' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListWorkspacesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspacesResponse]) + res.workspaces_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_connection(self, request: api.PatchConnectionRequest) -> api.PatchConnectionResponse: + r"""Update Connection details""" + hook_ctx = HookContext(operation_id='patchConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchConnectionRequest, "connection_patch_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_destination(self, request: api.PatchDestinationRequest) -> api.PatchDestinationResponse: + r"""Update a Destination""" + hook_ctx = HookContext(operation_id='patchDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchDestinationRequest, "destination_patch_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_source(self, request: api.PatchSourceRequest) -> api.PatchSourceResponse: + r"""Update a Source""" + hook_ctx = HookContext(operation_id='patchSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchSourceRequest, "source_patch_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def put_destination(self, request: api.PutDestinationRequest) -> api.PutDestinationResponse: + r"""Update a Destination and fully overwrite it""" + hook_ctx = HookContext(operation_id='putDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PutDestinationRequest, "destination_put_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PutDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def put_source(self, request: api.PutSourceRequest) -> api.PutSourceResponse: + r"""Update a Source and fully overwrite it""" + hook_ctx = HookContext(operation_id='putSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PutSourceRequest, "source_put_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PutSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def update_workspace(self, request: api.UpdateWorkspaceRequest) -> api.UpdateWorkspaceResponse: + r"""Update a workspace""" + hook_ctx = HookContext(operation_id='updateWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.UpdateWorkspaceRequest, "workspace_update_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.UpdateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_connections.py b/src/airbyte_api/public_connections.py new file mode 100644 index 00000000..a8c22dfa --- /dev/null +++ b/src/airbyte_api/public_connections.py @@ -0,0 +1,296 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import Optional + +class PublicConnections: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def create_connection(self, request: models.ConnectionCreateRequest) -> api.CreateConnectionResponse: + r"""Create a connection""" + hook_ctx = HookContext(operation_id='createConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/connections' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.ConnectionCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_connection(self, request: api.DeleteConnectionRequest) -> api.DeleteConnectionResponse: + r"""Delete a Connection""" + hook_ctx = HookContext(operation_id='deleteConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_connection(self, request: api.GetConnectionRequest) -> api.GetConnectionResponse: + r"""Get Connection details""" + hook_ctx = HookContext(operation_id='getConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_connections(self, request: api.ListConnectionsRequest) -> api.ListConnectionsResponse: + r"""List connections""" + hook_ctx = HookContext(operation_id='listConnections', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/connections' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListConnectionsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionsResponse]) + res.connections_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_connection(self, request: api.PatchConnectionRequest) -> api.PatchConnectionResponse: + r"""Update Connection details""" + hook_ctx = HookContext(operation_id='patchConnection', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/connections/{connectionId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchConnectionRequest, "connection_patch_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchConnectionResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.ConnectionResponse]) + res.connection_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_destinations.py b/src/airbyte_api/public_destinations.py new file mode 100644 index 00000000..6ead2188 --- /dev/null +++ b/src/airbyte_api/public_destinations.py @@ -0,0 +1,352 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import Optional + +class PublicDestinations: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def create_destination(self, request: Optional[models.DestinationCreateRequest] = None) -> api.CreateDestinationResponse: + r"""Create a destination + Creates a destination given a name, workspace id, and a json blob containing the configuration for the source. + """ + hook_ctx = HookContext(operation_id='createDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/destinations' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, Optional[models.DestinationCreateRequest], "request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_destination(self, request: api.DeleteDestinationRequest) -> api.DeleteDestinationResponse: + r"""Delete a Destination""" + hook_ctx = HookContext(operation_id='deleteDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_destination(self, request: api.GetDestinationRequest) -> api.GetDestinationResponse: + r"""Get Destination details""" + hook_ctx = HookContext(operation_id='getDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_destinations(self, request: api.ListDestinationsRequest) -> api.ListDestinationsResponse: + r"""List destinations""" + hook_ctx = HookContext(operation_id='listDestinations', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/destinations' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListDestinationsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationsResponse]) + res.destinations_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_destination(self, request: api.PatchDestinationRequest) -> api.PatchDestinationResponse: + r"""Update a Destination""" + hook_ctx = HookContext(operation_id='patchDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchDestinationRequest, "destination_patch_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def put_destination(self, request: api.PutDestinationRequest) -> api.PutDestinationResponse: + r"""Update a Destination and fully overwrite it""" + hook_ctx = HookContext(operation_id='putDestination', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/destinations/{destinationId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PutDestinationRequest, "destination_put_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PutDestinationResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.DestinationResponse]) + res.destination_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_jobs.py b/src/airbyte_api/public_jobs.py new file mode 100644 index 00000000..dff677b2 --- /dev/null +++ b/src/airbyte_api/public_jobs.py @@ -0,0 +1,242 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import Optional + +class PublicJobs: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def cancel_job(self, request: api.CancelJobRequest) -> api.CancelJobResponse: + r"""Cancel a running Job""" + hook_ctx = HookContext(operation_id='cancelJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/jobs/{jobId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CancelJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_job(self, request: models.JobCreateRequest) -> api.CreateJobResponse: + r"""Trigger a sync or reset job of a connection""" + hook_ctx = HookContext(operation_id='createJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/jobs' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.JobCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_job(self, request: api.GetJobRequest) -> api.GetJobResponse: + r"""Get Job status and details""" + hook_ctx = HookContext(operation_id='getJob', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/jobs/{jobId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetJobResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobResponse]) + res.job_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_jobs(self, request: api.ListJobsRequest) -> api.ListJobsResponse: + r"""List Jobs by sync type""" + hook_ctx = HookContext(operation_id='listJobs', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/jobs' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListJobsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.JobsResponse]) + res.jobs_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_sources.py b/src/airbyte_api/public_sources.py new file mode 100644 index 00000000..156139d6 --- /dev/null +++ b/src/airbyte_api/public_sources.py @@ -0,0 +1,412 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import Optional + +class PublicSources: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def create_source(self, request: Optional[models.SourceCreateRequest] = None) -> api.CreateSourceResponse: + r"""Create a source + Creates a source given a name, workspace id, and a json blob containing the configuration for the source. + """ + hook_ctx = HookContext(operation_id='createSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, Optional[models.SourceCreateRequest], "request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_source(self, request: api.DeleteSourceRequest) -> api.DeleteSourceResponse: + r"""Delete a Source""" + hook_ctx = HookContext(operation_id='deleteSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_source(self, request: api.GetSourceRequest) -> api.GetSourceResponse: + r"""Get Source details""" + hook_ctx = HookContext(operation_id='getSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def initiate_o_auth(self, request: models.InitiateOauthRequest) -> api.InitiateOAuthResponse: + r"""Initiate OAuth for a source + Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source. + + This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter. + + That secret ID can be used to create a source with credentials in place of actual tokens. + """ + hook_ctx = HookContext(operation_id='initiateOAuth', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources/initiateOAuth' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.InitiateOauthRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.InitiateOAuthResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + pass + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_sources(self, request: api.ListSourcesRequest) -> api.ListSourcesResponse: + r"""List sources""" + hook_ctx = HookContext(operation_id='listSources', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/sources' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListSourcesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourcesResponse]) + res.sources_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def patch_source(self, request: api.PatchSourceRequest) -> api.PatchSourceResponse: + r"""Update a Source""" + hook_ctx = HookContext(operation_id='patchSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PatchSourceRequest, "source_patch_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PatchSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def put_source(self, request: api.PutSourceRequest) -> api.PutSourceResponse: + r"""Update a Source and fully overwrite it""" + hook_ctx = HookContext(operation_id='putSource', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/sources/{sourceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.PutSourceRequest, "source_put_request", False, True, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.PutSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) + res.source_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_streams.py b/src/airbyte_api/public_streams.py new file mode 100644 index 00000000..0571c2af --- /dev/null +++ b/src/airbyte_api/public_streams.py @@ -0,0 +1,72 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import List, Optional + +class PublicStreams: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def get_stream_properties(self, request: api.GetStreamPropertiesRequest) -> api.GetStreamPropertiesResponse: + r"""Get stream properties""" + hook_ctx = HookContext(operation_id='getStreamProperties', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/streams' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetStreamPropertiesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[List[models.StreamProperties]]) + res.stream_properties_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/public_workspaces.py b/src/airbyte_api/public_workspaces.py new file mode 100644 index 00000000..62a8d577 --- /dev/null +++ b/src/airbyte_api/public_workspaces.py @@ -0,0 +1,353 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http +from .sdkconfiguration import SDKConfiguration +from airbyte_api import api, errors, models, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext +from typing import Optional + +class PublicWorkspaces: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def create_or_update_workspace_o_auth_credentials(self, request: api.CreateOrUpdateWorkspaceOAuthCredentialsRequest) -> api.CreateOrUpdateWorkspaceOAuthCredentialsResponse: + r"""Create OAuth override credentials for a workspace and source type. + Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth. + In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination. + """ + hook_ctx = HookContext(operation_id='createOrUpdateWorkspaceOAuthCredentials', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}/oauthCredentials', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.CreateOrUpdateWorkspaceOAuthCredentialsRequest, "workspace_o_auth_credentials_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PUT', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateOrUpdateWorkspaceOAuthCredentialsResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + pass + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def create_workspace(self, request: models.WorkspaceCreateRequest) -> api.CreateWorkspaceResponse: + r"""Create a workspace""" + hook_ctx = HookContext(operation_id='createWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/workspaces' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, models.WorkspaceCreateRequest, "request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('POST', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.CreateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def delete_workspace(self, request: api.DeleteWorkspaceRequest) -> api.DeleteWorkspaceResponse: + r"""Delete a Workspace""" + hook_ctx = HookContext(operation_id='deleteWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('DELETE', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.DeleteWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 204: + pass + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def get_workspace(self, request: api.GetWorkspaceRequest) -> api.GetWorkspaceResponse: + r"""Get Workspace details""" + hook_ctx = HookContext(operation_id='getWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.GetWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def list_workspaces(self, request: api.ListWorkspacesRequest) -> api.ListWorkspacesResponse: + r"""List workspaces""" + hook_ctx = HookContext(operation_id='listWorkspaces', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/workspaces' + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + query_params = { **utils.get_query_params(request), **query_params } + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, params=query_params, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['403','404','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.ListWorkspacesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspacesResponse]) + res.workspaces_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 403 or http_res.status_code == 404 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + + def update_workspace(self, request: api.UpdateWorkspaceRequest) -> api.UpdateWorkspaceResponse: + r"""Update a workspace""" + hook_ctx = HookContext(operation_id='updateWorkspace', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = utils.generate_url(base_url, '/workspaces/{workspaceId}', request) + + if callable(self.sdk_configuration.security): + headers, query_params = utils.get_security(self.sdk_configuration.security()) + else: + headers, query_params = utils.get_security(self.sdk_configuration.security) + + req_content_type, data, form = utils.serialize_request_body(request, api.UpdateWorkspaceRequest, "workspace_update_request", False, False, 'json') + if req_content_type is not None and req_content_type not in ('multipart/form-data', 'multipart/mixed'): + headers['content-type'] = req_content_type + if data is None and form is None: + raise Exception('request body is required') + headers['Accept'] = 'application/json' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('PATCH', url, params=query_params, data=data, files=form, headers=headers)) + req = self.sdk_configuration.get_hooks().before_request(BeforeRequestContext(hook_ctx), req) + http_res = client.send(req) + except Exception as e: + _, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), None, e) + if e is not None: + raise e + + if utils.match_status_codes(['400','403','4XX','5XX'], http_res.status_code): + result, e = self.sdk_configuration.get_hooks().after_error(AfterErrorContext(hook_ctx), http_res, None) + if e is not None: + raise e + if result is not None: + http_res = result + else: + http_res = self.sdk_configuration.get_hooks().after_success(AfterSuccessContext(hook_ctx), http_res) + + + + res = api.UpdateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) + + if http_res.status_code == 200: + # pylint: disable=no-else-return + if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): + out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) + res.workspace_response = out + else: + content_type = http_res.headers.get('Content-Type') + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) + elif http_res.status_code == 400 or http_res.status_code == 403 or http_res.status_code >= 400 and http_res.status_code < 500 or http_res.status_code >= 500 and http_res.status_code < 600: + raise errors.SDKError('API error occurred', http_res.status_code, http_res.text, http_res) + else: + raise errors.SDKError('unknown status code received', http_res.status_code, http_res.text, http_res) + + return res + + + diff --git a/src/airbyte_api/sdk.py b/src/airbyte_api/sdk.py index 3604e804..e02c0965 100644 --- a/src/airbyte_api/sdk.py +++ b/src/airbyte_api/sdk.py @@ -4,6 +4,13 @@ from .connections import Connections from .destinations import Destinations from .jobs import Jobs +from .public import Public +from .public_connections import PublicConnections +from .public_destinations import PublicDestinations +from .public_jobs import PublicJobs +from .public_sources import PublicSources +from .public_streams import PublicStreams +from .public_workspaces import PublicWorkspaces from .sdkconfiguration import SDKConfiguration from .sources import Sources from .streams import Streams @@ -14,12 +21,19 @@ from typing import Callable, Dict, Optional, Union class AirbyteAPI: - r"""airbyte-api: Programmatically control Airbyte Cloud, OSS & Enterprise.""" + r"""airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise.""" + public_connections: PublicConnections + public: Public connections: Connections + public_destinations: PublicDestinations destinations: Destinations + public_jobs: PublicJobs jobs: Jobs + public_sources: PublicSources sources: Sources + public_streams: PublicStreams streams: Streams + public_workspaces: PublicWorkspaces workspaces: Workspaces sdk_configuration: SDKConfiguration @@ -77,9 +91,16 @@ def __init__(self, def _init_sdks(self): + self.public_connections = PublicConnections(self.sdk_configuration) + self.public = Public(self.sdk_configuration) self.connections = Connections(self.sdk_configuration) + self.public_destinations = PublicDestinations(self.sdk_configuration) self.destinations = Destinations(self.sdk_configuration) + self.public_jobs = PublicJobs(self.sdk_configuration) self.jobs = Jobs(self.sdk_configuration) + self.public_sources = PublicSources(self.sdk_configuration) self.sources = Sources(self.sdk_configuration) + self.public_streams = PublicStreams(self.sdk_configuration) self.streams = Streams(self.sdk_configuration) + self.public_workspaces = PublicWorkspaces(self.sdk_configuration) self.workspaces = Workspaces(self.sdk_configuration) diff --git a/src/airbyte_api/sdkconfiguration.py b/src/airbyte_api/sdkconfiguration.py index 2c01ed11..90ad22cc 100644 --- a/src/airbyte_api/sdkconfiguration.py +++ b/src/airbyte_api/sdkconfiguration.py @@ -24,9 +24,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '0.49.2' - gen_version: str = '2.304.1' - user_agent: str = 'speakeasy-sdk/python 0.49.2 2.304.1 1.0.0 airbyte-api' + sdk_version: str = '0.49.3' + gen_version: str = '2.329.0' + user_agent: str = 'speakeasy-sdk/python 0.49.3 2.329.0 1.0.0 airbyte-api' retry_config: Optional[RetryConfig] = None def __post_init__(self): diff --git a/src/airbyte_api/sources.py b/src/airbyte_api/sources.py index ede38be9..edc5db6f 100644 --- a/src/airbyte_api/sources.py +++ b/src/airbyte_api/sources.py @@ -14,7 +14,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None: - def create_source(self, request: Optional[models.SourceCreateRequest]) -> api.CreateSourceResponse: + def create_source(self, request: Optional[models.SourceCreateRequest] = None) -> api.CreateSourceResponse: r"""Create a source Creates a source given a name, workspace id, and a json blob containing the configuration for the source. """ @@ -58,6 +58,7 @@ def create_source(self, request: Optional[models.SourceCreateRequest]) -> api.Cr res = api.CreateSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) res.source_response = out @@ -161,6 +162,7 @@ def get_source(self, request: api.GetSourceRequest) -> api.GetSourceResponse: res = api.GetSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) res.source_response = out @@ -276,6 +278,7 @@ def list_sources(self, request: api.ListSourcesRequest) -> api.ListSourcesRespon res = api.ListSourcesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.SourcesResponse]) res.sources_response = out @@ -333,6 +336,7 @@ def patch_source(self, request: api.PatchSourceRequest) -> api.PatchSourceRespon res = api.PatchSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) res.source_response = out @@ -390,6 +394,7 @@ def put_source(self, request: api.PutSourceRequest) -> api.PutSourceResponse: res = api.PutSourceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) res.source_response = out diff --git a/src/airbyte_api/streams.py b/src/airbyte_api/streams.py index bf065a6d..ede7dd4d 100644 --- a/src/airbyte_api/streams.py +++ b/src/airbyte_api/streams.py @@ -4,7 +4,7 @@ from .sdkconfiguration import SDKConfiguration from airbyte_api import api, errors, models, utils from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext -from typing import Optional +from typing import List, Optional class Streams: sdk_configuration: SDKConfiguration @@ -54,8 +54,9 @@ def get_stream_properties(self, request: api.GetStreamPropertiesRequest) -> api. res = api.GetStreamPropertiesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[models.StreamPropertiesResponse]) + out = utils.unmarshal_json(http_res.text, Optional[List[models.StreamProperties]]) res.stream_properties_response = out else: content_type = http_res.headers.get('Content-Type') diff --git a/src/airbyte_api/utils/utils.py b/src/airbyte_api/utils/utils.py index 79c6adc0..070f7fac 100644 --- a/src/airbyte_api/utils/utils.py +++ b/src/airbyte_api/utils/utils.py @@ -908,6 +908,33 @@ def bigintdecoder(val): raise ValueError(f"{val} is a float") return int(val) +def integerstrencoder(optional: bool): + def integerstrencode(val: int): + if optional and val is None: + return None + return str(val) + + return integerstrencode + + +def integerstrdecoder(val): + if isinstance(val, float): + raise ValueError(f"{val} is a float") + return int(val) + + +def numberstrencoder(optional: bool): + def numberstrencode(val: float): + if optional and val is None: + return None + return str(val) + + return numberstrencode + + +def numberstrdecoder(val): + return float(val) + def decimalencoder(optional: bool, as_str: bool): def decimalencode(val: Decimal): diff --git a/src/airbyte_api/workspaces.py b/src/airbyte_api/workspaces.py index 46fef002..020dab82 100644 --- a/src/airbyte_api/workspaces.py +++ b/src/airbyte_api/workspaces.py @@ -115,6 +115,7 @@ def create_workspace(self, request: models.WorkspaceCreateRequest) -> api.Create res = api.CreateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) res.workspace_response = out @@ -218,6 +219,7 @@ def get_workspace(self, request: api.GetWorkspaceRequest) -> api.GetWorkspaceRes res = api.GetWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) res.workspace_response = out @@ -273,6 +275,7 @@ def list_workspaces(self, request: api.ListWorkspacesRequest) -> api.ListWorkspa res = api.ListWorkspacesResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.WorkspacesResponse]) res.workspaces_response = out @@ -332,6 +335,7 @@ def update_workspace(self, request: api.UpdateWorkspaceRequest) -> api.UpdateWor res = api.UpdateWorkspaceResponse(status_code=http_res.status_code, content_type=http_res.headers.get('Content-Type') or '', raw_response=http_res) if http_res.status_code == 200: + # pylint: disable=no-else-return if utils.match_content_type(http_res.headers.get('Content-Type') or '', 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[models.WorkspaceResponse]) res.workspace_response = out diff --git a/tests/helpers.py b/tests/helpers.py deleted file mode 100644 index b3d09504..00000000 --- a/tests/helpers.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" - -import re - - -def sort_query_parameters(url): - parts = url.split("?") - - if len(parts) == 1: - return url - - query = parts[1] - params = query.split("&") - - params.sort(key=lambda x: x.split('=')[0]) - - return parts[0] + "?" + "&".join(params) - - -def sort_serialized_maps(inp: any, regex: str, delim: str): - - def sort_map(m): - entire_match = m.group(0) - - groups = m.groups() - - for group in groups: - pairs = [] - if '=' in group: - pairs = group.split(delim) - - pairs.sort(key=lambda x: x.split('=')[0]) - else: - values = group.split(delim) - - if len(values) == 1: - pairs = values - else: - pairs = [''] * int(len(values)/2) - # loop though every 2nd item - for i in range(0, len(values), 2): - pairs[int(i/2)] = values[i] + delim + values[i+1] - - pairs.sort(key=lambda x: x.split(delim)[0]) - - entire_match = entire_match.replace(group, delim.join(pairs)) - - return entire_match - - if isinstance(inp, str): - return re.sub(regex, sort_map, inp) - elif isinstance(inp, list): - for i, v in enumerate(inp): - inp[i] = sort_serialized_maps(v, regex, delim) - return inp - elif isinstance(inp, dict): - for k, v in inp.items(): - inp[k] = sort_serialized_maps(v, regex, delim) - return inp - else: - raise Exception("Unsupported type")