diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 8212e6ed..30cc5cf4 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 07961597-3730-4940-9fd0-35eb4118eab3 management: - docChecksum: ab106dd2601bf059efdd48ec5506ba14 + docChecksum: 241d5a786e59837e86f30500836a2a90 docVersion: 1.0.0 - speakeasyVersion: 1.289.0 - generationVersion: 2.331.0 - releaseVersion: 0.49.4 - configChecksum: 3ab75753027013306c692a8ac7dd20ae + speakeasyVersion: 1.291.0 + generationVersion: 2.332.4 + releaseVersion: 0.50.0 + configChecksum: 3419a83e7a383d870cd14092010722a7 repoURL: https://github.com/airbytehq/airbyte-api-python-sdk.git repoSubDirectory: . installationURL: https://github.com/airbytehq/airbyte-api-python-sdk.git @@ -20,26 +20,21 @@ features: globalSecurity: 2.83.5 globalSecurityCallbacks: 0.1.0 globalServerURLs: 2.82.2 + groups: 2.81.2 nullables: 0.1.0 + oauth2ClientCredentials: 0.1.2 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/health.py - src/airbyte_api/jobs.py - - src/airbyte_api/public_permissions.py - src/airbyte_api/permissions.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 @@ -55,30 +50,35 @@ generatedFiles: - src/airbyte_api/api/getconnection.py - src/airbyte_api/api/listconnections.py - src/airbyte_api/api/patchconnection.py - - src/airbyte_api/api/canceljob.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/gethealthcheck.py + - src/airbyte_api/api/canceljob.py - src/airbyte_api/api/createjob.py - - src/airbyte_api/api/createorupdateworkspaceoauthcredentials.py + - src/airbyte_api/api/getjob.py + - src/airbyte_api/api/listjobs.py - src/airbyte_api/api/createpermission.py + - src/airbyte_api/api/deletepermission.py + - src/airbyte_api/api/getpermission.py + - src/airbyte_api/api/listpermissions.py + - src/airbyte_api/api/updatepermission.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 @@ -98,9 +98,6 @@ generatedFiles: - 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 @@ -132,62 +129,28 @@ generatedFiles: - src/airbyte_api/models/destination_s3_glue.py - src/airbyte_api/models/destination_sftp_json.py - src/airbyte_api/models/destination_snowflake.py + - src/airbyte_api/models/destination_snowflake_cortex.py - src/airbyte_api/models/destination_teradata.py - 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/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/jobsresponse.py - src/airbyte_api/models/permissionresponse.py - src/airbyte_api/models/permissiontype.py - src/airbyte_api/models/permissioncreaterequest.py + - src/airbyte_api/models/permissionsresponse.py + - src/airbyte_api/models/permissionresponseread.py + - src/airbyte_api/models/permissionscope.py + - src/airbyte_api/models/permissionupdaterequest.py - src/airbyte_api/models/sourceresponse.py - src/airbyte_api/models/source_aha.py - src/airbyte_api/models/source_aircall.py @@ -384,20 +347,63 @@ 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/destinationsresponse.py - - src/airbyte_api/models/jobsresponse.py + - src/airbyte_api/models/oauthactornames.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/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/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/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/schemeclientcredentials.py - src/airbyte_api/models/schemebasicauth.py - src/airbyte_api/errors/__init__.py - src/airbyte_api/api/__init__.py @@ -411,48 +417,57 @@ 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/createpermissionresponse.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/gethealthcheckresponse.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/createpermissionresponse.md + - docs/api/deletepermissionrequest.md + - docs/api/deletepermissionresponse.md + - docs/api/getpermissionrequest.md + - docs/api/getpermissionresponse.md + - docs/api/listpermissionsrequest.md + - docs/api/listpermissionsresponse.md + - docs/api/updatepermissionrequest.md + - docs/api/updatepermissionresponse.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 @@ -473,9 +488,6 @@ generatedFiles: - 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 @@ -896,6 +908,31 @@ generatedFiles: - docs/models/authorizationmethod.md - docs/models/destinationsnowflakesnowflake.md - docs/models/destinationsnowflake.md + - docs/models/snowflakecortex.md + - docs/models/destinationsnowflakecortexschemasembeddingembedding5mode.md + - docs/models/destinationsnowflakecortexopenaicompatible.md + - docs/models/destinationsnowflakecortexschemasembeddingembeddingmode.md + - docs/models/destinationsnowflakecortexazureopenai.md + - docs/models/destinationsnowflakecortexschemasembeddingmode.md + - docs/models/destinationsnowflakecortexfake.md + - docs/models/destinationsnowflakecortexschemasmode.md + - docs/models/destinationsnowflakecortexcohere.md + - docs/models/destinationsnowflakecortexmode.md + - docs/models/destinationsnowflakecortexopenai.md + - docs/models/destinationsnowflakecortexembedding.md + - docs/models/destinationsnowflakecortexcredentials.md + - docs/models/destinationsnowflakecortexindexing.md + - docs/models/destinationsnowflakecortexfieldnamemappingconfigmodel.md + - docs/models/destinationsnowflakecortexlanguage.md + - docs/models/destinationsnowflakecortexschemasprocessingtextsplittertextsplittermode.md + - docs/models/destinationsnowflakecortexbyprogramminglanguage.md + - docs/models/destinationsnowflakecortexschemasprocessingtextsplittermode.md + - docs/models/destinationsnowflakecortexbymarkdownheader.md + - docs/models/destinationsnowflakecortexschemasprocessingmode.md + - docs/models/destinationsnowflakecortexbyseparator.md + - docs/models/destinationsnowflakecortextextsplitter.md + - docs/models/destinationsnowflakecortexprocessingconfigmodel.md + - docs/models/destinationsnowflakecortex.md - docs/models/teradata.md - docs/models/destinationteradataschemassslmodesslmodes6mode.md - docs/models/destinationteradataverifyfull.md @@ -976,91 +1013,21 @@ generatedFiles: - 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/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/jobsresponse.md - docs/models/permissionresponse.md - docs/models/permissiontype.md - docs/models/permissioncreaterequest.md + - docs/models/permissionsresponse.md + - docs/models/permissionresponseread.md + - docs/models/permissionscope.md + - docs/models/permissionupdaterequest.md - docs/models/sourceresponse.md - docs/models/sourceconfiguration.md - docs/models/aha.md @@ -2318,39 +2285,111 @@ 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/destinationsresponse.md - - docs/models/jobsresponse.md + - docs/models/oauthactornames.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/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/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/workspaceresponse.md + - docs/models/workspacecreaterequest.md + - docs/models/workspacesresponse.md - docs/models/workspaceupdaterequest.md - docs/models/security.md + - docs/models/schemeclientcredentials.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/health/README.md - docs/sdks/jobs/README.md - - docs/sdks/publicpermissions/README.md - docs/sdks/permissions/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 - src/airbyte_api/_hooks/sdkhooks.py - src/airbyte_api/_hooks/types.py - src/airbyte_api/_hooks/__init__.py + - src/airbyte_api/_hooks/clientcredentials.py diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 32e07f7e..524a04ba 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.289.0 +speakeasyVersion: 1.291.0 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:8948d30766f3dc41f16c1c5fbf7a28ca02745f4470da1cfdfca53f6cb7622e27 - sourceBlobDigest: sha256:770a7589e02e71b2f3dcb5fefce35fcbd1d94e62c7852bb78b6e70a08f9cdbe0 + sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80 + sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f tags: - latest - main @@ -11,8 +11,8 @@ targets: python-api: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:8948d30766f3dc41f16c1c5fbf7a28ca02745f4470da1cfdfca53f6cb7622e27 - sourceBlobDigest: sha256:770a7589e02e71b2f3dcb5fefce35fcbd1d94e62c7852bb78b6e70a08f9cdbe0 + sourceRevisionDigest: sha256:8faf77ab50f1ef008db79c238a2b095642313bf3c27569c4816663ec1420eb80 + sourceBlobDigest: sha256:0e82a3e7b75891ddf98adc76f9bc0d7b98733223733eac011c0ebd09b7d6c05f outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/README.md b/README.md index b9c79c69..b961a8f3 100755 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ s = airbyte_api.AirbyteAPI( ), ) -res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( +res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', @@ -56,47 +56,6 @@ 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_permission](docs/sdks/public/README.md#create_permission) - Create a permission -* [create_source](docs/sdks/public/README.md#create_source) - Create a source -* [create_workspace](docs/sdks/public/README.md#create_workspace) - Create a workspace -* [delete_connection](docs/sdks/public/README.md#delete_connection) - Delete a Connection -* [delete_destination](docs/sdks/public/README.md#delete_destination) - Delete a Destination -* [delete_source](docs/sdks/public/README.md#delete_source) - Delete a Source -* [delete_workspace](docs/sdks/public/README.md#delete_workspace) - Delete a Workspace -* [get_connection](docs/sdks/public/README.md#get_connection) - Get Connection details -* [get_destination](docs/sdks/public/README.md#get_destination) - Get Destination details -* [get_job](docs/sdks/public/README.md#get_job) - Get Job status and details -* [get_source](docs/sdks/public/README.md#get_source) - Get Source details -* [get_stream_properties](docs/sdks/public/README.md#get_stream_properties) - Get stream properties -* [get_workspace](docs/sdks/public/README.md#get_workspace) - Get Workspace details -* [initiate_o_auth](docs/sdks/public/README.md#initiate_o_auth) - Initiate OAuth for a source -* [list_connections](docs/sdks/public/README.md#list_connections) - List connections -* [list_destinations](docs/sdks/public/README.md#list_destinations) - List destinations -* [list_jobs](docs/sdks/public/README.md#list_jobs) - List Jobs by sync type -* [list_sources](docs/sdks/public/README.md#list_sources) - List sources -* [list_workspaces](docs/sdks/public/README.md#list_workspaces) - List workspaces -* [patch_connection](docs/sdks/public/README.md#patch_connection) - Update Connection details -* [patch_destination](docs/sdks/public/README.md#patch_destination) - Update a Destination -* [patch_source](docs/sdks/public/README.md#patch_source) - Update a Source -* [put_destination](docs/sdks/public/README.md#put_destination) - Update a Destination and fully overwrite it -* [put_source](docs/sdks/public/README.md#put_source) - Update a Source and fully overwrite it -* [update_workspace](docs/sdks/public/README.md#update_workspace) - Update a workspace - ### [connections](docs/sdks/connections/README.md) * [create_connection](docs/sdks/connections/README.md#create_connection) - Create a connection @@ -105,15 +64,6 @@ if res.connection_response is not None: * [list_connections](docs/sdks/connections/README.md#list_connections) - List connections * [patch_connection](docs/sdks/connections/README.md#patch_connection) - Update Connection details -### [public_destinations](docs/sdks/publicdestinations/README.md) - -* [create_destination](docs/sdks/publicdestinations/README.md#create_destination) - Create a destination -* [delete_destination](docs/sdks/publicdestinations/README.md#delete_destination) - Delete a Destination -* [get_destination](docs/sdks/publicdestinations/README.md#get_destination) - Get Destination details -* [list_destinations](docs/sdks/publicdestinations/README.md#list_destinations) - List destinations -* [patch_destination](docs/sdks/publicdestinations/README.md#patch_destination) - Update a Destination -* [put_destination](docs/sdks/publicdestinations/README.md#put_destination) - Update a Destination and fully overwrite it - ### [destinations](docs/sdks/destinations/README.md) * [create_destination](docs/sdks/destinations/README.md#create_destination) - Create a destination @@ -123,12 +73,9 @@ if res.connection_response is not None: * [patch_destination](docs/sdks/destinations/README.md#patch_destination) - Update a Destination * [put_destination](docs/sdks/destinations/README.md#put_destination) - Update a Destination and fully overwrite it -### [public_jobs](docs/sdks/publicjobs/README.md) +### [health](docs/sdks/health/README.md) -* [cancel_job](docs/sdks/publicjobs/README.md#cancel_job) - Cancel a running Job -* [create_job](docs/sdks/publicjobs/README.md#create_job) - Trigger a sync or reset job of a connection -* [get_job](docs/sdks/publicjobs/README.md#get_job) - Get Job status and details -* [list_jobs](docs/sdks/publicjobs/README.md#list_jobs) - List Jobs by sync type +* [get_health_check](docs/sdks/health/README.md#get_health_check) - Health Check ### [jobs](docs/sdks/jobs/README.md) @@ -137,23 +84,13 @@ if res.connection_response is not None: * [get_job](docs/sdks/jobs/README.md#get_job) - Get Job status and details * [list_jobs](docs/sdks/jobs/README.md#list_jobs) - List Jobs by sync type -### [public_permissions](docs/sdks/publicpermissions/README.md) - -* [create_permission](docs/sdks/publicpermissions/README.md#create_permission) - Create a permission - ### [permissions](docs/sdks/permissions/README.md) * [create_permission](docs/sdks/permissions/README.md#create_permission) - Create a permission - -### [public_sources](docs/sdks/publicsources/README.md) - -* [create_source](docs/sdks/publicsources/README.md#create_source) - Create a source -* [delete_source](docs/sdks/publicsources/README.md#delete_source) - Delete a Source -* [get_source](docs/sdks/publicsources/README.md#get_source) - Get Source details -* [initiate_o_auth](docs/sdks/publicsources/README.md#initiate_o_auth) - Initiate OAuth for a source -* [list_sources](docs/sdks/publicsources/README.md#list_sources) - List sources -* [patch_source](docs/sdks/publicsources/README.md#patch_source) - Update a Source -* [put_source](docs/sdks/publicsources/README.md#put_source) - Update a Source and fully overwrite it +* [delete_permission](docs/sdks/permissions/README.md#delete_permission) - Delete a Permission +* [get_permission](docs/sdks/permissions/README.md#get_permission) - Get Permission details +* [list_permissions](docs/sdks/permissions/README.md#list_permissions) - List Permissions by user id +* [update_permission](docs/sdks/permissions/README.md#update_permission) - Update a permission ### [sources](docs/sdks/sources/README.md) @@ -165,23 +102,10 @@ if res.connection_response is not None: * [patch_source](docs/sdks/sources/README.md#patch_source) - Update a Source * [put_source](docs/sdks/sources/README.md#put_source) - Update a Source and fully overwrite it -### [public_streams](docs/sdks/publicstreams/README.md) - -* [get_stream_properties](docs/sdks/publicstreams/README.md#get_stream_properties) - Get stream properties - ### [streams](docs/sdks/streams/README.md) * [get_stream_properties](docs/sdks/streams/README.md#get_stream_properties) - Get stream properties -### [public_workspaces](docs/sdks/publicworkspaces/README.md) - -* [create_or_update_workspace_o_auth_credentials](docs/sdks/publicworkspaces/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type. -* [create_workspace](docs/sdks/publicworkspaces/README.md#create_workspace) - Create a workspace -* [delete_workspace](docs/sdks/publicworkspaces/README.md#delete_workspace) - Delete a Workspace -* [get_workspace](docs/sdks/publicworkspaces/README.md#get_workspace) - Get Workspace details -* [list_workspaces](docs/sdks/publicworkspaces/README.md#list_workspaces) - List workspaces -* [update_workspace](docs/sdks/publicworkspaces/README.md#update_workspace) - Update a workspace - ### [workspaces](docs/sdks/workspaces/README.md) * [create_or_update_workspace_o_auth_credentials](docs/sdks/workspaces/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type. @@ -224,7 +148,7 @@ s = airbyte_api.AirbyteAPI( res = None try: - res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( + res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', @@ -270,7 +194,7 @@ s = airbyte_api.AirbyteAPI( ), ) -res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( +res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', @@ -301,7 +225,7 @@ s = airbyte_api.AirbyteAPI( ), ) -res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( +res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', @@ -362,7 +286,7 @@ s = airbyte_api.AirbyteAPI( ), ) -res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( +res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', diff --git a/RELEASES.md b/RELEASES.md index 40ce6b14..f36c4268 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -908,4 +908,14 @@ Based on: ### Generated - [python v0.49.4] . ### Releases -- [PyPI v0.49.4] https://pypi.org/project/airbyte-api/0.49.4 - . \ No newline at end of file +- [PyPI v0.49.4] https://pypi.org/project/airbyte-api/0.49.4 - . + +## 2024-05-15 22:21:55 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.50.0] . +### Releases +- [PyPI v0.50.0] https://pypi.org/project/airbyte-api/0.50.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 79fce084..994674e9 100644 --- a/USAGE.md +++ b/USAGE.md @@ -12,7 +12,7 @@ s = airbyte_api.AirbyteAPI( ), ) -res = s.public_connections.create_connection(request=models.ConnectionCreateRequest( +res = s.connections.create_connection(request=models.ConnectionCreateRequest( destination_id='e478de0d-a3a0-475c-b019-25f7dd29e281', source_id='95e66a59-8045-4307-9678-63bc3c9b8c93', name='Postgres-to-Bigquery', diff --git a/docs/api/deletepermissionrequest.md b/docs/api/deletepermissionrequest.md new file mode 100644 index 00000000..83992603 --- /dev/null +++ b/docs/api/deletepermissionrequest.md @@ -0,0 +1,8 @@ +# DeletePermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `permission_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/deletepermissionresponse.md b/docs/api/deletepermissionresponse.md new file mode 100644 index 00000000..c15b1278 --- /dev/null +++ b/docs/api/deletepermissionresponse.md @@ -0,0 +1,10 @@ +# DeletePermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/api/gethealthcheckresponse.md b/docs/api/gethealthcheckresponse.md new file mode 100644 index 00000000..c6347786 --- /dev/null +++ b/docs/api/gethealthcheckresponse.md @@ -0,0 +1,10 @@ +# GetHealthCheckResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/docs/api/getpermissionrequest.md b/docs/api/getpermissionrequest.md new file mode 100644 index 00000000..299142a6 --- /dev/null +++ b/docs/api/getpermissionrequest.md @@ -0,0 +1,8 @@ +# GetPermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `permission_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/getpermissionresponse.md b/docs/api/getpermissionresponse.md new file mode 100644 index 00000000..3130433e --- /dev/null +++ b/docs/api/getpermissionresponse.md @@ -0,0 +1,11 @@ +# GetPermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `permission_response` | [Optional[models.PermissionResponse]](../models/permissionresponse.md) | :heavy_minus_sign: | Get a Permission by the id in the path. | \ No newline at end of file diff --git a/docs/api/listpermissionsrequest.md b/docs/api/listpermissionsrequest.md new file mode 100644 index 00000000..260ec676 --- /dev/null +++ b/docs/api/listpermissionsrequest.md @@ -0,0 +1,8 @@ +# ListPermissionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `user_id` | *Optional[str]* | :heavy_minus_sign: | User Id in permission. | \ No newline at end of file diff --git a/docs/api/listpermissionsresponse.md b/docs/api/listpermissionsresponse.md new file mode 100644 index 00000000..3d271506 --- /dev/null +++ b/docs/api/listpermissionsresponse.md @@ -0,0 +1,11 @@ +# ListPermissionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `permissions_response` | [Optional[models.PermissionsResponse]](../models/permissionsresponse.md) | :heavy_minus_sign: | List Permissions. | \ No newline at end of file diff --git a/docs/api/updatepermissionrequest.md b/docs/api/updatepermissionrequest.md new file mode 100644 index 00000000..1b8b2e01 --- /dev/null +++ b/docs/api/updatepermissionrequest.md @@ -0,0 +1,9 @@ +# UpdatePermissionRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `permission_update_request` | [models.PermissionUpdateRequest](../models/permissionupdaterequest.md) | :heavy_check_mark: | N/A | +| `permission_id` | *str* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/api/updatepermissionresponse.md b/docs/api/updatepermissionresponse.md new file mode 100644 index 00000000..d45662a0 --- /dev/null +++ b/docs/api/updatepermissionresponse.md @@ -0,0 +1,11 @@ +# UpdatePermissionResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `permission_response` | [Optional[models.PermissionResponse]](../models/permissionresponse.md) | :heavy_minus_sign: | Successful updated | \ No newline at end of file diff --git a/docs/models/destinationconfiguration.md b/docs/models/destinationconfiguration.md index 0865e766..a49adf80 100644 --- a/docs/models/destinationconfiguration.md +++ b/docs/models/destinationconfiguration.md @@ -185,6 +185,12 @@ destinationConfiguration: models.DestinationSftpJSON = /* values here */ destinationConfiguration: models.DestinationSnowflake = /* values here */ ``` +### DestinationSnowflakeCortex + +```python +destinationConfiguration: models.DestinationSnowflakeCortex = /* values here */ +``` + ### DestinationTeradata ```python diff --git a/docs/models/destinationcreaterequest.md b/docs/models/destinationcreaterequest.md index 22c1e3a9..5ab727a6 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.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 +| 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.DestinationSnowflakeCortex, 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/destinationpatchrequest.md b/docs/models/destinationpatchrequest.md index f3f72a36..c4050001 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.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 +| 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.DestinationSnowflakeCortex, 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/destinationputrequest.md b/docs/models/destinationputrequest.md index 1a0a10e4..7224c455 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.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 +| 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.DestinationSnowflakeCortex, 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 40c1f41b..1f00ba00 100644 --- a/docs/models/destinationredshift.md +++ b/docs/models/destinationredshift.md @@ -3,17 +3,18 @@ ## 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 | | -| `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 +| 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 | | +| `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). | | +| `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 be73f5f8..10369eb8 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.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 +| 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.DestinationSnowflakeCortex, 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/destinationsnowflakecortex.md b/docs/models/destinationsnowflakecortex.md new file mode 100644 index 00000000..b199fb78 --- /dev/null +++ b/docs/models/destinationsnowflakecortex.md @@ -0,0 +1,23 @@ +# DestinationSnowflakeCortex + +The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, +as well as to provide type safety for the configuration passed to the destination. + +The configuration model is composed of four parts: +* Processing configuration +* Embedding configuration +* Indexing configuration +* Advanced configuration + +Processing, embedding and advanced configuration are provided by this base class, while the indexing configuration is provided by the destination connector in the sub class. + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `embedding` | [Union[models.DestinationSnowflakeCortexOpenAI, models.DestinationSnowflakeCortexCohere, models.DestinationSnowflakeCortexFake, models.DestinationSnowflakeCortexAzureOpenAI, models.DestinationSnowflakeCortexOpenAICompatible]](../models/destinationsnowflakecortexembedding.md) | :heavy_check_mark: | Embedding configuration | +| `indexing` | [models.DestinationSnowflakeCortexIndexing](../models/destinationsnowflakecortexindexing.md) | :heavy_check_mark: | Snowflake can be used to store vector data and retrieve embeddings. | +| `processing` | [models.DestinationSnowflakeCortexProcessingConfigModel](../models/destinationsnowflakecortexprocessingconfigmodel.md) | :heavy_check_mark: | N/A | +| `destination_type` | [models.SnowflakeCortex](../models/snowflakecortex.md) | :heavy_check_mark: | N/A | +| `omit_raw_text` | *Optional[bool]* | :heavy_minus_sign: | Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source. | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexazureopenai.md b/docs/models/destinationsnowflakecortexazureopenai.md new file mode 100644 index 00000000..835feee0 --- /dev/null +++ b/docs/models/destinationsnowflakecortexazureopenai.md @@ -0,0 +1,13 @@ +# DestinationSnowflakeCortexAzureOpenAI + +Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `api_base` | *str* | :heavy_check_mark: | The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | https://your-resource-name.openai.azure.com | +| `deployment` | *str* | :heavy_check_mark: | The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | your-resource-name | +| `openai_key` | *str* | :heavy_check_mark: | The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource | | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode]](../models/destinationsnowflakecortexschemasembeddingembeddingmode.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexbymarkdownheader.md b/docs/models/destinationsnowflakecortexbymarkdownheader.md new file mode 100644 index 00000000..d53c78a6 --- /dev/null +++ b/docs/models/destinationsnowflakecortexbymarkdownheader.md @@ -0,0 +1,11 @@ +# DestinationSnowflakeCortexByMarkdownHeader + +Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasProcessingTextSplitterMode]](../models/destinationsnowflakecortexschemasprocessingtextsplittermode.md) | :heavy_minus_sign: | N/A | +| `split_level` | *Optional[int]* | :heavy_minus_sign: | Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexbyprogramminglanguage.md b/docs/models/destinationsnowflakecortexbyprogramminglanguage.md new file mode 100644 index 00000000..d729f4a6 --- /dev/null +++ b/docs/models/destinationsnowflakecortexbyprogramminglanguage.md @@ -0,0 +1,11 @@ +# DestinationSnowflakeCortexByProgrammingLanguage + +Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `language` | [models.DestinationSnowflakeCortexLanguage](../models/destinationsnowflakecortexlanguage.md) | :heavy_check_mark: | Split code in suitable places based on the programming language | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode]](../models/destinationsnowflakecortexschemasprocessingtextsplittertextsplittermode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexbyseparator.md b/docs/models/destinationsnowflakecortexbyseparator.md new file mode 100644 index 00000000..9b7639cd --- /dev/null +++ b/docs/models/destinationsnowflakecortexbyseparator.md @@ -0,0 +1,12 @@ +# DestinationSnowflakeCortexBySeparator + +Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `keep_separator` | *Optional[bool]* | :heavy_minus_sign: | Whether to keep the separator in the resulting chunks | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasProcessingMode]](../models/destinationsnowflakecortexschemasprocessingmode.md) | :heavy_minus_sign: | N/A | +| `separators` | List[*str*] | :heavy_minus_sign: | List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use ".". To split by a newline, use "\n". | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexcohere.md b/docs/models/destinationsnowflakecortexcohere.md new file mode 100644 index 00000000..c574dc0e --- /dev/null +++ b/docs/models/destinationsnowflakecortexcohere.md @@ -0,0 +1,11 @@ +# DestinationSnowflakeCortexCohere + +Use the Cohere API to embed text. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `cohere_key` | *str* | :heavy_check_mark: | N/A | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasMode]](../models/destinationsnowflakecortexschemasmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexcredentials.md b/docs/models/destinationsnowflakecortexcredentials.md new file mode 100644 index 00000000..f99f77d1 --- /dev/null +++ b/docs/models/destinationsnowflakecortexcredentials.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexCredentials + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `password` | *str* | :heavy_check_mark: | Enter the password you want to use to access the database | AIRBYTE_PASSWORD | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexembedding.md b/docs/models/destinationsnowflakecortexembedding.md new file mode 100644 index 00000000..2c0fd9e5 --- /dev/null +++ b/docs/models/destinationsnowflakecortexembedding.md @@ -0,0 +1,37 @@ +# DestinationSnowflakeCortexEmbedding + +Embedding configuration + + +## Supported Types + +### DestinationSnowflakeCortexOpenAI + +```python +destinationSnowflakeCortexEmbedding: models.DestinationSnowflakeCortexOpenAI = /* values here */ +``` + +### DestinationSnowflakeCortexCohere + +```python +destinationSnowflakeCortexEmbedding: models.DestinationSnowflakeCortexCohere = /* values here */ +``` + +### DestinationSnowflakeCortexFake + +```python +destinationSnowflakeCortexEmbedding: models.DestinationSnowflakeCortexFake = /* values here */ +``` + +### DestinationSnowflakeCortexAzureOpenAI + +```python +destinationSnowflakeCortexEmbedding: models.DestinationSnowflakeCortexAzureOpenAI = /* values here */ +``` + +### DestinationSnowflakeCortexOpenAICompatible + +```python +destinationSnowflakeCortexEmbedding: models.DestinationSnowflakeCortexOpenAICompatible = /* values here */ +``` + diff --git a/docs/models/destinationsnowflakecortexfake.md b/docs/models/destinationsnowflakecortexfake.md new file mode 100644 index 00000000..823571ca --- /dev/null +++ b/docs/models/destinationsnowflakecortexfake.md @@ -0,0 +1,10 @@ +# DestinationSnowflakeCortexFake + +Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasEmbeddingMode]](../models/destinationsnowflakecortexschemasembeddingmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexfieldnamemappingconfigmodel.md b/docs/models/destinationsnowflakecortexfieldnamemappingconfigmodel.md new file mode 100644 index 00000000..22655df6 --- /dev/null +++ b/docs/models/destinationsnowflakecortexfieldnamemappingconfigmodel.md @@ -0,0 +1,9 @@ +# DestinationSnowflakeCortexFieldNameMappingConfigModel + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `from_field` | *str* | :heavy_check_mark: | The field name in the source | +| `to_field` | *str* | :heavy_check_mark: | The field name to use in the destination | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexindexing.md b/docs/models/destinationsnowflakecortexindexing.md new file mode 100644 index 00000000..e7b0724b --- /dev/null +++ b/docs/models/destinationsnowflakecortexindexing.md @@ -0,0 +1,16 @@ +# DestinationSnowflakeCortexIndexing + +Snowflake can be used to store vector data and retrieve embeddings. + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `credentials` | [models.DestinationSnowflakeCortexCredentials](../models/destinationsnowflakecortexcredentials.md) | :heavy_check_mark: | N/A | | +| `database` | *str* | :heavy_check_mark: | Enter the name of the database that you want to sync data into | AIRBYTE_DATABASE | +| `default_schema` | *str* | :heavy_check_mark: | Enter the name of the default schema | AIRBYTE_SCHEMA | +| `host` | *str* | :heavy_check_mark: | Enter the account name you want to use to access the database. This is usually the identifier before .snowflakecomputing.com | AIRBYTE_ACCOUNT | +| `role` | *str* | :heavy_check_mark: | Enter the role that you want to use to access Snowflake | AIRBYTE_ROLE | +| `username` | *str* | :heavy_check_mark: | Enter the name of the user you want to use to access the database | AIRBYTE_USER | +| `warehouse` | *str* | :heavy_check_mark: | Enter the name of the warehouse that you want to sync data into | AIRBYTE_WAREHOUSE | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexlanguage.md b/docs/models/destinationsnowflakecortexlanguage.md new file mode 100644 index 00000000..38c645d4 --- /dev/null +++ b/docs/models/destinationsnowflakecortexlanguage.md @@ -0,0 +1,25 @@ +# DestinationSnowflakeCortexLanguage + +Split code in suitable places based on the programming language + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `CPP` | cpp | +| `GO` | go | +| `JAVA` | java | +| `JS` | js | +| `PHP` | php | +| `PROTO` | proto | +| `PYTHON` | python | +| `RST` | rst | +| `RUBY` | ruby | +| `RUST` | rust | +| `SCALA` | scala | +| `SWIFT` | swift | +| `MARKDOWN` | markdown | +| `LATEX` | latex | +| `HTML` | html | +| `SOL` | sol | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexmode.md b/docs/models/destinationsnowflakecortexmode.md new file mode 100644 index 00000000..6d124bba --- /dev/null +++ b/docs/models/destinationsnowflakecortexmode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexMode + + +## Values + +| Name | Value | +| -------- | -------- | +| `OPENAI` | openai | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexopenai.md b/docs/models/destinationsnowflakecortexopenai.md new file mode 100644 index 00000000..b6dba31a --- /dev/null +++ b/docs/models/destinationsnowflakecortexopenai.md @@ -0,0 +1,11 @@ +# DestinationSnowflakeCortexOpenAI + +Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions. + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `openai_key` | *str* | :heavy_check_mark: | N/A | +| `mode` | [Optional[models.DestinationSnowflakeCortexMode]](../models/destinationsnowflakecortexmode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexopenaicompatible.md b/docs/models/destinationsnowflakecortexopenaicompatible.md new file mode 100644 index 00000000..3e6031b9 --- /dev/null +++ b/docs/models/destinationsnowflakecortexopenaicompatible.md @@ -0,0 +1,14 @@ +# DestinationSnowflakeCortexOpenAICompatible + +Use a service that's compatible with the OpenAI API to embed text. + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `base_url` | *str* | :heavy_check_mark: | The base URL for your OpenAI-compatible service | https://your-service-name.com | +| `dimensions` | *int* | :heavy_check_mark: | The number of dimensions the embedding model is generating | 1536 | +| `api_key` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `mode` | [Optional[models.DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode]](../models/destinationsnowflakecortexschemasembeddingembedding5mode.md) | :heavy_minus_sign: | N/A | | +| `model_name` | *Optional[str]* | :heavy_minus_sign: | The name of the model to use for embedding | text-embedding-ada-002 | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexprocessingconfigmodel.md b/docs/models/destinationsnowflakecortexprocessingconfigmodel.md new file mode 100644 index 00000000..00ca34e6 --- /dev/null +++ b/docs/models/destinationsnowflakecortexprocessingconfigmodel.md @@ -0,0 +1,13 @@ +# DestinationSnowflakeCortexProcessingConfigModel + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `chunk_size` | *int* | :heavy_check_mark: | Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM) | | +| `chunk_overlap` | *Optional[int]* | :heavy_minus_sign: | Size of overlap between chunks in tokens to store in vector store to better capture relevant context | | +| `field_name_mappings` | List[[models.DestinationSnowflakeCortexFieldNameMappingConfigModel](../models/destinationsnowflakecortexfieldnamemappingconfigmodel.md)] | :heavy_minus_sign: | List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation. | | +| `metadata_fields` | List[*str*] | :heavy_minus_sign: | List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path. | age | +| `text_fields` | List[*str*] | :heavy_minus_sign: | List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. | text | +| `text_splitter` | [Optional[Union[models.DestinationSnowflakeCortexBySeparator, models.DestinationSnowflakeCortexByMarkdownHeader, models.DestinationSnowflakeCortexByProgrammingLanguage]]](../models/destinationsnowflakecortextextsplitter.md) | :heavy_minus_sign: | Split text fields into chunks based on the specified method. | | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasembeddingembedding5mode.md b/docs/models/destinationsnowflakecortexschemasembeddingembedding5mode.md new file mode 100644 index 00000000..0eed8dcf --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasembeddingembedding5mode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode + + +## Values + +| Name | Value | +| ------------------- | ------------------- | +| `OPENAI_COMPATIBLE` | openai_compatible | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasembeddingembeddingmode.md b/docs/models/destinationsnowflakecortexschemasembeddingembeddingmode.md new file mode 100644 index 00000000..7feceddf --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasembeddingembeddingmode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `AZURE_OPENAI` | azure_openai | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasembeddingmode.md b/docs/models/destinationsnowflakecortexschemasembeddingmode.md new file mode 100644 index 00000000..7af3b919 --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasembeddingmode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasEmbeddingMode + + +## Values + +| Name | Value | +| ------ | ------ | +| `FAKE` | fake | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasmode.md b/docs/models/destinationsnowflakecortexschemasmode.md new file mode 100644 index 00000000..cc02f7da --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasmode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasMode + + +## Values + +| Name | Value | +| -------- | -------- | +| `COHERE` | cohere | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasprocessingmode.md b/docs/models/destinationsnowflakecortexschemasprocessingmode.md new file mode 100644 index 00000000..7214b03b --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasprocessingmode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasProcessingMode + + +## Values + +| Name | Value | +| ----------- | ----------- | +| `SEPARATOR` | separator | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasprocessingtextsplittermode.md b/docs/models/destinationsnowflakecortexschemasprocessingtextsplittermode.md new file mode 100644 index 00000000..b2751e7e --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasprocessingtextsplittermode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasProcessingTextSplitterMode + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `MARKDOWN` | markdown | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortexschemasprocessingtextsplittertextsplittermode.md b/docs/models/destinationsnowflakecortexschemasprocessingtextsplittertextsplittermode.md new file mode 100644 index 00000000..1ad7e968 --- /dev/null +++ b/docs/models/destinationsnowflakecortexschemasprocessingtextsplittertextsplittermode.md @@ -0,0 +1,8 @@ +# DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode + + +## Values + +| Name | Value | +| ------ | ------ | +| `CODE` | code | \ No newline at end of file diff --git a/docs/models/destinationsnowflakecortextextsplitter.md b/docs/models/destinationsnowflakecortextextsplitter.md new file mode 100644 index 00000000..644ac4bb --- /dev/null +++ b/docs/models/destinationsnowflakecortextextsplitter.md @@ -0,0 +1,25 @@ +# DestinationSnowflakeCortexTextSplitter + +Split text fields into chunks based on the specified method. + + +## Supported Types + +### DestinationSnowflakeCortexBySeparator + +```python +destinationSnowflakeCortexTextSplitter: models.DestinationSnowflakeCortexBySeparator = /* values here */ +``` + +### DestinationSnowflakeCortexByMarkdownHeader + +```python +destinationSnowflakeCortexTextSplitter: models.DestinationSnowflakeCortexByMarkdownHeader = /* values here */ +``` + +### DestinationSnowflakeCortexByProgrammingLanguage + +```python +destinationSnowflakeCortexTextSplitter: models.DestinationSnowflakeCortexByProgrammingLanguage = /* values here */ +``` + diff --git a/docs/models/permissionresponseread.md b/docs/models/permissionresponseread.md new file mode 100644 index 00000000..f015755b --- /dev/null +++ b/docs/models/permissionresponseread.md @@ -0,0 +1,14 @@ +# PermissionResponseRead + +Reformat PermissionResponse with permission scope + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `permission_id` | *str* | :heavy_check_mark: | N/A | +| `permission_type` | [models.PermissionType](../models/permissiontype.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | +| `scope` | [models.PermissionScope](../models/permissionscope.md) | :heavy_check_mark: | Scope of a single permission, e.g. workspace, organization | +| `scope_id` | *str* | :heavy_check_mark: | N/A | +| `user_id` | *str* | :heavy_check_mark: | Internal Airbyte user ID | \ No newline at end of file diff --git a/docs/models/permissionscope.md b/docs/models/permissionscope.md new file mode 100644 index 00000000..edce2764 --- /dev/null +++ b/docs/models/permissionscope.md @@ -0,0 +1,12 @@ +# PermissionScope + +Scope of a single permission, e.g. workspace, organization + + +## Values + +| Name | Value | +| -------------- | -------------- | +| `WORKSPACE` | workspace | +| `ORGANIZATION` | organization | +| `NONE` | none | \ No newline at end of file diff --git a/docs/models/permissionsresponse.md b/docs/models/permissionsresponse.md new file mode 100644 index 00000000..bdac9b25 --- /dev/null +++ b/docs/models/permissionsresponse.md @@ -0,0 +1,10 @@ +# PermissionsResponse + +List/Array of multiple permissions + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `data` | List[[models.PermissionResponseRead](../models/permissionresponseread.md)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/permissionupdaterequest.md b/docs/models/permissionupdaterequest.md new file mode 100644 index 00000000..d0338a1b --- /dev/null +++ b/docs/models/permissionupdaterequest.md @@ -0,0 +1,8 @@ +# PermissionUpdateRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `permission_type` | [models.PermissionType](../models/permissiontype.md) | :heavy_check_mark: | Describes what actions/endpoints the permission entitles to | \ No newline at end of file diff --git a/docs/models/schemeclientcredentials.md b/docs/models/schemeclientcredentials.md new file mode 100644 index 00000000..74884759 --- /dev/null +++ b/docs/models/schemeclientcredentials.md @@ -0,0 +1,10 @@ +# SchemeClientCredentials + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `client_id` | *str* | :heavy_check_mark: | N/A | | +| `client_secret` | *str* | :heavy_check_mark: | N/A | | +| `token_url` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/security.md b/docs/models/security.md index 40f64fc8..05beca20 100644 --- a/docs/models/security.md +++ b/docs/models/security.md @@ -3,8 +3,8 @@ ## Fields -| 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 | -| `client_credentials` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| 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 | +| `client_credentials` | [Optional[models.SchemeClientCredentials]](../models/schemeclientcredentials.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/snowflakecortex.md b/docs/models/snowflakecortex.md new file mode 100644 index 00000000..41896281 --- /dev/null +++ b/docs/models/snowflakecortex.md @@ -0,0 +1,8 @@ +# SnowflakeCortex + + +## Values + +| Name | Value | +| ------------------ | ------------------ | +| `SNOWFLAKE_CORTEX` | snowflake-cortex | \ No newline at end of file diff --git a/docs/models/sourceinsightly.md b/docs/models/sourceinsightly.md index 7f907cca..a1460819 100644 --- a/docs/models/sourceinsightly.md +++ b/docs/models/sourceinsightly.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `start_date` | *Optional[str]* | :heavy_check_mark: | The date from which you'd like to replicate data for Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. | 2021-03-01T00:00:00Z | +| `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 Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams. | 2021-03-01T00:00:00Z | | `token` | *Optional[str]* | :heavy_check_mark: | Your Insightly API token. | | | `source_type` | [models.Insightly](../models/insightly.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/sdks/health/README.md b/docs/sdks/health/README.md new file mode 100644 index 00000000..9e894d38 --- /dev/null +++ b/docs/sdks/health/README.md @@ -0,0 +1,35 @@ +# Health +(*health*) + +### Available Operations + +* [get_health_check](#get_health_check) - Health Check + +## get_health_check + +Health Check + +### Example Usage + +```python +import airbyte_api + +s = airbyte_api.AirbyteAPI() + +res = s.health.get_health_check() + +if res is not None: + # handle response + pass + +``` + + +### Response + +**[api.GetHealthCheckResponse](../../api/gethealthcheckresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/permissions/README.md b/docs/sdks/permissions/README.md index 5fbe4e52..22218e3f 100644 --- a/docs/sdks/permissions/README.md +++ b/docs/sdks/permissions/README.md @@ -4,6 +4,10 @@ ### Available Operations * [create_permission](#create_permission) - Create a permission +* [delete_permission](#delete_permission) - Delete a Permission +* [get_permission](#get_permission) - Get Permission details +* [list_permissions](#list_permissions) - List Permissions by user id +* [update_permission](#update_permission) - Update a permission ## create_permission @@ -51,3 +55,184 @@ if res.permission_response is not None: | Error Object | Status Code | Content Type | | --------------- | --------------- | --------------- | | errors.SDKError | 4xx-5xx | */* | + +## delete_permission + +Delete a Permission + +### 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.permissions.delete_permission(request=api.DeletePermissionRequest( + permission_id='', +)) + +if res is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.DeletePermissionRequest](../../api/deletepermissionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.DeletePermissionResponse](../../api/deletepermissionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## get_permission + +Get Permission 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.permissions.get_permission(request=api.GetPermissionRequest( + permission_id='', +)) + +if res.permission_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `request` | [api.GetPermissionRequest](../../api/getpermissionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.GetPermissionResponse](../../api/getpermissionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## list_permissions + +List Permissions by user id + +### 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.permissions.list_permissions(request=api.ListPermissionsRequest()) + +if res.permissions_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | +| `request` | [api.ListPermissionsRequest](../../api/listpermissionsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.ListPermissionsResponse](../../api/listpermissionsresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | + +## update_permission + +Update a permission + +### 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.permissions.update_permission(request=api.UpdatePermissionRequest( + permission_update_request=models.PermissionUpdateRequest( + permission_type=models.PermissionType.ORGANIZATION_MEMBER, + ), + permission_id='', +)) + +if res.permission_response is not None: + # handle response + pass + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `request` | [api.UpdatePermissionRequest](../../api/updatepermissionrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[api.UpdatePermissionResponse](../../api/updatepermissionresponse.md)** +### Errors + +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/public/README.md b/docs/sdks/public/README.md deleted file mode 100644 index f953963d..00000000 --- a/docs/sdks/public/README.md +++ /dev/null @@ -1,1531 +0,0 @@ -# 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_permission](#create_permission) - Create a permission -* [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_permission - -Create a permission - -### 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_permission(request=models.PermissionCreateRequest( - permission_type=models.PermissionType.WORKSPACE_ADMIN, - user_id='7d08fd6c-531e-4a00-937e-3d355f253e63', - workspace_id='9924bcd0-99be-453d-ba47-c2c9766f7da5', -)) - -if res.permission_response is not None: - # handle response - pass - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `request` | [models.PermissionCreateRequest](../../models/permissioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | - - -### Response - -**[api.CreatePermissionResponse](../../api/createpermissionresponse.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 deleted file mode 100644 index b92209a4..00000000 --- a/docs/sdks/publicconnections/README.md +++ /dev/null @@ -1,239 +0,0 @@ -# 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 deleted file mode 100644 index a9bcdd97..00000000 --- a/docs/sdks/publicdestinations/README.md +++ /dev/null @@ -1,309 +0,0 @@ -# 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 deleted file mode 100644 index d63c5463..00000000 --- a/docs/sdks/publicjobs/README.md +++ /dev/null @@ -1,195 +0,0 @@ -# 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/publicpermissions/README.md b/docs/sdks/publicpermissions/README.md deleted file mode 100644 index 10f90c8c..00000000 --- a/docs/sdks/publicpermissions/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# PublicPermissions -(*public_permissions*) - -### Available Operations - -* [create_permission](#create_permission) - Create a permission - -## create_permission - -Create a permission - -### 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_permissions.create_permission(request=models.PermissionCreateRequest( - permission_type=models.PermissionType.WORKSPACE_ADMIN, - user_id='7d08fd6c-531e-4a00-937e-3d355f253e63', - workspace_id='9924bcd0-99be-453d-ba47-c2c9766f7da5', -)) - -if res.permission_response is not None: - # handle response - pass - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `request` | [models.PermissionCreateRequest](../../models/permissioncreaterequest.md) | :heavy_check_mark: | The request object to use for the request. | - - -### Response - -**[api.CreatePermissionResponse](../../api/createpermissionresponse.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 deleted file mode 100644 index dbc6a347..00000000 --- a/docs/sdks/publicsources/README.md +++ /dev/null @@ -1,426 +0,0 @@ -# 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 deleted file mode 100644 index 7b5024dc..00000000 --- a/docs/sdks/publicstreams/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# 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 deleted file mode 100644 index 2aa92b9c..00000000 --- a/docs/sdks/publicworkspaces/README.md +++ /dev/null @@ -1,288 +0,0 @@ -# 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/gen.yaml b/gen.yaml index 4f87ef69..07fb5eb4 100644 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true python: - version: 0.49.4 + version: 0.50.0 additionalDependencies: dependencies: {} extraDependencies: diff --git a/setup.py b/setup.py index f02e6f2a..0003aa0a 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setuptools.setup( name='airbyte-api', - version='0.49.4', + version='0.50.0', 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/clientcredentials.py b/src/airbyte_api/_hooks/clientcredentials.py new file mode 100644 index 00000000..2a34e450 --- /dev/null +++ b/src/airbyte_api/_hooks/clientcredentials.py @@ -0,0 +1,150 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import hashlib +import requests +import time +from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterErrorContext, AfterErrorHook +from typing import Any, Callable, Dict, List, Tuple, Union, Optional +from urllib.parse import urlparse, urljoin + + +class Credentials: + client_id: str + client_secret: str + token_url: str + + def __init__(self, client_id: str, client_secret: str, token_url: str): + self.client_id = client_id + self.client_secret = client_secret + self.token_url = token_url + + +class Session: + credentials: Credentials + token: str + scopes: List[str] + expires_at: Optional[int] = None + + def __init__(self, credentials: Credentials, token: str, scopes: List[str], expires_at: Optional[int] = None): + self.credentials = credentials + self.token = token + self.scopes = scopes + self.expires_at = expires_at + + +class ClientCredentialsHook(SDKInitHook, BeforeRequestHook, AfterErrorHook): + base_url: str + client: requests.Session + sessions: Dict[str, Session] = {} + + def sdk_init(self, base_url: str, client: requests.Session) -> Tuple[str, requests.Session]: + self.base_url = base_url + self.client = client + + return base_url, client + + def before_request(self, hook_ctx: BeforeRequestContext, request: requests.PreparedRequest) -> requests.PreparedRequest: + if hook_ctx.oauth2_scopes is None: + # OAuth2 not in use + return request + + credentials = self.get_credentials(hook_ctx.security_source) + if credentials is None: + return request + + session_key = self.get_session_key( + credentials.client_id, credentials.client_secret) + + if session_key not in self.sessions or not self.has_required_scopes(self.sessions[session_key].scopes, hook_ctx.oauth2_scopes) or self.has_token_expired(self.sessions[session_key].expires_at): + sess = self.do_token_request(credentials, self.get_scopes( + hook_ctx.oauth2_scopes, self.sessions.get(session_key))) + + self.sessions[session_key] = sess + + request.headers["Authorization"] = f"Bearer {self.sessions[session_key].token}" + + return request + + def after_error(self, hook_ctx: AfterErrorContext, response: Optional[requests.Response], error: Optional[Exception]) -> Union[Tuple[Optional[requests.Response], Optional[Exception]], Exception]: + if hook_ctx.oauth2_scopes is None: + # OAuth2 not in use + return (response, error) + + # We don't want to refresh the token if the error is not related to the token + if error is not None: + return (response, error) + + credentials = self.get_credentials(hook_ctx.security_source) + if credentials is None: + return (response, error) + + if response is not None and response.status_code == 401: + session_key = self.get_session_key( + credentials.client_id, credentials.client_secret) + + if session_key in self.sessions: + del self.sessions[session_key] + + return (response, error) + + def get_credentials(self, source: Optional[Union[Any, Callable[[], Any]]]) -> Optional[Credentials]: + if source is None: + return None + + security = source() if callable(source) else source + + if security is None or security.client_credentials is None: + return None + + return Credentials( + client_id=security.client_credentials.client_id, + client_secret=security.client_credentials.client_secret, + token_url=security.client_credentials.TOKEN_URL + ) + + def do_token_request(self, credentials: Credentials, scopes: Optional[List[str]]) -> Session: + payload = { + "grant_type": "client_credentials", + "client_id": credentials.client_id, + "client_secret": credentials.client_secret, + } + + if scopes is not None and len(scopes) > 0: + payload["scope"] = " ".join(scopes) + + token_url = credentials.token_url + if not bool(urlparse(credentials.token_url).netloc): + token_url = urljoin(self.base_url, credentials.token_url) + + response = self.client.post(token_url, data=payload) + + if response.status_code < 200 or response.status_code >= 300: + raise Exception( + f"Unexpected status code {response.status_code} from token endpoint") + + response_data = response.json() + + if response_data.get("token_type") != "Bearer": + raise Exception("Unexpected token type from token endpoint") + + expires_at = None + if "expires_in" in response_data: + expires_at = int(time.time()) + response_data.get("expires_in") + + return Session(credentials=credentials, token=response_data.get("access_token"), scopes=scopes, expires_at=expires_at) + + def get_session_key(self, client_id: str, client_secret: str) -> str: + return hashlib.md5(f"{client_id}:{client_secret}".encode()).hexdigest() + + def has_required_scopes(self, scopes: List[str], required_scopes: List[str]) -> bool: + return all(scope in scopes for scope in required_scopes) + + def get_scopes(self, required_scopes: List[str], sess: Optional[Session]) -> List[str]: + scopes = required_scopes.copy() + if sess is not None and sess.scopes is not None: + scopes.extend(sess.scopes) + scopes = list(set(scopes)) + return scopes + + def has_token_expired(self, expires_at: Optional[int]) -> bool: + return expires_at is None or time.time()+60 >= expires_at diff --git a/src/airbyte_api/_hooks/sdkhooks.py b/src/airbyte_api/_hooks/sdkhooks.py index 17750b62..a4636a38 100644 --- a/src/airbyte_api/_hooks/sdkhooks.py +++ b/src/airbyte_api/_hooks/sdkhooks.py @@ -1,6 +1,7 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests +from .clientcredentials import ClientCredentialsHook from .types import SDKInitHook, BeforeRequestContext, BeforeRequestHook, AfterSuccessContext, AfterSuccessHook, AfterErrorContext, AfterErrorHook, Hooks from .registration import init_hooks from typing import List, Optional, Tuple @@ -12,6 +13,10 @@ def __init__(self): self.before_request_hooks: List[BeforeRequestHook] = [] self.after_success_hooks: List[AfterSuccessHook] = [] self.after_error_hooks: List[AfterErrorHook] = [] + client_credentials = ClientCredentialsHook() + self.sdk_init_hooks.append(client_credentials) + self.before_request_hooks.append(client_credentials) + self.after_error_hooks.append(client_credentials) init_hooks(self) def register_sdk_init_hook(self, hook: SDKInitHook) -> None: diff --git a/src/airbyte_api/api/__init__.py b/src/airbyte_api/api/__init__.py index a112492a..0018ba5a 100644 --- a/src/airbyte_api/api/__init__.py +++ b/src/airbyte_api/api/__init__.py @@ -10,11 +10,14 @@ from .createworkspace import * from .deleteconnection import * from .deletedestination import * +from .deletepermission import * from .deletesource import * from .deleteworkspace import * from .getconnection import * from .getdestination import * +from .gethealthcheck import * from .getjob import * +from .getpermission import * from .getsource import * from .getstreamproperties import * from .getworkspace import * @@ -22,6 +25,7 @@ from .listconnections import * from .listdestinations import * from .listjobs import * +from .listpermissions import * from .listsources import * from .listworkspaces import * from .patchconnection import * @@ -29,6 +33,7 @@ from .patchsource import * from .putdestination import * from .putsource import * +from .updatepermission import * from .updateworkspace import * -__all__ = ["CancelJobRequest","CancelJobResponse","CreateConnectionResponse","CreateDestinationResponse","CreateJobResponse","CreateOrUpdateWorkspaceOAuthCredentialsRequest","CreateOrUpdateWorkspaceOAuthCredentialsResponse","CreatePermissionResponse","CreateSourceResponse","CreateWorkspaceResponse","DeleteConnectionRequest","DeleteConnectionResponse","DeleteDestinationRequest","DeleteDestinationResponse","DeleteSourceRequest","DeleteSourceResponse","DeleteWorkspaceRequest","DeleteWorkspaceResponse","GetConnectionRequest","GetConnectionResponse","GetDestinationRequest","GetDestinationResponse","GetJobRequest","GetJobResponse","GetSourceRequest","GetSourceResponse","GetStreamPropertiesRequest","GetStreamPropertiesResponse","GetWorkspaceRequest","GetWorkspaceResponse","InitiateOAuthResponse","ListConnectionsRequest","ListConnectionsResponse","ListDestinationsRequest","ListDestinationsResponse","ListJobsRequest","ListJobsResponse","ListSourcesRequest","ListSourcesResponse","ListWorkspacesRequest","ListWorkspacesResponse","PatchConnectionRequest","PatchConnectionResponse","PatchDestinationRequest","PatchDestinationResponse","PatchSourceRequest","PatchSourceResponse","PutDestinationRequest","PutDestinationResponse","PutSourceRequest","PutSourceResponse","UpdateWorkspaceRequest","UpdateWorkspaceResponse"] +__all__ = ["CancelJobRequest","CancelJobResponse","CreateConnectionResponse","CreateDestinationResponse","CreateJobResponse","CreateOrUpdateWorkspaceOAuthCredentialsRequest","CreateOrUpdateWorkspaceOAuthCredentialsResponse","CreatePermissionResponse","CreateSourceResponse","CreateWorkspaceResponse","DeleteConnectionRequest","DeleteConnectionResponse","DeleteDestinationRequest","DeleteDestinationResponse","DeletePermissionRequest","DeletePermissionResponse","DeleteSourceRequest","DeleteSourceResponse","DeleteWorkspaceRequest","DeleteWorkspaceResponse","GetConnectionRequest","GetConnectionResponse","GetDestinationRequest","GetDestinationResponse","GetHealthCheckResponse","GetJobRequest","GetJobResponse","GetPermissionRequest","GetPermissionResponse","GetSourceRequest","GetSourceResponse","GetStreamPropertiesRequest","GetStreamPropertiesResponse","GetWorkspaceRequest","GetWorkspaceResponse","InitiateOAuthResponse","ListConnectionsRequest","ListConnectionsResponse","ListDestinationsRequest","ListDestinationsResponse","ListJobsRequest","ListJobsResponse","ListPermissionsRequest","ListPermissionsResponse","ListSourcesRequest","ListSourcesResponse","ListWorkspacesRequest","ListWorkspacesResponse","PatchConnectionRequest","PatchConnectionResponse","PatchDestinationRequest","PatchDestinationResponse","PatchSourceRequest","PatchSourceResponse","PutDestinationRequest","PutDestinationResponse","PutSourceRequest","PutSourceResponse","UpdatePermissionRequest","UpdatePermissionResponse","UpdateWorkspaceRequest","UpdateWorkspaceResponse"] diff --git a/src/airbyte_api/api/deletepermission.py b/src/airbyte_api/api/deletepermission.py new file mode 100644 index 00000000..4f7eccb5 --- /dev/null +++ b/src/airbyte_api/api/deletepermission.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http + + +@dataclasses.dataclass +class DeletePermissionRequest: + permission_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'permissionId', 'style': 'simple', 'explode': False }}) + + + + +@dataclasses.dataclass +class DeletePermissionResponse: + content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" + status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/src/airbyte_api/api/gethealthcheck.py b/src/airbyte_api/api/gethealthcheck.py new file mode 100644 index 00000000..2168c15a --- /dev/null +++ b/src/airbyte_api/api/gethealthcheck.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http + + +@dataclasses.dataclass +class GetHealthCheckResponse: + content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" + status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" + + diff --git a/src/airbyte_api/api/getpermission.py b/src/airbyte_api/api/getpermission.py new file mode 100644 index 00000000..9280cb24 --- /dev/null +++ b/src/airbyte_api/api/getpermission.py @@ -0,0 +1,28 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..models import permissionresponse as models_permissionresponse +from typing import Optional + + +@dataclasses.dataclass +class GetPermissionRequest: + permission_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'permissionId', 'style': 'simple', 'explode': False }}) + + + + +@dataclasses.dataclass +class GetPermissionResponse: + content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" + status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" + permission_response: Optional[models_permissionresponse.PermissionResponse] = dataclasses.field(default=None) + r"""Get a Permission by the id in the path.""" + + diff --git a/src/airbyte_api/api/listpermissions.py b/src/airbyte_api/api/listpermissions.py new file mode 100644 index 00000000..ba662ebb --- /dev/null +++ b/src/airbyte_api/api/listpermissions.py @@ -0,0 +1,29 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..models import permissionsresponse as models_permissionsresponse +from typing import Optional + + +@dataclasses.dataclass +class ListPermissionsRequest: + user_id: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'userId', 'style': 'form', 'explode': True }}) + r"""User Id in permission.""" + + + + +@dataclasses.dataclass +class ListPermissionsResponse: + content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" + status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" + permissions_response: Optional[models_permissionsresponse.PermissionsResponse] = dataclasses.field(default=None) + r"""List Permissions.""" + + diff --git a/src/airbyte_api/api/updatepermission.py b/src/airbyte_api/api/updatepermission.py new file mode 100644 index 00000000..97b4064d --- /dev/null +++ b/src/airbyte_api/api/updatepermission.py @@ -0,0 +1,30 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +import requests as requests_http +from ..models import permissionresponse as models_permissionresponse +from ..models import permissionupdaterequest as models_permissionupdaterequest +from typing import Optional + + +@dataclasses.dataclass +class UpdatePermissionRequest: + permission_update_request: models_permissionupdaterequest.PermissionUpdateRequest = dataclasses.field(metadata={'request': { 'media_type': 'application/json' }}) + permission_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'permissionId', 'style': 'simple', 'explode': False }}) + + + + +@dataclasses.dataclass +class UpdatePermissionResponse: + content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" + status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" + permission_response: Optional[models_permissionresponse.PermissionResponse] = dataclasses.field(default=None) + r"""Successful updated""" + + diff --git a/src/airbyte_api/health.py b/src/airbyte_api/health.py new file mode 100644 index 00000000..2ef7c11f --- /dev/null +++ b/src/airbyte_api/health.py @@ -0,0 +1,61 @@ +"""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, utils +from airbyte_api._hooks import AfterErrorContext, AfterSuccessContext, BeforeRequestContext, HookContext + +class Health: + sdk_configuration: SDKConfiguration + + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config + + + + def get_health_check(self) -> api.GetHealthCheckResponse: + r"""Health Check""" + hook_ctx = HookContext(operation_id='getHealthCheck', oauth2_scopes=[], security_source=None) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/health' + + headers = {} + + headers['Accept'] = '*/*' + headers['user-agent'] = self.sdk_configuration.user_agent + client = self.sdk_configuration.client + + try: + req = client.prepare_request(requests_http.Request('GET', url, 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(['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.GetHealthCheckResponse(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 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/models/__init__.py b/src/airbyte_api/models/__init__.py index ebd03067..45aa2620 100644 --- a/src/airbyte_api/models/__init__.py +++ b/src/airbyte_api/models/__init__.py @@ -45,6 +45,7 @@ from .destination_s3_glue import * from .destination_sftp_json import * from .destination_snowflake import * +from .destination_snowflake_cortex import * from .destination_teradata import * from .destination_typesense import * from .destination_vectara import * @@ -89,13 +90,18 @@ from .oauthactornames import * from .permissioncreaterequest import * from .permissionresponse import * +from .permissionresponseread import * +from .permissionscope import * +from .permissionsresponse import * from .permissiontype import * +from .permissionupdaterequest import * from .pinterest import * from .retently import * from .salesforce import * from .scheduletypeenum import * from .scheduletypewithbasicenum import * from .schemebasicauth import * +from .schemeclientcredentials import * from .security import * from .shopify import * from .slack import * @@ -320,4 +326,4 @@ from .zendesk_support import * from .zendesk_talk import * -__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","PermissionCreateRequest","PermissionResponse","PermissionType","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"] +__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","DestinationSnowflakeCortex","DestinationSnowflakeCortexAzureOpenAI","DestinationSnowflakeCortexByMarkdownHeader","DestinationSnowflakeCortexByProgrammingLanguage","DestinationSnowflakeCortexBySeparator","DestinationSnowflakeCortexCohere","DestinationSnowflakeCortexCredentials","DestinationSnowflakeCortexFake","DestinationSnowflakeCortexFieldNameMappingConfigModel","DestinationSnowflakeCortexIndexing","DestinationSnowflakeCortexLanguage","DestinationSnowflakeCortexMode","DestinationSnowflakeCortexOpenAI","DestinationSnowflakeCortexOpenAICompatible","DestinationSnowflakeCortexProcessingConfigModel","DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode","DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode","DestinationSnowflakeCortexSchemasEmbeddingMode","DestinationSnowflakeCortexSchemasMode","DestinationSnowflakeCortexSchemasProcessingMode","DestinationSnowflakeCortexSchemasProcessingTextSplitterMode","DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode","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","PermissionCreateRequest","PermissionResponse","PermissionResponseRead","PermissionScope","PermissionType","PermissionUpdateRequest","PermissionsResponse","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","SchemeClientCredentials","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","SnowflakeCortex","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/actortypeenum.py b/src/airbyte_api/models/actortypeenum.py index d76a86ff..8947c889 100644 --- a/src/airbyte_api/models/actortypeenum.py +++ b/src/airbyte_api/models/actortypeenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class ActorTypeEnum(str, Enum): r"""Whether you're setting this override for a source or destination""" SOURCE = 'source' diff --git a/src/airbyte_api/models/connectionstatusenum.py b/src/airbyte_api/models/connectionstatusenum.py index cd9a5537..33b3aff9 100644 --- a/src/airbyte_api/models/connectionstatusenum.py +++ b/src/airbyte_api/models/connectionstatusenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class ConnectionStatusEnum(str, Enum): ACTIVE = 'active' INACTIVE = 'inactive' diff --git a/src/airbyte_api/models/connectionsyncmodeenum.py b/src/airbyte_api/models/connectionsyncmodeenum.py index 658f10ca..e7840253 100644 --- a/src/airbyte_api/models/connectionsyncmodeenum.py +++ b/src/airbyte_api/models/connectionsyncmodeenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class ConnectionSyncModeEnum(str, Enum): FULL_REFRESH_OVERWRITE = 'full_refresh_overwrite' FULL_REFRESH_APPEND = 'full_refresh_append' diff --git a/src/airbyte_api/models/destination_astra.py b/src/airbyte_api/models/destination_astra.py index 3ccaf106..fb639a71 100644 --- a/src/airbyte_api/models/destination_astra.py +++ b/src/airbyte_api/models/destination_astra.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Astra(str, Enum): ASTRA = 'astra' + class DestinationAstraSchemasEmbeddingEmbeddingMode(str, Enum): OPENAI_COMPATIBLE = 'openai_compatible' @@ -29,6 +31,7 @@ class OpenAICompatible: + class DestinationAstraSchemasEmbeddingMode(str, Enum): AZURE_OPENAI = 'azure_openai' @@ -47,6 +50,7 @@ class AzureOpenAI: + class DestinationAstraSchemasMode(str, Enum): FAKE = 'fake' @@ -59,6 +63,7 @@ class Fake: + class DestinationAstraMode(str, Enum): COHERE = 'cohere' @@ -72,6 +77,7 @@ class Cohere: + class DestinationAstraSchemasEmbeddingEmbedding1Mode(str, Enum): OPENAI = 'openai' @@ -112,6 +118,7 @@ class FieldNameMappingConfigModel: + class DestinationAstraLanguage(str, Enum): r"""Split code in suitable places based on the programming language""" CPP = 'cpp' @@ -131,6 +138,7 @@ class DestinationAstraLanguage(str, Enum): HTML = 'html' SOL = 'sol' + class DestinationAstraSchemasProcessingTextSplitterTextSplitterMode(str, Enum): CODE = 'code' @@ -145,6 +153,7 @@ class ByProgrammingLanguage: + class DestinationAstraSchemasProcessingTextSplitterMode(str, Enum): MARKDOWN = 'markdown' @@ -159,6 +168,7 @@ class ByMarkdownHeader: + class DestinationAstraSchemasProcessingMode(str, Enum): SEPARATOR = 'separator' diff --git a/src/airbyte_api/models/destination_aws_datalake.py b/src/airbyte_api/models/destination_aws_datalake.py index e6dcb5d3..62ff5255 100644 --- a/src/airbyte_api/models/destination_aws_datalake.py +++ b/src/airbyte_api/models/destination_aws_datalake.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationAwsDatalakeCredentialsTitle(str, Enum): r"""Name of the credentials""" IAM_USER = 'IAM User' @@ -24,6 +25,7 @@ class IAMUser: + class CredentialsTitle(str, Enum): r"""Name of the credentials""" IAM_ROLE = 'IAM Role' @@ -39,9 +41,11 @@ class IAMRole: + class AwsDatalake(str, Enum): AWS_DATALAKE = 'aws-datalake' + class DestinationAwsDatalakeCompressionCodecOptional(str, Enum): r"""The compression algorithm used to compress data.""" UNCOMPRESSED = 'UNCOMPRESSED' @@ -49,6 +53,7 @@ class DestinationAwsDatalakeCompressionCodecOptional(str, Enum): GZIP = 'GZIP' ZSTD = 'ZSTD' + class DestinationAwsDatalakeFormatTypeWildcard(str, Enum): PARQUET = 'Parquet' @@ -62,11 +67,13 @@ class ParquetColumnarStorage: + class CompressionCodecOptional(str, Enum): r"""The compression algorithm used to compress data.""" UNCOMPRESSED = 'UNCOMPRESSED' GZIP = 'GZIP' + class FormatTypeWildcard(str, Enum): JSONL = 'JSONL' @@ -80,6 +87,7 @@ class JSONLinesNewlineDelimitedJSON: + class ChooseHowToPartitionData(str, Enum): r"""Partition data by cursor fields when a cursor field is a date""" NO_PARTITIONING = 'NO PARTITIONING' @@ -90,6 +98,7 @@ class ChooseHowToPartitionData(str, Enum): YEAR_MONTH = 'YEAR/MONTH' YEAR_MONTH_DAY = 'YEAR/MONTH/DAY' + class S3BucketRegion(str, Enum): r"""The region of the S3 bucket. See here for all region codes.""" UNKNOWN = '' diff --git a/src/airbyte_api/models/destination_azure_blob_storage.py b/src/airbyte_api/models/destination_azure_blob_storage.py index 637205be..d66d833f 100644 --- a/src/airbyte_api/models/destination_azure_blob_storage.py +++ b/src/airbyte_api/models/destination_azure_blob_storage.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationAzureBlobStorageAzureBlobStorage(str, Enum): AZURE_BLOB_STORAGE = 'azure-blob-storage' + class DestinationAzureBlobStorageFormatType(str, Enum): JSONL = 'JSONL' @@ -21,11 +23,13 @@ class DestinationAzureBlobStorageJSONLinesNewlineDelimitedJSON: + class NormalizationFlattening(str, Enum): r"""Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details.""" NO_FLATTENING = 'No flattening' ROOT_LEVEL_FLATTENING = 'Root level flattening' + class FormatType(str, Enum): CSV = 'CSV' diff --git a/src/airbyte_api/models/destination_bigquery.py b/src/airbyte_api/models/destination_bigquery.py index 230855b0..54e84e88 100644 --- a/src/airbyte_api/models/destination_bigquery.py +++ b/src/airbyte_api/models/destination_bigquery.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DatasetLocation(str, Enum): r"""The location of the dataset. Warning: Changes made after creation will not be applied. Read more here.""" US = 'US' @@ -54,9 +55,11 @@ class DatasetLocation(str, Enum): US_WEST3 = 'us-west3' US_WEST4 = 'us-west4' + class Bigquery(str, Enum): BIGQUERY = 'bigquery' + class DestinationBigqueryMethod(str, Enum): STANDARD = 'Standard' @@ -69,6 +72,7 @@ class StandardInserts: + class DestinationBigqueryCredentialType(str, Enum): HMAC_KEY = 'HMAC_KEY' @@ -84,11 +88,13 @@ class DestinationBigqueryHMACKey: + class GCSTmpFilesAfterwardProcessing(str, Enum): r"""This upload method is supposed to temporary store records in GCS bucket. By this select you can chose if these records should be removed from GCS when migration has finished. The default \\"Delete all tmp files from GCS\\" value is used if not set explicitly.""" DELETE_ALL_TMP_FILES_FROM_GCS = 'Delete all tmp files from GCS' KEEP_ALL_TMP_FILES_IN_GCS = 'Keep all tmp files in GCS' + class Method(str, Enum): GCS_STAGING = 'GCS Staging' @@ -109,6 +115,7 @@ class GCSStaging: + class TransformationQueryRunType(str, Enum): r"""Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type here. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries here. The default \\"interactive\\" value is used if not set explicitly.""" INTERACTIVE = 'interactive' diff --git a/src/airbyte_api/models/destination_clickhouse.py b/src/airbyte_api/models/destination_clickhouse.py index d55882e7..315f3a40 100644 --- a/src/airbyte_api/models/destination_clickhouse.py +++ b/src/airbyte_api/models/destination_clickhouse.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Clickhouse(str, Enum): CLICKHOUSE = 'clickhouse' + class DestinationClickhouseSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -31,6 +33,7 @@ class PasswordAuthentication: + class DestinationClickhouseTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -52,6 +55,7 @@ class SSHKeyAuthentication: + class TunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_convex.py b/src/airbyte_api/models/destination_convex.py index 324b9090..8856fe99 100644 --- a/src/airbyte_api/models/destination_convex.py +++ b/src/airbyte_api/models/destination_convex.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Convex(str, Enum): CONVEX = 'convex' diff --git a/src/airbyte_api/models/destination_databricks.py b/src/airbyte_api/models/destination_databricks.py index 9afb83ee..ad591b4a 100644 --- a/src/airbyte_api/models/destination_databricks.py +++ b/src/airbyte_api/models/destination_databricks.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationDatabricksSchemasDataSourceType(str, Enum): AZURE_BLOB_STORAGE = 'AZURE_BLOB_STORAGE' @@ -26,9 +27,11 @@ class DestinationDatabricksAzureBlobStorage: + class DestinationDatabricksDataSourceType(str, Enum): S3_STORAGE = 'S3_STORAGE' + class DestinationDatabricksS3BucketRegion(str, Enum): r"""The region of the S3 staging bucket to use if utilising a copy strategy.""" UNKNOWN = '' @@ -78,6 +81,7 @@ class AmazonS3: + class DataSourceType(str, Enum): MANAGED_TABLES_STORAGE = 'MANAGED_TABLES_STORAGE' @@ -89,6 +93,7 @@ class RecommendedManagedTables: + class Databricks(str, Enum): DATABRICKS = 'databricks' diff --git a/src/airbyte_api/models/destination_dev_null.py b/src/airbyte_api/models/destination_dev_null.py index 968a150e..f61623dc 100644 --- a/src/airbyte_api/models/destination_dev_null.py +++ b/src/airbyte_api/models/destination_dev_null.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class DevNull(str, Enum): DEV_NULL = 'dev-null' + class TestDestinationType(str, Enum): SILENT = 'SILENT' diff --git a/src/airbyte_api/models/destination_duckdb.py b/src/airbyte_api/models/destination_duckdb.py index 1c0ef533..7c1d243b 100644 --- a/src/airbyte_api/models/destination_duckdb.py +++ b/src/airbyte_api/models/destination_duckdb.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Duckdb(str, Enum): DUCKDB = 'duckdb' diff --git a/src/airbyte_api/models/destination_dynamodb.py b/src/airbyte_api/models/destination_dynamodb.py index 9f519104..6dde2aeb 100644 --- a/src/airbyte_api/models/destination_dynamodb.py +++ b/src/airbyte_api/models/destination_dynamodb.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional + class Dynamodb(str, Enum): DYNAMODB = 'dynamodb' + class DynamoDBRegion(str, Enum): r"""The region of the DynamoDB.""" UNKNOWN = '' diff --git a/src/airbyte_api/models/destination_elasticsearch.py b/src/airbyte_api/models/destination_elasticsearch.py index 3ffaa4a6..509ea56b 100644 --- a/src/airbyte_api/models/destination_elasticsearch.py +++ b/src/airbyte_api/models/destination_elasticsearch.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationElasticsearchSchemasMethod(str, Enum): BASIC = 'basic' @@ -23,6 +24,7 @@ class UsernamePassword: + class DestinationElasticsearchMethod(str, Enum): SECRET = 'secret' @@ -39,6 +41,7 @@ class APIKeySecret: + class Elasticsearch(str, Enum): ELASTICSEARCH = 'elasticsearch' diff --git a/src/airbyte_api/models/destination_firestore.py b/src/airbyte_api/models/destination_firestore.py index 1e8b5601..081bae29 100644 --- a/src/airbyte_api/models/destination_firestore.py +++ b/src/airbyte_api/models/destination_firestore.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Firestore(str, Enum): FIRESTORE = 'firestore' diff --git a/src/airbyte_api/models/destination_gcs.py b/src/airbyte_api/models/destination_gcs.py index 369743a9..d28c3b59 100644 --- a/src/airbyte_api/models/destination_gcs.py +++ b/src/airbyte_api/models/destination_gcs.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class CredentialType(str, Enum): HMAC_KEY = 'HMAC_KEY' @@ -22,9 +23,11 @@ class HMACKey: + class Gcs(str, Enum): GCS = 'gcs' + class DestinationGcsCompressionCodec(str, Enum): r"""The compression algorithm used to compress data pages.""" UNCOMPRESSED = 'UNCOMPRESSED' @@ -35,6 +38,7 @@ class DestinationGcsCompressionCodec(str, Enum): LZ4 = 'LZ4' ZSTD = 'ZSTD' + class DestinationGcsSchemasFormatOutputFormatFormatType(str, Enum): PARQUET = 'Parquet' @@ -58,6 +62,7 @@ class DestinationGcsParquetColumnarStorage: + class DestinationGcsSchemasFormatCompressionType(str, Enum): GZIP = 'GZIP' @@ -69,6 +74,7 @@ class DestinationGcsGZIP: + class DestinationGcsSchemasCompressionType(str, Enum): NO_COMPRESSION = 'No Compression' @@ -80,6 +86,7 @@ class DestinationGcsSchemasNoCompression: + class DestinationGcsSchemasFormatFormatType(str, Enum): JSONL = 'JSONL' @@ -93,6 +100,7 @@ class DestinationGcsJSONLinesNewlineDelimitedJSON: + class DestinationGcsCompressionType(str, Enum): GZIP = 'GZIP' @@ -104,6 +112,7 @@ class Gzip: + class CompressionType(str, Enum): NO_COMPRESSION = 'No Compression' @@ -115,11 +124,13 @@ class DestinationGcsNoCompression: + class Normalization(str, Enum): r"""Whether the input JSON data should be normalized (flattened) in the output CSV. Please refer to docs for details.""" NO_FLATTENING = 'No flattening' ROOT_LEVEL_FLATTENING = 'Root level flattening' + class DestinationGcsSchemasFormatType(str, Enum): CSV = 'CSV' @@ -135,6 +146,7 @@ class DestinationGcsCSVCommaSeparatedValues: + class DestinationGcsSchemasFormatOutputFormat1Codec(str, Enum): SNAPPY = 'snappy' @@ -146,6 +158,7 @@ class Snappy: + class DestinationGcsSchemasFormatOutputFormatCodec(str, Enum): ZSTANDARD = 'zstandard' @@ -161,6 +174,7 @@ class Zstandard: + class DestinationGcsSchemasFormatCodec(str, Enum): XZ = 'xz' @@ -174,6 +188,7 @@ class Xz: + class DestinationGcsSchemasCodec(str, Enum): BZIP2 = 'bzip2' @@ -185,6 +200,7 @@ class Bzip2: + class DestinationGcsCodec(str, Enum): DEFLATE = 'Deflate' @@ -198,6 +214,7 @@ class Deflate: + class Codec(str, Enum): NO_COMPRESSION = 'no compression' @@ -209,6 +226,7 @@ class NoCompression: + class DestinationGcsFormatType(str, Enum): AVRO = 'Avro' @@ -222,6 +240,7 @@ class AvroApacheAvro: + class GCSBucketRegion(str, Enum): r"""Select a Region of the GCS Bucket. Read more here.""" NORTHAMERICA_NORTHEAST1 = 'northamerica-northeast1' diff --git a/src/airbyte_api/models/destination_google_sheets.py b/src/airbyte_api/models/destination_google_sheets.py index 7818d9be..aeac2be9 100644 --- a/src/airbyte_api/models/destination_google_sheets.py +++ b/src/airbyte_api/models/destination_google_sheets.py @@ -21,6 +21,7 @@ class AuthenticationViaGoogleOAuth: + class DestinationGoogleSheetsGoogleSheets(str, Enum): GOOGLE_SHEETS = 'google-sheets' diff --git a/src/airbyte_api/models/destination_langchain.py b/src/airbyte_api/models/destination_langchain.py index 7e07fe2b..25a31504 100644 --- a/src/airbyte_api/models/destination_langchain.py +++ b/src/airbyte_api/models/destination_langchain.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Langchain(str, Enum): LANGCHAIN = 'langchain' + class DestinationLangchainSchemasMode(str, Enum): FAKE = 'fake' @@ -22,6 +24,7 @@ class DestinationLangchainFake: + class DestinationLangchainMode(str, Enum): OPENAI = 'openai' @@ -35,6 +38,7 @@ class DestinationLangchainOpenAI: + class DestinationLangchainSchemasIndexingIndexing3Mode(str, Enum): CHROMA_LOCAL = 'chroma_local' @@ -51,6 +55,7 @@ class ChromaLocalPersistance: + class DestinationLangchainSchemasIndexingIndexingMode(str, Enum): DOC_ARRAY_HNSW_SEARCH = 'DocArrayHnswSearch' @@ -65,6 +70,7 @@ class DocArrayHnswSearch: + class DestinationLangchainSchemasIndexingMode(str, Enum): PINECONE = 'pinecone' diff --git a/src/airbyte_api/models/destination_milvus.py b/src/airbyte_api/models/destination_milvus.py index 814216ba..146931bc 100644 --- a/src/airbyte_api/models/destination_milvus.py +++ b/src/airbyte_api/models/destination_milvus.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Milvus(str, Enum): MILVUS = 'milvus' + class DestinationMilvusSchemasEmbeddingEmbedding5Mode(str, Enum): OPENAI_COMPATIBLE = 'openai_compatible' @@ -29,6 +31,7 @@ class DestinationMilvusOpenAICompatible: + class DestinationMilvusSchemasEmbeddingEmbeddingMode(str, Enum): AZURE_OPENAI = 'azure_openai' @@ -47,6 +50,7 @@ class DestinationMilvusAzureOpenAI: + class DestinationMilvusSchemasEmbeddingMode(str, Enum): FAKE = 'fake' @@ -59,6 +63,7 @@ class DestinationMilvusFake: + class DestinationMilvusSchemasMode(str, Enum): COHERE = 'cohere' @@ -72,6 +77,7 @@ class DestinationMilvusCohere: + class DestinationMilvusMode(str, Enum): OPENAI = 'openai' @@ -85,6 +91,7 @@ class DestinationMilvusOpenAI: + class DestinationMilvusSchemasIndexingAuthAuthenticationMode(str, Enum): NO_AUTH = 'no_auth' @@ -97,6 +104,7 @@ class NoAuth: + class DestinationMilvusSchemasIndexingAuthMode(str, Enum): USERNAME_PASSWORD = 'username_password' @@ -113,6 +121,7 @@ class DestinationMilvusUsernamePassword: + class DestinationMilvusSchemasIndexingMode(str, Enum): TOKEN = 'token' @@ -158,6 +167,7 @@ class DestinationMilvusFieldNameMappingConfigModel: + class DestinationMilvusLanguage(str, Enum): r"""Split code in suitable places based on the programming language""" CPP = 'cpp' @@ -177,6 +187,7 @@ class DestinationMilvusLanguage(str, Enum): HTML = 'html' SOL = 'sol' + class DestinationMilvusSchemasProcessingTextSplitterTextSplitterMode(str, Enum): CODE = 'code' @@ -191,6 +202,7 @@ class DestinationMilvusByProgrammingLanguage: + class DestinationMilvusSchemasProcessingTextSplitterMode(str, Enum): MARKDOWN = 'markdown' @@ -205,6 +217,7 @@ class DestinationMilvusByMarkdownHeader: + class DestinationMilvusSchemasProcessingMode(str, Enum): SEPARATOR = 'separator' diff --git a/src/airbyte_api/models/destination_mongodb.py b/src/airbyte_api/models/destination_mongodb.py index 578e9248..d96b1a1d 100644 --- a/src/airbyte_api/models/destination_mongodb.py +++ b/src/airbyte_api/models/destination_mongodb.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationMongodbAuthorization(str, Enum): LOGIN_PASSWORD = 'login/password' @@ -23,6 +24,7 @@ class LoginPassword: + class DestinationMongodbSchemasAuthorization(str, Enum): NONE = 'none' @@ -35,9 +37,11 @@ class NoneT: + class Mongodb(str, Enum): MONGODB = 'mongodb' + class DestinationMongodbSchemasInstance(str, Enum): ATLAS = 'atlas' @@ -51,6 +55,7 @@ class MongoDBAtlas: + class DestinationMongodbInstance(str, Enum): REPLICA = 'replica' @@ -66,6 +71,7 @@ class ReplicaSet: + class Instance(str, Enum): STANDALONE = 'standalone' @@ -81,6 +87,7 @@ class StandaloneMongoDbInstance: + class DestinationMongodbSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -102,6 +109,7 @@ class DestinationMongodbPasswordAuthentication: + class DestinationMongodbSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -123,6 +131,7 @@ class DestinationMongodbSSHKeyAuthentication: + class DestinationMongodbTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_mssql.py b/src/airbyte_api/models/destination_mssql.py index 66be4a11..4cb40f24 100644 --- a/src/airbyte_api/models/destination_mssql.py +++ b/src/airbyte_api/models/destination_mssql.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Mssql(str, Enum): MSSQL = 'mssql' + class DestinationMssqlSchemasSslMethod(str, Enum): ENCRYPTED_VERIFY_CERTIFICATE = 'encrypted_verify_certificate' @@ -24,6 +26,7 @@ class EncryptedVerifyCertificate: + class DestinationMssqlSslMethod(str, Enum): ENCRYPTED_TRUST_SERVER_CERTIFICATE = 'encrypted_trust_server_certificate' @@ -36,6 +39,7 @@ class EncryptedTrustServerCertificate: + class DestinationMssqlSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -57,6 +61,7 @@ class DestinationMssqlPasswordAuthentication: + class DestinationMssqlSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -78,6 +83,7 @@ class DestinationMssqlSSHKeyAuthentication: + class DestinationMssqlTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_mysql.py b/src/airbyte_api/models/destination_mysql.py index 4edb0c30..234424e0 100644 --- a/src/airbyte_api/models/destination_mysql.py +++ b/src/airbyte_api/models/destination_mysql.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Mysql(str, Enum): MYSQL = 'mysql' + class DestinationMysqlSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -31,6 +33,7 @@ class DestinationMysqlPasswordAuthentication: + class DestinationMysqlSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -52,6 +55,7 @@ class DestinationMysqlSSHKeyAuthentication: + class DestinationMysqlTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_oracle.py b/src/airbyte_api/models/destination_oracle.py index a7eaee79..28238ca7 100644 --- a/src/airbyte_api/models/destination_oracle.py +++ b/src/airbyte_api/models/destination_oracle.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Oracle(str, Enum): ORACLE = 'oracle' + class DestinationOracleSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -31,6 +33,7 @@ class DestinationOraclePasswordAuthentication: + class DestinationOracleSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -52,6 +55,7 @@ class DestinationOracleSSHKeyAuthentication: + class DestinationOracleTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_pinecone.py b/src/airbyte_api/models/destination_pinecone.py index 050578fb..40884b00 100644 --- a/src/airbyte_api/models/destination_pinecone.py +++ b/src/airbyte_api/models/destination_pinecone.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Pinecone(str, Enum): PINECONE = 'pinecone' + class DestinationPineconeSchemasEmbeddingEmbedding5Mode(str, Enum): OPENAI_COMPATIBLE = 'openai_compatible' @@ -29,6 +31,7 @@ class DestinationPineconeOpenAICompatible: + class DestinationPineconeSchemasEmbeddingEmbeddingMode(str, Enum): AZURE_OPENAI = 'azure_openai' @@ -47,6 +50,7 @@ class DestinationPineconeAzureOpenAI: + class DestinationPineconeSchemasEmbeddingMode(str, Enum): FAKE = 'fake' @@ -59,6 +63,7 @@ class DestinationPineconeFake: + class DestinationPineconeSchemasMode(str, Enum): COHERE = 'cohere' @@ -72,6 +77,7 @@ class DestinationPineconeCohere: + class DestinationPineconeMode(str, Enum): OPENAI = 'openai' @@ -110,6 +116,7 @@ class DestinationPineconeFieldNameMappingConfigModel: + class DestinationPineconeLanguage(str, Enum): r"""Split code in suitable places based on the programming language""" CPP = 'cpp' @@ -129,6 +136,7 @@ class DestinationPineconeLanguage(str, Enum): HTML = 'html' SOL = 'sol' + class DestinationPineconeSchemasProcessingTextSplitterTextSplitterMode(str, Enum): CODE = 'code' @@ -143,6 +151,7 @@ class DestinationPineconeByProgrammingLanguage: + class DestinationPineconeSchemasProcessingTextSplitterMode(str, Enum): MARKDOWN = 'markdown' @@ -157,6 +166,7 @@ class DestinationPineconeByMarkdownHeader: + class DestinationPineconeSchemasProcessingMode(str, Enum): SEPARATOR = 'separator' diff --git a/src/airbyte_api/models/destination_postgres.py b/src/airbyte_api/models/destination_postgres.py index e098b7c7..758f2104 100644 --- a/src/airbyte_api/models/destination_postgres.py +++ b/src/airbyte_api/models/destination_postgres.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Postgres(str, Enum): POSTGRES = 'postgres' + class DestinationPostgresSchemasSSLModeSSLModes6Mode(str, Enum): VERIFY_FULL = 'verify-full' @@ -30,6 +32,7 @@ class VerifyFull: + class DestinationPostgresSchemasSSLModeSSLModesMode(str, Enum): VERIFY_CA = 'verify-ca' @@ -46,6 +49,7 @@ class VerifyCa: + class DestinationPostgresSchemasSslModeMode(str, Enum): REQUIRE = 'require' @@ -58,6 +62,7 @@ class Require: + class DestinationPostgresSchemasMode(str, Enum): PREFER = 'prefer' @@ -70,6 +75,7 @@ class Prefer: + class DestinationPostgresMode(str, Enum): ALLOW = 'allow' @@ -82,6 +88,7 @@ class Allow: + class Mode(str, Enum): DISABLE = 'disable' @@ -94,6 +101,7 @@ class Disable: + class DestinationPostgresSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -115,6 +123,7 @@ class DestinationPostgresPasswordAuthentication: + class DestinationPostgresSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -136,6 +145,7 @@ class DestinationPostgresSSHKeyAuthentication: + class DestinationPostgresTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_pubsub.py b/src/airbyte_api/models/destination_pubsub.py index 2d98540b..56ba0e03 100644 --- a/src/airbyte_api/models/destination_pubsub.py +++ b/src/airbyte_api/models/destination_pubsub.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Pubsub(str, Enum): PUBSUB = 'pubsub' diff --git a/src/airbyte_api/models/destination_qdrant.py b/src/airbyte_api/models/destination_qdrant.py index 28e6d4db..77769c94 100644 --- a/src/airbyte_api/models/destination_qdrant.py +++ b/src/airbyte_api/models/destination_qdrant.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Qdrant(str, Enum): QDRANT = 'qdrant' + class DestinationQdrantSchemasEmbeddingEmbedding5Mode(str, Enum): OPENAI_COMPATIBLE = 'openai_compatible' @@ -29,6 +31,7 @@ class DestinationQdrantOpenAICompatible: + class DestinationQdrantSchemasEmbeddingEmbeddingMode(str, Enum): AZURE_OPENAI = 'azure_openai' @@ -47,6 +50,7 @@ class DestinationQdrantAzureOpenAI: + class DestinationQdrantSchemasEmbeddingMode(str, Enum): FAKE = 'fake' @@ -59,6 +63,7 @@ class DestinationQdrantFake: + class DestinationQdrantSchemasMode(str, Enum): COHERE = 'cohere' @@ -72,6 +77,7 @@ class DestinationQdrantCohere: + class DestinationQdrantMode(str, Enum): OPENAI = 'openai' @@ -85,6 +91,7 @@ class DestinationQdrantOpenAI: + class DestinationQdrantSchemasIndexingAuthMethodMode(str, Enum): NO_AUTH = 'no_auth' @@ -96,6 +103,7 @@ class DestinationQdrantNoAuth: + class DestinationQdrantSchemasIndexingMode(str, Enum): API_KEY_AUTH = 'api_key_auth' @@ -109,6 +117,7 @@ class APIKeyAuth: + class DistanceMetric(str, Enum): r"""The Distance metric used to measure similarities among vectors. This field is only used if the collection defined in the does not exist yet and is created automatically by the connector.""" DOT = 'dot' @@ -146,6 +155,7 @@ class DestinationQdrantFieldNameMappingConfigModel: + class DestinationQdrantLanguage(str, Enum): r"""Split code in suitable places based on the programming language""" CPP = 'cpp' @@ -165,6 +175,7 @@ class DestinationQdrantLanguage(str, Enum): HTML = 'html' SOL = 'sol' + class DestinationQdrantSchemasProcessingTextSplitterTextSplitterMode(str, Enum): CODE = 'code' @@ -179,6 +190,7 @@ class DestinationQdrantByProgrammingLanguage: + class DestinationQdrantSchemasProcessingTextSplitterMode(str, Enum): MARKDOWN = 'markdown' @@ -193,6 +205,7 @@ class DestinationQdrantByMarkdownHeader: + class DestinationQdrantSchemasProcessingMode(str, Enum): SEPARATOR = 'separator' diff --git a/src/airbyte_api/models/destination_redis.py b/src/airbyte_api/models/destination_redis.py index 8751225c..f721ac9f 100644 --- a/src/airbyte_api/models/destination_redis.py +++ b/src/airbyte_api/models/destination_redis.py @@ -7,13 +7,16 @@ from enum import Enum from typing import Final, Optional, Union + class CacheType(str, Enum): r"""Redis cache type to store data in.""" HASH = 'hash' + class Redis(str, Enum): REDIS = 'redis' + class DestinationRedisSchemasMode(str, Enum): VERIFY_FULL = 'verify-full' @@ -34,6 +37,7 @@ class DestinationRedisVerifyFull: + class DestinationRedisMode(str, Enum): DISABLE = 'disable' @@ -46,6 +50,7 @@ class DestinationRedisDisable: + class DestinationRedisSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -67,6 +72,7 @@ class DestinationRedisPasswordAuthentication: + class DestinationRedisSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -88,6 +94,7 @@ class DestinationRedisSSHKeyAuthentication: + class DestinationRedisTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destination_redshift.py b/src/airbyte_api/models/destination_redshift.py index 9bc293da..da4f444d 100644 --- a/src/airbyte_api/models/destination_redshift.py +++ b/src/airbyte_api/models/destination_redshift.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Redshift(str, Enum): REDSHIFT = 'redshift' + class DestinationRedshiftSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -31,6 +33,7 @@ class DestinationRedshiftPasswordAuthentication: + class DestinationRedshiftSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -52,6 +55,7 @@ class DestinationRedshiftSSHKeyAuthentication: + class DestinationRedshiftTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' @@ -65,6 +69,7 @@ class DestinationRedshiftNoTunnel: + class DestinationRedshiftSchemasMethod(str, Enum): STANDARD = 'Standard' @@ -77,6 +82,7 @@ class Standard: + class DestinationRedshiftEncryptionType(str, Enum): AES_CBC_ENVELOPE = 'aes_cbc_envelope' @@ -91,6 +97,7 @@ class AESCBCEnvelopeEncryption: + class EncryptionType(str, Enum): NONE = 'none' @@ -103,9 +110,11 @@ class NoEncryption: + class DestinationRedshiftMethod(str, Enum): S3_STAGING = 'S3 Staging' + class DestinationRedshiftS3BucketRegion(str, Enum): r"""The region of the S3 staging bucket.""" UNKNOWN = '' @@ -183,6 +192,8 @@ 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""" + 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).""" port: Optional[int] = dataclasses.field(default=5439, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('port'), 'exclude': lambda f: f is None }}) diff --git a/src/airbyte_api/models/destination_s3.py b/src/airbyte_api/models/destination_s3.py index a426fd89..73a92bef 100644 --- a/src/airbyte_api/models/destination_s3.py +++ b/src/airbyte_api/models/destination_s3.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class S3(str, Enum): S3 = 's3' + class DestinationS3SchemasCompressionCodec(str, Enum): r"""The compression algorithm used to compress data pages.""" UNCOMPRESSED = 'UNCOMPRESSED' @@ -20,6 +22,7 @@ class DestinationS3SchemasCompressionCodec(str, Enum): LZ4 = 'LZ4' ZSTD = 'ZSTD' + class DestinationS3SchemasFormatOutputFormatFormatType(str, Enum): PARQUET = 'Parquet' @@ -43,6 +46,7 @@ class DestinationS3ParquetColumnarStorage: + class DestinationS3SchemasFormatOutputFormat3CompressionCodecCodec(str, Enum): SNAPPY = 'snappy' @@ -54,6 +58,7 @@ class DestinationS3Snappy: + class DestinationS3SchemasFormatOutputFormat3Codec(str, Enum): ZSTANDARD = 'zstandard' @@ -69,6 +74,7 @@ class DestinationS3Zstandard: + class DestinationS3SchemasFormatOutputFormatCodec(str, Enum): XZ = 'xz' @@ -82,6 +88,7 @@ class DestinationS3Xz: + class DestinationS3SchemasFormatCodec(str, Enum): BZIP2 = 'bzip2' @@ -93,6 +100,7 @@ class DestinationS3Bzip2: + class DestinationS3SchemasCodec(str, Enum): DEFLATE = 'Deflate' @@ -106,6 +114,7 @@ class DestinationS3Deflate: + class DestinationS3Codec(str, Enum): NO_COMPRESSION = 'no compression' @@ -117,6 +126,7 @@ class DestinationS3SchemasFormatNoCompression: + class DestinationS3SchemasFormatFormatType(str, Enum): AVRO = 'Avro' @@ -130,6 +140,7 @@ class DestinationS3AvroApacheAvro: + class DestinationS3SchemasFormatOutputFormatCompressionType(str, Enum): GZIP = 'GZIP' @@ -141,6 +152,7 @@ class DestinationS3SchemasGZIP: + class DestinationS3SchemasFormatCompressionType(str, Enum): NO_COMPRESSION = 'No Compression' @@ -152,11 +164,13 @@ class DestinationS3SchemasNoCompression: + class DestinationS3SchemasFlattening(str, Enum): r"""Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details.""" NO_FLATTENING = 'No flattening' ROOT_LEVEL_FLATTENING = 'Root level flattening' + class DestinationS3SchemasFormatType(str, Enum): JSONL = 'JSONL' @@ -172,6 +186,7 @@ class DestinationS3JSONLinesNewlineDelimitedJSON: + class DestinationS3SchemasCompressionType(str, Enum): GZIP = 'GZIP' @@ -183,6 +198,7 @@ class DestinationS3GZIP: + class DestinationS3CompressionType(str, Enum): NO_COMPRESSION = 'No Compression' @@ -194,11 +210,13 @@ class DestinationS3NoCompression: + class DestinationS3Flattening(str, Enum): r"""Whether the input json data should be normalized (flattened) in the output CSV. Please refer to docs for details.""" NO_FLATTENING = 'No flattening' ROOT_LEVEL_FLATTENING = 'Root level flattening' + class DestinationS3FormatType(str, Enum): CSV = 'CSV' @@ -214,6 +232,7 @@ class DestinationS3CSVCommaSeparatedValues: + class DestinationS3S3BucketRegion(str, Enum): r"""The region of the S3 bucket. See here for all region codes.""" UNKNOWN = '' diff --git a/src/airbyte_api/models/destination_s3_glue.py b/src/airbyte_api/models/destination_s3_glue.py index 6b54ed39..7fafd8d3 100644 --- a/src/airbyte_api/models/destination_s3_glue.py +++ b/src/airbyte_api/models/destination_s3_glue.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class S3Glue(str, Enum): S3_GLUE = 's3-glue' + class DestinationS3GlueSchemasCompressionType(str, Enum): GZIP = 'GZIP' @@ -21,6 +23,7 @@ class DestinationS3GlueGZIP: + class DestinationS3GlueCompressionType(str, Enum): NO_COMPRESSION = 'No Compression' @@ -32,11 +35,13 @@ class DestinationS3GlueNoCompression: + class Flattening(str, Enum): r"""Whether the input json data should be normalized (flattened) in the output JSON Lines. Please refer to docs for details.""" NO_FLATTENING = 'No flattening' ROOT_LEVEL_FLATTENING = 'Root level flattening' + class DestinationS3GlueFormatType(str, Enum): JSONL = 'JSONL' @@ -52,11 +57,13 @@ class DestinationS3GlueJSONLinesNewlineDelimitedJSON: + class SerializationLibrary(str, Enum): r"""The library that your query engine will use for reading and writing data in your lake.""" ORG_OPENX_DATA_JSONSERDE_JSON_SER_DE = 'org.openx.data.jsonserde.JsonSerDe' ORG_APACHE_HIVE_HCATALOG_DATA_JSON_SER_DE = 'org.apache.hive.hcatalog.data.JsonSerDe' + class DestinationS3GlueS3BucketRegion(str, Enum): r"""The region of the S3 bucket. See here for all region codes.""" UNKNOWN = '' diff --git a/src/airbyte_api/models/destination_sftp_json.py b/src/airbyte_api/models/destination_sftp_json.py index 53ab9b54..55d38d43 100644 --- a/src/airbyte_api/models/destination_sftp_json.py +++ b/src/airbyte_api/models/destination_sftp_json.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class SftpJSON(str, Enum): SFTP_JSON = 'sftp-json' diff --git a/src/airbyte_api/models/destination_snowflake.py b/src/airbyte_api/models/destination_snowflake.py index a63eee39..05019b0d 100644 --- a/src/airbyte_api/models/destination_snowflake.py +++ b/src/airbyte_api/models/destination_snowflake.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class DestinationSnowflakeSchemasAuthType(str, Enum): O_AUTH2_0 = 'OAuth2.0' @@ -26,6 +27,7 @@ class DestinationSnowflakeOAuth20: + class DestinationSnowflakeAuthType(str, Enum): USERNAME_AND_PASSWORD = 'Username and Password' @@ -39,6 +41,7 @@ class UsernameAndPassword: + class DestinationSnowflakeSchemasCredentialsAuthType(str, Enum): KEY_PAIR_AUTHENTICATION = 'Key Pair Authentication' @@ -54,6 +57,7 @@ class KeyPairAuthentication: + class DestinationSnowflakeSnowflake(str, Enum): SNOWFLAKE = 'snowflake' diff --git a/src/airbyte_api/models/destination_snowflake_cortex.py b/src/airbyte_api/models/destination_snowflake_cortex.py new file mode 100644 index 00000000..fad4aa91 --- /dev/null +++ b/src/airbyte_api/models/destination_snowflake_cortex.py @@ -0,0 +1,245 @@ +"""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, List, Optional, Union + + +class SnowflakeCortex(str, Enum): + SNOWFLAKE_CORTEX = 'snowflake-cortex' + + +class DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode(str, Enum): + OPENAI_COMPATIBLE = 'openai_compatible' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexOpenAICompatible: + r"""Use a service that's compatible with the OpenAI API to embed text.""" + base_url: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('base_url') }}) + r"""The base URL for your OpenAI-compatible service""" + dimensions: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dimensions') }}) + r"""The number of dimensions the embedding model is generating""" + api_key: Optional[str] = dataclasses.field(default='', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_key'), 'exclude': lambda f: f is None }}) + MODE: Final[Optional[DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasEmbeddingEmbedding5Mode.OPENAI_COMPATIBLE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + model_name: Optional[str] = dataclasses.field(default='text-embedding-ada-002', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('model_name'), 'exclude': lambda f: f is None }}) + r"""The name of the model to use for embedding""" + + + + +class DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode(str, Enum): + AZURE_OPENAI = 'azure_openai' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexAzureOpenAI: + r"""Use the Azure-hosted OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions.""" + api_base: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('api_base') }}) + r"""The base URL for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource""" + deployment: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('deployment') }}) + r"""The deployment for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource""" + openai_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('openai_key') }}) + r"""The API key for your Azure OpenAI resource. You can find this in the Azure portal under your Azure OpenAI resource""" + MODE: Final[Optional[DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasEmbeddingEmbeddingMode.AZURE_OPENAI, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + + +class DestinationSnowflakeCortexSchemasEmbeddingMode(str, Enum): + FAKE = 'fake' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexFake: + r"""Use a fake embedding made out of random vectors with 1536 embedding dimensions. This is useful for testing the data pipeline without incurring any costs.""" + MODE: Final[Optional[DestinationSnowflakeCortexSchemasEmbeddingMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasEmbeddingMode.FAKE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + + +class DestinationSnowflakeCortexSchemasMode(str, Enum): + COHERE = 'cohere' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexCohere: + r"""Use the Cohere API to embed text.""" + cohere_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('cohere_key') }}) + MODE: Final[Optional[DestinationSnowflakeCortexSchemasMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasMode.COHERE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + + +class DestinationSnowflakeCortexMode(str, Enum): + OPENAI = 'openai' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexOpenAI: + r"""Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions.""" + openai_key: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('openai_key') }}) + MODE: Final[Optional[DestinationSnowflakeCortexMode]] = dataclasses.field(default=DestinationSnowflakeCortexMode.OPENAI, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexCredentials: + password: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('password') }}) + r"""Enter the password you want to use to access the database""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexIndexing: + r"""Snowflake can be used to store vector data and retrieve embeddings.""" + credentials: DestinationSnowflakeCortexCredentials = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('credentials') }}) + database: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('database') }}) + r"""Enter the name of the database that you want to sync data into""" + default_schema: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('default_schema') }}) + r"""Enter the name of the default schema""" + host: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('host') }}) + r"""Enter the account name you want to use to access the database. This is usually the identifier before .snowflakecomputing.com""" + role: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('role') }}) + r"""Enter the role that you want to use to access Snowflake""" + username: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('username') }}) + r"""Enter the name of the user you want to use to access the database""" + warehouse: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('warehouse') }}) + r"""Enter the name of the warehouse that you want to sync data into""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexFieldNameMappingConfigModel: + from_field: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('from_field') }}) + r"""The field name in the source""" + to_field: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('to_field') }}) + r"""The field name to use in the destination""" + + + + +class DestinationSnowflakeCortexLanguage(str, Enum): + r"""Split code in suitable places based on the programming language""" + CPP = 'cpp' + GO = 'go' + JAVA = 'java' + JS = 'js' + PHP = 'php' + PROTO = 'proto' + PYTHON = 'python' + RST = 'rst' + RUBY = 'ruby' + RUST = 'rust' + SCALA = 'scala' + SWIFT = 'swift' + MARKDOWN = 'markdown' + LATEX = 'latex' + HTML = 'html' + SOL = 'sol' + + +class DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode(str, Enum): + CODE = 'code' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexByProgrammingLanguage: + r"""Split the text by suitable delimiters based on the programming language. This is useful for splitting code into chunks.""" + language: DestinationSnowflakeCortexLanguage = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('language') }}) + r"""Split code in suitable places based on the programming language""" + MODE: Final[Optional[DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasProcessingTextSplitterTextSplitterMode.CODE, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + + + + +class DestinationSnowflakeCortexSchemasProcessingTextSplitterMode(str, Enum): + MARKDOWN = 'markdown' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexByMarkdownHeader: + r"""Split the text by Markdown headers down to the specified header level. If the chunk size fits multiple sections, they will be combined into a single chunk.""" + MODE: Final[Optional[DestinationSnowflakeCortexSchemasProcessingTextSplitterMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasProcessingTextSplitterMode.MARKDOWN, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + split_level: Optional[int] = dataclasses.field(default=1, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('split_level'), 'exclude': lambda f: f is None }}) + r"""Level of markdown headers to split text fields by. Headings down to the specified level will be used as split points""" + + + + +class DestinationSnowflakeCortexSchemasProcessingMode(str, Enum): + SEPARATOR = 'separator' + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexBySeparator: + r"""Split the text by the list of separators until the chunk size is reached, using the earlier mentioned separators where possible. This is useful for splitting text fields by paragraphs, sentences, words, etc.""" + keep_separator: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('keep_separator'), 'exclude': lambda f: f is None }}) + r"""Whether to keep the separator in the resulting chunks""" + MODE: Final[Optional[DestinationSnowflakeCortexSchemasProcessingMode]] = dataclasses.field(default=DestinationSnowflakeCortexSchemasProcessingMode.SEPARATOR, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('mode'), 'exclude': lambda f: f is None }}) + separators: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('separators'), 'exclude': lambda f: f is None }}) + r"""List of separator strings to split text fields by. The separator itself needs to be wrapped in double quotes, e.g. to split by the dot character, use \\".\\". To split by a newline, use \\"\n\\".""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortexProcessingConfigModel: + chunk_size: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('chunk_size') }}) + r"""Size of chunks in tokens to store in vector store (make sure it is not too big for the context if your LLM)""" + chunk_overlap: Optional[int] = dataclasses.field(default=0, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('chunk_overlap'), 'exclude': lambda f: f is None }}) + r"""Size of overlap between chunks in tokens to store in vector store to better capture relevant context""" + field_name_mappings: Optional[List[DestinationSnowflakeCortexFieldNameMappingConfigModel]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('field_name_mappings'), 'exclude': lambda f: f is None }}) + r"""List of fields to rename. Not applicable for nested fields, but can be used to rename fields already flattened via dot notation.""" + metadata_fields: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('metadata_fields'), 'exclude': lambda f: f is None }}) + r"""List of fields in the record that should be stored as metadata. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered metadata fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array. When specifying nested paths, all matching values are flattened into an array set to a field named by the path.""" + text_fields: Optional[List[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('text_fields'), 'exclude': lambda f: f is None }}) + r"""List of fields in the record that should be used to calculate the embedding. The field list is applied to all streams in the same way and non-existing fields are ignored. If none are defined, all fields are considered text fields. When specifying text fields, you can access nested fields in the record by using dot notation, e.g. `user.name` will access the `name` field in the `user` object. It's also possible to use wildcards to access all fields in an object, e.g. `users.*.name` will access all `names` fields in all entries of the `users` array.""" + text_splitter: Optional[Union[DestinationSnowflakeCortexBySeparator, DestinationSnowflakeCortexByMarkdownHeader, DestinationSnowflakeCortexByProgrammingLanguage]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('text_splitter'), 'exclude': lambda f: f is None }}) + r"""Split text fields into chunks based on the specified method.""" + + + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class DestinationSnowflakeCortex: + r"""The configuration model for the Vector DB based destinations. This model is used to generate the UI for the destination configuration, + as well as to provide type safety for the configuration passed to the destination. + + The configuration model is composed of four parts: + * Processing configuration + * Embedding configuration + * Indexing configuration + * Advanced configuration + + Processing, embedding and advanced configuration are provided by this base class, while the indexing configuration is provided by the destination connector in the sub class. + """ + embedding: Union[DestinationSnowflakeCortexOpenAI, DestinationSnowflakeCortexCohere, DestinationSnowflakeCortexFake, DestinationSnowflakeCortexAzureOpenAI, DestinationSnowflakeCortexOpenAICompatible] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('embedding') }}) + r"""Embedding configuration""" + indexing: DestinationSnowflakeCortexIndexing = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('indexing') }}) + r"""Snowflake can be used to store vector data and retrieve embeddings.""" + processing: DestinationSnowflakeCortexProcessingConfigModel = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('processing') }}) + DESTINATION_TYPE: Final[SnowflakeCortex] = dataclasses.field(default=SnowflakeCortex.SNOWFLAKE_CORTEX, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('destinationType') }}) + omit_raw_text: Optional[bool] = dataclasses.field(default=False, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('omit_raw_text'), 'exclude': lambda f: f is None }}) + r"""Do not store the text that gets embedded along with the vector and the metadata in the destination. If set to true, only the vector and the metadata will be stored - in this case raw text for LLM use cases needs to be retrieved from another source.""" + + diff --git a/src/airbyte_api/models/destination_teradata.py b/src/airbyte_api/models/destination_teradata.py index b1da1797..a76db9f2 100644 --- a/src/airbyte_api/models/destination_teradata.py +++ b/src/airbyte_api/models/destination_teradata.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Teradata(str, Enum): TERADATA = 'teradata' + class DestinationTeradataSchemasSSLModeSSLModes6Mode(str, Enum): VERIFY_FULL = 'verify-full' @@ -26,6 +28,7 @@ class DestinationTeradataVerifyFull: + class DestinationTeradataSchemasSSLModeSSLModes5Mode(str, Enum): VERIFY_CA = 'verify-ca' @@ -42,6 +45,7 @@ class DestinationTeradataVerifyCa: + class DestinationTeradataSchemasSSLModeSSLModesMode(str, Enum): REQUIRE = 'require' @@ -54,6 +58,7 @@ class DestinationTeradataRequire: + class DestinationTeradataSchemasSslModeMode(str, Enum): PREFER = 'prefer' @@ -66,6 +71,7 @@ class DestinationTeradataPrefer: + class DestinationTeradataSchemasMode(str, Enum): ALLOW = 'allow' @@ -78,6 +84,7 @@ class DestinationTeradataAllow: + class DestinationTeradataMode(str, Enum): DISABLE = 'disable' diff --git a/src/airbyte_api/models/destination_typesense.py b/src/airbyte_api/models/destination_typesense.py index 9363ea6e..96288016 100644 --- a/src/airbyte_api/models/destination_typesense.py +++ b/src/airbyte_api/models/destination_typesense.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Typesense(str, Enum): TYPESENSE = 'typesense' diff --git a/src/airbyte_api/models/destination_vectara.py b/src/airbyte_api/models/destination_vectara.py index f18289b9..1cb2b1ae 100644 --- a/src/airbyte_api/models/destination_vectara.py +++ b/src/airbyte_api/models/destination_vectara.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Vectara(str, Enum): VECTARA = 'vectara' diff --git a/src/airbyte_api/models/destination_weaviate.py b/src/airbyte_api/models/destination_weaviate.py index ddfb6f87..34b1ada0 100644 --- a/src/airbyte_api/models/destination_weaviate.py +++ b/src/airbyte_api/models/destination_weaviate.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class Weaviate(str, Enum): WEAVIATE = 'weaviate' + class DestinationWeaviateSchemasEmbeddingEmbedding7Mode(str, Enum): OPENAI_COMPATIBLE = 'openai_compatible' @@ -29,6 +31,7 @@ class DestinationWeaviateOpenAICompatible: + class DestinationWeaviateSchemasEmbeddingEmbedding6Mode(str, Enum): FAKE = 'fake' @@ -41,6 +44,7 @@ class DestinationWeaviateFake: + class DestinationWeaviateSchemasEmbeddingEmbedding5Mode(str, Enum): FROM_FIELD = 'from_field' @@ -57,6 +61,7 @@ class FromField: + class DestinationWeaviateSchemasEmbeddingEmbeddingMode(str, Enum): COHERE = 'cohere' @@ -70,6 +75,7 @@ class DestinationWeaviateCohere: + class DestinationWeaviateSchemasEmbeddingMode(str, Enum): OPENAI = 'openai' @@ -83,6 +89,7 @@ class DestinationWeaviateOpenAI: + class DestinationWeaviateSchemasMode(str, Enum): AZURE_OPENAI = 'azure_openai' @@ -101,6 +108,7 @@ class DestinationWeaviateAzureOpenAI: + class DestinationWeaviateMode(str, Enum): NO_EMBEDDING = 'no_embedding' @@ -122,6 +130,7 @@ class Header: + class DestinationWeaviateSchemasIndexingAuthAuthenticationMode(str, Enum): NO_AUTH = 'no_auth' @@ -134,6 +143,7 @@ class NoAuthentication: + class DestinationWeaviateSchemasIndexingAuthMode(str, Enum): USERNAME_PASSWORD = 'username_password' @@ -150,6 +160,7 @@ class DestinationWeaviateUsernamePassword: + class DestinationWeaviateSchemasIndexingMode(str, Enum): TOKEN = 'token' @@ -164,6 +175,7 @@ class DestinationWeaviateAPIToken: + class DefaultVectorizer(str, Enum): r"""The vectorizer to use if new classes need to be created""" NONE = 'none' @@ -208,6 +220,7 @@ class DestinationWeaviateFieldNameMappingConfigModel: + class DestinationWeaviateLanguage(str, Enum): r"""Split code in suitable places based on the programming language""" CPP = 'cpp' @@ -227,6 +240,7 @@ class DestinationWeaviateLanguage(str, Enum): HTML = 'html' SOL = 'sol' + class DestinationWeaviateSchemasProcessingTextSplitterTextSplitterMode(str, Enum): CODE = 'code' @@ -241,6 +255,7 @@ class DestinationWeaviateByProgrammingLanguage: + class DestinationWeaviateSchemasProcessingTextSplitterMode(str, Enum): MARKDOWN = 'markdown' @@ -255,6 +270,7 @@ class DestinationWeaviateByMarkdownHeader: + class DestinationWeaviateSchemasProcessingMode(str, Enum): SEPARATOR = 'separator' diff --git a/src/airbyte_api/models/destination_yellowbrick.py b/src/airbyte_api/models/destination_yellowbrick.py index 00d27f63..01e7e94f 100644 --- a/src/airbyte_api/models/destination_yellowbrick.py +++ b/src/airbyte_api/models/destination_yellowbrick.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class Yellowbrick(str, Enum): YELLOWBRICK = 'yellowbrick' + class DestinationYellowbrickSchemasSSLModeSSLModes6Mode(str, Enum): VERIFY_FULL = 'verify-full' @@ -30,6 +32,7 @@ class DestinationYellowbrickVerifyFull: + class DestinationYellowbrickSchemasSSLModeSSLModes5Mode(str, Enum): VERIFY_CA = 'verify-ca' @@ -46,6 +49,7 @@ class DestinationYellowbrickVerifyCa: + class DestinationYellowbrickSchemasSSLModeSSLModesMode(str, Enum): REQUIRE = 'require' @@ -58,6 +62,7 @@ class DestinationYellowbrickRequire: + class DestinationYellowbrickSchemasSslModeMode(str, Enum): PREFER = 'prefer' @@ -70,6 +75,7 @@ class DestinationYellowbrickPrefer: + class DestinationYellowbrickSchemasMode(str, Enum): ALLOW = 'allow' @@ -82,6 +88,7 @@ class DestinationYellowbrickAllow: + class DestinationYellowbrickMode(str, Enum): DISABLE = 'disable' @@ -94,6 +101,7 @@ class DestinationYellowbrickDisable: + class DestinationYellowbrickSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -115,6 +123,7 @@ class DestinationYellowbrickPasswordAuthentication: + class DestinationYellowbrickSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -136,6 +145,7 @@ class DestinationYellowbrickSSHKeyAuthentication: + class DestinationYellowbrickTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/destinationcreaterequest.py b/src/airbyte_api/models/destinationcreaterequest.py index 9c64f6c3..4808167a 100644 --- a/src/airbyte_api/models/destinationcreaterequest.py +++ b/src/airbyte_api/models/destinationcreaterequest.py @@ -32,6 +32,7 @@ from .destination_s3_glue import DestinationS3Glue from .destination_sftp_json import DestinationSftpJSON from .destination_snowflake import DestinationSnowflake +from .destination_snowflake_cortex import DestinationSnowflakeCortex from .destination_teradata import DestinationTeradata from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara @@ -45,7 +46,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, DestinationYellowbrick] = 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, DestinationSnowflakeCortex, 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 d2fde9fe..bc7b55a4 100644 --- a/src/airbyte_api/models/destinationpatchrequest.py +++ b/src/airbyte_api/models/destinationpatchrequest.py @@ -32,6 +32,7 @@ from .destination_s3_glue import DestinationS3Glue from .destination_sftp_json import DestinationSftpJSON from .destination_snowflake import DestinationSnowflake +from .destination_snowflake_cortex import DestinationSnowflakeCortex from .destination_teradata import DestinationTeradata from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara @@ -45,7 +46,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, DestinationYellowbrick]] = 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, DestinationSnowflakeCortex, 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 38d35637..db08ecbd 100644 --- a/src/airbyte_api/models/destinationputrequest.py +++ b/src/airbyte_api/models/destinationputrequest.py @@ -32,6 +32,7 @@ from .destination_s3_glue import DestinationS3Glue from .destination_sftp_json import DestinationSftpJSON from .destination_snowflake import DestinationSnowflake +from .destination_snowflake_cortex import DestinationSnowflakeCortex from .destination_teradata import DestinationTeradata from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara @@ -45,7 +46,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, DestinationYellowbrick] = 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, DestinationSnowflakeCortex, 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 ff5a7490..63fdc6d1 100644 --- a/src/airbyte_api/models/destinationresponse.py +++ b/src/airbyte_api/models/destinationresponse.py @@ -32,6 +32,7 @@ from .destination_s3_glue import DestinationS3Glue from .destination_sftp_json import DestinationSftpJSON from .destination_snowflake import DestinationSnowflake +from .destination_snowflake_cortex import DestinationSnowflakeCortex from .destination_teradata import DestinationTeradata from .destination_typesense import DestinationTypesense from .destination_vectara import DestinationVectara @@ -46,7 +47,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, DestinationYellowbrick] = 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, DestinationSnowflakeCortex, 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/geographyenum.py b/src/airbyte_api/models/geographyenum.py index 9b352d57..3ddef19e 100644 --- a/src/airbyte_api/models/geographyenum.py +++ b/src/airbyte_api/models/geographyenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class GeographyEnum(str, Enum): AUTO = 'auto' US = 'us' diff --git a/src/airbyte_api/models/geographyenumnodefault.py b/src/airbyte_api/models/geographyenumnodefault.py index d94c6a22..7ae69a8e 100644 --- a/src/airbyte_api/models/geographyenumnodefault.py +++ b/src/airbyte_api/models/geographyenumnodefault.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class GeographyEnumNoDefault(str, Enum): AUTO = 'auto' US = 'us' diff --git a/src/airbyte_api/models/jobstatusenum.py b/src/airbyte_api/models/jobstatusenum.py index 6145c2e5..6a294c4c 100644 --- a/src/airbyte_api/models/jobstatusenum.py +++ b/src/airbyte_api/models/jobstatusenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class JobStatusEnum(str, Enum): PENDING = 'pending' RUNNING = 'running' diff --git a/src/airbyte_api/models/jobtypeenum.py b/src/airbyte_api/models/jobtypeenum.py index 8df6f7e6..2bf10a65 100644 --- a/src/airbyte_api/models/jobtypeenum.py +++ b/src/airbyte_api/models/jobtypeenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class JobTypeEnum(str, Enum): r"""Enum that describes the different types of jobs that the platform runs.""" SYNC = 'sync' diff --git a/src/airbyte_api/models/namespacedefinitionenum.py b/src/airbyte_api/models/namespacedefinitionenum.py index d3fdcc21..5b2c8b8c 100644 --- a/src/airbyte_api/models/namespacedefinitionenum.py +++ b/src/airbyte_api/models/namespacedefinitionenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class NamespaceDefinitionEnum(str, Enum): r"""Define the location where the data will be stored in the destination""" SOURCE = 'source' diff --git a/src/airbyte_api/models/namespacedefinitionenumnodefault.py b/src/airbyte_api/models/namespacedefinitionenumnodefault.py index b41af511..04419543 100644 --- a/src/airbyte_api/models/namespacedefinitionenumnodefault.py +++ b/src/airbyte_api/models/namespacedefinitionenumnodefault.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class NamespaceDefinitionEnumNoDefault(str, Enum): r"""Define the location where the data will be stored in the destination""" SOURCE = 'source' diff --git a/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenum.py b/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenum.py index 8edf53c4..531aafa9 100644 --- a/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenum.py +++ b/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class NonBreakingSchemaUpdatesBehaviorEnum(str, Enum): r"""Set how Airbyte handles syncs when it detects a non-breaking schema change in the source""" IGNORE = 'ignore' diff --git a/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenumnodefault.py b/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenumnodefault.py index 8499a0dd..8ff8879a 100644 --- a/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenumnodefault.py +++ b/src/airbyte_api/models/nonbreakingschemaupdatesbehaviorenumnodefault.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class NonBreakingSchemaUpdatesBehaviorEnumNoDefault(str, Enum): r"""Set how Airbyte handles syncs when it detects a non-breaking schema change in the source""" IGNORE = 'ignore' diff --git a/src/airbyte_api/models/oauthactornames.py b/src/airbyte_api/models/oauthactornames.py index ed56a724..ac936c58 100644 --- a/src/airbyte_api/models/oauthactornames.py +++ b/src/airbyte_api/models/oauthactornames.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class OAuthActorNames(str, Enum): AIRTABLE = 'airtable' AMAZON_ADS = 'amazon-ads' diff --git a/src/airbyte_api/models/permissionresponseread.py b/src/airbyte_api/models/permissionresponseread.py new file mode 100644 index 00000000..71c82d11 --- /dev/null +++ b/src/airbyte_api/models/permissionresponseread.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from .permissionscope import PermissionScope +from .permissiontype import PermissionType +from airbyte_api import utils +from dataclasses_json import Undefined, dataclass_json + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class PermissionResponseRead: + r"""Reformat PermissionResponse with permission scope""" + permission_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('permissionId') }}) + permission_type: PermissionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('permissionType') }}) + r"""Describes what actions/endpoints the permission entitles to""" + scope: PermissionScope = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('scope') }}) + r"""Scope of a single permission, e.g. workspace, organization""" + scope_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('scopeId') }}) + user_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('userId') }}) + r"""Internal Airbyte user ID""" + + diff --git a/src/airbyte_api/models/permissionscope.py b/src/airbyte_api/models/permissionscope.py new file mode 100644 index 00000000..0636f5b8 --- /dev/null +++ b/src/airbyte_api/models/permissionscope.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +from enum import Enum + + +class PermissionScope(str, Enum): + r"""Scope of a single permission, e.g. workspace, organization""" + WORKSPACE = 'workspace' + ORGANIZATION = 'organization' + NONE = 'none' diff --git a/src/airbyte_api/models/permissionsresponse.py b/src/airbyte_api/models/permissionsresponse.py new file mode 100644 index 00000000..e1e905a5 --- /dev/null +++ b/src/airbyte_api/models/permissionsresponse.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from .permissionresponseread import PermissionResponseRead +from airbyte_api import utils +from dataclasses_json import Undefined, dataclass_json +from typing import List + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class PermissionsResponse: + r"""List/Array of multiple permissions""" + data: List[PermissionResponseRead] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) + + diff --git a/src/airbyte_api/models/permissiontype.py b/src/airbyte_api/models/permissiontype.py index 36e68db1..1c89c630 100644 --- a/src/airbyte_api/models/permissiontype.py +++ b/src/airbyte_api/models/permissiontype.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class PermissionType(str, Enum): r"""Describes what actions/endpoints the permission entitles to""" INSTANCE_ADMIN = 'instance_admin' diff --git a/src/airbyte_api/models/permissionupdaterequest.py b/src/airbyte_api/models/permissionupdaterequest.py new file mode 100644 index 00000000..a8138a8f --- /dev/null +++ b/src/airbyte_api/models/permissionupdaterequest.py @@ -0,0 +1,16 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from .permissiontype import PermissionType +from airbyte_api import utils +from dataclasses_json import Undefined, dataclass_json + + +@dataclass_json(undefined=Undefined.EXCLUDE) +@dataclasses.dataclass +class PermissionUpdateRequest: + permission_type: PermissionType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('permissionType') }}) + r"""Describes what actions/endpoints the permission entitles to""" + + diff --git a/src/airbyte_api/models/scheduletypeenum.py b/src/airbyte_api/models/scheduletypeenum.py index cd5af7b5..a7a074c3 100644 --- a/src/airbyte_api/models/scheduletypeenum.py +++ b/src/airbyte_api/models/scheduletypeenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class ScheduleTypeEnum(str, Enum): MANUAL = 'manual' CRON = 'cron' diff --git a/src/airbyte_api/models/scheduletypewithbasicenum.py b/src/airbyte_api/models/scheduletypewithbasicenum.py index 70fbbfa1..980c2f78 100644 --- a/src/airbyte_api/models/scheduletypewithbasicenum.py +++ b/src/airbyte_api/models/scheduletypewithbasicenum.py @@ -3,6 +3,7 @@ from __future__ import annotations from enum import Enum + class ScheduleTypeWithBasicEnum(str, Enum): MANUAL = 'manual' CRON = 'cron' diff --git a/src/airbyte_api/models/schemeclientcredentials.py b/src/airbyte_api/models/schemeclientcredentials.py new file mode 100644 index 00000000..94409de8 --- /dev/null +++ b/src/airbyte_api/models/schemeclientcredentials.py @@ -0,0 +1,14 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from __future__ import annotations +import dataclasses +from typing import Final + + +@dataclasses.dataclass +class SchemeClientCredentials: + client_id: str = dataclasses.field(metadata={'security': { 'field_name': 'clientID' }}) + client_secret: str = dataclasses.field(metadata={'security': { 'field_name': 'clientSecret' }}) + TOKEN_URL: Final[str] = dataclasses.field(default='/api/v1/applications/token') + + diff --git a/src/airbyte_api/models/security.py b/src/airbyte_api/models/security.py index 699d604f..e774eb28 100644 --- a/src/airbyte_api/models/security.py +++ b/src/airbyte_api/models/security.py @@ -3,6 +3,7 @@ from __future__ import annotations import dataclasses from .schemebasicauth import SchemeBasicAuth +from .schemeclientcredentials import SchemeClientCredentials from typing import Optional @@ -10,6 +11,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' }}) + client_credentials: Optional[SchemeClientCredentials] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'oauth2', 'sub_type': 'client_credentials' }}) diff --git a/src/airbyte_api/models/source_aha.py b/src/airbyte_api/models/source_aha.py index 43d3ee65..7a286e16 100644 --- a/src/airbyte_api/models/source_aha.py +++ b/src/airbyte_api/models/source_aha.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Aha(str, Enum): AHA = 'aha' diff --git a/src/airbyte_api/models/source_aircall.py b/src/airbyte_api/models/source_aircall.py index 66a27523..5120f6fa 100644 --- a/src/airbyte_api/models/source_aircall.py +++ b/src/airbyte_api/models/source_aircall.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Aircall(str, Enum): AIRCALL = 'aircall' diff --git a/src/airbyte_api/models/source_airtable.py b/src/airbyte_api/models/source_airtable.py index 60b06bb6..08849737 100644 --- a/src/airbyte_api/models/source_airtable.py +++ b/src/airbyte_api/models/source_airtable.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceAirtableAuthMethod(str, Enum): API_KEY = 'api_key' @@ -22,6 +23,7 @@ class PersonalAccessToken: + class SourceAirtableSchemasAuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class SourceAirtableOAuth20: + class SourceAirtableAirtable(str, Enum): AIRTABLE = 'airtable' diff --git a/src/airbyte_api/models/source_amazon_ads.py b/src/airbyte_api/models/source_amazon_ads.py index 680b0b34..0bdf06bc 100644 --- a/src/airbyte_api/models/source_amazon_ads.py +++ b/src/airbyte_api/models/source_amazon_ads.py @@ -8,15 +8,18 @@ from enum import Enum from typing import Final, List, Optional + class SourceAmazonAdsAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' + class Region(str, Enum): r"""Region to pull data from (EU/NA/FE). See docs for more details.""" NA = 'NA' EU = 'EU' FE = 'FE' + class ReportRecordTypes(str, Enum): AD_GROUPS = 'adGroups' ASINS = 'asins' @@ -27,9 +30,11 @@ class ReportRecordTypes(str, Enum): PRODUCT_ADS = 'productAds' TARGETS = 'targets' + class SourceAmazonAdsAmazonAds(str, Enum): AMAZON_ADS = 'amazon-ads' + class StateFilter(str, Enum): ENABLED = 'enabled' PAUSED = 'paused' diff --git a/src/airbyte_api/models/source_amazon_seller_partner.py b/src/airbyte_api/models/source_amazon_seller_partner.py index e4945abc..9ff1505b 100644 --- a/src/airbyte_api/models/source_amazon_seller_partner.py +++ b/src/airbyte_api/models/source_amazon_seller_partner.py @@ -9,19 +9,23 @@ from enum import Enum from typing import Final, List, Optional + class AWSSellerPartnerAccountType(str, Enum): r"""Type of the Account you're going to authorize the Airbyte application by""" SELLER = 'Seller' VENDOR = 'Vendor' + class SourceAmazonSellerPartnerAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' + class AWSEnvironment(str, Enum): r"""Select the AWS Environment.""" PRODUCTION = 'PRODUCTION' SANDBOX = 'SANDBOX' + class AWSRegion(str, Enum): r"""Select the AWS Region.""" AE = 'AE' @@ -56,6 +60,7 @@ class OptionsList: + class StreamName(str, Enum): GET_AFN_INVENTORY_DATA = 'GET_AFN_INVENTORY_DATA' GET_AFN_INVENTORY_DATA_BY_COUNTRY = 'GET_AFN_INVENTORY_DATA_BY_COUNTRY' @@ -104,6 +109,7 @@ class ReportOptions: + class SourceAmazonSellerPartnerAmazonSellerPartner(str, Enum): AMAZON_SELLER_PARTNER = 'amazon-seller-partner' diff --git a/src/airbyte_api/models/source_amazon_sqs.py b/src/airbyte_api/models/source_amazon_sqs.py index 1c449a6c..499339f3 100644 --- a/src/airbyte_api/models/source_amazon_sqs.py +++ b/src/airbyte_api/models/source_amazon_sqs.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class SourceAmazonSqsAWSRegion(str, Enum): r"""AWS Region of the SQS Queue""" AF_SOUTH_1 = 'af-south-1' @@ -43,6 +44,7 @@ class SourceAmazonSqsAWSRegion(str, Enum): US_WEST_1 = 'us-west-1' US_WEST_2 = 'us-west-2' + class AmazonSqs(str, Enum): AMAZON_SQS = 'amazon-sqs' diff --git a/src/airbyte_api/models/source_amplitude.py b/src/airbyte_api/models/source_amplitude.py index dd1bfe84..8d92942b 100644 --- a/src/airbyte_api/models/source_amplitude.py +++ b/src/airbyte_api/models/source_amplitude.py @@ -9,11 +9,13 @@ from enum import Enum from typing import Final, Optional + class DataRegion(str, Enum): r"""Amplitude data region server""" STANDARD_SERVER = 'Standard Server' EU_RESIDENCY_SERVER = 'EU Residency Server' + class Amplitude(str, Enum): AMPLITUDE = 'amplitude' diff --git a/src/airbyte_api/models/source_apify_dataset.py b/src/airbyte_api/models/source_apify_dataset.py index 9cfa11ae..885d2e42 100644 --- a/src/airbyte_api/models/source_apify_dataset.py +++ b/src/airbyte_api/models/source_apify_dataset.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class ApifyDataset(str, Enum): APIFY_DATASET = 'apify-dataset' diff --git a/src/airbyte_api/models/source_appfollow.py b/src/airbyte_api/models/source_appfollow.py index 2aff3d96..c958af2c 100644 --- a/src/airbyte_api/models/source_appfollow.py +++ b/src/airbyte_api/models/source_appfollow.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Appfollow(str, Enum): APPFOLLOW = 'appfollow' diff --git a/src/airbyte_api/models/source_asana.py b/src/airbyte_api/models/source_asana.py index 7a0df471..2b1a2f03 100644 --- a/src/airbyte_api/models/source_asana.py +++ b/src/airbyte_api/models/source_asana.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Final, List, Optional, Union + class SourceAsanaSchemasCredentialsTitle(str, Enum): r"""PAT Credentials""" PAT_CREDENTIALS = 'PAT Credentials' @@ -22,6 +23,7 @@ class AuthenticateWithPersonalAccessToken: + class SourceAsanaCredentialsTitle(str, Enum): r"""OAuth Credentials""" O_AUTH_CREDENTIALS = 'OAuth Credentials' @@ -38,6 +40,7 @@ class AuthenticateViaAsanaOauth: + class SourceAsanaAsana(str, Enum): ASANA = 'asana' diff --git a/src/airbyte_api/models/source_auth0.py b/src/airbyte_api/models/source_auth0.py index 29b1404d..2edbecfb 100644 --- a/src/airbyte_api/models/source_auth0.py +++ b/src/airbyte_api/models/source_auth0.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceAuth0SchemasCredentialsAuthenticationMethod(str, Enum): OAUTH2_ACCESS_TOKEN = 'oauth2_access_token' @@ -20,6 +21,7 @@ class OAuth2AccessToken: + class SourceAuth0SchemasAuthenticationMethod(str, Enum): OAUTH2_CONFIDENTIAL_APPLICATION = 'oauth2_confidential_application' @@ -37,6 +39,7 @@ class OAuth2ConfidentialApplication: + class Auth0(str, Enum): AUTH0 = 'auth0' diff --git a/src/airbyte_api/models/source_aws_cloudtrail.py b/src/airbyte_api/models/source_aws_cloudtrail.py index edd7caae..73d605f3 100644 --- a/src/airbyte_api/models/source_aws_cloudtrail.py +++ b/src/airbyte_api/models/source_aws_cloudtrail.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class AwsCloudtrail(str, Enum): AWS_CLOUDTRAIL = 'aws-cloudtrail' diff --git a/src/airbyte_api/models/source_azure_blob_storage.py b/src/airbyte_api/models/source_azure_blob_storage.py index 15a9b35a..54e07980 100644 --- a/src/airbyte_api/models/source_azure_blob_storage.py +++ b/src/airbyte_api/models/source_azure_blob_storage.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceAzureBlobStorageSchemasAuthType(str, Enum): STORAGE_ACCOUNT_KEY = 'storage_account_key' @@ -22,6 +23,7 @@ class AuthenticateViaStorageAccountKey: + class SourceAzureBlobStorageAuthType(str, Enum): OAUTH2 = 'oauth2' @@ -41,12 +43,15 @@ class AuthenticateViaOauth2: + class SourceAzureBlobStorageAzureBlobStorage(str, Enum): AZURE_BLOB_STORAGE = 'azure-blob-storage' + class SourceAzureBlobStorageSchemasStreamsFormatFiletype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceAzureBlobStorageMode(str, Enum): LOCAL = 'local' @@ -59,6 +64,7 @@ class Local: + class ParsingStrategy(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' @@ -81,6 +87,7 @@ class DocumentFileTypeFormatExperimental: + class SourceAzureBlobStorageSchemasStreamsFiletype(str, Enum): PARQUET = 'parquet' @@ -94,6 +101,7 @@ class ParquetFormat: + class SourceAzureBlobStorageSchemasFiletype(str, Enum): JSONL = 'jsonl' @@ -105,9 +113,11 @@ class JsonlFormat: + class SourceAzureBlobStorageFiletype(str, Enum): CSV = 'csv' + class SourceAzureBlobStorageSchemasHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -121,6 +131,7 @@ class UserProvided: + class SourceAzureBlobStorageHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -132,6 +143,7 @@ class Autogenerated: + class HeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -143,6 +155,7 @@ class FromCSV: + class InferenceType(str, Enum): r"""How to infer the types of the columns. If none, inference default to strings.""" NONE = 'None' @@ -184,6 +197,7 @@ class CSVFormat: + class SourceAzureBlobStorageSchemasStreamsFormatFormatFiletype(str, Enum): AVRO = 'avro' @@ -197,6 +211,7 @@ class AvroFormat: + class ValidationPolicy(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' diff --git a/src/airbyte_api/models/source_azure_table.py b/src/airbyte_api/models/source_azure_table.py index 58f9dff8..77ee4b8b 100644 --- a/src/airbyte_api/models/source_azure_table.py +++ b/src/airbyte_api/models/source_azure_table.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class AzureTable(str, Enum): AZURE_TABLE = 'azure-table' diff --git a/src/airbyte_api/models/source_bamboo_hr.py b/src/airbyte_api/models/source_bamboo_hr.py index 7e1470ac..86e4be92 100644 --- a/src/airbyte_api/models/source_bamboo_hr.py +++ b/src/airbyte_api/models/source_bamboo_hr.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class BambooHr(str, Enum): BAMBOO_HR = 'bamboo-hr' diff --git a/src/airbyte_api/models/source_bigquery.py b/src/airbyte_api/models/source_bigquery.py index 86d0e2ef..495204c4 100644 --- a/src/airbyte_api/models/source_bigquery.py +++ b/src/airbyte_api/models/source_bigquery.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class SourceBigqueryBigquery(str, Enum): BIGQUERY = 'bigquery' diff --git a/src/airbyte_api/models/source_bing_ads.py b/src/airbyte_api/models/source_bing_ads.py index 613683da..b2ffddb2 100644 --- a/src/airbyte_api/models/source_bing_ads.py +++ b/src/airbyte_api/models/source_bing_ads.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, List, Optional + class Operator(str, Enum): r"""An Operator that will be used to filter accounts. The Contains predicate has features for matching words, matching inflectional forms of words, searching using wildcard characters, and searching using proximity. The Equals is used to return all rows where account name is equal(=) to the string that you provided""" CONTAINS = 'Contains' @@ -25,9 +26,11 @@ class AccountNames: + class AuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' + class ReportingDataObject(str, Enum): r"""The name of the the object derives from the ReportRequest object. You can find it in Bing Ads Api docs - Reporting API - Reporting Data Objects.""" ACCOUNT_PERFORMANCE_REPORT_REQUEST = 'AccountPerformanceReportRequest' @@ -80,6 +83,7 @@ class CustomReportConfig: + class SourceBingAdsBingAds(str, Enum): BING_ADS = 'bing-ads' diff --git a/src/airbyte_api/models/source_braintree.py b/src/airbyte_api/models/source_braintree.py index dfe32175..bcad45ec 100644 --- a/src/airbyte_api/models/source_braintree.py +++ b/src/airbyte_api/models/source_braintree.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class SourceBraintreeEnvironment(str, Enum): r"""Environment specifies where the data will come from.""" DEVELOPMENT = 'Development' @@ -16,6 +17,7 @@ class SourceBraintreeEnvironment(str, Enum): QA = 'Qa' PRODUCTION = 'Production' + class Braintree(str, Enum): BRAINTREE = 'braintree' diff --git a/src/airbyte_api/models/source_braze.py b/src/airbyte_api/models/source_braze.py index af9ca704..36ed09ae 100644 --- a/src/airbyte_api/models/source_braze.py +++ b/src/airbyte_api/models/source_braze.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final + class Braze(str, Enum): BRAZE = 'braze' diff --git a/src/airbyte_api/models/source_cart.py b/src/airbyte_api/models/source_cart.py index 0b265572..37f0f83c 100644 --- a/src/airbyte_api/models/source_cart.py +++ b/src/airbyte_api/models/source_cart.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceCartSchemasAuthType(str, Enum): SINGLE_STORE_ACCESS_TOKEN = 'SINGLE_STORE_ACCESS_TOKEN' @@ -22,6 +23,7 @@ class SingleStoreAccessToken: + class SourceCartAuthType(str, Enum): CENTRAL_API_ROUTER = 'CENTRAL_API_ROUTER' @@ -39,6 +41,7 @@ class CentralAPIRouter: + class Cart(str, Enum): CART = 'cart' diff --git a/src/airbyte_api/models/source_chargebee.py b/src/airbyte_api/models/source_chargebee.py index 0fae9153..4bb417f1 100644 --- a/src/airbyte_api/models/source_chargebee.py +++ b/src/airbyte_api/models/source_chargebee.py @@ -9,11 +9,13 @@ from enum import Enum from typing import Final, Optional + class ProductCatalog(str, Enum): r"""Product Catalog version of your Chargebee site. Instructions on how to find your version you may find here under `API Version` section. If left blank, the product catalog version will be set to 2.0.""" ONE_0 = '1.0' TWO_0 = '2.0' + class Chargebee(str, Enum): CHARGEBEE = 'chargebee' diff --git a/src/airbyte_api/models/source_chartmogul.py b/src/airbyte_api/models/source_chartmogul.py index a887ae31..7a6882e2 100644 --- a/src/airbyte_api/models/source_chartmogul.py +++ b/src/airbyte_api/models/source_chartmogul.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Chartmogul(str, Enum): CHARTMOGUL = 'chartmogul' diff --git a/src/airbyte_api/models/source_clickhouse.py b/src/airbyte_api/models/source_clickhouse.py index 8f9e1315..d9742001 100644 --- a/src/airbyte_api/models/source_clickhouse.py +++ b/src/airbyte_api/models/source_clickhouse.py @@ -7,9 +7,11 @@ from enum import Enum from typing import Final, Optional, Union + class SourceClickhouseClickhouse(str, Enum): CLICKHOUSE = 'clickhouse' + class SourceClickhouseSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -31,6 +33,7 @@ class SourceClickhousePasswordAuthentication: + class SourceClickhouseSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -52,6 +55,7 @@ class SourceClickhouseSSHKeyAuthentication: + class SourceClickhouseTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/source_clickup_api.py b/src/airbyte_api/models/source_clickup_api.py index e3e79963..f427f95b 100644 --- a/src/airbyte_api/models/source_clickup_api.py +++ b/src/airbyte_api/models/source_clickup_api.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class ClickupAPI(str, Enum): CLICKUP_API = 'clickup-api' diff --git a/src/airbyte_api/models/source_clockify.py b/src/airbyte_api/models/source_clockify.py index aad3e5ff..a70768f3 100644 --- a/src/airbyte_api/models/source_clockify.py +++ b/src/airbyte_api/models/source_clockify.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Clockify(str, Enum): CLOCKIFY = 'clockify' diff --git a/src/airbyte_api/models/source_close_com.py b/src/airbyte_api/models/source_close_com.py index 5761df01..c2c1d958 100644 --- a/src/airbyte_api/models/source_close_com.py +++ b/src/airbyte_api/models/source_close_com.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class CloseCom(str, Enum): CLOSE_COM = 'close-com' diff --git a/src/airbyte_api/models/source_coda.py b/src/airbyte_api/models/source_coda.py index e9399927..bf9cef68 100644 --- a/src/airbyte_api/models/source_coda.py +++ b/src/airbyte_api/models/source_coda.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Coda(str, Enum): CODA = 'coda' diff --git a/src/airbyte_api/models/source_coin_api.py b/src/airbyte_api/models/source_coin_api.py index 8f74c57c..42b173ba 100644 --- a/src/airbyte_api/models/source_coin_api.py +++ b/src/airbyte_api/models/source_coin_api.py @@ -7,11 +7,13 @@ from enum import Enum from typing import Final, Optional + class Environment(str, Enum): r"""The environment to use. Either sandbox or production.""" SANDBOX = 'sandbox' PRODUCTION = 'production' + class CoinAPI(str, Enum): COIN_API = 'coin-api' diff --git a/src/airbyte_api/models/source_coinmarketcap.py b/src/airbyte_api/models/source_coinmarketcap.py index aa04805a..25e5080f 100644 --- a/src/airbyte_api/models/source_coinmarketcap.py +++ b/src/airbyte_api/models/source_coinmarketcap.py @@ -7,11 +7,13 @@ from enum import Enum from typing import Final, List, Optional + class DataType(str, Enum): r"""/latest: Latest market ticker quotes and averages for cryptocurrencies and exchanges. /historical: Intervals of historic market data like OHLCV data or data for use in charting libraries. See here.""" LATEST = 'latest' HISTORICAL = 'historical' + class Coinmarketcap(str, Enum): COINMARKETCAP = 'coinmarketcap' diff --git a/src/airbyte_api/models/source_configcat.py b/src/airbyte_api/models/source_configcat.py index 7d8b890d..3d274625 100644 --- a/src/airbyte_api/models/source_configcat.py +++ b/src/airbyte_api/models/source_configcat.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Configcat(str, Enum): CONFIGCAT = 'configcat' diff --git a/src/airbyte_api/models/source_confluence.py b/src/airbyte_api/models/source_confluence.py index e43d0041..e2ebb794 100644 --- a/src/airbyte_api/models/source_confluence.py +++ b/src/airbyte_api/models/source_confluence.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Confluence(str, Enum): CONFLUENCE = 'confluence' diff --git a/src/airbyte_api/models/source_convex.py b/src/airbyte_api/models/source_convex.py index 71fef2d5..0483bf24 100644 --- a/src/airbyte_api/models/source_convex.py +++ b/src/airbyte_api/models/source_convex.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class SourceConvexConvex(str, Enum): CONVEX = 'convex' diff --git a/src/airbyte_api/models/source_datascope.py b/src/airbyte_api/models/source_datascope.py index 73ecac03..0656258d 100644 --- a/src/airbyte_api/models/source_datascope.py +++ b/src/airbyte_api/models/source_datascope.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Datascope(str, Enum): DATASCOPE = 'datascope' diff --git a/src/airbyte_api/models/source_delighted.py b/src/airbyte_api/models/source_delighted.py index 42bc6c1c..c1d82dae 100644 --- a/src/airbyte_api/models/source_delighted.py +++ b/src/airbyte_api/models/source_delighted.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Delighted(str, Enum): DELIGHTED = 'delighted' diff --git a/src/airbyte_api/models/source_dixa.py b/src/airbyte_api/models/source_dixa.py index 64788ea8..db129c65 100644 --- a/src/airbyte_api/models/source_dixa.py +++ b/src/airbyte_api/models/source_dixa.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Dixa(str, Enum): DIXA = 'dixa' diff --git a/src/airbyte_api/models/source_dockerhub.py b/src/airbyte_api/models/source_dockerhub.py index 16f64a24..2c9d2eff 100644 --- a/src/airbyte_api/models/source_dockerhub.py +++ b/src/airbyte_api/models/source_dockerhub.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Dockerhub(str, Enum): DOCKERHUB = 'dockerhub' diff --git a/src/airbyte_api/models/source_dremio.py b/src/airbyte_api/models/source_dremio.py index 5919e3b1..5e477a54 100644 --- a/src/airbyte_api/models/source_dremio.py +++ b/src/airbyte_api/models/source_dremio.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Dremio(str, Enum): DREMIO = 'dremio' diff --git a/src/airbyte_api/models/source_dynamodb.py b/src/airbyte_api/models/source_dynamodb.py index 09ed0237..29a10462 100644 --- a/src/airbyte_api/models/source_dynamodb.py +++ b/src/airbyte_api/models/source_dynamodb.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceDynamodbSchemasAuthType(str, Enum): ROLE = 'Role' @@ -20,6 +21,7 @@ class RoleBasedAuthentication: + class SourceDynamodbAuthType(str, Enum): USER = 'User' @@ -37,6 +39,7 @@ class AuthenticateViaAccessKeys: + class SourceDynamodbDynamodbRegion(str, Enum): r"""The region of the Dynamodb database""" UNKNOWN = '' @@ -74,6 +77,7 @@ class SourceDynamodbDynamodbRegion(str, Enum): US_WEST_1 = 'us-west-1' US_WEST_2 = 'us-west-2' + class SourceDynamodbDynamodb(str, Enum): DYNAMODB = 'dynamodb' diff --git a/src/airbyte_api/models/source_e2e_test_cloud.py b/src/airbyte_api/models/source_e2e_test_cloud.py index 2f15ddd6..62035823 100644 --- a/src/airbyte_api/models/source_e2e_test_cloud.py +++ b/src/airbyte_api/models/source_e2e_test_cloud.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceE2eTestCloudType(str, Enum): MULTI_STREAM = 'MULTI_STREAM' @@ -21,6 +22,7 @@ class MultiSchema: + class SourceE2eTestCloudSchemasType(str, Enum): SINGLE_STREAM = 'SINGLE_STREAM' @@ -39,9 +41,11 @@ class SingleSchema: + class E2eTestCloud(str, Enum): E2E_TEST_CLOUD = 'e2e-test-cloud' + class Type(str, Enum): CONTINUOUS_FEED = 'CONTINUOUS_FEED' diff --git a/src/airbyte_api/models/source_emailoctopus.py b/src/airbyte_api/models/source_emailoctopus.py index 7a931b1f..954447d6 100644 --- a/src/airbyte_api/models/source_emailoctopus.py +++ b/src/airbyte_api/models/source_emailoctopus.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Emailoctopus(str, Enum): EMAILOCTOPUS = 'emailoctopus' diff --git a/src/airbyte_api/models/source_exchange_rates.py b/src/airbyte_api/models/source_exchange_rates.py index 00bfeaaa..cfa85c4e 100644 --- a/src/airbyte_api/models/source_exchange_rates.py +++ b/src/airbyte_api/models/source_exchange_rates.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional + class ExchangeRates(str, Enum): EXCHANGE_RATES = 'exchange-rates' diff --git a/src/airbyte_api/models/source_facebook_marketing.py b/src/airbyte_api/models/source_facebook_marketing.py index b388e572..dce2290d 100644 --- a/src/airbyte_api/models/source_facebook_marketing.py +++ b/src/airbyte_api/models/source_facebook_marketing.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional + class ValidAdStatuses(str, Enum): r"""An enumeration.""" ACTIVE = 'ACTIVE' @@ -24,6 +25,7 @@ class ValidAdStatuses(str, Enum): PREAPPROVED = 'PREAPPROVED' WITH_ISSUES = 'WITH_ISSUES' + class ValidAdSetStatuses(str, Enum): r"""An enumeration.""" ACTIVE = 'ACTIVE' @@ -34,6 +36,7 @@ class ValidAdSetStatuses(str, Enum): PAUSED = 'PAUSED' WITH_ISSUES = 'WITH_ISSUES' + class ValidCampaignStatuses(str, Enum): r"""An enumeration.""" ACTIVE = 'ACTIVE' @@ -43,6 +46,7 @@ class ValidCampaignStatuses(str, Enum): PAUSED = 'PAUSED' WITH_ISSUES = 'WITH_ISSUES' + class ValidActionBreakdowns(str, Enum): r"""An enumeration.""" ACTION_CANVAS_COMPONENT_NAME = 'action_canvas_component_name' @@ -57,12 +61,14 @@ class ValidActionBreakdowns(str, Enum): ACTION_VIDEO_TYPE = 'action_video_type' STANDARD_EVENT_CONTENT_TYPE = 'standard_event_content_type' + class SourceFacebookMarketingActionReportTime(str, Enum): r"""Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd.""" CONVERSION = 'conversion' IMPRESSION = 'impression' MIXED = 'mixed' + class ValidBreakdowns(str, Enum): r"""An enumeration.""" AD_FORMAT_ASSET = 'ad_format_asset' @@ -109,6 +115,7 @@ class ValidBreakdowns(str, Enum): TITLE_ASSET = 'title_asset' VIDEO_ASSET = 'video_asset' + class SourceFacebookMarketingValidEnums(str, Enum): r"""An enumeration.""" ACCOUNT_CURRENCY = 'account_currency' @@ -246,6 +253,7 @@ class SourceFacebookMarketingValidEnums(str, Enum): WEBSITE_PURCHASE_ROAS = 'website_purchase_roas' WISH_BID = 'wish_bid' + class Level(str, Enum): r"""Chosen level for API""" AD = 'ad' @@ -283,6 +291,7 @@ class InsightConfig: + class SourceFacebookMarketingFacebookMarketing(str, Enum): FACEBOOK_MARKETING = 'facebook-marketing' diff --git a/src/airbyte_api/models/source_faker.py b/src/airbyte_api/models/source_faker.py index 05ed8607..97985965 100644 --- a/src/airbyte_api/models/source_faker.py +++ b/src/airbyte_api/models/source_faker.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Faker(str, Enum): FAKER = 'faker' diff --git a/src/airbyte_api/models/source_fauna.py b/src/airbyte_api/models/source_fauna.py index a694e5dd..e36be18f 100644 --- a/src/airbyte_api/models/source_fauna.py +++ b/src/airbyte_api/models/source_fauna.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceFaunaSchemasDeletionMode(str, Enum): DELETED_FIELD = 'deleted_field' @@ -20,6 +21,7 @@ class Enabled: + class SourceFaunaDeletionMode(str, Enum): IGNORE = 'ignore' @@ -50,6 +52,7 @@ class Collection: + class Fauna(str, Enum): FAUNA = 'fauna' diff --git a/src/airbyte_api/models/source_file.py b/src/airbyte_api/models/source_file.py index daf3532d..bc10511a 100644 --- a/src/airbyte_api/models/source_file.py +++ b/src/airbyte_api/models/source_file.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class FileFormat(str, Enum): r"""The Format of the file which should be replicated (Warning: some formats may be experimental, please refer to the docs).""" CSV = 'csv' @@ -19,6 +20,7 @@ class FileFormat(str, Enum): PARQUET = 'parquet' YAML = 'yaml' + class SourceFileSchemasProviderStorageProvider7Storage(str, Enum): SFTP = 'SFTP' @@ -34,6 +36,7 @@ class SFTPSecureFileTransferProtocol: + class SourceFileSchemasProviderStorageProvider6Storage(str, Enum): SCP = 'SCP' @@ -49,6 +52,7 @@ class SCPSecureCopyProtocol: + class SourceFileSchemasProviderStorageProviderStorage(str, Enum): SSH = 'SSH' @@ -64,6 +68,7 @@ class SSHSecureShell: + class SourceFileSchemasProviderStorage(str, Enum): AZ_BLOB = 'AzBlob' @@ -81,6 +86,7 @@ class AzBlobAzureBlobStorage: + class SourceFileSchemasStorage(str, Enum): S3 = 'S3' @@ -96,6 +102,7 @@ class SourceFileS3AmazonWebServices: + class SourceFileStorage(str, Enum): GCS = 'GCS' @@ -109,6 +116,7 @@ class GCSGoogleCloudStorage: + class Storage(str, Enum): HTTPS = 'HTTPS' @@ -122,6 +130,7 @@ class HTTPSPublicWeb: + class File(str, Enum): FILE = 'file' diff --git a/src/airbyte_api/models/source_firebolt.py b/src/airbyte_api/models/source_firebolt.py index 449ae9f1..a4bfef70 100644 --- a/src/airbyte_api/models/source_firebolt.py +++ b/src/airbyte_api/models/source_firebolt.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Firebolt(str, Enum): FIREBOLT = 'firebolt' diff --git a/src/airbyte_api/models/source_freshcaller.py b/src/airbyte_api/models/source_freshcaller.py index 788cc47d..828a8bf0 100644 --- a/src/airbyte_api/models/source_freshcaller.py +++ b/src/airbyte_api/models/source_freshcaller.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Freshcaller(str, Enum): FRESHCALLER = 'freshcaller' diff --git a/src/airbyte_api/models/source_freshdesk.py b/src/airbyte_api/models/source_freshdesk.py index 91474baa..30b26900 100644 --- a/src/airbyte_api/models/source_freshdesk.py +++ b/src/airbyte_api/models/source_freshdesk.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Freshdesk(str, Enum): FRESHDESK = 'freshdesk' diff --git a/src/airbyte_api/models/source_freshsales.py b/src/airbyte_api/models/source_freshsales.py index 9f72ecfe..69be2839 100644 --- a/src/airbyte_api/models/source_freshsales.py +++ b/src/airbyte_api/models/source_freshsales.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Freshsales(str, Enum): FRESHSALES = 'freshsales' diff --git a/src/airbyte_api/models/source_gainsight_px.py b/src/airbyte_api/models/source_gainsight_px.py index 7cacd3f9..81eabff5 100644 --- a/src/airbyte_api/models/source_gainsight_px.py +++ b/src/airbyte_api/models/source_gainsight_px.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class GainsightPx(str, Enum): GAINSIGHT_PX = 'gainsight-px' diff --git a/src/airbyte_api/models/source_gcs.py b/src/airbyte_api/models/source_gcs.py index 8c591970..3712d1a8 100644 --- a/src/airbyte_api/models/source_gcs.py +++ b/src/airbyte_api/models/source_gcs.py @@ -9,12 +9,15 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGcsGcs(str, Enum): GCS = 'gcs' + class SourceGcsFiletype(str, Enum): CSV = 'csv' + class SourceGcsSchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -28,6 +31,7 @@ class SourceGcsUserProvided: + class SourceGcsSchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -39,6 +43,7 @@ class SourceGcsAutogenerated: + class SourceGcsHeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -50,6 +55,7 @@ class SourceGcsFromCSV: + class SourceGcsInferenceType(str, Enum): r"""How to infer the types of the columns. If none, inference default to strings.""" NONE = 'None' @@ -91,6 +97,7 @@ class SourceGcsCSVFormat: + class SourceGcsValidationPolicy(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' diff --git a/src/airbyte_api/models/source_getlago.py b/src/airbyte_api/models/source_getlago.py index 5b56a04c..dcc7d830 100644 --- a/src/airbyte_api/models/source_getlago.py +++ b/src/airbyte_api/models/source_getlago.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Getlago(str, Enum): GETLAGO = 'getlago' diff --git a/src/airbyte_api/models/source_github.py b/src/airbyte_api/models/source_github.py index 22cf9081..d9e50d6d 100644 --- a/src/airbyte_api/models/source_github.py +++ b/src/airbyte_api/models/source_github.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGithubOptionTitle(str, Enum): PAT_CREDENTIALS = 'PAT Credentials' @@ -22,6 +23,7 @@ class SourceGithubPersonalAccessToken: + class OptionTitle(str, Enum): O_AUTH_CREDENTIALS = 'OAuth Credentials' @@ -39,6 +41,7 @@ class OAuth: + class SourceGithubGithub(str, Enum): GITHUB = 'github' diff --git a/src/airbyte_api/models/source_gitlab.py b/src/airbyte_api/models/source_gitlab.py index be133775..6b1691c5 100644 --- a/src/airbyte_api/models/source_gitlab.py +++ b/src/airbyte_api/models/source_gitlab.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGitlabSchemasAuthType(str, Enum): ACCESS_TOKEN = 'access_token' @@ -22,6 +23,7 @@ class PrivateToken: + class SourceGitlabAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class SourceGitlabOAuth20: + class SourceGitlabGitlab(str, Enum): GITLAB = 'gitlab' diff --git a/src/airbyte_api/models/source_glassfrog.py b/src/airbyte_api/models/source_glassfrog.py index 8fa36937..e9fb4d87 100644 --- a/src/airbyte_api/models/source_glassfrog.py +++ b/src/airbyte_api/models/source_glassfrog.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Glassfrog(str, Enum): GLASSFROG = 'glassfrog' diff --git a/src/airbyte_api/models/source_gnews.py b/src/airbyte_api/models/source_gnews.py index 95881cbd..1058e489 100644 --- a/src/airbyte_api/models/source_gnews.py +++ b/src/airbyte_api/models/source_gnews.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Country(str, Enum): r"""This parameter allows you to specify the country where the news articles returned by the API were published, the contents of the articles are not necessarily related to the specified country. You have to set as value the 2 letters code of the country you want to filter.""" AU = 'au' @@ -40,11 +41,13 @@ class Country(str, Enum): GB = 'gb' US = 'us' + class In(str, Enum): TITLE = 'title' DESCRIPTION = 'description' CONTENT = 'content' + class Language(str, Enum): AR = 'ar' ZH = 'zh' @@ -69,11 +72,13 @@ class Language(str, Enum): TE = 'te' UK = 'uk' + class Nullable(str, Enum): TITLE = 'title' DESCRIPTION = 'description' CONTENT = 'content' + class SortBy(str, Enum): r"""This parameter allows you to choose with which type of sorting the articles should be returned. Two values are possible: - publishedAt = sort by publication date, the articles with the most recent publication date are returned first @@ -82,9 +87,11 @@ class SortBy(str, Enum): PUBLISHED_AT = 'publishedAt' RELEVANCE = 'relevance' + class Gnews(str, Enum): GNEWS = 'gnews' + class TopHeadlinesTopic(str, Enum): r"""This parameter allows you to change the category for the request.""" BREAKING_NEWS = 'breaking-news' diff --git a/src/airbyte_api/models/source_google_ads.py b/src/airbyte_api/models/source_google_ads.py index d3fa4b9c..ba887b32 100644 --- a/src/airbyte_api/models/source_google_ads.py +++ b/src/airbyte_api/models/source_google_ads.py @@ -36,6 +36,7 @@ class CustomQueriesArray: + class CustomerStatus(str, Enum): r"""An enumeration.""" UNKNOWN = 'UNKNOWN' @@ -44,6 +45,7 @@ class CustomerStatus(str, Enum): SUSPENDED = 'SUSPENDED' CLOSED = 'CLOSED' + class SourceGoogleAdsGoogleAds(str, Enum): GOOGLE_ADS = 'google-ads' diff --git a/src/airbyte_api/models/source_google_analytics_data_api.py b/src/airbyte_api/models/source_google_analytics_data_api.py index 85655fea..5e986ac3 100644 --- a/src/airbyte_api/models/source_google_analytics_data_api.py +++ b/src/airbyte_api/models/source_google_analytics_data_api.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGoogleAnalyticsDataAPISchemasAuthType(str, Enum): SERVICE = 'Service' @@ -21,6 +22,7 @@ class ServiceAccountKeyAuthentication: + class SourceGoogleAnalyticsDataAPIAuthType(str, Enum): CLIENT = 'Client' @@ -59,6 +61,7 @@ class DateRange: + class Dimension(str, Enum): r"""Dimension used by the cohort. Required and only supports `firstSessionDate`""" FIRST_SESSION_DATE = 'firstSessionDate' @@ -75,6 +78,7 @@ class Cohorts: + class SourceGoogleAnalyticsDataAPIGranularity(str, Enum): r"""The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report.""" GRANULARITY_UNSPECIFIED = 'GRANULARITY_UNSPECIFIED' @@ -95,6 +99,7 @@ class CohortsRange: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayEnabled(str, Enum): TRUE = 'true' @@ -110,6 +115,7 @@ class SourceGoogleAnalyticsDataAPISchemasEnabled: + class SourceGoogleAnalyticsDataAPIEnabled(str, Enum): FALSE = 'false' @@ -121,9 +127,11 @@ class SourceGoogleAnalyticsDataAPIDisabled: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -136,6 +144,7 @@ class SourceGoogleAnalyticsDataAPIDoubleValue: + class SourceGoogleAnalyticsDataAPISchemasValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -148,6 +157,7 @@ class SourceGoogleAnalyticsDataAPIInt64Value: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -160,6 +170,7 @@ class SourceGoogleAnalyticsDataAPISchemasDoubleValue: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -182,9 +193,11 @@ class BetweenFilter: + class SourceGoogleAnalyticsDataAPISchemasFilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -193,6 +206,7 @@ class SourceGoogleAnalyticsDataAPISchemasValidEnums(str, Enum): GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPIValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -205,6 +219,7 @@ class DoubleValue: + class ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -227,6 +242,7 @@ class NumericFilter: + class SourceGoogleAnalyticsDataAPIFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -240,9 +256,11 @@ class InListFilter: + class FilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPIValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -263,6 +281,7 @@ class StringFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayFilterType(str, Enum): FILTER = 'filter' @@ -277,9 +296,11 @@ class Filter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -292,6 +313,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -304,6 +326,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ToValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -316,6 +339,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -338,9 +362,11 @@ class SourceGoogleAnalyticsDataAPISchemasBetweenFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterFilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -349,6 +375,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -361,6 +388,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -383,6 +411,7 @@ class SourceGoogleAnalyticsDataAPISchemasNumericFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3ExpressionFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -396,9 +425,11 @@ class SourceGoogleAnalyticsDataAPISchemasInListFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter3FilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -428,6 +459,7 @@ class SourceGoogleAnalyticsDataAPISchemasExpression: + class SourceGoogleAnalyticsDataAPISchemasFilterType(str, Enum): NOT_EXPRESSION = 'notExpression' @@ -441,9 +473,11 @@ class NotExpression: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -456,6 +490,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDouble + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -468,6 +503,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInt64V + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ToValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -480,6 +516,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsFilterFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -502,9 +539,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterBetwee + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2FilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -513,6 +552,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterValidE GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ExpressionsValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -525,6 +565,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -547,6 +588,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterNumeri + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilterFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -560,9 +602,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterInList + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterFilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter2ValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -592,6 +636,7 @@ class SourceGoogleAnalyticsDataAPIExpression: + class SourceGoogleAnalyticsDataAPIFilterType(str, Enum): OR_GROUP = 'orGroup' @@ -605,9 +650,11 @@ class OrGroup: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -620,6 +667,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -632,6 +680,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ToValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -644,6 +693,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -666,9 +716,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayBetweenFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterFilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -677,6 +729,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -689,6 +742,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimens + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -711,6 +765,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayNumericFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ExpressionsFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -724,9 +779,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayInListFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1FilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDimensionFilterDimensionsFilter1ValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -756,6 +813,7 @@ class Expression: + class FilterType(str, Enum): AND_GROUP = 'andGroup' @@ -769,9 +827,11 @@ class AndGroup: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -784,6 +844,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterDoubleVal + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -796,6 +857,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInt64Valu + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilter4ValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -808,6 +870,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -830,9 +893,11 @@ class SourceGoogleAnalyticsDataAPIBetweenFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -841,6 +906,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValidEnum GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -853,6 +919,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayDoubleValue: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -875,6 +942,7 @@ class SourceGoogleAnalyticsDataAPINumericFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -888,9 +956,11 @@ class SourceGoogleAnalyticsDataAPIInListFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -911,6 +981,7 @@ class SourceGoogleAnalyticsDataAPIStringFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter4FilterType(str, Enum): FILTER = 'filter' @@ -925,9 +996,11 @@ class SourceGoogleAnalyticsDataAPIFilter: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -940,6 +1013,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -952,6 +1026,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ToValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -964,6 +1039,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -986,9 +1062,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterFilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -997,6 +1075,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1009,6 +1088,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1031,6 +1111,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ExpressionFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -1044,9 +1125,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3ValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -1076,6 +1159,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter3FilterType(str, Enum): NOT_EXPRESSION = 'notExpression' @@ -1089,9 +1173,11 @@ class SourceGoogleAnalyticsDataAPINotExpression: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1104,6 +1190,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1116,6 +1203,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ToValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1128,6 +1216,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilter4ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1150,9 +1239,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterFilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -1161,6 +1252,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1173,6 +1265,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1195,6 +1288,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ExpressionsFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -1208,9 +1302,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2FilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter2ValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -1240,6 +1336,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterExpressio + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterFilterType(str, Enum): OR_GROUP = 'orGroup' @@ -1253,9 +1350,11 @@ class SourceGoogleAnalyticsDataAPIOrGroup: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterName(str, Enum): BETWEEN_FILTER = 'betweenFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1268,6 +1367,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1280,6 +1380,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1292,6 +1393,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1314,9 +1416,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterBetweenFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1FilterName(str, Enum): NUMERIC_FILTER = 'numericFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilterValidEnums(str, Enum): OPERATION_UNSPECIFIED = 'OPERATION_UNSPECIFIED' EQUAL = 'EQUAL' @@ -1325,6 +1429,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi GREATER_THAN = 'GREATER_THAN' GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueValueType(str, Enum): DOUBLE_VALUE = 'doubleValue' @@ -1337,6 +1442,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilter3ValueType(str, Enum): INT64_VALUE = 'int64Value' @@ -1359,6 +1465,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterNumericFi + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterFilterName(str, Enum): IN_LIST_FILTER = 'inListFilter' @@ -1372,9 +1479,11 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterInListFil + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ExpressionsFilterFilterName(str, Enum): STRING_FILTER = 'stringFilter' + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterMetricsFilter1ValidEnums(str, Enum): MATCH_TYPE_UNSPECIFIED = 'MATCH_TYPE_UNSPECIFIED' EXACT = 'EXACT' @@ -1404,6 +1513,7 @@ class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayExpression: + class SourceGoogleAnalyticsDataAPISchemasCustomReportsArrayMetricFilterFilterType(str, Enum): AND_GROUP = 'andGroup' @@ -1436,6 +1546,7 @@ class SourceGoogleAnalyticsDataAPICustomReportConfig: + class SourceGoogleAnalyticsDataAPIGoogleAnalyticsDataAPI(str, Enum): GOOGLE_ANALYTICS_DATA_API = 'google-analytics-data-api' diff --git a/src/airbyte_api/models/source_google_analytics_v4_service_account_only.py b/src/airbyte_api/models/source_google_analytics_v4_service_account_only.py index 2bc292bd..d6f525ee 100644 --- a/src/airbyte_api/models/source_google_analytics_v4_service_account_only.py +++ b/src/airbyte_api/models/source_google_analytics_v4_service_account_only.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceGoogleAnalyticsV4ServiceAccountOnlyAuthType(str, Enum): SERVICE = 'Service' @@ -21,6 +22,7 @@ class SourceGoogleAnalyticsV4ServiceAccountOnlyServiceAccountKeyAuthentication: + class GoogleAnalyticsV4ServiceAccountOnly(str, Enum): GOOGLE_ANALYTICS_V4_SERVICE_ACCOUNT_ONLY = 'google-analytics-v4-service-account-only' diff --git a/src/airbyte_api/models/source_google_directory.py b/src/airbyte_api/models/source_google_directory.py index df8fe6ba..6dbf6fbd 100644 --- a/src/airbyte_api/models/source_google_directory.py +++ b/src/airbyte_api/models/source_google_directory.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceGoogleDirectorySchemasCredentialsTitle(str, Enum): r"""Authentication Scenario""" SERVICE_ACCOUNTS = 'Service accounts' @@ -25,6 +26,7 @@ class ServiceAccountKey: + class SourceGoogleDirectoryCredentialsTitle(str, Enum): r"""Authentication Scenario""" WEB_SERVER_APP = 'Web server app' @@ -45,6 +47,7 @@ class SignInViaGoogleOAuth: + class GoogleDirectory(str, Enum): GOOGLE_DIRECTORY = 'google-directory' diff --git a/src/airbyte_api/models/source_google_drive.py b/src/airbyte_api/models/source_google_drive.py index da795371..5f93e4b1 100644 --- a/src/airbyte_api/models/source_google_drive.py +++ b/src/airbyte_api/models/source_google_drive.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGoogleDriveSchemasAuthType(str, Enum): SERVICE = 'Service' @@ -22,6 +23,7 @@ class SourceGoogleDriveServiceAccountKeyAuthentication: + class SourceGoogleDriveAuthType(str, Enum): CLIENT = 'Client' @@ -39,12 +41,15 @@ class SourceGoogleDriveAuthenticateViaGoogleOAuth: + class SourceGoogleDriveGoogleDrive(str, Enum): GOOGLE_DRIVE = 'google-drive' + class SourceGoogleDriveSchemasStreamsFormatFormatFiletype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceGoogleDriveMode(str, Enum): LOCAL = 'local' @@ -57,6 +62,7 @@ class SourceGoogleDriveLocal: + class SourceGoogleDriveParsingStrategy(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' @@ -79,6 +85,7 @@ class SourceGoogleDriveDocumentFileTypeFormatExperimental: + class SourceGoogleDriveSchemasStreamsFormatFiletype(str, Enum): PARQUET = 'parquet' @@ -92,6 +99,7 @@ class SourceGoogleDriveParquetFormat: + class SourceGoogleDriveSchemasStreamsFiletype(str, Enum): JSONL = 'jsonl' @@ -103,9 +111,11 @@ class SourceGoogleDriveJsonlFormat: + class SourceGoogleDriveSchemasFiletype(str, Enum): CSV = 'csv' + class SourceGoogleDriveSchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -119,6 +129,7 @@ class SourceGoogleDriveUserProvided: + class SourceGoogleDriveSchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -130,6 +141,7 @@ class SourceGoogleDriveAutogenerated: + class SourceGoogleDriveHeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -173,6 +185,7 @@ class SourceGoogleDriveCSVFormat: + class SourceGoogleDriveFiletype(str, Enum): AVRO = 'avro' @@ -186,6 +199,7 @@ class SourceGoogleDriveAvroFormat: + class SourceGoogleDriveValidationPolicy(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' diff --git a/src/airbyte_api/models/source_google_pagespeed_insights.py b/src/airbyte_api/models/source_google_pagespeed_insights.py index 485a07d9..f3655303 100644 --- a/src/airbyte_api/models/source_google_pagespeed_insights.py +++ b/src/airbyte_api/models/source_google_pagespeed_insights.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Categories(str, Enum): ACCESSIBILITY = 'accessibility' BEST_PRACTICES = 'best-practices' @@ -14,9 +15,11 @@ class Categories(str, Enum): PWA = 'pwa' SEO = 'seo' + class GooglePagespeedInsights(str, Enum): GOOGLE_PAGESPEED_INSIGHTS = 'google-pagespeed-insights' + class Strategies(str, Enum): DESKTOP = 'desktop' MOBILE = 'mobile' diff --git a/src/airbyte_api/models/source_google_search_console.py b/src/airbyte_api/models/source_google_search_console.py index 1f5f4251..5ed686fd 100644 --- a/src/airbyte_api/models/source_google_search_console.py +++ b/src/airbyte_api/models/source_google_search_console.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceGoogleSearchConsoleSchemasAuthType(str, Enum): SERVICE = 'Service' @@ -24,6 +25,7 @@ class SourceGoogleSearchConsoleServiceAccountKeyAuthentication: + class SourceGoogleSearchConsoleAuthType(str, Enum): CLIENT = 'Client' @@ -43,6 +45,7 @@ class SourceGoogleSearchConsoleOAuth: + class SourceGoogleSearchConsoleValidEnums(str, Enum): r"""An enumeration of dimensions.""" COUNTRY = 'country' @@ -62,11 +65,13 @@ class SourceGoogleSearchConsoleCustomReportConfig: + class DataFreshness(str, Enum): r"""If set to 'final', the returned data will include only finalized, stable data. If set to 'all', fresh data will be included. When using Incremental sync mode, we do not recommend setting this parameter to 'all' as it may cause data loss. More information can be found in our full documentation.""" FINAL = 'final' ALL = 'all' + class SourceGoogleSearchConsoleGoogleSearchConsole(str, Enum): GOOGLE_SEARCH_CONSOLE = 'google-search-console' diff --git a/src/airbyte_api/models/source_google_sheets.py b/src/airbyte_api/models/source_google_sheets.py index bf345853..80790cee 100644 --- a/src/airbyte_api/models/source_google_sheets.py +++ b/src/airbyte_api/models/source_google_sheets.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceGoogleSheetsSchemasAuthType(str, Enum): SERVICE = 'Service' @@ -20,6 +21,7 @@ class SourceGoogleSheetsServiceAccountKeyAuthentication: + class SourceGoogleSheetsAuthType(str, Enum): CLIENT = 'Client' @@ -37,6 +39,7 @@ class SourceGoogleSheetsAuthenticateViaGoogleOAuth: + class SourceGoogleSheetsGoogleSheets(str, Enum): GOOGLE_SHEETS = 'google-sheets' diff --git a/src/airbyte_api/models/source_google_webfonts.py b/src/airbyte_api/models/source_google_webfonts.py index 826584a4..1cf19730 100644 --- a/src/airbyte_api/models/source_google_webfonts.py +++ b/src/airbyte_api/models/source_google_webfonts.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class GoogleWebfonts(str, Enum): GOOGLE_WEBFONTS = 'google-webfonts' diff --git a/src/airbyte_api/models/source_greenhouse.py b/src/airbyte_api/models/source_greenhouse.py index 4bc6fde5..52504bd7 100644 --- a/src/airbyte_api/models/source_greenhouse.py +++ b/src/airbyte_api/models/source_greenhouse.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Greenhouse(str, Enum): GREENHOUSE = 'greenhouse' diff --git a/src/airbyte_api/models/source_gridly.py b/src/airbyte_api/models/source_gridly.py index 4880bd74..7f678931 100644 --- a/src/airbyte_api/models/source_gridly.py +++ b/src/airbyte_api/models/source_gridly.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Gridly(str, Enum): GRIDLY = 'gridly' diff --git a/src/airbyte_api/models/source_harvest.py b/src/airbyte_api/models/source_harvest.py index aa91f0c8..9a8aa67d 100644 --- a/src/airbyte_api/models/source_harvest.py +++ b/src/airbyte_api/models/source_harvest.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceHarvestSchemasAuthType(str, Enum): TOKEN = 'Token' @@ -24,6 +25,7 @@ class SourceHarvestAuthenticateWithPersonalAccessToken: + class SourceHarvestAuthType(str, Enum): CLIENT = 'Client' @@ -43,6 +45,7 @@ class AuthenticateViaHarvestOAuth: + class Harvest(str, Enum): HARVEST = 'harvest' diff --git a/src/airbyte_api/models/source_hubplanner.py b/src/airbyte_api/models/source_hubplanner.py index f72eb9c5..536ea12e 100644 --- a/src/airbyte_api/models/source_hubplanner.py +++ b/src/airbyte_api/models/source_hubplanner.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Hubplanner(str, Enum): HUBPLANNER = 'hubplanner' diff --git a/src/airbyte_api/models/source_hubspot.py b/src/airbyte_api/models/source_hubspot.py index ca10e8ea..40acfea3 100644 --- a/src/airbyte_api/models/source_hubspot.py +++ b/src/airbyte_api/models/source_hubspot.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceHubspotSchemasAuthType(str, Enum): r"""Name of the credentials set""" PRIVATE_APP_CREDENTIALS = 'Private App Credentials' @@ -24,6 +25,7 @@ class PrivateApp: + class SourceHubspotAuthType(str, Enum): r"""Name of the credentials""" O_AUTH_CREDENTIALS = 'OAuth Credentials' @@ -43,6 +45,7 @@ class SourceHubspotOAuth: + class SourceHubspotHubspot(str, Enum): HUBSPOT = 'hubspot' diff --git a/src/airbyte_api/models/source_insightly.py b/src/airbyte_api/models/source_insightly.py index 10c8f1f8..b01f5f7e 100644 --- a/src/airbyte_api/models/source_insightly.py +++ b/src/airbyte_api/models/source_insightly.py @@ -2,11 +2,14 @@ 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 + class Insightly(str, Enum): INSIGHTLY = 'insightly' @@ -14,7 +17,7 @@ class Insightly(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class SourceInsightly: - start_date: Optional[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('start_date') }}) + start_date: Optional[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 Insightly in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated. Note that it will be used only for incremental streams.""" token: Optional[str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token') }}) r"""Your Insightly API token.""" diff --git a/src/airbyte_api/models/source_instagram.py b/src/airbyte_api/models/source_instagram.py index 773d7e61..63909f46 100644 --- a/src/airbyte_api/models/source_instagram.py +++ b/src/airbyte_api/models/source_instagram.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class SourceInstagramInstagram(str, Enum): INSTAGRAM = 'instagram' diff --git a/src/airbyte_api/models/source_instatus.py b/src/airbyte_api/models/source_instatus.py index f9404333..b0cfdc03 100644 --- a/src/airbyte_api/models/source_instatus.py +++ b/src/airbyte_api/models/source_instatus.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Instatus(str, Enum): INSTATUS = 'instatus' diff --git a/src/airbyte_api/models/source_intercom.py b/src/airbyte_api/models/source_intercom.py index b6f46900..3469ac48 100644 --- a/src/airbyte_api/models/source_intercom.py +++ b/src/airbyte_api/models/source_intercom.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class SourceIntercomIntercom(str, Enum): INTERCOM = 'intercom' diff --git a/src/airbyte_api/models/source_ip2whois.py b/src/airbyte_api/models/source_ip2whois.py index 1fff254f..34d78871 100644 --- a/src/airbyte_api/models/source_ip2whois.py +++ b/src/airbyte_api/models/source_ip2whois.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Ip2whois(str, Enum): IP2WHOIS = 'ip2whois' diff --git a/src/airbyte_api/models/source_iterable.py b/src/airbyte_api/models/source_iterable.py index 4c129f5c..b358db5b 100644 --- a/src/airbyte_api/models/source_iterable.py +++ b/src/airbyte_api/models/source_iterable.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Iterable(str, Enum): ITERABLE = 'iterable' diff --git a/src/airbyte_api/models/source_jira.py b/src/airbyte_api/models/source_jira.py index b5e4b73c..d608f0d9 100644 --- a/src/airbyte_api/models/source_jira.py +++ b/src/airbyte_api/models/source_jira.py @@ -9,11 +9,13 @@ from enum import Enum from typing import Final, List, Optional + class IssuesStreamExpandWith(str, Enum): RENDERED_FIELDS = 'renderedFields' TRANSITIONS = 'transitions' CHANGELOG = 'changelog' + class Jira(str, Enum): JIRA = 'jira' diff --git a/src/airbyte_api/models/source_k6_cloud.py b/src/airbyte_api/models/source_k6_cloud.py index f98288c2..d440a01d 100644 --- a/src/airbyte_api/models/source_k6_cloud.py +++ b/src/airbyte_api/models/source_k6_cloud.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class K6Cloud(str, Enum): K6_CLOUD = 'k6-cloud' diff --git a/src/airbyte_api/models/source_klarna.py b/src/airbyte_api/models/source_klarna.py index c4c03e6c..af4a0de7 100644 --- a/src/airbyte_api/models/source_klarna.py +++ b/src/airbyte_api/models/source_klarna.py @@ -7,12 +7,14 @@ from enum import Enum from typing import Final, Optional + class SourceKlarnaRegion(str, Enum): r"""Base url region (For playground eu https://docs.klarna.com/klarna-payments/api/payments-api/#tag/API-URLs). Supported 'eu', 'us', 'oc'""" EU = 'eu' US = 'us' OC = 'oc' + class Klarna(str, Enum): KLARNA = 'klarna' diff --git a/src/airbyte_api/models/source_klaviyo.py b/src/airbyte_api/models/source_klaviyo.py index 26387f7e..6a176a70 100644 --- a/src/airbyte_api/models/source_klaviyo.py +++ b/src/airbyte_api/models/source_klaviyo.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Klaviyo(str, Enum): KLAVIYO = 'klaviyo' diff --git a/src/airbyte_api/models/source_kyve.py b/src/airbyte_api/models/source_kyve.py index ec61aea2..8b89badf 100644 --- a/src/airbyte_api/models/source_kyve.py +++ b/src/airbyte_api/models/source_kyve.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Kyve(str, Enum): KYVE = 'kyve' diff --git a/src/airbyte_api/models/source_launchdarkly.py b/src/airbyte_api/models/source_launchdarkly.py index 024385b3..af006ea7 100644 --- a/src/airbyte_api/models/source_launchdarkly.py +++ b/src/airbyte_api/models/source_launchdarkly.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Launchdarkly(str, Enum): LAUNCHDARKLY = 'launchdarkly' diff --git a/src/airbyte_api/models/source_lemlist.py b/src/airbyte_api/models/source_lemlist.py index d61a76fd..f1b7c468 100644 --- a/src/airbyte_api/models/source_lemlist.py +++ b/src/airbyte_api/models/source_lemlist.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Lemlist(str, Enum): LEMLIST = 'lemlist' diff --git a/src/airbyte_api/models/source_lever_hiring.py b/src/airbyte_api/models/source_lever_hiring.py index a1e96707..478664bf 100644 --- a/src/airbyte_api/models/source_lever_hiring.py +++ b/src/airbyte_api/models/source_lever_hiring.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceLeverHiringSchemasAuthType(str, Enum): API_KEY = 'Api Key' @@ -20,6 +21,7 @@ class AuthenticateViaLeverAPIKey: + class SourceLeverHiringAuthType(str, Enum): CLIENT = 'Client' @@ -37,11 +39,13 @@ class AuthenticateViaLeverOAuth: + class SourceLeverHiringEnvironment(str, Enum): r"""The environment in which you'd like to replicate data for Lever. This is used to determine which Lever API endpoint to use.""" PRODUCTION = 'Production' SANDBOX = 'Sandbox' + class SourceLeverHiringLeverHiring(str, Enum): LEVER_HIRING = 'lever-hiring' diff --git a/src/airbyte_api/models/source_linkedin_ads.py b/src/airbyte_api/models/source_linkedin_ads.py index be953a48..b3434ae1 100644 --- a/src/airbyte_api/models/source_linkedin_ads.py +++ b/src/airbyte_api/models/source_linkedin_ads.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class PivotCategory(str, Enum): r"""Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives.""" COMPANY = 'COMPANY' @@ -32,6 +33,7 @@ class PivotCategory(str, Enum): PLACEMENT_NAME = 'PLACEMENT_NAME' IMPRESSION_DEVICE_TYPE = 'IMPRESSION_DEVICE_TYPE' + class TimeGranularity(str, Enum): r"""Choose how to group the data in your report by time. The options are:
- 'ALL': A single result summarizing the entire time range.
- 'DAILY': Group results by each day.
- 'MONTHLY': Group results by each month.
- 'YEARLY': Group results by each year.
Selecting a time grouping helps you analyze trends and patterns over different time periods.""" ALL = 'ALL' @@ -53,6 +55,7 @@ class AdAnalyticsReportConfiguration: + class SourceLinkedinAdsSchemasAuthMethod(str, Enum): ACCESS_TOKEN = 'access_token' @@ -66,6 +69,7 @@ class AccessToken: + class SourceLinkedinAdsAuthMethod(str, Enum): O_AUTH2_0 = 'oAuth2.0' @@ -83,6 +87,7 @@ class SourceLinkedinAdsOAuth20: + class SourceLinkedinAdsLinkedinAds(str, Enum): LINKEDIN_ADS = 'linkedin-ads' diff --git a/src/airbyte_api/models/source_linkedin_pages.py b/src/airbyte_api/models/source_linkedin_pages.py index 61729a57..12036a48 100644 --- a/src/airbyte_api/models/source_linkedin_pages.py +++ b/src/airbyte_api/models/source_linkedin_pages.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceLinkedinPagesSchemasAuthMethod(str, Enum): ACCESS_TOKEN = 'access_token' @@ -20,6 +21,7 @@ class SourceLinkedinPagesAccessToken: + class SourceLinkedinPagesAuthMethod(str, Enum): O_AUTH2_0 = 'oAuth2.0' @@ -37,6 +39,7 @@ class SourceLinkedinPagesOAuth20: + class LinkedinPages(str, Enum): LINKEDIN_PAGES = 'linkedin-pages' diff --git a/src/airbyte_api/models/source_linnworks.py b/src/airbyte_api/models/source_linnworks.py index 3145fd3a..fd9deff8 100644 --- a/src/airbyte_api/models/source_linnworks.py +++ b/src/airbyte_api/models/source_linnworks.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Linnworks(str, Enum): LINNWORKS = 'linnworks' diff --git a/src/airbyte_api/models/source_lokalise.py b/src/airbyte_api/models/source_lokalise.py index 48cc6fc6..2e910337 100644 --- a/src/airbyte_api/models/source_lokalise.py +++ b/src/airbyte_api/models/source_lokalise.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Lokalise(str, Enum): LOKALISE = 'lokalise' diff --git a/src/airbyte_api/models/source_mailchimp.py b/src/airbyte_api/models/source_mailchimp.py index f1d68992..f7e5450f 100644 --- a/src/airbyte_api/models/source_mailchimp.py +++ b/src/airbyte_api/models/source_mailchimp.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceMailchimpSchemasAuthType(str, Enum): APIKEY = 'apikey' @@ -22,6 +23,7 @@ class APIKey: + class SourceMailchimpAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -39,6 +41,7 @@ class SourceMailchimpOAuth20: + class SourceMailchimpMailchimp(str, Enum): MAILCHIMP = 'mailchimp' diff --git a/src/airbyte_api/models/source_mailgun.py b/src/airbyte_api/models/source_mailgun.py index af99dfae..4d59b6ec 100644 --- a/src/airbyte_api/models/source_mailgun.py +++ b/src/airbyte_api/models/source_mailgun.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Mailgun(str, Enum): MAILGUN = 'mailgun' diff --git a/src/airbyte_api/models/source_mailjet_sms.py b/src/airbyte_api/models/source_mailjet_sms.py index b833ca59..ad3827fe 100644 --- a/src/airbyte_api/models/source_mailjet_sms.py +++ b/src/airbyte_api/models/source_mailjet_sms.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class MailjetSms(str, Enum): MAILJET_SMS = 'mailjet-sms' diff --git a/src/airbyte_api/models/source_marketo.py b/src/airbyte_api/models/source_marketo.py index 733721e8..cb902178 100644 --- a/src/airbyte_api/models/source_marketo.py +++ b/src/airbyte_api/models/source_marketo.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Marketo(str, Enum): MARKETO = 'marketo' diff --git a/src/airbyte_api/models/source_metabase.py b/src/airbyte_api/models/source_metabase.py index ffd927bf..eea717df 100644 --- a/src/airbyte_api/models/source_metabase.py +++ b/src/airbyte_api/models/source_metabase.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Metabase(str, Enum): METABASE = 'metabase' diff --git a/src/airbyte_api/models/source_microsoft_onedrive.py b/src/airbyte_api/models/source_microsoft_onedrive.py index c203075a..85e329e8 100644 --- a/src/airbyte_api/models/source_microsoft_onedrive.py +++ b/src/airbyte_api/models/source_microsoft_onedrive.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceMicrosoftOnedriveSchemasAuthType(str, Enum): SERVICE = 'Service' @@ -31,6 +32,7 @@ class ServiceKeyAuthentication: + class SourceMicrosoftOnedriveAuthType(str, Enum): CLIENT = 'Client' @@ -53,18 +55,22 @@ class AuthenticateViaMicrosoftOAuth: + class SearchScope(str, Enum): r"""Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' to search in the selected OneDrive drive, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both.""" ACCESSIBLE_DRIVES = 'ACCESSIBLE_DRIVES' SHARED_ITEMS = 'SHARED_ITEMS' ALL = 'ALL' + class SourceMicrosoftOnedriveMicrosoftOnedrive(str, Enum): MICROSOFT_ONEDRIVE = 'microsoft-onedrive' + class SourceMicrosoftOnedriveSchemasStreamsFormatFormatFiletype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceMicrosoftOnedriveMode(str, Enum): LOCAL = 'local' @@ -77,6 +83,7 @@ class SourceMicrosoftOnedriveLocal: + class SourceMicrosoftOnedriveParsingStrategy(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' @@ -99,6 +106,7 @@ class SourceMicrosoftOnedriveDocumentFileTypeFormatExperimental: + class SourceMicrosoftOnedriveSchemasStreamsFormatFiletype(str, Enum): PARQUET = 'parquet' @@ -112,6 +120,7 @@ class SourceMicrosoftOnedriveParquetFormat: + class SourceMicrosoftOnedriveSchemasStreamsFiletype(str, Enum): JSONL = 'jsonl' @@ -123,9 +132,11 @@ class SourceMicrosoftOnedriveJsonlFormat: + class SourceMicrosoftOnedriveSchemasFiletype(str, Enum): CSV = 'csv' + class SourceMicrosoftOnedriveSchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -139,6 +150,7 @@ class SourceMicrosoftOnedriveUserProvided: + class SourceMicrosoftOnedriveSchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -150,6 +162,7 @@ class SourceMicrosoftOnedriveAutogenerated: + class SourceMicrosoftOnedriveHeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -193,6 +206,7 @@ class SourceMicrosoftOnedriveCSVFormat: + class SourceMicrosoftOnedriveFiletype(str, Enum): AVRO = 'avro' @@ -206,6 +220,7 @@ class SourceMicrosoftOnedriveAvroFormat: + class SourceMicrosoftOnedriveValidationPolicy(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' diff --git a/src/airbyte_api/models/source_microsoft_sharepoint.py b/src/airbyte_api/models/source_microsoft_sharepoint.py index e9427e2e..7e511b9d 100644 --- a/src/airbyte_api/models/source_microsoft_sharepoint.py +++ b/src/airbyte_api/models/source_microsoft_sharepoint.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceMicrosoftSharepointSchemasAuthType(str, Enum): SERVICE = 'Service' @@ -31,6 +32,7 @@ class SourceMicrosoftSharepointServiceKeyAuthentication: + class SourceMicrosoftSharepointAuthType(str, Enum): CLIENT = 'Client' @@ -53,18 +55,22 @@ class SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth: + class SourceMicrosoftSharepointSearchScope(str, Enum): r"""Specifies the location(s) to search for files. Valid options are 'ACCESSIBLE_DRIVES' for all SharePoint drives the user can access, 'SHARED_ITEMS' for shared items the user has access to, and 'ALL' to search both.""" ACCESSIBLE_DRIVES = 'ACCESSIBLE_DRIVES' SHARED_ITEMS = 'SHARED_ITEMS' ALL = 'ALL' + class SourceMicrosoftSharepointMicrosoftSharepoint(str, Enum): MICROSOFT_SHAREPOINT = 'microsoft-sharepoint' + class SourceMicrosoftSharepointSchemasStreamsFormatFormatFiletype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceMicrosoftSharepointMode(str, Enum): LOCAL = 'local' @@ -77,6 +83,7 @@ class SourceMicrosoftSharepointLocal: + class SourceMicrosoftSharepointParsingStrategy(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' @@ -99,6 +106,7 @@ class SourceMicrosoftSharepointDocumentFileTypeFormatExperimental: + class SourceMicrosoftSharepointSchemasStreamsFormatFiletype(str, Enum): PARQUET = 'parquet' @@ -112,6 +120,7 @@ class SourceMicrosoftSharepointParquetFormat: + class SourceMicrosoftSharepointSchemasStreamsFiletype(str, Enum): JSONL = 'jsonl' @@ -123,9 +132,11 @@ class SourceMicrosoftSharepointJsonlFormat: + class SourceMicrosoftSharepointSchemasFiletype(str, Enum): CSV = 'csv' + class SourceMicrosoftSharepointSchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -139,6 +150,7 @@ class SourceMicrosoftSharepointUserProvided: + class SourceMicrosoftSharepointSchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -150,6 +162,7 @@ class SourceMicrosoftSharepointAutogenerated: + class SourceMicrosoftSharepointHeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -195,6 +208,7 @@ class SourceMicrosoftSharepointCSVFormat: + class SourceMicrosoftSharepointFiletype(str, Enum): AVRO = 'avro' @@ -208,6 +222,7 @@ class SourceMicrosoftSharepointAvroFormat: + class SourceMicrosoftSharepointValidationPolicy(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' diff --git a/src/airbyte_api/models/source_microsoft_teams.py b/src/airbyte_api/models/source_microsoft_teams.py index 1fe24653..bb9529e0 100644 --- a/src/airbyte_api/models/source_microsoft_teams.py +++ b/src/airbyte_api/models/source_microsoft_teams.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceMicrosoftTeamsSchemasAuthType(str, Enum): TOKEN = 'Token' @@ -24,6 +25,7 @@ class AuthenticateViaMicrosoft: + class SourceMicrosoftTeamsAuthType(str, Enum): CLIENT = 'Client' @@ -43,6 +45,7 @@ class AuthenticateViaMicrosoftOAuth20: + class SourceMicrosoftTeamsMicrosoftTeams(str, Enum): MICROSOFT_TEAMS = 'microsoft-teams' diff --git a/src/airbyte_api/models/source_mixpanel.py b/src/airbyte_api/models/source_mixpanel.py index 5eca3f8f..c8c2f743 100644 --- a/src/airbyte_api/models/source_mixpanel.py +++ b/src/airbyte_api/models/source_mixpanel.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceMixpanelSchemasOptionTitle(str, Enum): PROJECT_SECRET = 'Project Secret' @@ -21,6 +22,7 @@ class ProjectSecret: + class SourceMixpanelOptionTitle(str, Enum): SERVICE_ACCOUNT = 'Service Account' @@ -38,11 +40,13 @@ class ServiceAccount: + class SourceMixpanelRegion(str, Enum): r"""The region of mixpanel domain instance either US or EU.""" US = 'US' EU = 'EU' + class Mixpanel(str, Enum): MIXPANEL = 'mixpanel' diff --git a/src/airbyte_api/models/source_monday.py b/src/airbyte_api/models/source_monday.py index 0970402c..e65948b2 100644 --- a/src/airbyte_api/models/source_monday.py +++ b/src/airbyte_api/models/source_monday.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceMondaySchemasAuthType(str, Enum): API_TOKEN = 'api_token' @@ -20,6 +21,7 @@ class APIToken: + class SourceMondayAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -39,6 +41,7 @@ class SourceMondayOAuth20: + class SourceMondayMonday(str, Enum): MONDAY = 'monday' diff --git a/src/airbyte_api/models/source_mongodb_internal_poc.py b/src/airbyte_api/models/source_mongodb_internal_poc.py index 2605bbc7..6aa5292d 100644 --- a/src/airbyte_api/models/source_mongodb_internal_poc.py +++ b/src/airbyte_api/models/source_mongodb_internal_poc.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class MongodbInternalPoc(str, Enum): MONGODB_INTERNAL_POC = 'mongodb-internal-poc' diff --git a/src/airbyte_api/models/source_mongodb_v2.py b/src/airbyte_api/models/source_mongodb_v2.py index 75693b3a..aea7c3bb 100644 --- a/src/airbyte_api/models/source_mongodb_v2.py +++ b/src/airbyte_api/models/source_mongodb_v2.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceMongodbV2SchemasClusterType(str, Enum): SELF_MANAGED_REPLICA_SET = 'SELF_MANAGED_REPLICA_SET' @@ -33,6 +34,7 @@ class SelfManagedReplicaSet: + class SourceMongodbV2ClusterType(str, Enum): ATLAS_REPLICA_SET = 'ATLAS_REPLICA_SET' @@ -59,14 +61,17 @@ class MongoDBAtlasReplicaSet: + class InvalidCDCPositionBehaviorAdvanced(str, Enum): 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.""" FAIL_SYNC = 'Fail sync' RE_SYNC_DATA = 'Re-sync data' + 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' diff --git a/src/airbyte_api/models/source_mssql.py b/src/airbyte_api/models/source_mssql.py index 161f0013..1ed6b2a0 100644 --- a/src/airbyte_api/models/source_mssql.py +++ b/src/airbyte_api/models/source_mssql.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceMssqlSchemasMethod(str, Enum): STANDARD = 'STANDARD' @@ -19,11 +20,13 @@ class ScanChangesWithUserDefinedCursor: + class SourceMssqlInvalidCDCPositionBehaviorAdvanced(str, Enum): 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.""" FAIL_SYNC = 'Fail sync' RE_SYNC_DATA = 'Re-sync data' + class SourceMssqlMethod(str, Enum): CDC = 'CDC' @@ -42,9 +45,11 @@ class ReadChangesUsingChangeDataCaptureCDC: + class SourceMssqlMssql(str, Enum): MSSQL = 'mssql' + class SourceMssqlSchemasSSLMethodSSLMethodSSLMethod(str, Enum): ENCRYPTED_VERIFY_CERTIFICATE = 'encrypted_verify_certificate' @@ -61,6 +66,7 @@ class SourceMssqlEncryptedVerifyCertificate: + class SourceMssqlSchemasSslMethodSslMethod(str, Enum): ENCRYPTED_TRUST_SERVER_CERTIFICATE = 'encrypted_trust_server_certificate' @@ -73,6 +79,7 @@ class SourceMssqlEncryptedTrustServerCertificate: + class SourceMssqlSchemasSslMethod(str, Enum): UNENCRYPTED = 'unencrypted' @@ -85,6 +92,7 @@ class Unencrypted: + class SourceMssqlSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -106,6 +114,7 @@ class SourceMssqlPasswordAuthentication: + class SourceMssqlSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -127,6 +136,7 @@ class SourceMssqlSSHKeyAuthentication: + class SourceMssqlTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/source_my_hours.py b/src/airbyte_api/models/source_my_hours.py index 552b2642..dfe9cd1a 100644 --- a/src/airbyte_api/models/source_my_hours.py +++ b/src/airbyte_api/models/source_my_hours.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class MyHours(str, Enum): MY_HOURS = 'my-hours' diff --git a/src/airbyte_api/models/source_mysql.py b/src/airbyte_api/models/source_mysql.py index 241719a8..a496b132 100644 --- a/src/airbyte_api/models/source_mysql.py +++ b/src/airbyte_api/models/source_mysql.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceMysqlSchemasMethod(str, Enum): STANDARD = 'STANDARD' @@ -19,11 +20,13 @@ class SourceMysqlScanChangesWithUserDefinedCursor: + class SourceMysqlInvalidCDCPositionBehaviorAdvanced(str, Enum): 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.""" FAIL_SYNC = 'Fail sync' RE_SYNC_DATA = 'Re-sync data' + class SourceMysqlMethod(str, Enum): CDC = 'CDC' @@ -42,9 +45,11 @@ class ReadChangesUsingBinaryLogCDC: + class SourceMysqlMysql(str, Enum): MYSQL = 'mysql' + class SourceMysqlSchemasSSLModeSSLModesMode(str, Enum): VERIFY_IDENTITY = 'verify_identity' @@ -65,6 +70,7 @@ class VerifyIdentity: + class SourceMysqlSchemasSslModeMode(str, Enum): VERIFY_CA = 'verify_ca' @@ -85,6 +91,7 @@ class SourceMysqlVerifyCA: + class SourceMysqlSchemasMode(str, Enum): REQUIRED = 'required' @@ -97,6 +104,7 @@ class Required: + class SourceMysqlMode(str, Enum): PREFERRED = 'preferred' @@ -109,6 +117,7 @@ class Preferred: + class SourceMysqlSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -130,6 +139,7 @@ class SourceMysqlPasswordAuthentication: + class SourceMysqlSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -151,6 +161,7 @@ class SourceMysqlSSHKeyAuthentication: + class SourceMysqlTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/source_netsuite.py b/src/airbyte_api/models/source_netsuite.py index 42f8a5eb..be7f163d 100644 --- a/src/airbyte_api/models/source_netsuite.py +++ b/src/airbyte_api/models/source_netsuite.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Netsuite(str, Enum): NETSUITE = 'netsuite' diff --git a/src/airbyte_api/models/source_notion.py b/src/airbyte_api/models/source_notion.py index 127187cc..df9425e6 100644 --- a/src/airbyte_api/models/source_notion.py +++ b/src/airbyte_api/models/source_notion.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceNotionSchemasAuthType(str, Enum): TOKEN = 'token' @@ -22,6 +23,7 @@ class SourceNotionAccessToken: + class SourceNotionAuthType(str, Enum): O_AUTH2_0 = 'OAuth2.0' @@ -39,6 +41,7 @@ class SourceNotionOAuth20: + class SourceNotionNotion(str, Enum): NOTION = 'notion' diff --git a/src/airbyte_api/models/source_nytimes.py b/src/airbyte_api/models/source_nytimes.py index ab944711..830d9be9 100644 --- a/src/airbyte_api/models/source_nytimes.py +++ b/src/airbyte_api/models/source_nytimes.py @@ -8,16 +8,19 @@ from enum import Enum from typing import Final, Optional + class PeriodUsedForMostPopularStreams(int, Enum): r"""Period of time (in days)""" ONE = 1 SEVEN = 7 THIRTY = 30 + class ShareTypeUsedForMostPopularSharedStream(str, Enum): r"""Share Type""" FACEBOOK = 'facebook' + class Nytimes(str, Enum): NYTIMES = 'nytimes' diff --git a/src/airbyte_api/models/source_okta.py b/src/airbyte_api/models/source_okta.py index 115643af..bef8766c 100644 --- a/src/airbyte_api/models/source_okta.py +++ b/src/airbyte_api/models/source_okta.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceOktaSchemasAuthType(str, Enum): API_TOKEN = 'api_token' @@ -20,6 +21,7 @@ class SourceOktaAPIToken: + class SourceOktaAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -37,6 +39,7 @@ class SourceOktaOAuth20: + class Okta(str, Enum): OKTA = 'okta' diff --git a/src/airbyte_api/models/source_omnisend.py b/src/airbyte_api/models/source_omnisend.py index cf950002..c101e0e7 100644 --- a/src/airbyte_api/models/source_omnisend.py +++ b/src/airbyte_api/models/source_omnisend.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Omnisend(str, Enum): OMNISEND = 'omnisend' diff --git a/src/airbyte_api/models/source_onesignal.py b/src/airbyte_api/models/source_onesignal.py index 311476c2..9ad41e33 100644 --- a/src/airbyte_api/models/source_onesignal.py +++ b/src/airbyte_api/models/source_onesignal.py @@ -19,6 +19,7 @@ class Applications: + class Onesignal(str, Enum): ONESIGNAL = 'onesignal' diff --git a/src/airbyte_api/models/source_oracle.py b/src/airbyte_api/models/source_oracle.py index 4d309e9e..acb7e353 100644 --- a/src/airbyte_api/models/source_oracle.py +++ b/src/airbyte_api/models/source_oracle.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceOracleConnectionType(str, Enum): SID = 'sid' @@ -20,6 +21,7 @@ class SystemIDSID: + class ConnectionType(str, Enum): SERVICE_NAME = 'service_name' @@ -33,6 +35,7 @@ class ServiceName: + class SourceOracleEncryptionMethod(str, Enum): ENCRYPTED_VERIFY_CERTIFICATE = 'encrypted_verify_certificate' @@ -47,12 +50,14 @@ class TLSEncryptedVerifyCertificate: + class EncryptionAlgorithm(str, Enum): r"""This parameter defines what encryption algorithm is used.""" AES256 = 'AES256' RC4_56 = 'RC4_56' THREE_DES168 = '3DES168' + class EncryptionMethod(str, Enum): CLIENT_NNE = 'client_nne' @@ -67,9 +72,11 @@ class NativeNetworkEncryptionNNE: + class SourceOracleOracle(str, Enum): ORACLE = 'oracle' + class SourceOracleSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -91,6 +98,7 @@ class SourceOraclePasswordAuthentication: + class SourceOracleSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -112,6 +120,7 @@ class SourceOracleSSHKeyAuthentication: + class SourceOracleTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/source_orb.py b/src/airbyte_api/models/source_orb.py index a4a5c29d..1f8d8277 100644 --- a/src/airbyte_api/models/source_orb.py +++ b/src/airbyte_api/models/source_orb.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Orb(str, Enum): ORB = 'orb' diff --git a/src/airbyte_api/models/source_orbit.py b/src/airbyte_api/models/source_orbit.py index 0f9dd855..93a76b3a 100644 --- a/src/airbyte_api/models/source_orbit.py +++ b/src/airbyte_api/models/source_orbit.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Orbit(str, Enum): ORBIT = 'orbit' diff --git a/src/airbyte_api/models/source_outbrain_amplify.py b/src/airbyte_api/models/source_outbrain_amplify.py index 4ff42fbf..b31f08af 100644 --- a/src/airbyte_api/models/source_outbrain_amplify.py +++ b/src/airbyte_api/models/source_outbrain_amplify.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class BothUsernameAndPasswordIsRequiredForAuthenticationRequest(str, Enum): USERNAME_PASSWORD = 'username_password' @@ -22,6 +23,7 @@ class SourceOutbrainAmplifyUsernamePassword: + class AccessTokenIsRequiredForAuthenticationRequests(str, Enum): ACCESS_TOKEN = 'access_token' @@ -35,18 +37,21 @@ class SourceOutbrainAmplifyAccessToken: + class GranularityForGeoLocationRegion(str, Enum): r"""The granularity used for geo location data in reports.""" COUNTRY = 'country' REGION = 'region' SUBREGION = 'subregion' + class GranularityForPeriodicReports(str, Enum): r"""The granularity used for periodic data in reports. See the docs.""" DAILY = 'daily' WEEKLY = 'weekly' MONTHLY = 'monthly' + class OutbrainAmplify(str, Enum): OUTBRAIN_AMPLIFY = 'outbrain-amplify' diff --git a/src/airbyte_api/models/source_outreach.py b/src/airbyte_api/models/source_outreach.py index 2adeeb63..fc1daf41 100644 --- a/src/airbyte_api/models/source_outreach.py +++ b/src/airbyte_api/models/source_outreach.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Outreach(str, Enum): OUTREACH = 'outreach' diff --git a/src/airbyte_api/models/source_paypal_transaction.py b/src/airbyte_api/models/source_paypal_transaction.py index cf2a1ce0..d8ffe699 100644 --- a/src/airbyte_api/models/source_paypal_transaction.py +++ b/src/airbyte_api/models/source_paypal_transaction.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class PaypalTransaction(str, Enum): PAYPAL_TRANSACTION = 'paypal-transaction' diff --git a/src/airbyte_api/models/source_paystack.py b/src/airbyte_api/models/source_paystack.py index 731c49d8..8554fc03 100644 --- a/src/airbyte_api/models/source_paystack.py +++ b/src/airbyte_api/models/source_paystack.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Paystack(str, Enum): PAYSTACK = 'paystack' diff --git a/src/airbyte_api/models/source_pendo.py b/src/airbyte_api/models/source_pendo.py index ef01e95a..861b8e95 100644 --- a/src/airbyte_api/models/source_pendo.py +++ b/src/airbyte_api/models/source_pendo.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Pendo(str, Enum): PENDO = 'pendo' diff --git a/src/airbyte_api/models/source_persistiq.py b/src/airbyte_api/models/source_persistiq.py index f51165c3..0dbcb7a4 100644 --- a/src/airbyte_api/models/source_persistiq.py +++ b/src/airbyte_api/models/source_persistiq.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Persistiq(str, Enum): PERSISTIQ = 'persistiq' diff --git a/src/airbyte_api/models/source_pexels_api.py b/src/airbyte_api/models/source_pexels_api.py index e28f178e..e58f4d53 100644 --- a/src/airbyte_api/models/source_pexels_api.py +++ b/src/airbyte_api/models/source_pexels_api.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class PexelsAPI(str, Enum): PEXELS_API = 'pexels-api' diff --git a/src/airbyte_api/models/source_pinterest.py b/src/airbyte_api/models/source_pinterest.py index f121c386..4cf4b8f3 100644 --- a/src/airbyte_api/models/source_pinterest.py +++ b/src/airbyte_api/models/source_pinterest.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, List, Optional + class SourcePinterestAuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -25,11 +26,13 @@ class OAuth20: + class SourcePinterestValidEnums(str, Enum): r"""An enumeration.""" INDIVIDUAL = 'INDIVIDUAL' HOUSEHOLD = 'HOUSEHOLD' + class ClickWindowDays(int, Enum): r"""Number of days to use as the conversion attribution window for a pin click action.""" ZERO = 0 @@ -39,6 +42,7 @@ class ClickWindowDays(int, Enum): THIRTY = 30 SIXTY = 60 + class SourcePinterestSchemasValidEnums(str, Enum): r"""An enumeration.""" ADVERTISER_ID = 'ADVERTISER_ID' @@ -154,11 +158,13 @@ class SourcePinterestSchemasValidEnums(str, Enum): WEB_SESSIONS_1 = 'WEB_SESSIONS_1' WEB_SESSIONS_2 = 'WEB_SESSIONS_2' + class ConversionReportTime(str, Enum): r"""The date by which the conversion metrics returned from this endpoint will be reported. There are two dates associated with a conversion event: the date that the user interacted with the ad, and the date that the user completed a conversion event..""" TIME_OF_AD_ACTION = 'TIME_OF_AD_ACTION' TIME_OF_CONVERSION = 'TIME_OF_CONVERSION' + class EngagementWindowDays(int, Enum): r"""Number of days to use as the conversion attribution window for an engagement action.""" ZERO = 0 @@ -168,6 +174,7 @@ class EngagementWindowDays(int, Enum): THIRTY = 30 SIXTY = 60 + class Granularity(str, Enum): r"""Chosen granularity for API""" TOTAL = 'TOTAL' @@ -176,6 +183,7 @@ class Granularity(str, Enum): WEEK = 'WEEK' MONTH = 'MONTH' + class SourcePinterestLevel(str, Enum): r"""Chosen level for API""" ADVERTISER = 'ADVERTISER' @@ -191,6 +199,7 @@ class SourcePinterestLevel(str, Enum): PRODUCT_GROUP_TARGETING = 'PRODUCT_GROUP_TARGETING' PRODUCT_ITEM = 'PRODUCT_ITEM' + class ViewWindowDays(int, Enum): r"""Number of days to use as the conversion attribution window for a view action.""" ZERO = 0 @@ -228,9 +237,11 @@ class ReportConfig: + class SourcePinterestPinterest(str, Enum): PINTEREST = 'pinterest' + class Status(str, Enum): ACTIVE = 'ACTIVE' PAUSED = 'PAUSED' diff --git a/src/airbyte_api/models/source_pipedrive.py b/src/airbyte_api/models/source_pipedrive.py index 7736de94..7555fc0d 100644 --- a/src/airbyte_api/models/source_pipedrive.py +++ b/src/airbyte_api/models/source_pipedrive.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Pipedrive(str, Enum): PIPEDRIVE = 'pipedrive' diff --git a/src/airbyte_api/models/source_pocket.py b/src/airbyte_api/models/source_pocket.py index d4b2d4cc..e9c1eb45 100644 --- a/src/airbyte_api/models/source_pocket.py +++ b/src/airbyte_api/models/source_pocket.py @@ -7,17 +7,20 @@ from enum import Enum from typing import Final, Optional + class ContentType(str, Enum): r"""Select the content type of the items to retrieve.""" ARTICLE = 'article' VIDEO = 'video' IMAGE = 'image' + class DetailType(str, Enum): r"""Select the granularity of the information about each item.""" SIMPLE = 'simple' COMPLETE = 'complete' + class SourcePocketSortBy(str, Enum): r"""Sort retrieved items by the given criteria.""" NEWEST = 'newest' @@ -25,9 +28,11 @@ class SourcePocketSortBy(str, Enum): TITLE = 'title' SITE = 'site' + class Pocket(str, Enum): POCKET = 'pocket' + class State(str, Enum): r"""Select the state of the items to retrieve.""" UNREAD = 'unread' diff --git a/src/airbyte_api/models/source_pokeapi.py b/src/airbyte_api/models/source_pokeapi.py index 6e56e683..4132bc9d 100644 --- a/src/airbyte_api/models/source_pokeapi.py +++ b/src/airbyte_api/models/source_pokeapi.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class PokemonName(str, Enum): r"""Pokemon requested from the API.""" BULBASAUR = 'bulbasaur' @@ -908,6 +909,7 @@ class PokemonName(str, Enum): SPECTRIER = 'spectrier' CALYREX = 'calyrex' + class Pokeapi(str, Enum): POKEAPI = 'pokeapi' diff --git a/src/airbyte_api/models/source_polygon_stock_api.py b/src/airbyte_api/models/source_polygon_stock_api.py index b63de529..af6a44c7 100644 --- a/src/airbyte_api/models/source_polygon_stock_api.py +++ b/src/airbyte_api/models/source_polygon_stock_api.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional + class PolygonStockAPI(str, Enum): POLYGON_STOCK_API = 'polygon-stock-api' diff --git a/src/airbyte_api/models/source_postgres.py b/src/airbyte_api/models/source_postgres.py index 42eedddb..c50a51d8 100644 --- a/src/airbyte_api/models/source_postgres.py +++ b/src/airbyte_api/models/source_postgres.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Dict, Final, List, Optional, Union + class SourcePostgresSchemasReplicationMethodMethod(str, Enum): STANDARD = 'Standard' @@ -19,6 +20,7 @@ class SourcePostgresScanChangesWithUserDefinedCursor: + class SourcePostgresSchemasMethod(str, Enum): XMIN = 'Xmin' @@ -31,19 +33,23 @@ class DetectChangesWithXminSystemColumn: + class SourcePostgresInvalidCDCPositionBehaviorAdvanced(str, Enum): 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.""" FAIL_SYNC = 'Fail sync' RE_SYNC_DATA = 'Re-sync data' + class LSNCommitBehaviour(str, Enum): r"""Determines when Airbyte should flush the LSN of processed WAL logs in the source database. `After loading Data in the destination` is default. If `While reading Data` is selected, in case of a downstream failure (while loading data into the destination), next sync would result in a full sync.""" WHILE_READING_DATA = 'While reading Data' AFTER_LOADING_DATA_IN_THE_DESTINATION = 'After loading Data in the destination' + class SourcePostgresMethod(str, Enum): CDC = 'CDC' + class Plugin(str, Enum): r"""A logical decoding plugin installed on the PostgreSQL server.""" PGOUTPUT = 'pgoutput' @@ -75,9 +81,11 @@ class ReadChangesUsingWriteAheadLogCDC: + class SourcePostgresPostgres(str, Enum): POSTGRES = 'postgres' + class SourcePostgresSchemasSSLModeSSLModes6Mode(str, Enum): VERIFY_FULL = 'verify-full' @@ -100,6 +108,7 @@ class SourcePostgresVerifyFull: + class SourcePostgresSchemasSSLModeSSLModes5Mode(str, Enum): VERIFY_CA = 'verify-ca' @@ -122,6 +131,7 @@ class SourcePostgresVerifyCa: + class SourcePostgresSchemasSSLModeSSLModesMode(str, Enum): REQUIRE = 'require' @@ -136,6 +146,7 @@ class SourcePostgresRequire: + class SourcePostgresSchemasSslModeMode(str, Enum): PREFER = 'prefer' @@ -150,6 +161,7 @@ class SourcePostgresPrefer: + class SourcePostgresSchemasMode(str, Enum): ALLOW = 'allow' @@ -164,6 +176,7 @@ class SourcePostgresAllow: + class SourcePostgresMode(str, Enum): DISABLE = 'disable' @@ -178,6 +191,7 @@ class SourcePostgresDisable: + class SourcePostgresSchemasTunnelMethodTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -199,6 +213,7 @@ class SourcePostgresPasswordAuthentication: + class SourcePostgresSchemasTunnelMethod(str, Enum): r"""Connect through a jump server tunnel host using username and ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -220,6 +235,7 @@ class SourcePostgresSSHKeyAuthentication: + class SourcePostgresTunnelMethod(str, Enum): r"""No ssh tunnel needed to connect to database""" NO_TUNNEL = 'NO_TUNNEL' diff --git a/src/airbyte_api/models/source_posthog.py b/src/airbyte_api/models/source_posthog.py index f7d17380..5b63e6ef 100644 --- a/src/airbyte_api/models/source_posthog.py +++ b/src/airbyte_api/models/source_posthog.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Posthog(str, Enum): POSTHOG = 'posthog' diff --git a/src/airbyte_api/models/source_postmarkapp.py b/src/airbyte_api/models/source_postmarkapp.py index 68226ea5..ed387094 100644 --- a/src/airbyte_api/models/source_postmarkapp.py +++ b/src/airbyte_api/models/source_postmarkapp.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Postmarkapp(str, Enum): POSTMARKAPP = 'postmarkapp' diff --git a/src/airbyte_api/models/source_prestashop.py b/src/airbyte_api/models/source_prestashop.py index 20f6436a..954aa962 100644 --- a/src/airbyte_api/models/source_prestashop.py +++ b/src/airbyte_api/models/source_prestashop.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final + class Prestashop(str, Enum): PRESTASHOP = 'prestashop' diff --git a/src/airbyte_api/models/source_punk_api.py b/src/airbyte_api/models/source_punk_api.py index cacb1b38..526c80cd 100644 --- a/src/airbyte_api/models/source_punk_api.py +++ b/src/airbyte_api/models/source_punk_api.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class PunkAPI(str, Enum): PUNK_API = 'punk-api' diff --git a/src/airbyte_api/models/source_pypi.py b/src/airbyte_api/models/source_pypi.py index 5cb6a6fc..c2042524 100644 --- a/src/airbyte_api/models/source_pypi.py +++ b/src/airbyte_api/models/source_pypi.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Pypi(str, Enum): PYPI = 'pypi' diff --git a/src/airbyte_api/models/source_qualaroo.py b/src/airbyte_api/models/source_qualaroo.py index d73ca192..aac238da 100644 --- a/src/airbyte_api/models/source_qualaroo.py +++ b/src/airbyte_api/models/source_qualaroo.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class Qualaroo(str, Enum): QUALAROO = 'qualaroo' diff --git a/src/airbyte_api/models/source_railz.py b/src/airbyte_api/models/source_railz.py index cc55e516..b59b9b5f 100644 --- a/src/airbyte_api/models/source_railz.py +++ b/src/airbyte_api/models/source_railz.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Railz(str, Enum): RAILZ = 'railz' diff --git a/src/airbyte_api/models/source_recharge.py b/src/airbyte_api/models/source_recharge.py index dae7d2e9..8ba963bd 100644 --- a/src/airbyte_api/models/source_recharge.py +++ b/src/airbyte_api/models/source_recharge.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Recharge(str, Enum): RECHARGE = 'recharge' diff --git a/src/airbyte_api/models/source_recreation.py b/src/airbyte_api/models/source_recreation.py index ebc14c7e..45953990 100644 --- a/src/airbyte_api/models/source_recreation.py +++ b/src/airbyte_api/models/source_recreation.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Recreation(str, Enum): RECREATION = 'recreation' diff --git a/src/airbyte_api/models/source_recruitee.py b/src/airbyte_api/models/source_recruitee.py index 3d7f44fd..bd7ae3b1 100644 --- a/src/airbyte_api/models/source_recruitee.py +++ b/src/airbyte_api/models/source_recruitee.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Recruitee(str, Enum): RECRUITEE = 'recruitee' diff --git a/src/airbyte_api/models/source_recurly.py b/src/airbyte_api/models/source_recurly.py index 2e404b98..b5f8c8e5 100644 --- a/src/airbyte_api/models/source_recurly.py +++ b/src/airbyte_api/models/source_recurly.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Recurly(str, Enum): RECURLY = 'recurly' diff --git a/src/airbyte_api/models/source_redshift.py b/src/airbyte_api/models/source_redshift.py index 94fb6a93..6dc81566 100644 --- a/src/airbyte_api/models/source_redshift.py +++ b/src/airbyte_api/models/source_redshift.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, List, Optional + class SourceRedshiftRedshift(str, Enum): REDSHIFT = 'redshift' diff --git a/src/airbyte_api/models/source_retently.py b/src/airbyte_api/models/source_retently.py index 879ffd61..3623c4db 100644 --- a/src/airbyte_api/models/source_retently.py +++ b/src/airbyte_api/models/source_retently.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceRetentlySchemasAuthType(str, Enum): TOKEN = 'Token' @@ -22,6 +23,7 @@ class AuthenticateWithAPIToken: + class SourceRetentlyAuthType(str, Enum): CLIENT = 'Client' @@ -41,6 +43,7 @@ class AuthenticateViaRetentlyOAuth: + class SourceRetentlyRetently(str, Enum): RETENTLY = 'retently' diff --git a/src/airbyte_api/models/source_rki_covid.py b/src/airbyte_api/models/source_rki_covid.py index b90fc95e..8a96b8dc 100644 --- a/src/airbyte_api/models/source_rki_covid.py +++ b/src/airbyte_api/models/source_rki_covid.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class RkiCovid(str, Enum): RKI_COVID = 'rki-covid' diff --git a/src/airbyte_api/models/source_rss.py b/src/airbyte_api/models/source_rss.py index f7825790..ab38bd9d 100644 --- a/src/airbyte_api/models/source_rss.py +++ b/src/airbyte_api/models/source_rss.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Rss(str, Enum): RSS = 'rss' diff --git a/src/airbyte_api/models/source_s3.py b/src/airbyte_api/models/source_s3.py index bbe675dd..8afb8d56 100644 --- a/src/airbyte_api/models/source_s3.py +++ b/src/airbyte_api/models/source_s3.py @@ -9,9 +9,11 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceS3SchemasFormatFiletype(str, Enum): JSONL = 'jsonl' + class UnexpectedFieldBehavior(str, Enum): r"""How JSON fields outside of explicit_schema (if given) are treated. Check PyArrow documentation for details""" IGNORE = 'ignore' @@ -33,6 +35,7 @@ class Jsonl: + class SourceS3SchemasFiletype(str, Enum): AVRO = 'avro' @@ -45,6 +48,7 @@ class Avro: + class SourceS3Filetype(str, Enum): PARQUET = 'parquet' @@ -63,6 +67,7 @@ class Parquet: + class Filetype(str, Enum): CSV = 'csv' @@ -119,12 +124,15 @@ class S3AmazonWebServices: + class SourceS3S3(str, Enum): S3 = 's3' + class SourceS3SchemasStreamsFormatFormat5Filetype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceS3Mode(str, Enum): LOCAL = 'local' @@ -137,6 +145,7 @@ class SourceS3Local: + class SourceS3ParsingStrategy(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' @@ -159,6 +168,7 @@ class SourceS3DocumentFileTypeFormatExperimental: + class SourceS3SchemasStreamsFormatFormat4Filetype(str, Enum): PARQUET = 'parquet' @@ -172,6 +182,7 @@ class SourceS3ParquetFormat: + class SourceS3SchemasStreamsFormatFormatFiletype(str, Enum): JSONL = 'jsonl' @@ -183,9 +194,11 @@ class SourceS3JsonlFormat: + class SourceS3SchemasStreamsFormatFiletype(str, Enum): CSV = 'csv' + class SourceS3SchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -199,6 +212,7 @@ class SourceS3UserProvided: + class SourceS3SchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -210,6 +224,7 @@ class SourceS3Autogenerated: + class SourceS3HeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -221,6 +236,7 @@ class SourceS3FromCSV: + class SourceS3InferenceType(str, Enum): r"""How to infer the types of the columns. If none, inference default to strings.""" NONE = 'None' @@ -262,6 +278,7 @@ class SourceS3CSVFormat: + class SourceS3SchemasStreamsFiletype(str, Enum): AVRO = 'avro' @@ -275,6 +292,7 @@ class SourceS3AvroFormat: + class SourceS3ValidationPolicy(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' diff --git a/src/airbyte_api/models/source_salesforce.py b/src/airbyte_api/models/source_salesforce.py index bbac5da9..8099f05c 100644 --- a/src/airbyte_api/models/source_salesforce.py +++ b/src/airbyte_api/models/source_salesforce.py @@ -9,12 +9,15 @@ from enum import Enum from typing import Final, List, Optional + class AuthType(str, Enum): CLIENT = 'Client' + class SourceSalesforceSalesforce(str, Enum): SALESFORCE = 'salesforce' + class SearchCriteria(str, Enum): STARTS_WITH = 'starts with' ENDS_WITH = 'ends with' diff --git a/src/airbyte_api/models/source_salesloft.py b/src/airbyte_api/models/source_salesloft.py index dffb9a8c..82eb51a7 100644 --- a/src/airbyte_api/models/source_salesloft.py +++ b/src/airbyte_api/models/source_salesloft.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Union + class SourceSalesloftSchemasAuthType(str, Enum): API_KEY = 'api_key' @@ -22,6 +23,7 @@ class AuthenticateViaAPIKey: + class SourceSalesloftAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class AuthenticateViaOAuth: + class Salesloft(str, Enum): SALESLOFT = 'salesloft' diff --git a/src/airbyte_api/models/source_sap_fieldglass.py b/src/airbyte_api/models/source_sap_fieldglass.py index 5951e383..587f7113 100644 --- a/src/airbyte_api/models/source_sap_fieldglass.py +++ b/src/airbyte_api/models/source_sap_fieldglass.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class SapFieldglass(str, Enum): SAP_FIELDGLASS = 'sap-fieldglass' diff --git a/src/airbyte_api/models/source_secoda.py b/src/airbyte_api/models/source_secoda.py index 90522d23..d369369b 100644 --- a/src/airbyte_api/models/source_secoda.py +++ b/src/airbyte_api/models/source_secoda.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Secoda(str, Enum): SECODA = 'secoda' diff --git a/src/airbyte_api/models/source_sendgrid.py b/src/airbyte_api/models/source_sendgrid.py index f82228bb..b5f7db74 100644 --- a/src/airbyte_api/models/source_sendgrid.py +++ b/src/airbyte_api/models/source_sendgrid.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final + class Sendgrid(str, Enum): SENDGRID = 'sendgrid' diff --git a/src/airbyte_api/models/source_sendinblue.py b/src/airbyte_api/models/source_sendinblue.py index 5db0af5f..3081716b 100644 --- a/src/airbyte_api/models/source_sendinblue.py +++ b/src/airbyte_api/models/source_sendinblue.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Sendinblue(str, Enum): SENDINBLUE = 'sendinblue' diff --git a/src/airbyte_api/models/source_senseforce.py b/src/airbyte_api/models/source_senseforce.py index b640c48c..c548339a 100644 --- a/src/airbyte_api/models/source_senseforce.py +++ b/src/airbyte_api/models/source_senseforce.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional + class Senseforce(str, Enum): SENSEFORCE = 'senseforce' diff --git a/src/airbyte_api/models/source_sentry.py b/src/airbyte_api/models/source_sentry.py index e04a189d..c1a417a2 100644 --- a/src/airbyte_api/models/source_sentry.py +++ b/src/airbyte_api/models/source_sentry.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Final, List, Optional + class Sentry(str, Enum): SENTRY = 'sentry' diff --git a/src/airbyte_api/models/source_sftp.py b/src/airbyte_api/models/source_sftp.py index aafe2f14..e52354d8 100644 --- a/src/airbyte_api/models/source_sftp.py +++ b/src/airbyte_api/models/source_sftp.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceSftpSchemasAuthMethod(str, Enum): r"""Connect through ssh key""" SSH_KEY_AUTH = 'SSH_KEY_AUTH' @@ -22,6 +23,7 @@ class SourceSftpSSHKeyAuthentication: + class SourceSftpAuthMethod(str, Enum): r"""Connect through password authentication""" SSH_PASSWORD_AUTH = 'SSH_PASSWORD_AUTH' @@ -37,6 +39,7 @@ class SourceSftpPasswordAuthentication: + class Sftp(str, Enum): SFTP = 'sftp' diff --git a/src/airbyte_api/models/source_sftp_bulk.py b/src/airbyte_api/models/source_sftp_bulk.py index b489e96f..0f800710 100644 --- a/src/airbyte_api/models/source_sftp_bulk.py +++ b/src/airbyte_api/models/source_sftp_bulk.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceSftpBulkSchemasAuthType(str, Enum): PRIVATE_KEY = 'private_key' @@ -22,6 +23,7 @@ class AuthenticateViaPrivateKey: + class SourceSftpBulkAuthType(str, Enum): PASSWORD = 'password' @@ -35,12 +37,15 @@ class AuthenticateViaPassword: + class SftpBulk(str, Enum): SFTP_BULK = 'sftp-bulk' + class SourceSftpBulkSchemasStreamsFormatFormatFiletype(str, Enum): UNSTRUCTURED = 'unstructured' + class SourceSftpBulkSchemasMode(str, Enum): API = 'api' @@ -70,6 +75,7 @@ class ViaAPI: + class SourceSftpBulkMode(str, Enum): LOCAL = 'local' @@ -82,6 +88,7 @@ class SourceSftpBulkLocal: + 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' @@ -104,6 +111,7 @@ class SourceSftpBulkDocumentFileTypeFormatExperimental: + class SourceSftpBulkSchemasStreamsFormatFiletype(str, Enum): PARQUET = 'parquet' @@ -117,6 +125,7 @@ class SourceSftpBulkParquetFormat: + class SourceSftpBulkSchemasStreamsFiletype(str, Enum): JSONL = 'jsonl' @@ -128,9 +137,11 @@ class SourceSftpBulkJsonlFormat: + class SourceSftpBulkSchemasFiletype(str, Enum): CSV = 'csv' + class SourceSftpBulkSchemasStreamsHeaderDefinitionType(str, Enum): USER_PROVIDED = 'User Provided' @@ -144,6 +155,7 @@ class SourceSftpBulkUserProvided: + class SourceSftpBulkSchemasHeaderDefinitionType(str, Enum): AUTOGENERATED = 'Autogenerated' @@ -155,6 +167,7 @@ class SourceSftpBulkAutogenerated: + class SourceSftpBulkHeaderDefinitionType(str, Enum): FROM_CSV = 'From CSV' @@ -166,6 +179,7 @@ class SourceSftpBulkFromCSV: + class SourceSftpBulkInferenceType(str, Enum): r"""How to infer the types of the columns. If none, inference default to strings.""" NONE = 'None' @@ -207,6 +221,7 @@ class SourceSftpBulkCSVFormat: + class SourceSftpBulkFiletype(str, Enum): AVRO = 'avro' @@ -220,6 +235,7 @@ class SourceSftpBulkAvroFormat: + 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' diff --git a/src/airbyte_api/models/source_shopify.py b/src/airbyte_api/models/source_shopify.py index f4308907..9e0c2d31 100644 --- a/src/airbyte_api/models/source_shopify.py +++ b/src/airbyte_api/models/source_shopify.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceShopifySchemasAuthMethod(str, Enum): API_PASSWORD = 'api_password' @@ -23,6 +24,7 @@ class APIPassword: + class SourceShopifyAuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -41,6 +43,7 @@ class SourceShopifyOAuth20: + class SourceShopifyShopify(str, Enum): SHOPIFY = 'shopify' diff --git a/src/airbyte_api/models/source_shortio.py b/src/airbyte_api/models/source_shortio.py index c29b51c6..4a5e68f3 100644 --- a/src/airbyte_api/models/source_shortio.py +++ b/src/airbyte_api/models/source_shortio.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Shortio(str, Enum): SHORTIO = 'shortio' diff --git a/src/airbyte_api/models/source_slack.py b/src/airbyte_api/models/source_slack.py index 64703d28..2fab1403 100644 --- a/src/airbyte_api/models/source_slack.py +++ b/src/airbyte_api/models/source_slack.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceSlackSchemasOptionTitle(str, Enum): API_TOKEN_CREDENTIALS = 'API Token Credentials' @@ -22,6 +23,7 @@ class SourceSlackAPIToken: + class SourceSlackOptionTitle(str, Enum): DEFAULT_O_AUTH2_0_AUTHORIZATION = 'Default OAuth2.0 authorization' @@ -39,6 +41,7 @@ class SignInViaSlackOAuth: + class SourceSlackSlack(str, Enum): SLACK = 'slack' diff --git a/src/airbyte_api/models/source_smaily.py b/src/airbyte_api/models/source_smaily.py index 85b1cebb..1839917b 100644 --- a/src/airbyte_api/models/source_smaily.py +++ b/src/airbyte_api/models/source_smaily.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Smaily(str, Enum): SMAILY = 'smaily' diff --git a/src/airbyte_api/models/source_smartengage.py b/src/airbyte_api/models/source_smartengage.py index aea19b64..11f3b3ad 100644 --- a/src/airbyte_api/models/source_smartengage.py +++ b/src/airbyte_api/models/source_smartengage.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Smartengage(str, Enum): SMARTENGAGE = 'smartengage' diff --git a/src/airbyte_api/models/source_smartsheets.py b/src/airbyte_api/models/source_smartsheets.py index fa9e434f..8938059d 100644 --- a/src/airbyte_api/models/source_smartsheets.py +++ b/src/airbyte_api/models/source_smartsheets.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceSmartsheetsSchemasAuthType(str, Enum): ACCESS_TOKEN = 'access_token' @@ -22,6 +23,7 @@ class APIAccessToken: + class SourceSmartsheetsAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class SourceSmartsheetsOAuth20: + class Validenums(str, Enum): SHEETCREATED_AT = 'sheetcreatedAt' SHEETID = 'sheetid' @@ -62,6 +65,7 @@ class Validenums(str, Enum): ROW_NUMBER = 'row_number' ROW_VERSION = 'row_version' + class SourceSmartsheetsSmartsheets(str, Enum): SMARTSHEETS = 'smartsheets' diff --git a/src/airbyte_api/models/source_snapchat_marketing.py b/src/airbyte_api/models/source_snapchat_marketing.py index f128f73d..163b0dd9 100644 --- a/src/airbyte_api/models/source_snapchat_marketing.py +++ b/src/airbyte_api/models/source_snapchat_marketing.py @@ -9,20 +9,24 @@ from enum import Enum from typing import Final, Optional + class ActionReportTime(str, Enum): r"""Specifies the principle for conversion reporting.""" CONVERSION = 'conversion' IMPRESSION = 'impression' + class SourceSnapchatMarketingSnapchatMarketing(str, Enum): SNAPCHAT_MARKETING = 'snapchat-marketing' + class SwipeUpAttributionWindow(str, Enum): r"""Attribution window for swipe ups.""" ONE_DAY = '1_DAY' SEVEN_DAY = '7_DAY' TWENTY_EIGHT_DAY = '28_DAY' + class ViewAttributionWindow(str, Enum): r"""Attribution window for views.""" ONE_HOUR = '1_HOUR' diff --git a/src/airbyte_api/models/source_snowflake.py b/src/airbyte_api/models/source_snowflake.py index 83beba65..96738047 100644 --- a/src/airbyte_api/models/source_snowflake.py +++ b/src/airbyte_api/models/source_snowflake.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceSnowflakeSchemasAuthType(str, Enum): USERNAME_PASSWORD = 'username/password' @@ -22,6 +23,7 @@ class SourceSnowflakeUsernameAndPassword: + class SourceSnowflakeAuthType(str, Enum): O_AUTH = 'OAuth' @@ -41,6 +43,7 @@ class SourceSnowflakeOAuth20: + class SourceSnowflakeSnowflake(str, Enum): SNOWFLAKE = 'snowflake' diff --git a/src/airbyte_api/models/source_sonar_cloud.py b/src/airbyte_api/models/source_sonar_cloud.py index 96b781e0..40521bd2 100644 --- a/src/airbyte_api/models/source_sonar_cloud.py +++ b/src/airbyte_api/models/source_sonar_cloud.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Any, Final, List, Optional + class SonarCloud(str, Enum): SONAR_CLOUD = 'sonar-cloud' diff --git a/src/airbyte_api/models/source_spacex_api.py b/src/airbyte_api/models/source_spacex_api.py index ebcad73f..99a130de 100644 --- a/src/airbyte_api/models/source_spacex_api.py +++ b/src/airbyte_api/models/source_spacex_api.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class SpacexAPI(str, Enum): SPACEX_API = 'spacex-api' diff --git a/src/airbyte_api/models/source_square.py b/src/airbyte_api/models/source_square.py index 860879b2..85760358 100644 --- a/src/airbyte_api/models/source_square.py +++ b/src/airbyte_api/models/source_square.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceSquareSchemasAuthType(str, Enum): API_KEY = 'API Key' @@ -22,6 +23,7 @@ class SourceSquareAPIKey: + class SourceSquareAuthType(str, Enum): O_AUTH = 'OAuth' @@ -39,6 +41,7 @@ class OauthAuthentication: + class SourceSquareSquare(str, Enum): SQUARE = 'square' diff --git a/src/airbyte_api/models/source_strava.py b/src/airbyte_api/models/source_strava.py index 7884fae6..0607fb60 100644 --- a/src/airbyte_api/models/source_strava.py +++ b/src/airbyte_api/models/source_strava.py @@ -9,9 +9,11 @@ from enum import Enum from typing import Final, Optional + class SourceStravaAuthType(str, Enum): CLIENT = 'Client' + class SourceStravaStrava(str, Enum): STRAVA = 'strava' diff --git a/src/airbyte_api/models/source_stripe.py b/src/airbyte_api/models/source_stripe.py index a5ca0aa5..d80a9bc2 100644 --- a/src/airbyte_api/models/source_stripe.py +++ b/src/airbyte_api/models/source_stripe.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Stripe(str, Enum): STRIPE = 'stripe' diff --git a/src/airbyte_api/models/source_survey_sparrow.py b/src/airbyte_api/models/source_survey_sparrow.py index 4576c41b..0b9e681b 100644 --- a/src/airbyte_api/models/source_survey_sparrow.py +++ b/src/airbyte_api/models/source_survey_sparrow.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Any, Final, List, Optional, Union + class SourceSurveySparrowURLBase(str, Enum): HTTPS_API_SURVEYSPARROW_COM_V3 = 'https://api.surveysparrow.com/v3' @@ -18,6 +19,7 @@ class GlobalAccount: + class URLBase(str, Enum): HTTPS_EU_API_SURVEYSPARROW_COM_V3 = 'https://eu-api.surveysparrow.com/v3' @@ -29,6 +31,7 @@ class EUBasedAccount: + class SurveySparrow(str, Enum): SURVEY_SPARROW = 'survey-sparrow' diff --git a/src/airbyte_api/models/source_surveymonkey.py b/src/airbyte_api/models/source_surveymonkey.py index f0fd55c8..282b68aa 100644 --- a/src/airbyte_api/models/source_surveymonkey.py +++ b/src/airbyte_api/models/source_surveymonkey.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional + class SourceSurveymonkeyAuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -27,12 +28,14 @@ class SurveyMonkeyAuthorizationMethod: + class OriginDatacenterOfTheSurveyMonkeyAccount(str, Enum): r"""Depending on the originating datacenter of the SurveyMonkey account, the API access URL may be different.""" USA = 'USA' EUROPE = 'Europe' CANADA = 'Canada' + class SourceSurveymonkeySurveymonkey(str, Enum): SURVEYMONKEY = 'surveymonkey' diff --git a/src/airbyte_api/models/source_tempo.py b/src/airbyte_api/models/source_tempo.py index 7d1a39ed..bbb19123 100644 --- a/src/airbyte_api/models/source_tempo.py +++ b/src/airbyte_api/models/source_tempo.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Tempo(str, Enum): TEMPO = 'tempo' diff --git a/src/airbyte_api/models/source_the_guardian_api.py b/src/airbyte_api/models/source_the_guardian_api.py index 23e67d28..8806224c 100644 --- a/src/airbyte_api/models/source_the_guardian_api.py +++ b/src/airbyte_api/models/source_the_guardian_api.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class TheGuardianAPI(str, Enum): THE_GUARDIAN_API = 'the-guardian-api' diff --git a/src/airbyte_api/models/source_tiktok_marketing.py b/src/airbyte_api/models/source_tiktok_marketing.py index e78de14a..d38f5de3 100644 --- a/src/airbyte_api/models/source_tiktok_marketing.py +++ b/src/airbyte_api/models/source_tiktok_marketing.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceTiktokMarketingSchemasAuthType(str, Enum): SANDBOX_ACCESS_TOKEN = 'sandbox_access_token' @@ -24,6 +25,7 @@ class SandboxAccessToken: + class SourceTiktokMarketingAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class SourceTiktokMarketingOAuth20: + class SourceTiktokMarketingTiktokMarketing(str, Enum): TIKTOK_MARKETING = 'tiktok-marketing' diff --git a/src/airbyte_api/models/source_trello.py b/src/airbyte_api/models/source_trello.py index c3485309..65a47fe9 100644 --- a/src/airbyte_api/models/source_trello.py +++ b/src/airbyte_api/models/source_trello.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional + class Trello(str, Enum): TRELLO = 'trello' diff --git a/src/airbyte_api/models/source_trustpilot.py b/src/airbyte_api/models/source_trustpilot.py index ca24a7b1..02010133 100644 --- a/src/airbyte_api/models/source_trustpilot.py +++ b/src/airbyte_api/models/source_trustpilot.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceTrustpilotSchemasAuthType(str, Enum): APIKEY = 'apikey' @@ -23,6 +24,7 @@ class SourceTrustpilotAPIKey: + class SourceTrustpilotAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -44,6 +46,7 @@ class SourceTrustpilotOAuth20: + class Trustpilot(str, Enum): TRUSTPILOT = 'trustpilot' diff --git a/src/airbyte_api/models/source_tvmaze_schedule.py b/src/airbyte_api/models/source_tvmaze_schedule.py index a9e8d418..70f77f55 100644 --- a/src/airbyte_api/models/source_tvmaze_schedule.py +++ b/src/airbyte_api/models/source_tvmaze_schedule.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class TvmazeSchedule(str, Enum): TVMAZE_SCHEDULE = 'tvmaze-schedule' diff --git a/src/airbyte_api/models/source_twilio.py b/src/airbyte_api/models/source_twilio.py index c2ebf485..d00e7d67 100644 --- a/src/airbyte_api/models/source_twilio.py +++ b/src/airbyte_api/models/source_twilio.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Twilio(str, Enum): TWILIO = 'twilio' diff --git a/src/airbyte_api/models/source_twilio_taskrouter.py b/src/airbyte_api/models/source_twilio_taskrouter.py index 169148bf..51a7c9f7 100644 --- a/src/airbyte_api/models/source_twilio_taskrouter.py +++ b/src/airbyte_api/models/source_twilio_taskrouter.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class TwilioTaskrouter(str, Enum): TWILIO_TASKROUTER = 'twilio-taskrouter' diff --git a/src/airbyte_api/models/source_twitter.py b/src/airbyte_api/models/source_twitter.py index 49d60543..c596fb2b 100644 --- a/src/airbyte_api/models/source_twitter.py +++ b/src/airbyte_api/models/source_twitter.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Twitter(str, Enum): TWITTER = 'twitter' diff --git a/src/airbyte_api/models/source_typeform.py b/src/airbyte_api/models/source_typeform.py index 7746d267..c1c7e5d9 100644 --- a/src/airbyte_api/models/source_typeform.py +++ b/src/airbyte_api/models/source_typeform.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, List, Optional, Union + class SourceTypeformSchemasAuthType(str, Enum): ACCESS_TOKEN = 'access_token' @@ -22,6 +23,7 @@ class SourceTypeformPrivateToken: + class SourceTypeformAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -43,6 +45,7 @@ class SourceTypeformOAuth20: + class SourceTypeformTypeform(str, Enum): TYPEFORM = 'typeform' diff --git a/src/airbyte_api/models/source_us_census.py b/src/airbyte_api/models/source_us_census.py index 80f96538..e4f03468 100644 --- a/src/airbyte_api/models/source_us_census.py +++ b/src/airbyte_api/models/source_us_census.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class UsCensus(str, Enum): US_CENSUS = 'us-census' diff --git a/src/airbyte_api/models/source_vantage.py b/src/airbyte_api/models/source_vantage.py index d3799888..2ef7cace 100644 --- a/src/airbyte_api/models/source_vantage.py +++ b/src/airbyte_api/models/source_vantage.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class Vantage(str, Enum): VANTAGE = 'vantage' diff --git a/src/airbyte_api/models/source_webflow.py b/src/airbyte_api/models/source_webflow.py index 591a29c6..221b2163 100644 --- a/src/airbyte_api/models/source_webflow.py +++ b/src/airbyte_api/models/source_webflow.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Webflow(str, Enum): WEBFLOW = 'webflow' diff --git a/src/airbyte_api/models/source_whisky_hunter.py b/src/airbyte_api/models/source_whisky_hunter.py index d08d7390..932a6bf5 100644 --- a/src/airbyte_api/models/source_whisky_hunter.py +++ b/src/airbyte_api/models/source_whisky_hunter.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class WhiskyHunter(str, Enum): WHISKY_HUNTER = 'whisky-hunter' diff --git a/src/airbyte_api/models/source_wikipedia_pageviews.py b/src/airbyte_api/models/source_wikipedia_pageviews.py index 4d87bd82..f1c88e2e 100644 --- a/src/airbyte_api/models/source_wikipedia_pageviews.py +++ b/src/airbyte_api/models/source_wikipedia_pageviews.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class WikipediaPageviews(str, Enum): WIKIPEDIA_PAGEVIEWS = 'wikipedia-pageviews' diff --git a/src/airbyte_api/models/source_woocommerce.py b/src/airbyte_api/models/source_woocommerce.py index 01fb6a14..d38abcb6 100644 --- a/src/airbyte_api/models/source_woocommerce.py +++ b/src/airbyte_api/models/source_woocommerce.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final + class Woocommerce(str, Enum): WOOCOMMERCE = 'woocommerce' diff --git a/src/airbyte_api/models/source_xkcd.py b/src/airbyte_api/models/source_xkcd.py index faeaa866..347cca03 100644 --- a/src/airbyte_api/models/source_xkcd.py +++ b/src/airbyte_api/models/source_xkcd.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Xkcd(str, Enum): XKCD = 'xkcd' diff --git a/src/airbyte_api/models/source_yandex_metrica.py b/src/airbyte_api/models/source_yandex_metrica.py index 539527c9..9df10351 100644 --- a/src/airbyte_api/models/source_yandex_metrica.py +++ b/src/airbyte_api/models/source_yandex_metrica.py @@ -8,6 +8,7 @@ from enum import Enum from typing import Final, Optional + class YandexMetrica(str, Enum): YANDEX_METRICA = 'yandex-metrica' diff --git a/src/airbyte_api/models/source_yotpo.py b/src/airbyte_api/models/source_yotpo.py index c19ba09b..a459ef6c 100644 --- a/src/airbyte_api/models/source_yotpo.py +++ b/src/airbyte_api/models/source_yotpo.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class Yotpo(str, Enum): YOTPO = 'yotpo' diff --git a/src/airbyte_api/models/source_youtube_analytics.py b/src/airbyte_api/models/source_youtube_analytics.py index d23029b8..02a00059 100644 --- a/src/airbyte_api/models/source_youtube_analytics.py +++ b/src/airbyte_api/models/source_youtube_analytics.py @@ -22,6 +22,7 @@ class AuthenticateViaOAuth20: + class SourceYoutubeAnalyticsYoutubeAnalytics(str, Enum): YOUTUBE_ANALYTICS = 'youtube-analytics' diff --git a/src/airbyte_api/models/source_zendesk_chat.py b/src/airbyte_api/models/source_zendesk_chat.py index cab9c2ad..4e91423b 100644 --- a/src/airbyte_api/models/source_zendesk_chat.py +++ b/src/airbyte_api/models/source_zendesk_chat.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceZendeskChatSchemasCredentials(str, Enum): ACCESS_TOKEN = 'access_token' @@ -22,6 +23,7 @@ class SourceZendeskChatAccessToken: + class SourceZendeskChatCredentials(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -41,6 +43,7 @@ class SourceZendeskChatOAuth20: + class SourceZendeskChatZendeskChat(str, Enum): ZENDESK_CHAT = 'zendesk-chat' diff --git a/src/airbyte_api/models/source_zendesk_sell.py b/src/airbyte_api/models/source_zendesk_sell.py index 9dae1877..31989203 100644 --- a/src/airbyte_api/models/source_zendesk_sell.py +++ b/src/airbyte_api/models/source_zendesk_sell.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final + class ZendeskSell(str, Enum): ZENDESK_SELL = 'zendesk-sell' diff --git a/src/airbyte_api/models/source_zendesk_sunshine.py b/src/airbyte_api/models/source_zendesk_sunshine.py index 42e7c672..4ede094a 100644 --- a/src/airbyte_api/models/source_zendesk_sunshine.py +++ b/src/airbyte_api/models/source_zendesk_sunshine.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional, Union + class SourceZendeskSunshineSchemasAuthMethod(str, Enum): API_TOKEN = 'api_token' @@ -24,6 +25,7 @@ class SourceZendeskSunshineAPIToken: + class SourceZendeskSunshineAuthMethod(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -41,6 +43,7 @@ class SourceZendeskSunshineOAuth20: + class SourceZendeskSunshineZendeskSunshine(str, Enum): ZENDESK_SUNSHINE = 'zendesk-sunshine' diff --git a/src/airbyte_api/models/source_zendesk_support.py b/src/airbyte_api/models/source_zendesk_support.py index be5f5bd7..dd7e6e74 100644 --- a/src/airbyte_api/models/source_zendesk_support.py +++ b/src/airbyte_api/models/source_zendesk_support.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceZendeskSupportSchemasCredentials(str, Enum): API_TOKEN = 'api_token' @@ -26,6 +27,7 @@ class SourceZendeskSupportAPIToken: + class SourceZendeskSupportCredentials(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -45,6 +47,7 @@ class SourceZendeskSupportOAuth20: + class SourceZendeskSupportZendeskSupport(str, Enum): ZENDESK_SUPPORT = 'zendesk-support' diff --git a/src/airbyte_api/models/source_zendesk_talk.py b/src/airbyte_api/models/source_zendesk_talk.py index e6419d81..f2f75d3a 100644 --- a/src/airbyte_api/models/source_zendesk_talk.py +++ b/src/airbyte_api/models/source_zendesk_talk.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Any, Dict, Final, Optional, Union + class SourceZendeskTalkSchemasAuthType(str, Enum): API_TOKEN = 'api_token' @@ -26,6 +27,7 @@ class SourceZendeskTalkAPIToken: + class SourceZendeskTalkAuthType(str, Enum): OAUTH2_0 = 'oauth2.0' @@ -45,6 +47,7 @@ class SourceZendeskTalkOAuth20: + class SourceZendeskTalkZendeskTalk(str, Enum): ZENDESK_TALK = 'zendesk-talk' diff --git a/src/airbyte_api/models/source_zenloop.py b/src/airbyte_api/models/source_zenloop.py index eb69fbcb..e2602f54 100644 --- a/src/airbyte_api/models/source_zenloop.py +++ b/src/airbyte_api/models/source_zenloop.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Zenloop(str, Enum): ZENLOOP = 'zenloop' diff --git a/src/airbyte_api/models/source_zoho_crm.py b/src/airbyte_api/models/source_zoho_crm.py index e0047cf7..44c70432 100644 --- a/src/airbyte_api/models/source_zoho_crm.py +++ b/src/airbyte_api/models/source_zoho_crm.py @@ -9,6 +9,7 @@ from enum import Enum from typing import Final, Optional + class DataCenterLocation(str, Enum): r"""Please choose the region of your Data Center location. More info by this Link""" US = 'US' @@ -18,6 +19,7 @@ class DataCenterLocation(str, Enum): CN = 'CN' JP = 'JP' + class ZohoCRMEdition(str, Enum): r"""Choose your Edition of Zoho CRM to determine API Concurrency Limits""" FREE = 'Free' @@ -26,12 +28,14 @@ class ZohoCRMEdition(str, Enum): ENTERPRISE = 'Enterprise' ULTIMATE = 'Ultimate' + class SourceZohoCrmEnvironment(str, Enum): r"""Please choose the environment""" PRODUCTION = 'Production' DEVELOPER = 'Developer' SANDBOX = 'Sandbox' + class ZohoCrm(str, Enum): ZOHO_CRM = 'zoho-crm' diff --git a/src/airbyte_api/models/source_zoom.py b/src/airbyte_api/models/source_zoom.py index e8720ba6..c5f9ac48 100644 --- a/src/airbyte_api/models/source_zoom.py +++ b/src/airbyte_api/models/source_zoom.py @@ -7,6 +7,7 @@ from enum import Enum from typing import Final, Optional + class Zoom(str, Enum): ZOOM = 'zoom' diff --git a/src/airbyte_api/permissions.py b/src/airbyte_api/permissions.py index 42677511..fb15bf5c 100644 --- a/src/airbyte_api/permissions.py +++ b/src/airbyte_api/permissions.py @@ -73,4 +73,224 @@ def create_permission(self, request: models.PermissionCreateRequest) -> api.Crea return res + + def delete_permission(self, request: api.DeletePermissionRequest) -> api.DeletePermissionResponse: + r"""Delete a Permission""" + hook_ctx = HookContext(operation_id='deletePermission', 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, '/permissions/{permissionId}', 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','422','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.DeletePermissionResponse(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 == 422 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_permission(self, request: api.GetPermissionRequest) -> api.GetPermissionResponse: + r"""Get Permission details""" + hook_ctx = HookContext(operation_id='getPermission', 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, '/permissions/{permissionId}', 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','422','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.GetPermissionResponse(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.PermissionResponse]) + res.permission_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 == 422 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_permissions(self, request: api.ListPermissionsRequest) -> api.ListPermissionsResponse: + r"""List Permissions by user id""" + hook_ctx = HookContext(operation_id='listPermissions', oauth2_scopes=[], security_source=self.sdk_configuration.security) + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) + + url = base_url + '/permissions' + + 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.ListPermissionsResponse(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.PermissionsResponse]) + res.permissions_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_permission(self, request: api.UpdatePermissionRequest) -> api.UpdatePermissionResponse: + r"""Update a permission""" + hook_ctx = HookContext(operation_id='updatePermission', 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, '/permissions/{permissionId}', 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.UpdatePermissionRequest, "permission_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','404','422','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.UpdatePermissionResponse(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.PermissionResponse]) + res.permission_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 == 422 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.py b/src/airbyte_api/public.py deleted file mode 100644 index 9dd43fe5..00000000 --- a/src/airbyte_api/public.py +++ /dev/null @@ -1,1707 +0,0 @@ -"""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_permission(self, request: models.PermissionCreateRequest) -> api.CreatePermissionResponse: - r"""Create a permission""" - hook_ctx = HookContext(operation_id='createPermission', oauth2_scopes=[], security_source=self.sdk_configuration.security) - base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - - url = base_url + '/permissions' - - 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.PermissionCreateRequest, "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.CreatePermissionResponse(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.PermissionResponse]) - res.permission_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_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 deleted file mode 100644 index a8c22dfa..00000000 --- a/src/airbyte_api/public_connections.py +++ /dev/null @@ -1,296 +0,0 @@ -"""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 deleted file mode 100644 index 6ead2188..00000000 --- a/src/airbyte_api/public_destinations.py +++ /dev/null @@ -1,352 +0,0 @@ -"""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 deleted file mode 100644 index dff677b2..00000000 --- a/src/airbyte_api/public_jobs.py +++ /dev/null @@ -1,242 +0,0 @@ -"""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_permissions.py b/src/airbyte_api/public_permissions.py deleted file mode 100644 index 6c6eb1d5..00000000 --- a/src/airbyte_api/public_permissions.py +++ /dev/null @@ -1,76 +0,0 @@ -"""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 PublicPermissions: - sdk_configuration: SDKConfiguration - - def __init__(self, sdk_config: SDKConfiguration) -> None: - self.sdk_configuration = sdk_config - - - - def create_permission(self, request: models.PermissionCreateRequest) -> api.CreatePermissionResponse: - r"""Create a permission""" - hook_ctx = HookContext(operation_id='createPermission', oauth2_scopes=[], security_source=self.sdk_configuration.security) - base_url = utils.template_url(*self.sdk_configuration.get_server_details()) - - url = base_url + '/permissions' - - 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.PermissionCreateRequest, "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.CreatePermissionResponse(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.PermissionResponse]) - res.permission_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_sources.py b/src/airbyte_api/public_sources.py deleted file mode 100644 index 156139d6..00000000 --- a/src/airbyte_api/public_sources.py +++ /dev/null @@ -1,412 +0,0 @@ -"""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 deleted file mode 100644 index 0571c2af..00000000 --- a/src/airbyte_api/public_streams.py +++ /dev/null @@ -1,72 +0,0 @@ -"""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 deleted file mode 100644 index 62a8d577..00000000 --- a/src/airbyte_api/public_workspaces.py +++ /dev/null @@ -1,353 +0,0 @@ -"""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 cb7bf10c..90cbba9a 100644 --- a/src/airbyte_api/sdk.py +++ b/src/airbyte_api/sdk.py @@ -3,16 +3,9 @@ import requests as requests_http from .connections import Connections from .destinations import Destinations +from .health import Health from .jobs import Jobs from .permissions import Permissions -from .public import Public -from .public_connections import PublicConnections -from .public_destinations import PublicDestinations -from .public_jobs import PublicJobs -from .public_permissions import PublicPermissions -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 @@ -24,20 +17,13 @@ class AirbyteAPI: r"""airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise.""" - public_connections: PublicConnections - public: Public connections: Connections - public_destinations: PublicDestinations destinations: Destinations - public_jobs: PublicJobs + health: Health jobs: Jobs - public_permissions: PublicPermissions permissions: Permissions - public_sources: PublicSources sources: Sources - public_streams: PublicStreams streams: Streams - public_workspaces: PublicWorkspaces workspaces: Workspaces sdk_configuration: SDKConfiguration @@ -95,18 +81,11 @@ 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.health = Health(self.sdk_configuration) self.jobs = Jobs(self.sdk_configuration) - self.public_permissions = PublicPermissions(self.sdk_configuration) self.permissions = Permissions(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 cdeada27..a6534473 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.4' - gen_version: str = '2.331.0' - user_agent: str = 'speakeasy-sdk/python 0.49.4 2.331.0 1.0.0 airbyte-api' + sdk_version: str = '0.50.0' + gen_version: str = '2.332.4' + user_agent: str = 'speakeasy-sdk/python 0.50.0 2.332.4 1.0.0 airbyte-api' retry_config: Optional[RetryConfig] = None def __post_init__(self):