diff --git a/README.md b/README.md index 0db67c48a..3ddab3359 100755 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The Developer Portal UI can also be used to help build your integration by showi ### Gradle ```groovy -implementation 'com.airbyte.api:public-api:0.15.1' +implementation 'com.airbyte.api:public-api:0.15.2' ``` @@ -33,7 +33,8 @@ package hello.world; import com.airbyte.api.Airbyte; import com.airbyte.api.models.operations.CreateConnectionResponse; import com.airbyte.api.models.shared.ConnectionCreateRequest; -import com.airbyte.api.models.shared.ConnectionScheduleCreate; +import com.airbyte.api.models.shared.ConnectionSchedule; +import com.airbyte.api.models.shared.ConnectionStatusEnum; import com.airbyte.api.models.shared.ConnectionSyncModeEnum; import com.airbyte.api.models.shared.GeographyEnum; import com.airbyte.api.models.shared.NamespaceDefinitionEnum; @@ -124,9 +125,10 @@ public class Application { namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; prefix = "tenetur"; - schedule = new ConnectionScheduleCreate(ScheduleTypeEnum.MANUAL) {{ + schedule = new ConnectionSchedule(ScheduleTypeEnum.MANUAL) {{ cronExpression = "id"; }};; + status = ConnectionStatusEnum.DEPRECATED; }}; CreateConnectionResponse res = sdk.connections.createConnection(req); @@ -152,6 +154,7 @@ public class Application { * [deleteConnection](docs/connections/README.md#deleteconnection) - Delete a Connection * [getConnection](docs/connections/README.md#getconnection) - Get Connection details * [listConnections](docs/connections/README.md#listconnections) - List connections +* [patchConnection](docs/connections/README.md#patchconnection) - Update Connection details ### [destinations](docs/destinations/README.md) @@ -159,6 +162,8 @@ public class Application { * [deleteDestination](docs/destinations/README.md#deletedestination) - Delete a Destination * [getDestination](docs/destinations/README.md#getdestination) - Get Destination details * [listDestinations](docs/destinations/README.md#listdestinations) - List destinations +* [patchDestination](docs/destinations/README.md#patchdestination) - Update a Destination +* [putDestination](docs/destinations/README.md#putdestination) - Update a Destination and fully overwrite it ### [jobs](docs/jobs/README.md) @@ -174,6 +179,8 @@ public class Application { * [getSource](docs/sources/README.md#getsource) - Get Source details * [initiateOAuth](docs/sources/README.md#initiateoauth) - Initiate OAuth for a source * [listSources](docs/sources/README.md#listsources) - List sources +* [patchSource](docs/sources/README.md#patchsource) - Update a Source +* [putSource](docs/sources/README.md#putsource) - Update a Source and fully overwrite it ### [streams](docs/streams/README.md) diff --git a/RELEASES.md b/RELEASES.md index 3df6c55e9..1baf86e36 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -359,4 +359,12 @@ Based on: - OpenAPI Doc 1.0.0 - Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy ### Releases -- [Maven Central v0.15.1] https://central.sonatype.com/artifact/com.airbyte/api/0.15.1 - . \ No newline at end of file +- [Maven Central v0.15.1] https://central.sonatype.com/artifact/com.airbyte/api/0.15.1 - . + +## 2023-06-07 07:13:41 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy +### Releases +- [Maven Central v0.15.2] https://central.sonatype.com/artifact/com.airbyte/api/0.15.2 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index fd013fd33..64672aa62 100755 --- a/USAGE.md +++ b/USAGE.md @@ -5,7 +5,8 @@ package hello.world; import com.airbyte.api.Airbyte; import com.airbyte.api.models.operations.CreateConnectionResponse; import com.airbyte.api.models.shared.ConnectionCreateRequest; -import com.airbyte.api.models.shared.ConnectionScheduleCreate; +import com.airbyte.api.models.shared.ConnectionSchedule; +import com.airbyte.api.models.shared.ConnectionStatusEnum; import com.airbyte.api.models.shared.ConnectionSyncModeEnum; import com.airbyte.api.models.shared.GeographyEnum; import com.airbyte.api.models.shared.NamespaceDefinitionEnum; @@ -96,9 +97,10 @@ public class Application { namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; prefix = "tenetur"; - schedule = new ConnectionScheduleCreate(ScheduleTypeEnum.MANUAL) {{ + schedule = new ConnectionSchedule(ScheduleTypeEnum.MANUAL) {{ cronExpression = "id"; }};; + status = ConnectionStatusEnum.DEPRECATED; }}; CreateConnectionResponse res = sdk.connections.createConnection(req); diff --git a/docs/connections/README.md b/docs/connections/README.md index 78cba784a..af69b0e08 100755 --- a/docs/connections/README.md +++ b/docs/connections/README.md @@ -6,6 +6,7 @@ * [deleteConnection](#deleteconnection) - Delete a Connection * [getConnection](#getconnection) - Get Connection details * [listConnections](#listconnections) - List connections +* [patchConnection](#patchconnection) - Update Connection details ## createConnection @@ -19,7 +20,8 @@ package hello.world; import com.airbyte.api.Airbyte; import com.airbyte.api.models.operations.CreateConnectionResponse; import com.airbyte.api.models.shared.ConnectionCreateRequest; -import com.airbyte.api.models.shared.ConnectionScheduleCreate; +import com.airbyte.api.models.shared.ConnectionSchedule; +import com.airbyte.api.models.shared.ConnectionStatusEnum; import com.airbyte.api.models.shared.ConnectionSyncModeEnum; import com.airbyte.api.models.shared.GeographyEnum; import com.airbyte.api.models.shared.NamespaceDefinitionEnum; @@ -33,42 +35,108 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("possimus") {{ + .setSecurity(new Security("aut") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("019da1ff-e78f-4097-b007-4f15471b5e6e", "13b99d48-8e1e-491e-850a-d2abd4426980") {{ + com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("19da1ffe-78f0-497b-8074-f15471b5e6e1", "3b99d488-e1e9-41e4-90ad-2abd44269802") {{ configurations = new StreamConfigurations() {{ streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ - add(new StreamConfiguration("rerum") {{ + add(new StreamConfiguration("officia") {{ cursorField = new String[]{{ - add("ipsam"), add("alias"), add("fugit"), - add("dolorum"), }}; - name = "Eddie Prosacco"; + name = "Marshall Glover"; primaryKey = new String[][]{{ add(new String[]{{ + add("eum"), add("non"), add("eligendi"), + add("sint"), }}), add(new String[]{{ - add("aliquid"), add("provident"), add("necessitatibus"), }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND; + }}), + add(new StreamConfiguration("provident") {{ + cursorField = new String[]{{ + add("debitis"), + }}; + name = "Wilbur King"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("dicta"), + add("magnam"), + add("cumque"), + }}), + add(new String[]{{ + add("ea"), + add("aliquid"), + add("laborum"), + add("accusamus"), + }}), + add(new String[]{{ + add("occaecati"), + }}), + add(new String[]{{ + add("accusamus"), + add("delectus"), + }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND; + }}), + add(new StreamConfiguration("nobis") {{ + cursorField = new String[]{{ + add("id"), + add("blanditiis"), + add("deleniti"), + }}; + name = "Vincent Nolan"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("molestiae"), + add("perferendis"), + add("nihil"), + }}), + add(new String[]{{ + add("distinctio"), + add("id"), + }}), + add(new String[]{{ + add("labore"), + add("suscipit"), + }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND; + }}), + add(new StreamConfiguration("debitis") {{ + cursorField = new String[]{{ + add("vero"), + add("aspernatur"), + }}; + name = "Danielle Bosco"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("sint"), + add("accusantium"), + add("mollitia"), + }}), add(new String[]{{ - add("officia"), + add("mollitia"), + add("ad"), + add("eum"), add("dolor"), - add("debitis"), }}), add(new String[]{{ - add("dolorum"), - add("in"), - add("in"), - add("illum"), + add("odit"), + add("nemo"), + add("quasi"), + add("iure"), }}), }}; syncMode = ConnectionSyncModeEnum.INCREMENTAL_DEDUPED_HISTORY; @@ -76,14 +144,15 @@ public class Application { }}; }};; dataResidency = GeographyEnum.AUTO; - name = "Blanca Schulist"; + name = "Alfredo Prosacco Sr."; namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT; namespaceFormat = "${SOURCE_NAMESPACE}"; - nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.DISABLE_CONNECTION; - prefix = "non"; - schedule = new ConnectionScheduleCreate(ScheduleTypeEnum.CRON) {{ - cronExpression = "enim"; + nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; + prefix = "expedita"; + schedule = new ConnectionSchedule(ScheduleTypeEnum.MANUAL) {{ + cronExpression = "repellat"; }};; + status = ConnectionStatusEnum.DEPRECATED; }}; CreateConnectionResponse res = sdk.connections.createConnection(req); @@ -116,12 +185,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("accusamus") {{ + .setSecurity(new Security("sed") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - DeleteConnectionRequest req = new DeleteConnectionRequest("delectus"); + DeleteConnectionRequest req = new DeleteConnectionRequest("saepe"); DeleteConnectionResponse res = sdk.connections.deleteConnection(req); @@ -153,12 +222,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("quidem") {{ + .setSecurity(new Security("pariatur") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetConnectionRequest req = new GetConnectionRequest("provident"); + GetConnectionRequest req = new GetConnectionRequest("accusantium"); GetConnectionResponse res = sdk.connections.getConnection(req); @@ -190,19 +259,17 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("nam") {{ + .setSecurity(new Security("consequuntur") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); ListConnectionsRequest req = new ListConnectionsRequest() {{ includeDeleted = false; - limit = 659669; - offset = 501324; + limit = 508315; + offset = 615560; workspaceIds = new String[]{{ - add("f3a66997-074b-4a44-a9b6-e2141959890a"), - add("fa563e25-16fe-44c8-b711-e5b7fd2ed028"), - add("921cddc6-9260-41fb-976b-0d5f0d30c5fb"), + add("1cddc692-601f-4b57-ab0d-5f0d30c5fbb2"), }}; }}; @@ -217,3 +284,113 @@ public class Application { } } ``` + +## patchConnection + +Update Connection details + +### Example Usage + +```java +package hello.world; + +import com.airbyte.api.Airbyte; +import com.airbyte.api.models.operations.PatchConnectionRequest; +import com.airbyte.api.models.operations.PatchConnectionResponse; +import com.airbyte.api.models.shared.ConnectionPatchRequest; +import com.airbyte.api.models.shared.ConnectionSchedule; +import com.airbyte.api.models.shared.ConnectionStatusEnum; +import com.airbyte.api.models.shared.ConnectionSyncModeEnum; +import com.airbyte.api.models.shared.GeographyEnumNoDefault; +import com.airbyte.api.models.shared.NamespaceDefinitionEnumNoDefault; +import com.airbyte.api.models.shared.NonBreakingSchemaUpdatesBehaviorEnumNoDefault; +import com.airbyte.api.models.shared.ScheduleTypeEnum; +import com.airbyte.api.models.shared.Security; +import com.airbyte.api.models.shared.StreamConfiguration; +import com.airbyte.api.models.shared.StreamConfigurations; + +public class Application { + public static void main(String[] args) { + try { + Airbyte sdk = Airbyte.builder() + .setSecurity(new Security("quis") {{ + bearerAuth = "YOUR_BEARER_TOKEN_HERE"; + }}) + .build(); + + PatchConnectionRequest req = new PatchConnectionRequest( new ConnectionPatchRequest() {{ + configurations = new StreamConfigurations() {{ + streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ + add(new StreamConfiguration("facilis") {{ + cursorField = new String[]{{ + add("eaque"), + add("quis"), + }}; + name = "Ruby Auer"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("vero"), + }}), + add(new String[]{{ + add("hic"), + add("recusandae"), + }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND; + }}), + add(new StreamConfiguration("pariatur") {{ + cursorField = new String[]{{ + add("voluptatem"), + add("porro"), + add("consequuntur"), + }}; + name = "Jeremiah Beatty"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("earum"), + add("modi"), + add("iste"), + add("dolorum"), + }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_APPEND; + }}), + add(new StreamConfiguration("excepturi") {{ + cursorField = new String[]{{ + add("nobis"), + add("libero"), + add("delectus"), + }}; + name = "Billie Jacobi"; + primaryKey = new String[][]{{ + add(new String[]{{ + add("ipsum"), + }}), + }}; + syncMode = ConnectionSyncModeEnum.INCREMENTAL_DEDUPED_HISTORY; + }}), + }}; + }};; + dataResidency = GeographyEnumNoDefault.EU; + name = "Marian Wisozk"; + namespaceDefinition = NamespaceDefinitionEnumNoDefault.SOURCE; + namespaceFormat = "${SOURCE_NAMESPACE}"; + nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnumNoDefault.IGNORE; + prefix = "ipsa"; + schedule = new ConnectionSchedule(ScheduleTypeEnum.MANUAL) {{ + cronExpression = "iure"; + }};; + status = ConnectionStatusEnum.INACTIVE; + }};, "quaerat"); + + PatchConnectionResponse res = sdk.connections.patchConnection(req); + + if (res.connectionResponse != null) { + // handle response + } + } catch (Exception e) { + // handle exception + } + } +} +``` diff --git a/docs/destinations/README.md b/docs/destinations/README.md index 67c9980cc..5a1fbe016 100755 --- a/docs/destinations/README.md +++ b/docs/destinations/README.md @@ -6,6 +6,8 @@ * [deleteDestination](#deletedestination) - Delete a Destination * [getDestination](#getdestination) - Get Destination details * [listDestinations](#listdestinations) - List destinations +* [patchDestination](#patchdestination) - Update a Destination +* [putDestination](#putdestination) - Update a Destination and fully overwrite it ## createDestination @@ -340,29 +342,36 @@ import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodSelectAnot import com.airbyte.api.models.shared.DestinationSnowflakeSnowflake; import com.airbyte.api.models.shared.DestinationTypesense; import com.airbyte.api.models.shared.DestinationTypesenseTypesense; +import com.airbyte.api.models.shared.DestinationVertica; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaVertica; import com.airbyte.api.models.shared.Security; public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("nobis") {{ + .setSecurity(new Security("accusamus") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest( new DestinationClickhouse("quam", DestinationClickhouseClickhouse.CLICKHOUSE, "dolor", 874573L, "nostrum") {{ - database = "quis"; - destinationType = DestinationClickhouseClickhouse.CLICKHOUSE; - host = "totam"; - jdbcUrlParams = "dignissimos"; - password = "eaque"; - port = 338985L; - tunnelMethod = new DestinationClickhouseTunnelMethodNoTunnel(DestinationClickhouseTunnelMethodNoTunnelTunnelMethod.NO_TUNNEL) {{ - tunnelMethod = DestinationClickhouseTunnelMethodNoTunnelTunnelMethod.NO_TUNNEL; - }}; - username = "Chelsea79"; - }}, "hic", "e9b90c28-909b-43fe-89a8-d9cbf4863332"); + com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest( new DestinationPubsub(false, "fugiat", DestinationPubsubPubsub.PUBSUB, false, "ab", "soluta") {{ + batchingDelayThreshold = 976405L; + batchingElementCountThreshold = 377752L; + batchingEnabled = false; + batchingRequestBytesThreshold = 617658L; + credentialsJson = "eos"; + destinationType = DestinationPubsubPubsub.PUBSUB; + orderingEnabled = false; + projectId = "atque"; + topicId = "sit"; + }}, "dolorum", "77a89ebf-737a-4e42-83ce-5e6a95d8a0d4"); CreateDestinationResponse res = sdk.destinations.createDestination(req); @@ -394,12 +403,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("ipsum") {{ + .setSecurity(new Security("tempora") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - DeleteDestinationRequest req = new DeleteDestinationRequest("hic"); + DeleteDestinationRequest req = new DeleteDestinationRequest("vel"); DeleteDestinationResponse res = sdk.destinations.deleteDestination(req); @@ -431,12 +440,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("excepturi") {{ + .setSecurity(new Security("quod") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetDestinationRequest req = new GetDestinationRequest("cum"); + GetDestinationRequest req = new GetDestinationRequest("officiis"); GetDestinationResponse res = sdk.destinations.getDestination(req); @@ -468,17 +477,18 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("voluptate") {{ + .setSecurity(new Security("qui") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); ListDestinationsRequest req = new ListDestinationsRequest() {{ includeDeleted = false; - limit = 490459; - offset = 970237; + limit = 679880; + offset = 952792; workspaceIds = new String[]{{ - add("a4100674-ebf6-4928-8d1b-a77a89ebf737"), + add("a73cf3be-453f-4870-b326-b5a73429cdb1"), + add("a8422bb6-79d2-4322-b15b-f0cbb1e31b8b"), }}; }}; @@ -493,3 +503,773 @@ public class Application { } } ``` + +## patchDestination + +Update a Destination + +### Example Usage + +```java +package hello.world; + +import com.airbyte.api.Airbyte; +import com.airbyte.api.models.operations.PatchDestinationRequest; +import com.airbyte.api.models.operations.PatchDestinationResponse; +import com.airbyte.api.models.shared.DestinationAmazonSqs; +import com.airbyte.api.models.shared.DestinationAmazonSqsAWSRegion; +import com.airbyte.api.models.shared.DestinationAmazonSqsAmazonSqs; +import com.airbyte.api.models.shared.DestinationAwsDatalake; +import com.airbyte.api.models.shared.DestinationAwsDatalakeAwsDatalake; +import com.airbyte.api.models.shared.DestinationAwsDatalakeChooseHowToPartitionData; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMRole; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitle; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMUser; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMUserCredentialsTitle; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptional; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcard; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptional; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcard; +import com.airbyte.api.models.shared.DestinationAwsDatalakeS3BucketRegion; +import com.airbyte.api.models.shared.DestinationAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlattening; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationBigquery; +import com.airbyte.api.models.shared.DestinationBigqueryBigquery; +import com.airbyte.api.models.shared.DestinationBigqueryDatasetLocation; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalized; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedBigqueryDenormalized; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedDatasetLocation; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStaging; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessing; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethod; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodStandardInserts; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethod; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStaging; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessing; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingMethod; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodStandardInserts; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodStandardInsertsMethod; +import com.airbyte.api.models.shared.DestinationBigqueryTransformationQueryRunType; +import com.airbyte.api.models.shared.DestinationCassandra; +import com.airbyte.api.models.shared.DestinationCassandraCassandra; +import com.airbyte.api.models.shared.DestinationClickhouse; +import com.airbyte.api.models.shared.DestinationClickhouseClickhouse; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationConvex; +import com.airbyte.api.models.shared.DestinationConvexConvex; +import com.airbyte.api.models.shared.DestinationCumulio; +import com.airbyte.api.models.shared.DestinationCumulioCumulio; +import com.airbyte.api.models.shared.DestinationDatabend; +import com.airbyte.api.models.shared.DestinationDatabendDatabend; +import com.airbyte.api.models.shared.DestinationDatabricks; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3DataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3S3BucketRegion; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAzureBlobStorageDataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceRecommendedManagedTables; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDatabricks; +import com.airbyte.api.models.shared.DestinationDevNull; +import com.airbyte.api.models.shared.DestinationDevNullDevNull; +import com.airbyte.api.models.shared.DestinationDevNullTestDestinationSilent; +import com.airbyte.api.models.shared.DestinationDevNullTestDestinationSilentTestDestinationType; +import com.airbyte.api.models.shared.DestinationDynamodb; +import com.airbyte.api.models.shared.DestinationDynamodbDynamoDBRegion; +import com.airbyte.api.models.shared.DestinationDynamodbDynamodb; +import com.airbyte.api.models.shared.DestinationElasticsearch; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodApiKeySecret; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodApiKeySecretMethod; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodUsernamePassword; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodUsernamePasswordMethod; +import com.airbyte.api.models.shared.DestinationElasticsearchElasticsearch; +import com.airbyte.api.models.shared.DestinationFirebolt; +import com.airbyte.api.models.shared.DestinationFireboltFirebolt; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodExternalTableViaS3; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodExternalTableViaS3Method; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodSQLInserts; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodSQLInsertsMethod; +import com.airbyte.api.models.shared.DestinationFirestore; +import com.airbyte.api.models.shared.DestinationFirestoreFirestore; +import com.airbyte.api.models.shared.DestinationGCSGCSBucketRegion; +import com.airbyte.api.models.shared.DestinationGcs; +import com.airbyte.api.models.shared.DestinationGcsCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationGcsCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvro; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2Codec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecXz; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesNormalization; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorageCompressionCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorageFormatType; +import com.airbyte.api.models.shared.DestinationGcsGcs; +import com.airbyte.api.models.shared.DestinationGoogleSheets; +import com.airbyte.api.models.shared.DestinationGoogleSheetsAuthenticationViaGoogleOAuth; +import com.airbyte.api.models.shared.DestinationGoogleSheetsGoogleSheets; +import com.airbyte.api.models.shared.DestinationKeen; +import com.airbyte.api.models.shared.DestinationKeenKeen; +import com.airbyte.api.models.shared.DestinationKinesis; +import com.airbyte.api.models.shared.DestinationKinesisKinesis; +import com.airbyte.api.models.shared.DestinationMariadbColumnstore; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreMariadbColumnstore; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMeilisearch; +import com.airbyte.api.models.shared.DestinationMeilisearchMeilisearch; +import com.airbyte.api.models.shared.DestinationMongodb; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeLoginPassword; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeLoginPasswordAuthorization; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeNone; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeNoneAuthorization; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeMongoDBAtlas; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeMongoDBAtlasInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeReplicaSet; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeReplicaSetInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeStandaloneMongoDbInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstance; +import com.airbyte.api.models.shared.DestinationMongodbMongodb; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssql; +import com.airbyte.api.models.shared.DestinationMssqlMssql; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedTrustServerCertificate; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethod; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysql; +import com.airbyte.api.models.shared.DestinationMysqlMysql; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracle; +import com.airbyte.api.models.shared.DestinationOracleOracle; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPatchRequest; +import com.airbyte.api.models.shared.DestinationPostgres; +import com.airbyte.api.models.shared.DestinationPostgresPostgres; +import com.airbyte.api.models.shared.DestinationPostgresSslModeAllow; +import com.airbyte.api.models.shared.DestinationPostgresSslModeAllowMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeDisable; +import com.airbyte.api.models.shared.DestinationPostgresSslModeDisableMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModePrefer; +import com.airbyte.api.models.shared.DestinationPostgresSslModePreferMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeRequire; +import com.airbyte.api.models.shared.DestinationPostgresSslModeRequireMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyCa; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyCaMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyFull; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyFullMode; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPubsub; +import com.airbyte.api.models.shared.DestinationPubsubPubsub; +import com.airbyte.api.models.shared.DestinationPulsar; +import com.airbyte.api.models.shared.DestinationPulsarCompressionType; +import com.airbyte.api.models.shared.DestinationPulsarPulsar; +import com.airbyte.api.models.shared.DestinationPulsarTopicType; +import com.airbyte.api.models.shared.DestinationRabbitmq; +import com.airbyte.api.models.shared.DestinationRabbitmqRabbitmq; +import com.airbyte.api.models.shared.DestinationRedis; +import com.airbyte.api.models.shared.DestinationRedisCacheType; +import com.airbyte.api.models.shared.DestinationRedisRedis; +import com.airbyte.api.models.shared.DestinationRedisSslModeDisable; +import com.airbyte.api.models.shared.DestinationRedisSslModeDisableMode; +import com.airbyte.api.models.shared.DestinationRedisSslModeVerifyFull; +import com.airbyte.api.models.shared.DestinationRedisSslModeVerifyFullMode; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshift; +import com.airbyte.api.models.shared.DestinationRedshiftRedshift; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3Staging; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingMethod; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingS3BucketRegion; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodStandard; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodStandardMethod; +import com.airbyte.api.models.shared.DestinationRockset; +import com.airbyte.api.models.shared.DestinationRocksetRockset; +import com.airbyte.api.models.shared.DestinationS3; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvro; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecBzip2; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecBzip2Codec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecDeflate; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecSnappy; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecXz; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecXzCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecZstandard; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesFlattening; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONFlattening; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorageCompressionCodec; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorageFormatType; +import com.airbyte.api.models.shared.DestinationS3Glue; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlattening; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationS3GlueS3BucketRegion; +import com.airbyte.api.models.shared.DestinationS3GlueS3Glue; +import com.airbyte.api.models.shared.DestinationS3GlueSerializationLibrary; +import com.airbyte.api.models.shared.DestinationS3S3; +import com.airbyte.api.models.shared.DestinationS3S3BucketRegion; +import com.airbyte.api.models.shared.DestinationScylla; +import com.airbyte.api.models.shared.DestinationScyllaScylla; +import com.airbyte.api.models.shared.DestinationSftpJson; +import com.airbyte.api.models.shared.DestinationSftpJsonSftpJson; +import com.airbyte.api.models.shared.DestinationSnowflake; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsKeyPairAuthentication; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsKeyPairAuthenticationAuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsOAuth20; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsUsernameAndPassword; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsUsernameAndPasswordAuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3Staging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegion; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodRecommendedInternalStaging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodSelectAnotherOption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodSelectAnotherOptionMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeSnowflake; +import com.airbyte.api.models.shared.DestinationTypesense; +import com.airbyte.api.models.shared.DestinationTypesenseTypesense; +import com.airbyte.api.models.shared.DestinationVertica; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaVertica; +import com.airbyte.api.models.shared.Security; + +public class Application { + public static void main(String[] args) { + try { + Airbyte sdk = Airbyte.builder() + .setSecurity(new Security("cupiditate") {{ + bearerAuth = "YOUR_BEARER_TOKEN_HERE"; + }}) + .build(); + + PatchDestinationRequest req = new PatchDestinationRequest("aperiam") {{ + destinationPatchRequest = new DestinationPatchRequest() {{ + configuration = new DestinationTypesense("dolorem", DestinationTypesenseTypesense.TYPESENSE, "dolore") {{ + batchSize = "labore"; + port = "adipisci"; + protocol = "dolorum"; + }};; + name = "Amy Armstrong"; + }};; + }}; + + PatchDestinationResponse res = sdk.destinations.patchDestination(req); + + if (res.destinationResponse != null) { + // handle response + } + } catch (Exception e) { + // handle exception + } + } +} +``` + +## putDestination + +Update a Destination and fully overwrite it + +### Example Usage + +```java +package hello.world; + +import com.airbyte.api.Airbyte; +import com.airbyte.api.models.operations.PutDestinationRequest; +import com.airbyte.api.models.operations.PutDestinationResponse; +import com.airbyte.api.models.shared.DestinationAmazonSqs; +import com.airbyte.api.models.shared.DestinationAmazonSqsAWSRegion; +import com.airbyte.api.models.shared.DestinationAmazonSqsAmazonSqs; +import com.airbyte.api.models.shared.DestinationAwsDatalake; +import com.airbyte.api.models.shared.DestinationAwsDatalakeAwsDatalake; +import com.airbyte.api.models.shared.DestinationAwsDatalakeChooseHowToPartitionData; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMRole; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMRoleCredentialsTitle; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMUser; +import com.airbyte.api.models.shared.DestinationAwsDatalakeCredentialsIAMUserCredentialsTitle; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONCompressionCodecOptional; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatJSONLinesNewlineDelimitedJSONFormatTypeWildcard; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorageCompressionCodecOptional; +import com.airbyte.api.models.shared.DestinationAwsDatalakeFormatParquetColumnarStorageFormatTypeWildcard; +import com.airbyte.api.models.shared.DestinationAwsDatalakeS3BucketRegion; +import com.airbyte.api.models.shared.DestinationAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatCSVCommaSeparatedValuesNormalizationFlattening; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationBigquery; +import com.airbyte.api.models.shared.DestinationBigqueryBigquery; +import com.airbyte.api.models.shared.DestinationBigqueryDatasetLocation; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalized; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedBigqueryDenormalized; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedDatasetLocation; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStaging; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessing; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodGCSStagingMethod; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodStandardInserts; +import com.airbyte.api.models.shared.DestinationBigqueryDenormalizedLoadingMethodStandardInsertsMethod; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStaging; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessing; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodGCSStagingMethod; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodStandardInserts; +import com.airbyte.api.models.shared.DestinationBigqueryLoadingMethodStandardInsertsMethod; +import com.airbyte.api.models.shared.DestinationBigqueryTransformationQueryRunType; +import com.airbyte.api.models.shared.DestinationCassandra; +import com.airbyte.api.models.shared.DestinationCassandraCassandra; +import com.airbyte.api.models.shared.DestinationClickhouse; +import com.airbyte.api.models.shared.DestinationClickhouseClickhouse; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationConvex; +import com.airbyte.api.models.shared.DestinationConvexConvex; +import com.airbyte.api.models.shared.DestinationCumulio; +import com.airbyte.api.models.shared.DestinationCumulioCumulio; +import com.airbyte.api.models.shared.DestinationDatabend; +import com.airbyte.api.models.shared.DestinationDatabendDatabend; +import com.airbyte.api.models.shared.DestinationDatabricks; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3DataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAmazonS3S3BucketRegion; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAzureBlobStorage; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceAzureBlobStorageDataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceRecommendedManagedTables; +import com.airbyte.api.models.shared.DestinationDatabricksDataSourceRecommendedManagedTablesDataSourceType; +import com.airbyte.api.models.shared.DestinationDatabricksDatabricks; +import com.airbyte.api.models.shared.DestinationDevNull; +import com.airbyte.api.models.shared.DestinationDevNullDevNull; +import com.airbyte.api.models.shared.DestinationDevNullTestDestinationSilent; +import com.airbyte.api.models.shared.DestinationDevNullTestDestinationSilentTestDestinationType; +import com.airbyte.api.models.shared.DestinationDynamodb; +import com.airbyte.api.models.shared.DestinationDynamodbDynamoDBRegion; +import com.airbyte.api.models.shared.DestinationDynamodbDynamodb; +import com.airbyte.api.models.shared.DestinationElasticsearch; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodApiKeySecret; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodApiKeySecretMethod; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodUsernamePassword; +import com.airbyte.api.models.shared.DestinationElasticsearchAuthenticationMethodUsernamePasswordMethod; +import com.airbyte.api.models.shared.DestinationElasticsearchElasticsearch; +import com.airbyte.api.models.shared.DestinationFirebolt; +import com.airbyte.api.models.shared.DestinationFireboltFirebolt; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodExternalTableViaS3; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodExternalTableViaS3Method; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodSQLInserts; +import com.airbyte.api.models.shared.DestinationFireboltLoadingMethodSQLInsertsMethod; +import com.airbyte.api.models.shared.DestinationFirestore; +import com.airbyte.api.models.shared.DestinationFirestoreFirestore; +import com.airbyte.api.models.shared.DestinationGCSGCSBucketRegion; +import com.airbyte.api.models.shared.DestinationGcs; +import com.airbyte.api.models.shared.DestinationGcsCredentialHMACKey; +import com.airbyte.api.models.shared.DestinationGcsCredentialHMACKeyCredentialType; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvro; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecBzip2Codec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecDeflate; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecDeflateCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecNoCompressionCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecSnappy; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecSnappyCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecXz; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecXzCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecZstandard; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroCompressionCodecZstandardCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatAvroApacheAvroFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIP; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatCSVCommaSeparatedValuesNormalization; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationGcsFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorageCompressionCodec; +import com.airbyte.api.models.shared.DestinationGcsFormatParquetColumnarStorageFormatType; +import com.airbyte.api.models.shared.DestinationGcsGcs; +import com.airbyte.api.models.shared.DestinationGoogleSheets; +import com.airbyte.api.models.shared.DestinationGoogleSheetsAuthenticationViaGoogleOAuth; +import com.airbyte.api.models.shared.DestinationGoogleSheetsGoogleSheets; +import com.airbyte.api.models.shared.DestinationKeen; +import com.airbyte.api.models.shared.DestinationKeenKeen; +import com.airbyte.api.models.shared.DestinationKinesis; +import com.airbyte.api.models.shared.DestinationKinesisKinesis; +import com.airbyte.api.models.shared.DestinationMariadbColumnstore; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreMariadbColumnstore; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMariadbColumnstoreTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMeilisearch; +import com.airbyte.api.models.shared.DestinationMeilisearchMeilisearch; +import com.airbyte.api.models.shared.DestinationMongodb; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeLoginPassword; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeLoginPasswordAuthorization; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeNone; +import com.airbyte.api.models.shared.DestinationMongodbAuthTypeNoneAuthorization; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeMongoDBAtlas; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeMongoDBAtlasInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeReplicaSet; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeReplicaSetInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeStandaloneMongoDbInstance; +import com.airbyte.api.models.shared.DestinationMongodbInstanceTypeStandaloneMongoDbInstanceInstance; +import com.airbyte.api.models.shared.DestinationMongodbMongodb; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMongodbTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssql; +import com.airbyte.api.models.shared.DestinationMssqlMssql; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedTrustServerCertificate; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedTrustServerCertificateSslMethod; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.DestinationMssqlSslMethodEncryptedVerifyCertificateSslMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMssqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysql; +import com.airbyte.api.models.shared.DestinationMysqlMysql; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationMysqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracle; +import com.airbyte.api.models.shared.DestinationOracleOracle; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationOracleTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPostgres; +import com.airbyte.api.models.shared.DestinationPostgresPostgres; +import com.airbyte.api.models.shared.DestinationPostgresSslModeAllow; +import com.airbyte.api.models.shared.DestinationPostgresSslModeAllowMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeDisable; +import com.airbyte.api.models.shared.DestinationPostgresSslModeDisableMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModePrefer; +import com.airbyte.api.models.shared.DestinationPostgresSslModePreferMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeRequire; +import com.airbyte.api.models.shared.DestinationPostgresSslModeRequireMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyCa; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyCaMode; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyFull; +import com.airbyte.api.models.shared.DestinationPostgresSslModeVerifyFullMode; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationPostgresTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationPubsub; +import com.airbyte.api.models.shared.DestinationPubsubPubsub; +import com.airbyte.api.models.shared.DestinationPulsar; +import com.airbyte.api.models.shared.DestinationPulsarCompressionType; +import com.airbyte.api.models.shared.DestinationPulsarPulsar; +import com.airbyte.api.models.shared.DestinationPulsarTopicType; +import com.airbyte.api.models.shared.DestinationPutRequest; +import com.airbyte.api.models.shared.DestinationRabbitmq; +import com.airbyte.api.models.shared.DestinationRabbitmqRabbitmq; +import com.airbyte.api.models.shared.DestinationRedis; +import com.airbyte.api.models.shared.DestinationRedisCacheType; +import com.airbyte.api.models.shared.DestinationRedisRedis; +import com.airbyte.api.models.shared.DestinationRedisSslModeDisable; +import com.airbyte.api.models.shared.DestinationRedisSslModeDisableMode; +import com.airbyte.api.models.shared.DestinationRedisSslModeVerifyFull; +import com.airbyte.api.models.shared.DestinationRedisSslModeVerifyFullMode; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationRedisTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshift; +import com.airbyte.api.models.shared.DestinationRedshiftRedshift; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationRedshiftTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3Staging; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryption; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryption; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingEncryptionNoEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingMethod; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodS3StagingS3BucketRegion; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodStandard; +import com.airbyte.api.models.shared.DestinationRedshiftUploadingMethodStandardMethod; +import com.airbyte.api.models.shared.DestinationRockset; +import com.airbyte.api.models.shared.DestinationRocksetRockset; +import com.airbyte.api.models.shared.DestinationS3; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvro; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecBzip2; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecBzip2Codec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecDeflate; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecDeflateCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecNoCompressionCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecSnappy; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecSnappyCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecXz; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecXzCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecZstandard; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroCompressionCodecZstandardCodec; +import com.airbyte.api.models.shared.DestinationS3FormatAvroApacheAvroFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValues; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesFlattening; +import com.airbyte.api.models.shared.DestinationS3FormatCSVCommaSeparatedValuesFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONFlattening; +import com.airbyte.api.models.shared.DestinationS3FormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorage; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorageCompressionCodec; +import com.airbyte.api.models.shared.DestinationS3FormatParquetColumnarStorageFormatType; +import com.airbyte.api.models.shared.DestinationS3Glue; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIP; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionGZIPCompressionType; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompression; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONCompressionNoCompressionCompressionType; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFlattening; +import com.airbyte.api.models.shared.DestinationS3GlueFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.DestinationS3GlueS3BucketRegion; +import com.airbyte.api.models.shared.DestinationS3GlueS3Glue; +import com.airbyte.api.models.shared.DestinationS3GlueSerializationLibrary; +import com.airbyte.api.models.shared.DestinationS3S3; +import com.airbyte.api.models.shared.DestinationS3S3BucketRegion; +import com.airbyte.api.models.shared.DestinationScylla; +import com.airbyte.api.models.shared.DestinationScyllaScylla; +import com.airbyte.api.models.shared.DestinationSftpJson; +import com.airbyte.api.models.shared.DestinationSftpJsonSftpJson; +import com.airbyte.api.models.shared.DestinationSnowflake; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsKeyPairAuthentication; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsKeyPairAuthenticationAuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsOAuth20; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsUsernameAndPassword; +import com.airbyte.api.models.shared.DestinationSnowflakeCredentialsUsernameAndPasswordAuthType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3Staging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionAESCBCEnvelopeEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionType; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegion; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodRecommendedInternalStaging; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodRecommendedInternalStagingMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodSelectAnotherOption; +import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodSelectAnotherOptionMethod; +import com.airbyte.api.models.shared.DestinationSnowflakeSnowflake; +import com.airbyte.api.models.shared.DestinationTypesense; +import com.airbyte.api.models.shared.DestinationTypesenseTypesense; +import com.airbyte.api.models.shared.DestinationVertica; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.DestinationVerticaVertica; +import com.airbyte.api.models.shared.Security; + +public class Application { + public static void main(String[] args) { + try { + Airbyte sdk = Airbyte.builder() + .setSecurity(new Security("consequatur") {{ + bearerAuth = "YOUR_BEARER_TOKEN_HERE"; + }}) + .build(); + + PutDestinationRequest req = new PutDestinationRequest("est") {{ + destinationPutRequest = new DestinationPutRequest( new DestinationS3(DestinationS3S3.S3, new DestinationS3FormatParquetColumnarStorage(DestinationS3FormatParquetColumnarStorageFormatType.PARQUET) {{ + blockSizeMb = 606476L; + compressionCodec = DestinationS3FormatParquetColumnarStorageCompressionCodec.GZIP; + dictionaryEncoding = false; + dictionaryPageSizeKb = 218403L; + formatType = DestinationS3FormatParquetColumnarStorageFormatType.PARQUET; + maxPaddingSizeMb = 961571L; + pageSizeKb = 455169L; + }}, "consectetur", "vero", DestinationS3S3BucketRegion.US_GOV_EAST1) {{ + accessKeyId = "porro"; + destinationType = DestinationS3S3.S3; + fileNamePattern = "doloribus"; + format = new DestinationS3FormatCSVCommaSeparatedValues(DestinationS3FormatCSVCommaSeparatedValuesFlattening.NO_FLATTENING, DestinationS3FormatCSVCommaSeparatedValuesFormatType.CSV) {{ + compression = new DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIP() {{ + compressionType = DestinationS3FormatCSVCommaSeparatedValuesCompressionGZIPCompressionType.GZIP; + }}; + flattening = DestinationS3FormatCSVCommaSeparatedValuesFlattening.ROOT_LEVEL_FLATTENING; + formatType = DestinationS3FormatCSVCommaSeparatedValuesFormatType.CSV; + }}; + s3BucketName = "quae"; + s3BucketPath = "laudantium"; + s3BucketRegion = DestinationS3S3BucketRegion.AP_SOUTHEAST2; + s3Endpoint = "occaecati"; + s3PathFormat = "voluptatibus"; + secretAccessKey = "quisquam"; + }}, "dignissimos");; + }}; + + PutDestinationResponse res = sdk.destinations.putDestination(req); + + if (res.destinationResponse != null) { + // handle response + } + } catch (Exception e) { + // handle exception + } + } +} +``` diff --git a/docs/jobs/README.md b/docs/jobs/README.md index fd5a36f07..7adaca5d7 100755 --- a/docs/jobs/README.md +++ b/docs/jobs/README.md @@ -25,12 +25,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("id") {{ + .setSecurity(new Security("hic") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - CancelJobRequest req = new CancelJobRequest(906418L); + CancelJobRequest req = new CancelJobRequest(715561L); CancelJobResponse res = sdk.jobs.cancelJob(req); @@ -63,12 +63,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("eius") {{ + .setSecurity(new Security("quod") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.JobCreateRequest req = new JobCreateRequest("aspernatur", JobTypeEnum.SYNC); + com.airbyte.api.models.shared.JobCreateRequest req = new JobCreateRequest("odio", JobTypeEnum.RESET); CreateJobResponse res = sdk.jobs.createJob(req); @@ -100,12 +100,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("amet") {{ + .setSecurity(new Security("facilis") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetJobRequest req = new GetJobRequest(758379L); + GetJobRequest req = new GetJobRequest(874288L); GetJobResponse res = sdk.jobs.getJob(req); @@ -138,15 +138,15 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("accusamus") {{ + .setSecurity(new Security("ducimus") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - ListJobsRequest req = new ListJobsRequest("ad") {{ + ListJobsRequest req = new ListJobsRequest("dolore") {{ jobType = JobTypeEnum.RESET; - limit = 383464; - offset = 645785; + limit = 848944; + offset = 194342; }}; ListJobsResponse res = sdk.jobs.listJobs(req); diff --git a/docs/sources/README.md b/docs/sources/README.md index 93405a0db..f23157973 100755 --- a/docs/sources/README.md +++ b/docs/sources/README.md @@ -7,6 +7,8 @@ * [getSource](#getsource) - Get Source details * [initiateOAuth](#initiateoauth) - Initiate OAuth for a source * [listSources](#listsources) - List sources +* [patchSource](#patchsource) - Update a Source +* [putSource](#putsource) - Update a Source and fully overwrite it ## createSource @@ -44,11 +46,6 @@ import com.airbyte.api.models.shared.SourceAmazonAdsAuthType; import com.airbyte.api.models.shared.SourceAmazonAdsRegion; import com.airbyte.api.models.shared.SourceAmazonAdsReportRecordTypes; import com.airbyte.api.models.shared.SourceAmazonAdsStateFilter; -import com.airbyte.api.models.shared.SourceAmazonSellerPartner; -import com.airbyte.api.models.shared.SourceAmazonSellerPartnerAWSEnvironment; -import com.airbyte.api.models.shared.SourceAmazonSellerPartnerAWSRegion; -import com.airbyte.api.models.shared.SourceAmazonSellerPartnerAmazonSellerPartner; -import com.airbyte.api.models.shared.SourceAmazonSellerPartnerAuthType; import com.airbyte.api.models.shared.SourceAmazonSqs; import com.airbyte.api.models.shared.SourceAmazonSqsAWSRegion; import com.airbyte.api.models.shared.SourceAmazonSqsAmazonSqs; @@ -189,6 +186,8 @@ import com.airbyte.api.models.shared.SourceFreshdesk; import com.airbyte.api.models.shared.SourceFreshdeskFreshdesk; import com.airbyte.api.models.shared.SourceFreshsales; import com.airbyte.api.models.shared.SourceFreshsalesFreshsales; +import com.airbyte.api.models.shared.SourceFreshservice; +import com.airbyte.api.models.shared.SourceFreshserviceFreshservice; import com.airbyte.api.models.shared.SourceGcs; import com.airbyte.api.models.shared.SourceGcsGcs; import com.airbyte.api.models.shared.SourceGetlago; @@ -233,11 +232,16 @@ import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsServiceAc import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4GoogleAnalyticsV4; import com.airbyte.api.models.shared.SourceGoogleDirectory; import com.airbyte.api.models.shared.SourceGoogleDirectoryGoogleDirectory; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsCategories; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsStrategies; import com.airbyte.api.models.shared.SourceGoogleSearchConsole; import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuth; import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuthAuthType; import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication; import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleDataState; import com.airbyte.api.models.shared.SourceGoogleSearchConsoleGoogleSearchConsole; import com.airbyte.api.models.shared.SourceGoogleSheets; import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth; @@ -259,9 +263,9 @@ import com.airbyte.api.models.shared.SourceHubplanner; import com.airbyte.api.models.shared.SourceHubplannerHubplanner; import com.airbyte.api.models.shared.SourceHubspot; import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuth; -import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuthCredentials; +import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuthAuthType; import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateApp; -import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateAppCredentials; +import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateAppAuthType; import com.airbyte.api.models.shared.SourceHubspotHubspot; import com.airbyte.api.models.shared.SourceInsightly; import com.airbyte.api.models.shared.SourceInsightlyInsightly; @@ -668,6 +672,8 @@ import com.airbyte.api.models.shared.SourceXkcd; import com.airbyte.api.models.shared.SourceXkcdXkcd; import com.airbyte.api.models.shared.SourceYandexMetrica; import com.airbyte.api.models.shared.SourceYandexMetricaYandexMetrica; +import com.airbyte.api.models.shared.SourceYotpo; +import com.airbyte.api.models.shared.SourceYotpoYotpo; import com.airbyte.api.models.shared.SourceYounium; import com.airbyte.api.models.shared.SourceYouniumYounium; import com.airbyte.api.models.shared.SourceYoutubeAnalytics; @@ -708,16 +714,27 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("provident") {{ + .setSecurity(new Security("natus") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.SourceCreateRequest req = new SourceCreateRequest( new SourceGreenhouse("totam", SourceGreenhouseGreenhouse.GREENHOUSE) {{ - apiKey = "repellendus"; - sourceType = SourceGreenhouseGreenhouse.GREENHOUSE; - }}, "similique", "0d446ce2-af7a-473c-b3be-453f870b326b") {{ - secretId = "voluptas"; + com.airbyte.api.models.shared.SourceCreateRequest req = new SourceCreateRequest( new SourceSlack(false, 639473L, SourceSlackSlack.SLACK, OffsetDateTime.parse("2022-08-19T11:11:55.326Z")) {{ + channelFilter = new String[]{{ + add("voluptatibus"), + }}; + credentials = new SourceSlackCredentialsSignInViaSlackOAuth("maiores", "doloribus", "iusto", SourceSlackCredentialsSignInViaSlackOAuthOptionTitle.DEFAULT_O_AUTH20_AUTHORIZATION) {{ + accessToken = "nulla"; + clientId = "fugit"; + clientSecret = "porro"; + optionTitle = SourceSlackCredentialsSignInViaSlackOAuthOptionTitle.DEFAULT_O_AUTH20_AUTHORIZATION; + }}; + joinChannels = false; + lookbackWindow = 753570L; + sourceType = SourceSlackSlack.SLACK; + startDate = OffsetDateTime.parse("2022-12-30T12:32:17.948Z"); + }}, "ea", "26d43681-3f16-4d9f-9fce-6c556146c3e2") {{ + secretId = "minima"; }}; CreateSourceResponse res = sdk.sources.createSource(req); @@ -750,12 +767,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("deserunt") {{ + .setSecurity(new Security("eaque") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - DeleteSourceRequest req = new DeleteSourceRequest("quam"); + DeleteSourceRequest req = new DeleteSourceRequest("a"); DeleteSourceResponse res = sdk.sources.deleteSource(req); @@ -787,12 +804,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("ipsum") {{ + .setSecurity(new Security("libero") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetSourceRequest req = new GetSourceRequest("incidunt"); + GetSourceRequest req = new GetSourceRequest("aut"); GetSourceResponse res = sdk.sources.getSource(req); @@ -828,16 +845,16 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("qui") {{ + .setSecurity(new Security("aut") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.InitiateOauthRequest req = new InitiateOauthRequest("cupiditate", "maxime", "db1a8422-bb67-49d2-b227-15bf0cbb1e31") {{ + com.airbyte.api.models.shared.InitiateOauthRequest req = new InitiateOauthRequest("deleniti", "impedit", "42e141aa-c366-4c8d-96b1-442907474778") {{ oAuthInputConfiguration = new java.util.HashMap() {{ - put("quos", "tempore"); - put("cupiditate", "aperiam"); - put("delectus", "dolorem"); + put("reprehenderit", "quidem"); + put("fugiat", "ut"); + put("eum", "suscipit"); }}; }}; @@ -871,19 +888,20 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("dolore") {{ + .setSecurity(new Security("assumenda") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); ListSourcesRequest req = new ListSourcesRequest() {{ includeDeleted = false; - limit = 286915; - offset = 240829; + limit = 181151; + offset = 509342; workspaceIds = new String[]{{ - add("1108e0ad-cf4b-4921-879f-ce953f73ef7f"), - add("bc7abd74-dd39-4c0f-9d2c-ff7c70a45626"), - add("d436813f-16d9-4f5f-8e6c-556146c3e250"), + add("10ab3cdc-a425-4190-8e52-3c7e0bc7178e"), + add("4796f2a7-0c68-4828-aaa4-82562f222e98"), + add("17ee17cb-e61e-46b7-b95b-c0ab3c20c4f3"), + add("789fd871-f99d-4d2e-bd12-1aa6f1e674bd"), }}; }}; @@ -898,3 +916,1477 @@ public class Application { } } ``` + +## patchSource + +Update a Source + +### Example Usage + +```java +package hello.world; + +import com.airbyte.api.Airbyte; +import com.airbyte.api.models.operations.PatchSourceRequest; +import com.airbyte.api.models.operations.PatchSourceResponse; +import com.airbyte.api.models.shared.Security; +import com.airbyte.api.models.shared.SourceAircall; +import com.airbyte.api.models.shared.SourceAircallAircall; +import com.airbyte.api.models.shared.SourceAirtable; +import com.airbyte.api.models.shared.SourceAirtableAirtable; +import com.airbyte.api.models.shared.SourceAirtableCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceAirtableCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceAirtableCredentialsPersonalAccessToken; +import com.airbyte.api.models.shared.SourceAirtableCredentialsPersonalAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceAlloydb; +import com.airbyte.api.models.shared.SourceAlloydbAlloydb; +import com.airbyte.api.models.shared.SourceAlloydbReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceAlloydbReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceAmazonAds; +import com.airbyte.api.models.shared.SourceAmazonAdsAmazonAds; +import com.airbyte.api.models.shared.SourceAmazonAdsAuthType; +import com.airbyte.api.models.shared.SourceAmazonAdsRegion; +import com.airbyte.api.models.shared.SourceAmazonAdsReportRecordTypes; +import com.airbyte.api.models.shared.SourceAmazonAdsStateFilter; +import com.airbyte.api.models.shared.SourceAmazonSqs; +import com.airbyte.api.models.shared.SourceAmazonSqsAWSRegion; +import com.airbyte.api.models.shared.SourceAmazonSqsAmazonSqs; +import com.airbyte.api.models.shared.SourceAmplitude; +import com.airbyte.api.models.shared.SourceAmplitudeAmplitude; +import com.airbyte.api.models.shared.SourceAmplitudeDataRegion; +import com.airbyte.api.models.shared.SourceApifyDataset; +import com.airbyte.api.models.shared.SourceApifyDatasetApifyDataset; +import com.airbyte.api.models.shared.SourceAsana; +import com.airbyte.api.models.shared.SourceAsanaAsana; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateViaAsanaOauth; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitle; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateWithPersonalAccessToken; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitle; +import com.airbyte.api.models.shared.SourceAuth0; +import com.airbyte.api.models.shared.SourceAuth0Auth0; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2AccessToken; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethod; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2ConfidentialApplication; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethod; +import com.airbyte.api.models.shared.SourceAwsCloudtrail; +import com.airbyte.api.models.shared.SourceAwsCloudtrailAwsCloudtrail; +import com.airbyte.api.models.shared.SourceAzureBlobStorage; +import com.airbyte.api.models.shared.SourceAzureBlobStorageAzureBlobStorage; +import com.airbyte.api.models.shared.SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.SourceAzureTable; +import com.airbyte.api.models.shared.SourceAzureTableAzureTable; +import com.airbyte.api.models.shared.SourceBambooHr; +import com.airbyte.api.models.shared.SourceBambooHrBambooHr; +import com.airbyte.api.models.shared.SourceBigcommerce; +import com.airbyte.api.models.shared.SourceBigcommerceBigcommerce; +import com.airbyte.api.models.shared.SourceBigquery; +import com.airbyte.api.models.shared.SourceBigqueryBigquery; +import com.airbyte.api.models.shared.SourceBingAds; +import com.airbyte.api.models.shared.SourceBingAdsAuthMethod; +import com.airbyte.api.models.shared.SourceBingAdsBingAds; +import com.airbyte.api.models.shared.SourceBraintree; +import com.airbyte.api.models.shared.SourceBraintreeBraintree; +import com.airbyte.api.models.shared.SourceBraintreeEnvironment; +import com.airbyte.api.models.shared.SourceBraze; +import com.airbyte.api.models.shared.SourceBrazeBraze; +import com.airbyte.api.models.shared.SourceChargebee; +import com.airbyte.api.models.shared.SourceChargebeeChargebee; +import com.airbyte.api.models.shared.SourceChargebeeProductCatalog; +import com.airbyte.api.models.shared.SourceChartmogul; +import com.airbyte.api.models.shared.SourceChartmogulChartmogul; +import com.airbyte.api.models.shared.SourceChartmogulInterval; +import com.airbyte.api.models.shared.SourceClickhouse; +import com.airbyte.api.models.shared.SourceClickhouseClickhouse; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceClickupApi; +import com.airbyte.api.models.shared.SourceClickupApiClickupApi; +import com.airbyte.api.models.shared.SourceCloseCom; +import com.airbyte.api.models.shared.SourceCloseComCloseCom; +import com.airbyte.api.models.shared.SourceCoda; +import com.airbyte.api.models.shared.SourceCodaCoda; +import com.airbyte.api.models.shared.SourceCoinApi; +import com.airbyte.api.models.shared.SourceCoinApiCoinApi; +import com.airbyte.api.models.shared.SourceCoinApiEnvironment; +import com.airbyte.api.models.shared.SourceCoinmarketcap; +import com.airbyte.api.models.shared.SourceCoinmarketcapCoinmarketcap; +import com.airbyte.api.models.shared.SourceCoinmarketcapDataType; +import com.airbyte.api.models.shared.SourceConfigcat; +import com.airbyte.api.models.shared.SourceConfigcatConfigcat; +import com.airbyte.api.models.shared.SourceConfluence; +import com.airbyte.api.models.shared.SourceConfluenceConfluence; +import com.airbyte.api.models.shared.SourceDatascope; +import com.airbyte.api.models.shared.SourceDatascopeDatascope; +import com.airbyte.api.models.shared.SourceDelighted; +import com.airbyte.api.models.shared.SourceDelightedDelighted; +import com.airbyte.api.models.shared.SourceDixa; +import com.airbyte.api.models.shared.SourceDixaDixa; +import com.airbyte.api.models.shared.SourceDockerhub; +import com.airbyte.api.models.shared.SourceDockerhubDockerhub; +import com.airbyte.api.models.shared.SourceDremio; +import com.airbyte.api.models.shared.SourceDremioDremio; +import com.airbyte.api.models.shared.SourceDynamodb; +import com.airbyte.api.models.shared.SourceDynamodbDynamodb; +import com.airbyte.api.models.shared.SourceDynamodbDynamodbRegion; +import com.airbyte.api.models.shared.SourceE2eTestCloud; +import com.airbyte.api.models.shared.SourceE2eTestCloudE2eTestCloud; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogMultiSchema; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogMultiSchemaType; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogSingleSchema; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogSingleSchemaType; +import com.airbyte.api.models.shared.SourceE2eTestCloudType; +import com.airbyte.api.models.shared.SourceEmailoctopus; +import com.airbyte.api.models.shared.SourceEmailoctopusEmailoctopus; +import com.airbyte.api.models.shared.SourceExchangeRates; +import com.airbyte.api.models.shared.SourceExchangeRatesExchangeRates; +import com.airbyte.api.models.shared.SourceFacebookMarketing; +import com.airbyte.api.models.shared.SourceFacebookMarketingFacebookMarketing; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfig; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigLevel; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidActionBreakdowns; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidBreakdowns; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidEnums; +import com.airbyte.api.models.shared.SourceFacebookPages; +import com.airbyte.api.models.shared.SourceFacebookPagesFacebookPages; +import com.airbyte.api.models.shared.SourceFaker; +import com.airbyte.api.models.shared.SourceFakerFaker; +import com.airbyte.api.models.shared.SourceFauna; +import com.airbyte.api.models.shared.SourceFaunaCollection; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsDisabled; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsDisabledDeletionMode; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsEnabled; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsEnabledDeletionMode; +import com.airbyte.api.models.shared.SourceFaunaFauna; +import com.airbyte.api.models.shared.SourceFileSecure; +import com.airbyte.api.models.shared.SourceFileSecureFileFormat; +import com.airbyte.api.models.shared.SourceFileSecureFileSecure; +import com.airbyte.api.models.shared.SourceFileSecureProviderAzBlobAzureBlobStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderAzBlobAzureBlobStorageStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderGCSGoogleCloudStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderGCSGoogleCloudStorageStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderHTTPSPublicWeb; +import com.airbyte.api.models.shared.SourceFileSecureProviderHTTPSPublicWebStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderS3AmazonWebServices; +import com.airbyte.api.models.shared.SourceFileSecureProviderS3AmazonWebServicesStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSCPSecureCopyProtocol; +import com.airbyte.api.models.shared.SourceFileSecureProviderSCPSecureCopyProtocolStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSFTPSecureFileTransferProtocol; +import com.airbyte.api.models.shared.SourceFileSecureProviderSFTPSecureFileTransferProtocolStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSSHSecureShell; +import com.airbyte.api.models.shared.SourceFileSecureProviderSSHSecureShellStorage; +import com.airbyte.api.models.shared.SourceFirebolt; +import com.airbyte.api.models.shared.SourceFireboltFirebolt; +import com.airbyte.api.models.shared.SourceFreshcaller; +import com.airbyte.api.models.shared.SourceFreshcallerFreshcaller; +import com.airbyte.api.models.shared.SourceFreshdesk; +import com.airbyte.api.models.shared.SourceFreshdeskFreshdesk; +import com.airbyte.api.models.shared.SourceFreshsales; +import com.airbyte.api.models.shared.SourceFreshsalesFreshsales; +import com.airbyte.api.models.shared.SourceFreshservice; +import com.airbyte.api.models.shared.SourceFreshserviceFreshservice; +import com.airbyte.api.models.shared.SourceGcs; +import com.airbyte.api.models.shared.SourceGcsGcs; +import com.airbyte.api.models.shared.SourceGetlago; +import com.airbyte.api.models.shared.SourceGetlagoGetlago; +import com.airbyte.api.models.shared.SourceGithub; +import com.airbyte.api.models.shared.SourceGithubCredentialsOAuth; +import com.airbyte.api.models.shared.SourceGithubCredentialsOAuthOptionTitle; +import com.airbyte.api.models.shared.SourceGithubCredentialsPersonalAccessToken; +import com.airbyte.api.models.shared.SourceGithubCredentialsPersonalAccessTokenOptionTitle; +import com.airbyte.api.models.shared.SourceGithubGithub; +import com.airbyte.api.models.shared.SourceGitlab; +import com.airbyte.api.models.shared.SourceGitlabCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceGitlabCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceGitlabCredentialsPrivateToken; +import com.airbyte.api.models.shared.SourceGitlabCredentialsPrivateTokenAuthType; +import com.airbyte.api.models.shared.SourceGitlabGitlab; +import com.airbyte.api.models.shared.SourceGlassfrog; +import com.airbyte.api.models.shared.SourceGlassfrogGlassfrog; +import com.airbyte.api.models.shared.SourceGnews; +import com.airbyte.api.models.shared.SourceGnewsCountry; +import com.airbyte.api.models.shared.SourceGnewsGnews; +import com.airbyte.api.models.shared.SourceGnewsIn; +import com.airbyte.api.models.shared.SourceGnewsLanguage; +import com.airbyte.api.models.shared.SourceGnewsNullable; +import com.airbyte.api.models.shared.SourceGnewsSortBy; +import com.airbyte.api.models.shared.SourceGnewsTopHeadlinesTopic; +import com.airbyte.api.models.shared.SourceGoogleAds; +import com.airbyte.api.models.shared.SourceGoogleAdsCustomQueries; +import com.airbyte.api.models.shared.SourceGoogleAdsGoogleAds; +import com.airbyte.api.models.shared.SourceGoogleAdsGoogleCredentials; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApi; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4GoogleAnalyticsV4; +import com.airbyte.api.models.shared.SourceGoogleDirectory; +import com.airbyte.api.models.shared.SourceGoogleDirectoryGoogleDirectory; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsCategories; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsStrategies; +import com.airbyte.api.models.shared.SourceGoogleSearchConsole; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuth; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuthAuthType; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleDataState; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleGoogleSearchConsole; +import com.airbyte.api.models.shared.SourceGoogleSheets; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthType; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleSheetsGoogleSheets; +import com.airbyte.api.models.shared.SourceGoogleWebfonts; +import com.airbyte.api.models.shared.SourceGoogleWebfontsGoogleWebfonts; +import com.airbyte.api.models.shared.SourceGoogleWorkspaceAdminReports; +import com.airbyte.api.models.shared.SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReports; +import com.airbyte.api.models.shared.SourceGreenhouse; +import com.airbyte.api.models.shared.SourceGreenhouseGreenhouse; +import com.airbyte.api.models.shared.SourceGridly; +import com.airbyte.api.models.shared.SourceGridlyGridly; +import com.airbyte.api.models.shared.SourceHarvest; +import com.airbyte.api.models.shared.SourceHarvestHarvest; +import com.airbyte.api.models.shared.SourceHubplanner; +import com.airbyte.api.models.shared.SourceHubplannerHubplanner; +import com.airbyte.api.models.shared.SourceHubspot; +import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuth; +import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuthAuthType; +import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateApp; +import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateAppAuthType; +import com.airbyte.api.models.shared.SourceHubspotHubspot; +import com.airbyte.api.models.shared.SourceInsightly; +import com.airbyte.api.models.shared.SourceInsightlyInsightly; +import com.airbyte.api.models.shared.SourceInstagram; +import com.airbyte.api.models.shared.SourceInstagramInstagram; +import com.airbyte.api.models.shared.SourceInstatus; +import com.airbyte.api.models.shared.SourceInstatusInstatus; +import com.airbyte.api.models.shared.SourceIntercom; +import com.airbyte.api.models.shared.SourceIntercomIntercom; +import com.airbyte.api.models.shared.SourceIp2whois; +import com.airbyte.api.models.shared.SourceIp2whoisIp2whois; +import com.airbyte.api.models.shared.SourceIterable; +import com.airbyte.api.models.shared.SourceIterableIterable; +import com.airbyte.api.models.shared.SourceJira; +import com.airbyte.api.models.shared.SourceJiraJira; +import com.airbyte.api.models.shared.SourceK6Cloud; +import com.airbyte.api.models.shared.SourceK6CloudK6Cloud; +import com.airbyte.api.models.shared.SourceKlarna; +import com.airbyte.api.models.shared.SourceKlarnaKlarna; +import com.airbyte.api.models.shared.SourceKlarnaRegion; +import com.airbyte.api.models.shared.SourceKlaviyo; +import com.airbyte.api.models.shared.SourceKlaviyoKlaviyo; +import com.airbyte.api.models.shared.SourceKustomerSinger; +import com.airbyte.api.models.shared.SourceKustomerSingerKustomerSinger; +import com.airbyte.api.models.shared.SourceLaunchdarkly; +import com.airbyte.api.models.shared.SourceLaunchdarklyLaunchdarkly; +import com.airbyte.api.models.shared.SourceLemlist; +import com.airbyte.api.models.shared.SourceLemlistLemlist; +import com.airbyte.api.models.shared.SourceLinkedinAds; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinAdsLinkedinAds; +import com.airbyte.api.models.shared.SourceLinkedinPages; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinPagesLinkedinPages; +import com.airbyte.api.models.shared.SourceLinnworks; +import com.airbyte.api.models.shared.SourceLinnworksLinnworks; +import com.airbyte.api.models.shared.SourceLokalise; +import com.airbyte.api.models.shared.SourceLokaliseLokalise; +import com.airbyte.api.models.shared.SourceMailchimp; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMailchimpMailchimp; +import com.airbyte.api.models.shared.SourceMailgun; +import com.airbyte.api.models.shared.SourceMailgunMailgun; +import com.airbyte.api.models.shared.SourceMailjetSms; +import com.airbyte.api.models.shared.SourceMailjetSmsMailjetSms; +import com.airbyte.api.models.shared.SourceMarketo; +import com.airbyte.api.models.shared.SourceMarketoMarketo; +import com.airbyte.api.models.shared.SourceMetabase; +import com.airbyte.api.models.shared.SourceMetabaseMetabase; +import com.airbyte.api.models.shared.SourceMicrosoftTeams; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthType; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsMicrosoftTeams; +import com.airbyte.api.models.shared.SourceMixpanel; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsProjectSecret; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsProjectSecretOptionTitle; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsServiceAccount; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsServiceAccountOptionTitle; +import com.airbyte.api.models.shared.SourceMixpanelMixpanel; +import com.airbyte.api.models.shared.SourceMixpanelRegion; +import com.airbyte.api.models.shared.SourceMonday; +import com.airbyte.api.models.shared.SourceMondayCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceMondayCredentialsAPITokenAuthType; +import com.airbyte.api.models.shared.SourceMondayCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceMondayCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMondayMonday; +import com.airbyte.api.models.shared.SourceMongodb; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeMongoDBAtlas; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeMongoDBAtlasInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeReplicaSet; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeReplicaSetInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeStandaloneMongoDbInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstance; +import com.airbyte.api.models.shared.SourceMongodbMongodb; +import com.airbyte.api.models.shared.SourceMssql; +import com.airbyte.api.models.shared.SourceMssqlMssql; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDC; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCDataToSync; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevel; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCMethod; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedTrustServerCertificate; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethod; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedVerifyCertificateSslMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMyHours; +import com.airbyte.api.models.shared.SourceMyHoursMyHours; +import com.airbyte.api.models.shared.SourceMysql; +import com.airbyte.api.models.shared.SourceMysqlMysql; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodLogicalReplicationCDC; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodLogicalReplicationCDCMethod; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceMysqlSslModePreferred; +import com.airbyte.api.models.shared.SourceMysqlSslModePreferredMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeRequired; +import com.airbyte.api.models.shared.SourceMysqlSslModeRequiredMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyCA; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyCAMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyIdentity; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyIdentityMode; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceNetsuite; +import com.airbyte.api.models.shared.SourceNetsuiteNetsuite; +import com.airbyte.api.models.shared.SourceNotion; +import com.airbyte.api.models.shared.SourceNotionCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceNotionCredentialsAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceNotionCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceNotionCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceNotionNotion; +import com.airbyte.api.models.shared.SourceNytimes; +import com.airbyte.api.models.shared.SourceNytimesNytimes; +import com.airbyte.api.models.shared.SourceNytimesPeriodUsedForMostPopularStreams; +import com.airbyte.api.models.shared.SourceNytimesShareTypeUsedForMostPopularSharedStream; +import com.airbyte.api.models.shared.SourceOkta; +import com.airbyte.api.models.shared.SourceOktaCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceOktaCredentialsAPITokenAuthType; +import com.airbyte.api.models.shared.SourceOktaCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceOktaCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceOktaOkta; +import com.airbyte.api.models.shared.SourceOmnisend; +import com.airbyte.api.models.shared.SourceOmnisendOmnisend; +import com.airbyte.api.models.shared.SourceOnesignal; +import com.airbyte.api.models.shared.SourceOnesignalApplications; +import com.airbyte.api.models.shared.SourceOnesignalOnesignal; +import com.airbyte.api.models.shared.SourceOpenweather; +import com.airbyte.api.models.shared.SourceOpenweatherLanguage; +import com.airbyte.api.models.shared.SourceOpenweatherOpenweather; +import com.airbyte.api.models.shared.SourceOpenweatherUnits; +import com.airbyte.api.models.shared.SourceOracle; +import com.airbyte.api.models.shared.SourceOracleConnectionDataServiceName; +import com.airbyte.api.models.shared.SourceOracleConnectionDataServiceNameConnectionType; +import com.airbyte.api.models.shared.SourceOracleConnectionDataSystemIDSID; +import com.airbyte.api.models.shared.SourceOracleConnectionDataSystemIDSIDConnectionType; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNE; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithm; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethod; +import com.airbyte.api.models.shared.SourceOracleEncryptionTLSEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethod; +import com.airbyte.api.models.shared.SourceOracleOracle; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceOrb; +import com.airbyte.api.models.shared.SourceOrbOrb; +import com.airbyte.api.models.shared.SourceOrbit; +import com.airbyte.api.models.shared.SourceOrbitOrbit; +import com.airbyte.api.models.shared.SourceOutreach; +import com.airbyte.api.models.shared.SourceOutreachOutreach; +import com.airbyte.api.models.shared.SourcePatchRequest; +import com.airbyte.api.models.shared.SourcePaypalTransaction; +import com.airbyte.api.models.shared.SourcePaypalTransactionPaypalTransaction; +import com.airbyte.api.models.shared.SourcePaystack; +import com.airbyte.api.models.shared.SourcePaystackPaystack; +import com.airbyte.api.models.shared.SourcePendo; +import com.airbyte.api.models.shared.SourcePendoPendo; +import com.airbyte.api.models.shared.SourcePersistiq; +import com.airbyte.api.models.shared.SourcePersistiqPersistiq; +import com.airbyte.api.models.shared.SourcePexelsApi; +import com.airbyte.api.models.shared.SourcePexelsApiPexelsApi; +import com.airbyte.api.models.shared.SourcePinterest; +import com.airbyte.api.models.shared.SourcePinterestCredentialsAccessToken; +import com.airbyte.api.models.shared.SourcePinterestCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourcePinterestCredentialsOAuth20; +import com.airbyte.api.models.shared.SourcePinterestCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourcePinterestPinterest; +import com.airbyte.api.models.shared.SourcePinterestStatus; +import com.airbyte.api.models.shared.SourcePipedrive; +import com.airbyte.api.models.shared.SourcePipedriveAPIKeyAuthentication; +import com.airbyte.api.models.shared.SourcePipedriveAPIKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourcePipedrivePipedrive; +import com.airbyte.api.models.shared.SourcePocket; +import com.airbyte.api.models.shared.SourcePocketContentType; +import com.airbyte.api.models.shared.SourcePocketDetailType; +import com.airbyte.api.models.shared.SourcePocketPocket; +import com.airbyte.api.models.shared.SourcePocketSortBy; +import com.airbyte.api.models.shared.SourcePocketState; +import com.airbyte.api.models.shared.SourcePokeapi; +import com.airbyte.api.models.shared.SourcePokeapiPokeapi; +import com.airbyte.api.models.shared.SourcePolygonStockApi; +import com.airbyte.api.models.shared.SourcePolygonStockApiPolygonStockApi; +import com.airbyte.api.models.shared.SourcePostgres; +import com.airbyte.api.models.shared.SourcePostgresPostgres; +import com.airbyte.api.models.shared.SourcePostgresReplicationMethodStandard; +import com.airbyte.api.models.shared.SourcePostgresReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourcePosthog; +import com.airbyte.api.models.shared.SourcePosthogPosthog; +import com.airbyte.api.models.shared.SourcePostmarkapp; +import com.airbyte.api.models.shared.SourcePostmarkappPostmarkapp; +import com.airbyte.api.models.shared.SourcePrestashop; +import com.airbyte.api.models.shared.SourcePrestashopPrestashop; +import com.airbyte.api.models.shared.SourcePublicApis; +import com.airbyte.api.models.shared.SourcePublicApisPublicApis; +import com.airbyte.api.models.shared.SourcePunkApi; +import com.airbyte.api.models.shared.SourcePunkApiPunkApi; +import com.airbyte.api.models.shared.SourcePypi; +import com.airbyte.api.models.shared.SourcePypiPypi; +import com.airbyte.api.models.shared.SourceQualaroo; +import com.airbyte.api.models.shared.SourceQualarooQualaroo; +import com.airbyte.api.models.shared.SourceQuickbooks; +import com.airbyte.api.models.shared.SourceQuickbooksCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceQuickbooksCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceQuickbooksQuickbooks; +import com.airbyte.api.models.shared.SourceRailz; +import com.airbyte.api.models.shared.SourceRailzRailz; +import com.airbyte.api.models.shared.SourceRecharge; +import com.airbyte.api.models.shared.SourceRechargeRecharge; +import com.airbyte.api.models.shared.SourceRecreation; +import com.airbyte.api.models.shared.SourceRecreationRecreation; +import com.airbyte.api.models.shared.SourceRecruitee; +import com.airbyte.api.models.shared.SourceRecruiteeRecruitee; +import com.airbyte.api.models.shared.SourceRecurly; +import com.airbyte.api.models.shared.SourceRecurlyRecurly; +import com.airbyte.api.models.shared.SourceRedshift; +import com.airbyte.api.models.shared.SourceRedshiftRedshift; +import com.airbyte.api.models.shared.SourceRetently; +import com.airbyte.api.models.shared.SourceRetentlyRetently; +import com.airbyte.api.models.shared.SourceRkiCovid; +import com.airbyte.api.models.shared.SourceRkiCovidRkiCovid; +import com.airbyte.api.models.shared.SourceRss; +import com.airbyte.api.models.shared.SourceRssRss; +import com.airbyte.api.models.shared.SourceS3; +import com.airbyte.api.models.shared.SourceS3FormatAvro; +import com.airbyte.api.models.shared.SourceS3FormatAvroFiletype; +import com.airbyte.api.models.shared.SourceS3FormatCSV; +import com.airbyte.api.models.shared.SourceS3FormatCSVFiletype; +import com.airbyte.api.models.shared.SourceS3FormatJsonl; +import com.airbyte.api.models.shared.SourceS3FormatJsonlFiletype; +import com.airbyte.api.models.shared.SourceS3FormatJsonlUnexpectedFieldBehavior; +import com.airbyte.api.models.shared.SourceS3FormatParquet; +import com.airbyte.api.models.shared.SourceS3FormatParquetFiletype; +import com.airbyte.api.models.shared.SourceS3S3; +import com.airbyte.api.models.shared.SourceS3S3AmazonWebServices; +import com.airbyte.api.models.shared.SourceSalesforce; +import com.airbyte.api.models.shared.SourceSalesforceAuthType; +import com.airbyte.api.models.shared.SourceSalesforceSalesforce; +import com.airbyte.api.models.shared.SourceSalesforceSinger; +import com.airbyte.api.models.shared.SourceSalesforceSingerApiType; +import com.airbyte.api.models.shared.SourceSalesforceSingerSalesforceSinger; +import com.airbyte.api.models.shared.SourceSalesforceStreamsCriteria; +import com.airbyte.api.models.shared.SourceSalesforceStreamsCriteriaSearchCriteria; +import com.airbyte.api.models.shared.SourceSalesloft; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaAPIKey; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaOAuth; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaOAuthAuthType; +import com.airbyte.api.models.shared.SourceSalesloftSalesloft; +import com.airbyte.api.models.shared.SourceSapFieldglass; +import com.airbyte.api.models.shared.SourceSapFieldglassSapFieldglass; +import com.airbyte.api.models.shared.SourceSecoda; +import com.airbyte.api.models.shared.SourceSecodaSecoda; +import com.airbyte.api.models.shared.SourceSendgrid; +import com.airbyte.api.models.shared.SourceSendgridSendgrid; +import com.airbyte.api.models.shared.SourceSendinblue; +import com.airbyte.api.models.shared.SourceSendinblueSendinblue; +import com.airbyte.api.models.shared.SourceSenseforce; +import com.airbyte.api.models.shared.SourceSenseforceSenseforce; +import com.airbyte.api.models.shared.SourceSentry; +import com.airbyte.api.models.shared.SourceSentrySentry; +import com.airbyte.api.models.shared.SourceSftp; +import com.airbyte.api.models.shared.SourceSftpBulk; +import com.airbyte.api.models.shared.SourceSftpBulkFileType; +import com.airbyte.api.models.shared.SourceSftpBulkSftpBulk; +import com.airbyte.api.models.shared.SourceSftpCredentialsPasswordAuthentication; +import com.airbyte.api.models.shared.SourceSftpCredentialsPasswordAuthenticationAuthMethod; +import com.airbyte.api.models.shared.SourceSftpCredentialsSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceSftpCredentialsSSHKeyAuthenticationAuthMethod; +import com.airbyte.api.models.shared.SourceSftpSftp; +import com.airbyte.api.models.shared.SourceShopify; +import com.airbyte.api.models.shared.SourceShopifyCredentialsAPIPassword; +import com.airbyte.api.models.shared.SourceShopifyCredentialsAPIPasswordAuthMethod; +import com.airbyte.api.models.shared.SourceShopifyCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceShopifyCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceShopifyShopify; +import com.airbyte.api.models.shared.SourceShortio; +import com.airbyte.api.models.shared.SourceShortioShortio; +import com.airbyte.api.models.shared.SourceSlack; +import com.airbyte.api.models.shared.SourceSlackCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceSlackCredentialsAPITokenOptionTitle; +import com.airbyte.api.models.shared.SourceSlackCredentialsSignInViaSlackOAuth; +import com.airbyte.api.models.shared.SourceSlackCredentialsSignInViaSlackOAuthOptionTitle; +import com.airbyte.api.models.shared.SourceSlackSlack; +import com.airbyte.api.models.shared.SourceSmaily; +import com.airbyte.api.models.shared.SourceSmailySmaily; +import com.airbyte.api.models.shared.SourceSmartengage; +import com.airbyte.api.models.shared.SourceSmartengageSmartengage; +import com.airbyte.api.models.shared.SourceSmartsheets; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsAPIAccessToken; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsAPIAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceSmartsheetsSmartsheets; +import com.airbyte.api.models.shared.SourceSnapchatMarketing; +import com.airbyte.api.models.shared.SourceSnapchatMarketingSnapchatMarketing; +import com.airbyte.api.models.shared.SourceSnowflake; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsUsernameAndPassword; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsUsernameAndPasswordAuthType; +import com.airbyte.api.models.shared.SourceSnowflakeSnowflake; +import com.airbyte.api.models.shared.SourceSonarCloud; +import com.airbyte.api.models.shared.SourceSonarCloudSonarCloud; +import com.airbyte.api.models.shared.SourceSpacexApi; +import com.airbyte.api.models.shared.SourceSpacexApiSpacexApi; +import com.airbyte.api.models.shared.SourceSquare; +import com.airbyte.api.models.shared.SourceSquareCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceSquareCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceSquareCredentialsOauthAuthentication; +import com.airbyte.api.models.shared.SourceSquareCredentialsOauthAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceSquareSquare; +import com.airbyte.api.models.shared.SourceStrava; +import com.airbyte.api.models.shared.SourceStravaAuthType; +import com.airbyte.api.models.shared.SourceStravaStrava; +import com.airbyte.api.models.shared.SourceStripe; +import com.airbyte.api.models.shared.SourceStripeStripe; +import com.airbyte.api.models.shared.SourceSurveySparrow; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionEUBasedAccount; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionEUBasedAccountUrlBase; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionGlobalAccount; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionGlobalAccountUrlBase; +import com.airbyte.api.models.shared.SourceSurveySparrowSurveySparrow; +import com.airbyte.api.models.shared.SourceSurveymonkey; +import com.airbyte.api.models.shared.SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccount; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveyMonkeyAuthorizationMethod; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethod; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveymonkey; +import com.airbyte.api.models.shared.SourceTempo; +import com.airbyte.api.models.shared.SourceTempoTempo; +import com.airbyte.api.models.shared.SourceTheGuardianApi; +import com.airbyte.api.models.shared.SourceTheGuardianApiTheGuardianApi; +import com.airbyte.api.models.shared.SourceTiktokMarketing; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsSandboxAccessToken; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsSandboxAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceTiktokMarketingTiktokMarketing; +import com.airbyte.api.models.shared.SourceTodoist; +import com.airbyte.api.models.shared.SourceTodoistTodoist; +import com.airbyte.api.models.shared.SourceTrello; +import com.airbyte.api.models.shared.SourceTrelloTrello; +import com.airbyte.api.models.shared.SourceTrustpilot; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceTrustpilotTrustpilot; +import com.airbyte.api.models.shared.SourceTvmazeSchedule; +import com.airbyte.api.models.shared.SourceTvmazeScheduleTvmazeSchedule; +import com.airbyte.api.models.shared.SourceTwilio; +import com.airbyte.api.models.shared.SourceTwilioTaskrouter; +import com.airbyte.api.models.shared.SourceTwilioTaskrouterTwilioTaskrouter; +import com.airbyte.api.models.shared.SourceTwilioTwilio; +import com.airbyte.api.models.shared.SourceTwitter; +import com.airbyte.api.models.shared.SourceTwitterTwitter; +import com.airbyte.api.models.shared.SourceTypeform; +import com.airbyte.api.models.shared.SourceTypeformTypeform; +import com.airbyte.api.models.shared.SourceUsCensus; +import com.airbyte.api.models.shared.SourceUsCensusUsCensus; +import com.airbyte.api.models.shared.SourceVantage; +import com.airbyte.api.models.shared.SourceVantageVantage; +import com.airbyte.api.models.shared.SourceWebflow; +import com.airbyte.api.models.shared.SourceWebflowWebflow; +import com.airbyte.api.models.shared.SourceWhiskyHunter; +import com.airbyte.api.models.shared.SourceWhiskyHunterWhiskyHunter; +import com.airbyte.api.models.shared.SourceWikipediaPageviews; +import com.airbyte.api.models.shared.SourceWikipediaPageviewsWikipediaPageviews; +import com.airbyte.api.models.shared.SourceWoocommerce; +import com.airbyte.api.models.shared.SourceWoocommerceWoocommerce; +import com.airbyte.api.models.shared.SourceXero; +import com.airbyte.api.models.shared.SourceXeroAuthenticateViaXeroOAuth; +import com.airbyte.api.models.shared.SourceXeroXero; +import com.airbyte.api.models.shared.SourceXkcd; +import com.airbyte.api.models.shared.SourceXkcdXkcd; +import com.airbyte.api.models.shared.SourceYandexMetrica; +import com.airbyte.api.models.shared.SourceYandexMetricaYandexMetrica; +import com.airbyte.api.models.shared.SourceYotpo; +import com.airbyte.api.models.shared.SourceYotpoYotpo; +import com.airbyte.api.models.shared.SourceYounium; +import com.airbyte.api.models.shared.SourceYouniumYounium; +import com.airbyte.api.models.shared.SourceYoutubeAnalytics; +import com.airbyte.api.models.shared.SourceYoutubeAnalyticsYoutubeAnalytics; +import com.airbyte.api.models.shared.SourceZendeskChat; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsAccessTokenCredentials; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsOAuth20Credentials; +import com.airbyte.api.models.shared.SourceZendeskChatZendeskChat; +import com.airbyte.api.models.shared.SourceZendeskSunshine; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsAPITokenAuthMethod; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceZendeskSunshineZendeskSunshine; +import com.airbyte.api.models.shared.SourceZendeskSupport; +import com.airbyte.api.models.shared.SourceZendeskSupportZendeskSupport; +import com.airbyte.api.models.shared.SourceZendeskTalk; +import com.airbyte.api.models.shared.SourceZendeskTalkZendeskTalk; +import com.airbyte.api.models.shared.SourceZenloop; +import com.airbyte.api.models.shared.SourceZenloopZenloop; +import com.airbyte.api.models.shared.SourceZohoCRMZohoCRMEdition; +import com.airbyte.api.models.shared.SourceZohoCrm; +import com.airbyte.api.models.shared.SourceZohoCrmDataCenterLocation; +import com.airbyte.api.models.shared.SourceZohoCrmEnvironment; +import com.airbyte.api.models.shared.SourceZohoCrmZohoCrm; +import com.airbyte.api.models.shared.SourceZoom; +import com.airbyte.api.models.shared.SourceZoomZoom; +import com.airbyte.api.models.shared.SourceZuora; +import com.airbyte.api.models.shared.SourceZuoraDataQueryType; +import com.airbyte.api.models.shared.SourceZuoraTenantEndpointLocation; +import com.airbyte.api.models.shared.SourceZuoraZuora; +import java.time.LocalDate; +import java.time.OffsetDateTime; + +public class Application { + public static void main(String[] args) { + try { + Airbyte sdk = Airbyte.builder() + .setSecurity(new Security("soluta") {{ + bearerAuth = "YOUR_BEARER_TOKEN_HERE"; + }}) + .build(); + + PatchSourceRequest req = new PatchSourceRequest("accusantium") {{ + sourcePatchRequest = new SourcePatchRequest() {{ + configuration = new SourceGoogleSearchConsole( new SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication(SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType.SERVICE, "voluptatum", "qui") {{ + authType = SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType.SERVICE; + email = "Finn.Kihn@gmail.com"; + serviceAccountInfo = "aut"; + }}, new String[]{{ + add("ex"), + add("deleniti"), + add("itaque"), + add("dolorum"), + }}, SourceGoogleSearchConsoleGoogleSearchConsole.GOOGLE_SEARCH_CONSOLE, LocalDate.parse("2022-05-23")) {{ + customReports = "tenetur"; + dataState = SourceGoogleSearchConsoleDataState.FINAL_; + endDate = LocalDate.parse("2022-09-22"); + }};; + name = "My source"; + secretId = "voluptate"; + workspaceId = "051339d0-8086-4a18-8039-4c26071f93f5"; + }};; + }}; + + PatchSourceResponse res = sdk.sources.patchSource(req); + + if (res.sourceResponse != null) { + // handle response + } + } catch (Exception e) { + // handle exception + } + } +} +``` + +## putSource + +Update a Source and fully overwrite it + +### Example Usage + +```java +package hello.world; + +import com.airbyte.api.Airbyte; +import com.airbyte.api.models.operations.PutSourceRequest; +import com.airbyte.api.models.operations.PutSourceResponse; +import com.airbyte.api.models.shared.Security; +import com.airbyte.api.models.shared.SourceAircall; +import com.airbyte.api.models.shared.SourceAircallAircall; +import com.airbyte.api.models.shared.SourceAirtable; +import com.airbyte.api.models.shared.SourceAirtableAirtable; +import com.airbyte.api.models.shared.SourceAirtableCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceAirtableCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceAirtableCredentialsPersonalAccessToken; +import com.airbyte.api.models.shared.SourceAirtableCredentialsPersonalAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceAlloydb; +import com.airbyte.api.models.shared.SourceAlloydbAlloydb; +import com.airbyte.api.models.shared.SourceAlloydbReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceAlloydbReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceAlloydbTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceAmazonAds; +import com.airbyte.api.models.shared.SourceAmazonAdsAmazonAds; +import com.airbyte.api.models.shared.SourceAmazonAdsAuthType; +import com.airbyte.api.models.shared.SourceAmazonAdsRegion; +import com.airbyte.api.models.shared.SourceAmazonAdsReportRecordTypes; +import com.airbyte.api.models.shared.SourceAmazonAdsStateFilter; +import com.airbyte.api.models.shared.SourceAmazonSqs; +import com.airbyte.api.models.shared.SourceAmazonSqsAWSRegion; +import com.airbyte.api.models.shared.SourceAmazonSqsAmazonSqs; +import com.airbyte.api.models.shared.SourceAmplitude; +import com.airbyte.api.models.shared.SourceAmplitudeAmplitude; +import com.airbyte.api.models.shared.SourceAmplitudeDataRegion; +import com.airbyte.api.models.shared.SourceApifyDataset; +import com.airbyte.api.models.shared.SourceApifyDatasetApifyDataset; +import com.airbyte.api.models.shared.SourceAsana; +import com.airbyte.api.models.shared.SourceAsanaAsana; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateViaAsanaOauth; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitle; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateWithPersonalAccessToken; +import com.airbyte.api.models.shared.SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitle; +import com.airbyte.api.models.shared.SourceAuth0; +import com.airbyte.api.models.shared.SourceAuth0Auth0; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2AccessToken; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethod; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2ConfidentialApplication; +import com.airbyte.api.models.shared.SourceAuth0CredentialsOAuth2ConfidentialApplicationAuthenticationMethod; +import com.airbyte.api.models.shared.SourceAwsCloudtrail; +import com.airbyte.api.models.shared.SourceAwsCloudtrailAwsCloudtrail; +import com.airbyte.api.models.shared.SourceAzureBlobStorage; +import com.airbyte.api.models.shared.SourceAzureBlobStorageAzureBlobStorage; +import com.airbyte.api.models.shared.SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSON; +import com.airbyte.api.models.shared.SourceAzureBlobStorageFormatJSONLinesNewlineDelimitedJSONFormatType; +import com.airbyte.api.models.shared.SourceAzureTable; +import com.airbyte.api.models.shared.SourceAzureTableAzureTable; +import com.airbyte.api.models.shared.SourceBambooHr; +import com.airbyte.api.models.shared.SourceBambooHrBambooHr; +import com.airbyte.api.models.shared.SourceBigcommerce; +import com.airbyte.api.models.shared.SourceBigcommerceBigcommerce; +import com.airbyte.api.models.shared.SourceBigquery; +import com.airbyte.api.models.shared.SourceBigqueryBigquery; +import com.airbyte.api.models.shared.SourceBingAds; +import com.airbyte.api.models.shared.SourceBingAdsAuthMethod; +import com.airbyte.api.models.shared.SourceBingAdsBingAds; +import com.airbyte.api.models.shared.SourceBraintree; +import com.airbyte.api.models.shared.SourceBraintreeBraintree; +import com.airbyte.api.models.shared.SourceBraintreeEnvironment; +import com.airbyte.api.models.shared.SourceBraze; +import com.airbyte.api.models.shared.SourceBrazeBraze; +import com.airbyte.api.models.shared.SourceChargebee; +import com.airbyte.api.models.shared.SourceChargebeeChargebee; +import com.airbyte.api.models.shared.SourceChargebeeProductCatalog; +import com.airbyte.api.models.shared.SourceChartmogul; +import com.airbyte.api.models.shared.SourceChartmogulChartmogul; +import com.airbyte.api.models.shared.SourceChartmogulInterval; +import com.airbyte.api.models.shared.SourceClickhouse; +import com.airbyte.api.models.shared.SourceClickhouseClickhouse; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceClickhouseTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceClickupApi; +import com.airbyte.api.models.shared.SourceClickupApiClickupApi; +import com.airbyte.api.models.shared.SourceCloseCom; +import com.airbyte.api.models.shared.SourceCloseComCloseCom; +import com.airbyte.api.models.shared.SourceCoda; +import com.airbyte.api.models.shared.SourceCodaCoda; +import com.airbyte.api.models.shared.SourceCoinApi; +import com.airbyte.api.models.shared.SourceCoinApiCoinApi; +import com.airbyte.api.models.shared.SourceCoinApiEnvironment; +import com.airbyte.api.models.shared.SourceCoinmarketcap; +import com.airbyte.api.models.shared.SourceCoinmarketcapCoinmarketcap; +import com.airbyte.api.models.shared.SourceCoinmarketcapDataType; +import com.airbyte.api.models.shared.SourceConfigcat; +import com.airbyte.api.models.shared.SourceConfigcatConfigcat; +import com.airbyte.api.models.shared.SourceConfluence; +import com.airbyte.api.models.shared.SourceConfluenceConfluence; +import com.airbyte.api.models.shared.SourceDatascope; +import com.airbyte.api.models.shared.SourceDatascopeDatascope; +import com.airbyte.api.models.shared.SourceDelighted; +import com.airbyte.api.models.shared.SourceDelightedDelighted; +import com.airbyte.api.models.shared.SourceDixa; +import com.airbyte.api.models.shared.SourceDixaDixa; +import com.airbyte.api.models.shared.SourceDockerhub; +import com.airbyte.api.models.shared.SourceDockerhubDockerhub; +import com.airbyte.api.models.shared.SourceDremio; +import com.airbyte.api.models.shared.SourceDremioDremio; +import com.airbyte.api.models.shared.SourceDynamodb; +import com.airbyte.api.models.shared.SourceDynamodbDynamodb; +import com.airbyte.api.models.shared.SourceDynamodbDynamodbRegion; +import com.airbyte.api.models.shared.SourceE2eTestCloud; +import com.airbyte.api.models.shared.SourceE2eTestCloudE2eTestCloud; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogMultiSchema; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogMultiSchemaType; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogSingleSchema; +import com.airbyte.api.models.shared.SourceE2eTestCloudMockCatalogSingleSchemaType; +import com.airbyte.api.models.shared.SourceE2eTestCloudType; +import com.airbyte.api.models.shared.SourceEmailoctopus; +import com.airbyte.api.models.shared.SourceEmailoctopusEmailoctopus; +import com.airbyte.api.models.shared.SourceExchangeRates; +import com.airbyte.api.models.shared.SourceExchangeRatesExchangeRates; +import com.airbyte.api.models.shared.SourceFacebookMarketing; +import com.airbyte.api.models.shared.SourceFacebookMarketingFacebookMarketing; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfig; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigLevel; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidActionBreakdowns; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidBreakdowns; +import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidEnums; +import com.airbyte.api.models.shared.SourceFacebookPages; +import com.airbyte.api.models.shared.SourceFacebookPagesFacebookPages; +import com.airbyte.api.models.shared.SourceFaker; +import com.airbyte.api.models.shared.SourceFakerFaker; +import com.airbyte.api.models.shared.SourceFauna; +import com.airbyte.api.models.shared.SourceFaunaCollection; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsDisabled; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsDisabledDeletionMode; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsEnabled; +import com.airbyte.api.models.shared.SourceFaunaCollectionDeletionsEnabledDeletionMode; +import com.airbyte.api.models.shared.SourceFaunaFauna; +import com.airbyte.api.models.shared.SourceFileSecure; +import com.airbyte.api.models.shared.SourceFileSecureFileFormat; +import com.airbyte.api.models.shared.SourceFileSecureFileSecure; +import com.airbyte.api.models.shared.SourceFileSecureProviderAzBlobAzureBlobStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderAzBlobAzureBlobStorageStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderGCSGoogleCloudStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderGCSGoogleCloudStorageStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderHTTPSPublicWeb; +import com.airbyte.api.models.shared.SourceFileSecureProviderHTTPSPublicWebStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderS3AmazonWebServices; +import com.airbyte.api.models.shared.SourceFileSecureProviderS3AmazonWebServicesStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSCPSecureCopyProtocol; +import com.airbyte.api.models.shared.SourceFileSecureProviderSCPSecureCopyProtocolStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSFTPSecureFileTransferProtocol; +import com.airbyte.api.models.shared.SourceFileSecureProviderSFTPSecureFileTransferProtocolStorage; +import com.airbyte.api.models.shared.SourceFileSecureProviderSSHSecureShell; +import com.airbyte.api.models.shared.SourceFileSecureProviderSSHSecureShellStorage; +import com.airbyte.api.models.shared.SourceFirebolt; +import com.airbyte.api.models.shared.SourceFireboltFirebolt; +import com.airbyte.api.models.shared.SourceFreshcaller; +import com.airbyte.api.models.shared.SourceFreshcallerFreshcaller; +import com.airbyte.api.models.shared.SourceFreshdesk; +import com.airbyte.api.models.shared.SourceFreshdeskFreshdesk; +import com.airbyte.api.models.shared.SourceFreshsales; +import com.airbyte.api.models.shared.SourceFreshsalesFreshsales; +import com.airbyte.api.models.shared.SourceFreshservice; +import com.airbyte.api.models.shared.SourceFreshserviceFreshservice; +import com.airbyte.api.models.shared.SourceGcs; +import com.airbyte.api.models.shared.SourceGcsGcs; +import com.airbyte.api.models.shared.SourceGetlago; +import com.airbyte.api.models.shared.SourceGetlagoGetlago; +import com.airbyte.api.models.shared.SourceGithub; +import com.airbyte.api.models.shared.SourceGithubCredentialsOAuth; +import com.airbyte.api.models.shared.SourceGithubCredentialsOAuthOptionTitle; +import com.airbyte.api.models.shared.SourceGithubCredentialsPersonalAccessToken; +import com.airbyte.api.models.shared.SourceGithubCredentialsPersonalAccessTokenOptionTitle; +import com.airbyte.api.models.shared.SourceGithubGithub; +import com.airbyte.api.models.shared.SourceGitlab; +import com.airbyte.api.models.shared.SourceGitlabCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceGitlabCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceGitlabCredentialsPrivateToken; +import com.airbyte.api.models.shared.SourceGitlabCredentialsPrivateTokenAuthType; +import com.airbyte.api.models.shared.SourceGitlabGitlab; +import com.airbyte.api.models.shared.SourceGlassfrog; +import com.airbyte.api.models.shared.SourceGlassfrogGlassfrog; +import com.airbyte.api.models.shared.SourceGnews; +import com.airbyte.api.models.shared.SourceGnewsCountry; +import com.airbyte.api.models.shared.SourceGnewsGnews; +import com.airbyte.api.models.shared.SourceGnewsIn; +import com.airbyte.api.models.shared.SourceGnewsLanguage; +import com.airbyte.api.models.shared.SourceGnewsNullable; +import com.airbyte.api.models.shared.SourceGnewsSortBy; +import com.airbyte.api.models.shared.SourceGnewsTopHeadlinesTopic; +import com.airbyte.api.models.shared.SourceGoogleAds; +import com.airbyte.api.models.shared.SourceGoogleAdsCustomQueries; +import com.airbyte.api.models.shared.SourceGoogleAdsGoogleAds; +import com.airbyte.api.models.shared.SourceGoogleAdsGoogleCredentials; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApi; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauth; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsAuthenticateViaGoogleOauthAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiCredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsDataApiGoogleAnalyticsDataApi; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauth; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsAuthenticateViaGoogleOauthAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4CredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleAnalyticsV4GoogleAnalyticsV4; +import com.airbyte.api.models.shared.SourceGoogleDirectory; +import com.airbyte.api.models.shared.SourceGoogleDirectoryGoogleDirectory; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsCategories; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsGooglePagespeedInsights; +import com.airbyte.api.models.shared.SourceGooglePagespeedInsightsStrategies; +import com.airbyte.api.models.shared.SourceGoogleSearchConsole; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuth; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationOAuthAuthType; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleDataState; +import com.airbyte.api.models.shared.SourceGoogleSearchConsoleGoogleSearchConsole; +import com.airbyte.api.models.shared.SourceGoogleSheets; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuth; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsAuthenticateViaGoogleOAuthAuthType; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsServiceAccountKeyAuthentication; +import com.airbyte.api.models.shared.SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceGoogleSheetsGoogleSheets; +import com.airbyte.api.models.shared.SourceGoogleWebfonts; +import com.airbyte.api.models.shared.SourceGoogleWebfontsGoogleWebfonts; +import com.airbyte.api.models.shared.SourceGoogleWorkspaceAdminReports; +import com.airbyte.api.models.shared.SourceGoogleWorkspaceAdminReportsGoogleWorkspaceAdminReports; +import com.airbyte.api.models.shared.SourceGreenhouse; +import com.airbyte.api.models.shared.SourceGreenhouseGreenhouse; +import com.airbyte.api.models.shared.SourceGridly; +import com.airbyte.api.models.shared.SourceGridlyGridly; +import com.airbyte.api.models.shared.SourceHarvest; +import com.airbyte.api.models.shared.SourceHarvestHarvest; +import com.airbyte.api.models.shared.SourceHubplanner; +import com.airbyte.api.models.shared.SourceHubplannerHubplanner; +import com.airbyte.api.models.shared.SourceHubspot; +import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuth; +import com.airbyte.api.models.shared.SourceHubspotCredentialsOAuthAuthType; +import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateApp; +import com.airbyte.api.models.shared.SourceHubspotCredentialsPrivateAppAuthType; +import com.airbyte.api.models.shared.SourceHubspotHubspot; +import com.airbyte.api.models.shared.SourceInsightly; +import com.airbyte.api.models.shared.SourceInsightlyInsightly; +import com.airbyte.api.models.shared.SourceInstagram; +import com.airbyte.api.models.shared.SourceInstagramInstagram; +import com.airbyte.api.models.shared.SourceInstatus; +import com.airbyte.api.models.shared.SourceInstatusInstatus; +import com.airbyte.api.models.shared.SourceIntercom; +import com.airbyte.api.models.shared.SourceIntercomIntercom; +import com.airbyte.api.models.shared.SourceIp2whois; +import com.airbyte.api.models.shared.SourceIp2whoisIp2whois; +import com.airbyte.api.models.shared.SourceIterable; +import com.airbyte.api.models.shared.SourceIterableIterable; +import com.airbyte.api.models.shared.SourceJira; +import com.airbyte.api.models.shared.SourceJiraJira; +import com.airbyte.api.models.shared.SourceK6Cloud; +import com.airbyte.api.models.shared.SourceK6CloudK6Cloud; +import com.airbyte.api.models.shared.SourceKlarna; +import com.airbyte.api.models.shared.SourceKlarnaKlarna; +import com.airbyte.api.models.shared.SourceKlarnaRegion; +import com.airbyte.api.models.shared.SourceKlaviyo; +import com.airbyte.api.models.shared.SourceKlaviyoKlaviyo; +import com.airbyte.api.models.shared.SourceKustomerSinger; +import com.airbyte.api.models.shared.SourceKustomerSingerKustomerSinger; +import com.airbyte.api.models.shared.SourceLaunchdarkly; +import com.airbyte.api.models.shared.SourceLaunchdarklyLaunchdarkly; +import com.airbyte.api.models.shared.SourceLemlist; +import com.airbyte.api.models.shared.SourceLemlistLemlist; +import com.airbyte.api.models.shared.SourceLinkedinAds; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceLinkedinAdsCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinAdsLinkedinAds; +import com.airbyte.api.models.shared.SourceLinkedinPages; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceLinkedinPagesCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceLinkedinPagesLinkedinPages; +import com.airbyte.api.models.shared.SourceLinnworks; +import com.airbyte.api.models.shared.SourceLinnworksLinnworks; +import com.airbyte.api.models.shared.SourceLokalise; +import com.airbyte.api.models.shared.SourceLokaliseLokalise; +import com.airbyte.api.models.shared.SourceMailchimp; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceMailchimpCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMailchimpMailchimp; +import com.airbyte.api.models.shared.SourceMailgun; +import com.airbyte.api.models.shared.SourceMailgunMailgun; +import com.airbyte.api.models.shared.SourceMailjetSms; +import com.airbyte.api.models.shared.SourceMailjetSmsMailjetSms; +import com.airbyte.api.models.shared.SourceMarketo; +import com.airbyte.api.models.shared.SourceMarketoMarketo; +import com.airbyte.api.models.shared.SourceMetabase; +import com.airbyte.api.models.shared.SourceMetabaseMetabase; +import com.airbyte.api.models.shared.SourceMicrosoftTeams; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoft; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftAuthType; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsCredentialsAuthenticateViaMicrosoftOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMicrosoftTeamsMicrosoftTeams; +import com.airbyte.api.models.shared.SourceMixpanel; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsProjectSecret; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsProjectSecretOptionTitle; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsServiceAccount; +import com.airbyte.api.models.shared.SourceMixpanelCredentialsServiceAccountOptionTitle; +import com.airbyte.api.models.shared.SourceMixpanelMixpanel; +import com.airbyte.api.models.shared.SourceMixpanelRegion; +import com.airbyte.api.models.shared.SourceMonday; +import com.airbyte.api.models.shared.SourceMondayCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceMondayCredentialsAPITokenAuthType; +import com.airbyte.api.models.shared.SourceMondayCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceMondayCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceMondayMonday; +import com.airbyte.api.models.shared.SourceMongodb; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeMongoDBAtlas; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeMongoDBAtlasInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeReplicaSet; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeReplicaSetInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeStandaloneMongoDbInstance; +import com.airbyte.api.models.shared.SourceMongodbInstanceTypeStandaloneMongoDbInstanceInstance; +import com.airbyte.api.models.shared.SourceMongodbMongodb; +import com.airbyte.api.models.shared.SourceMssql; +import com.airbyte.api.models.shared.SourceMssqlMssql; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDC; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCDataToSync; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCInitialSnapshotIsolationLevel; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodLogicalReplicationCDCMethod; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceMssqlReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedTrustServerCertificate; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedTrustServerCertificateSslMethod; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.SourceMssqlSslMethodEncryptedVerifyCertificateSslMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceMssqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMyHours; +import com.airbyte.api.models.shared.SourceMyHoursMyHours; +import com.airbyte.api.models.shared.SourceMysql; +import com.airbyte.api.models.shared.SourceMysqlMysql; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodLogicalReplicationCDC; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodLogicalReplicationCDCMethod; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodStandard; +import com.airbyte.api.models.shared.SourceMysqlReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourceMysqlSslModePreferred; +import com.airbyte.api.models.shared.SourceMysqlSslModePreferredMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeRequired; +import com.airbyte.api.models.shared.SourceMysqlSslModeRequiredMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyCA; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyCAMode; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyIdentity; +import com.airbyte.api.models.shared.SourceMysqlSslModeVerifyIdentityMode; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceMysqlTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceNetsuite; +import com.airbyte.api.models.shared.SourceNetsuiteNetsuite; +import com.airbyte.api.models.shared.SourceNotion; +import com.airbyte.api.models.shared.SourceNotionCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceNotionCredentialsAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceNotionCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceNotionCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceNotionNotion; +import com.airbyte.api.models.shared.SourceNytimes; +import com.airbyte.api.models.shared.SourceNytimesNytimes; +import com.airbyte.api.models.shared.SourceNytimesPeriodUsedForMostPopularStreams; +import com.airbyte.api.models.shared.SourceNytimesShareTypeUsedForMostPopularSharedStream; +import com.airbyte.api.models.shared.SourceOkta; +import com.airbyte.api.models.shared.SourceOktaCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceOktaCredentialsAPITokenAuthType; +import com.airbyte.api.models.shared.SourceOktaCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceOktaCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceOktaOkta; +import com.airbyte.api.models.shared.SourceOmnisend; +import com.airbyte.api.models.shared.SourceOmnisendOmnisend; +import com.airbyte.api.models.shared.SourceOnesignal; +import com.airbyte.api.models.shared.SourceOnesignalApplications; +import com.airbyte.api.models.shared.SourceOnesignalOnesignal; +import com.airbyte.api.models.shared.SourceOpenweather; +import com.airbyte.api.models.shared.SourceOpenweatherLanguage; +import com.airbyte.api.models.shared.SourceOpenweatherOpenweather; +import com.airbyte.api.models.shared.SourceOpenweatherUnits; +import com.airbyte.api.models.shared.SourceOracle; +import com.airbyte.api.models.shared.SourceOracleConnectionDataServiceName; +import com.airbyte.api.models.shared.SourceOracleConnectionDataServiceNameConnectionType; +import com.airbyte.api.models.shared.SourceOracleConnectionDataSystemIDSID; +import com.airbyte.api.models.shared.SourceOracleConnectionDataSystemIDSIDConnectionType; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNE; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionAlgorithm; +import com.airbyte.api.models.shared.SourceOracleEncryptionNativeNetworkEncryptionNNEEncryptionMethod; +import com.airbyte.api.models.shared.SourceOracleEncryptionTLSEncryptedVerifyCertificate; +import com.airbyte.api.models.shared.SourceOracleEncryptionTLSEncryptedVerifyCertificateEncryptionMethod; +import com.airbyte.api.models.shared.SourceOracleOracle; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceOracleTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourceOrb; +import com.airbyte.api.models.shared.SourceOrbOrb; +import com.airbyte.api.models.shared.SourceOrbit; +import com.airbyte.api.models.shared.SourceOrbitOrbit; +import com.airbyte.api.models.shared.SourceOutreach; +import com.airbyte.api.models.shared.SourceOutreachOutreach; +import com.airbyte.api.models.shared.SourcePaypalTransaction; +import com.airbyte.api.models.shared.SourcePaypalTransactionPaypalTransaction; +import com.airbyte.api.models.shared.SourcePaystack; +import com.airbyte.api.models.shared.SourcePaystackPaystack; +import com.airbyte.api.models.shared.SourcePendo; +import com.airbyte.api.models.shared.SourcePendoPendo; +import com.airbyte.api.models.shared.SourcePersistiq; +import com.airbyte.api.models.shared.SourcePersistiqPersistiq; +import com.airbyte.api.models.shared.SourcePexelsApi; +import com.airbyte.api.models.shared.SourcePexelsApiPexelsApi; +import com.airbyte.api.models.shared.SourcePinterest; +import com.airbyte.api.models.shared.SourcePinterestCredentialsAccessToken; +import com.airbyte.api.models.shared.SourcePinterestCredentialsAccessTokenAuthMethod; +import com.airbyte.api.models.shared.SourcePinterestCredentialsOAuth20; +import com.airbyte.api.models.shared.SourcePinterestCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourcePinterestPinterest; +import com.airbyte.api.models.shared.SourcePinterestStatus; +import com.airbyte.api.models.shared.SourcePipedrive; +import com.airbyte.api.models.shared.SourcePipedriveAPIKeyAuthentication; +import com.airbyte.api.models.shared.SourcePipedriveAPIKeyAuthenticationAuthType; +import com.airbyte.api.models.shared.SourcePipedrivePipedrive; +import com.airbyte.api.models.shared.SourcePocket; +import com.airbyte.api.models.shared.SourcePocketContentType; +import com.airbyte.api.models.shared.SourcePocketDetailType; +import com.airbyte.api.models.shared.SourcePocketPocket; +import com.airbyte.api.models.shared.SourcePocketSortBy; +import com.airbyte.api.models.shared.SourcePocketState; +import com.airbyte.api.models.shared.SourcePokeapi; +import com.airbyte.api.models.shared.SourcePokeapiPokeapi; +import com.airbyte.api.models.shared.SourcePolygonStockApi; +import com.airbyte.api.models.shared.SourcePolygonStockApiPolygonStockApi; +import com.airbyte.api.models.shared.SourcePostgres; +import com.airbyte.api.models.shared.SourcePostgresPostgres; +import com.airbyte.api.models.shared.SourcePostgresReplicationMethodStandard; +import com.airbyte.api.models.shared.SourcePostgresReplicationMethodStandardMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodNoTunnel; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodNoTunnelTunnelMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodPasswordAuthentication; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodPasswordAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourcePostgresTunnelMethodSSHKeyAuthenticationTunnelMethod; +import com.airbyte.api.models.shared.SourcePosthog; +import com.airbyte.api.models.shared.SourcePosthogPosthog; +import com.airbyte.api.models.shared.SourcePostmarkapp; +import com.airbyte.api.models.shared.SourcePostmarkappPostmarkapp; +import com.airbyte.api.models.shared.SourcePrestashop; +import com.airbyte.api.models.shared.SourcePrestashopPrestashop; +import com.airbyte.api.models.shared.SourcePublicApis; +import com.airbyte.api.models.shared.SourcePublicApisPublicApis; +import com.airbyte.api.models.shared.SourcePunkApi; +import com.airbyte.api.models.shared.SourcePunkApiPunkApi; +import com.airbyte.api.models.shared.SourcePutRequest; +import com.airbyte.api.models.shared.SourcePypi; +import com.airbyte.api.models.shared.SourcePypiPypi; +import com.airbyte.api.models.shared.SourceQualaroo; +import com.airbyte.api.models.shared.SourceQualarooQualaroo; +import com.airbyte.api.models.shared.SourceQuickbooks; +import com.airbyte.api.models.shared.SourceQuickbooksCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceQuickbooksCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceQuickbooksQuickbooks; +import com.airbyte.api.models.shared.SourceRailz; +import com.airbyte.api.models.shared.SourceRailzRailz; +import com.airbyte.api.models.shared.SourceRecharge; +import com.airbyte.api.models.shared.SourceRechargeRecharge; +import com.airbyte.api.models.shared.SourceRecreation; +import com.airbyte.api.models.shared.SourceRecreationRecreation; +import com.airbyte.api.models.shared.SourceRecruitee; +import com.airbyte.api.models.shared.SourceRecruiteeRecruitee; +import com.airbyte.api.models.shared.SourceRecurly; +import com.airbyte.api.models.shared.SourceRecurlyRecurly; +import com.airbyte.api.models.shared.SourceRedshift; +import com.airbyte.api.models.shared.SourceRedshiftRedshift; +import com.airbyte.api.models.shared.SourceRetently; +import com.airbyte.api.models.shared.SourceRetentlyRetently; +import com.airbyte.api.models.shared.SourceRkiCovid; +import com.airbyte.api.models.shared.SourceRkiCovidRkiCovid; +import com.airbyte.api.models.shared.SourceRss; +import com.airbyte.api.models.shared.SourceRssRss; +import com.airbyte.api.models.shared.SourceS3; +import com.airbyte.api.models.shared.SourceS3FormatAvro; +import com.airbyte.api.models.shared.SourceS3FormatAvroFiletype; +import com.airbyte.api.models.shared.SourceS3FormatCSV; +import com.airbyte.api.models.shared.SourceS3FormatCSVFiletype; +import com.airbyte.api.models.shared.SourceS3FormatJsonl; +import com.airbyte.api.models.shared.SourceS3FormatJsonlFiletype; +import com.airbyte.api.models.shared.SourceS3FormatJsonlUnexpectedFieldBehavior; +import com.airbyte.api.models.shared.SourceS3FormatParquet; +import com.airbyte.api.models.shared.SourceS3FormatParquetFiletype; +import com.airbyte.api.models.shared.SourceS3S3; +import com.airbyte.api.models.shared.SourceS3S3AmazonWebServices; +import com.airbyte.api.models.shared.SourceSalesforce; +import com.airbyte.api.models.shared.SourceSalesforceAuthType; +import com.airbyte.api.models.shared.SourceSalesforceSalesforce; +import com.airbyte.api.models.shared.SourceSalesforceSinger; +import com.airbyte.api.models.shared.SourceSalesforceSingerApiType; +import com.airbyte.api.models.shared.SourceSalesforceSingerSalesforceSinger; +import com.airbyte.api.models.shared.SourceSalesforceStreamsCriteria; +import com.airbyte.api.models.shared.SourceSalesforceStreamsCriteriaSearchCriteria; +import com.airbyte.api.models.shared.SourceSalesloft; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaAPIKey; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaOAuth; +import com.airbyte.api.models.shared.SourceSalesloftCredentialsAuthenticateViaOAuthAuthType; +import com.airbyte.api.models.shared.SourceSalesloftSalesloft; +import com.airbyte.api.models.shared.SourceSapFieldglass; +import com.airbyte.api.models.shared.SourceSapFieldglassSapFieldglass; +import com.airbyte.api.models.shared.SourceSecoda; +import com.airbyte.api.models.shared.SourceSecodaSecoda; +import com.airbyte.api.models.shared.SourceSendgrid; +import com.airbyte.api.models.shared.SourceSendgridSendgrid; +import com.airbyte.api.models.shared.SourceSendinblue; +import com.airbyte.api.models.shared.SourceSendinblueSendinblue; +import com.airbyte.api.models.shared.SourceSenseforce; +import com.airbyte.api.models.shared.SourceSenseforceSenseforce; +import com.airbyte.api.models.shared.SourceSentry; +import com.airbyte.api.models.shared.SourceSentrySentry; +import com.airbyte.api.models.shared.SourceSftp; +import com.airbyte.api.models.shared.SourceSftpBulk; +import com.airbyte.api.models.shared.SourceSftpBulkFileType; +import com.airbyte.api.models.shared.SourceSftpBulkSftpBulk; +import com.airbyte.api.models.shared.SourceSftpCredentialsPasswordAuthentication; +import com.airbyte.api.models.shared.SourceSftpCredentialsPasswordAuthenticationAuthMethod; +import com.airbyte.api.models.shared.SourceSftpCredentialsSSHKeyAuthentication; +import com.airbyte.api.models.shared.SourceSftpCredentialsSSHKeyAuthenticationAuthMethod; +import com.airbyte.api.models.shared.SourceSftpSftp; +import com.airbyte.api.models.shared.SourceShopify; +import com.airbyte.api.models.shared.SourceShopifyCredentialsAPIPassword; +import com.airbyte.api.models.shared.SourceShopifyCredentialsAPIPasswordAuthMethod; +import com.airbyte.api.models.shared.SourceShopifyCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceShopifyCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceShopifyShopify; +import com.airbyte.api.models.shared.SourceShortio; +import com.airbyte.api.models.shared.SourceShortioShortio; +import com.airbyte.api.models.shared.SourceSlack; +import com.airbyte.api.models.shared.SourceSlackCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceSlackCredentialsAPITokenOptionTitle; +import com.airbyte.api.models.shared.SourceSlackCredentialsSignInViaSlackOAuth; +import com.airbyte.api.models.shared.SourceSlackCredentialsSignInViaSlackOAuthOptionTitle; +import com.airbyte.api.models.shared.SourceSlackSlack; +import com.airbyte.api.models.shared.SourceSmaily; +import com.airbyte.api.models.shared.SourceSmailySmaily; +import com.airbyte.api.models.shared.SourceSmartengage; +import com.airbyte.api.models.shared.SourceSmartengageSmartengage; +import com.airbyte.api.models.shared.SourceSmartsheets; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsAPIAccessToken; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsAPIAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceSmartsheetsCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceSmartsheetsSmartsheets; +import com.airbyte.api.models.shared.SourceSnapchatMarketing; +import com.airbyte.api.models.shared.SourceSnapchatMarketingSnapchatMarketing; +import com.airbyte.api.models.shared.SourceSnowflake; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsUsernameAndPassword; +import com.airbyte.api.models.shared.SourceSnowflakeCredentialsUsernameAndPasswordAuthType; +import com.airbyte.api.models.shared.SourceSnowflakeSnowflake; +import com.airbyte.api.models.shared.SourceSonarCloud; +import com.airbyte.api.models.shared.SourceSonarCloudSonarCloud; +import com.airbyte.api.models.shared.SourceSpacexApi; +import com.airbyte.api.models.shared.SourceSpacexApiSpacexApi; +import com.airbyte.api.models.shared.SourceSquare; +import com.airbyte.api.models.shared.SourceSquareCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceSquareCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceSquareCredentialsOauthAuthentication; +import com.airbyte.api.models.shared.SourceSquareCredentialsOauthAuthenticationAuthType; +import com.airbyte.api.models.shared.SourceSquareSquare; +import com.airbyte.api.models.shared.SourceStrava; +import com.airbyte.api.models.shared.SourceStravaAuthType; +import com.airbyte.api.models.shared.SourceStravaStrava; +import com.airbyte.api.models.shared.SourceStripe; +import com.airbyte.api.models.shared.SourceStripeStripe; +import com.airbyte.api.models.shared.SourceSurveySparrow; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionEUBasedAccount; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionEUBasedAccountUrlBase; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionGlobalAccount; +import com.airbyte.api.models.shared.SourceSurveySparrowRegionGlobalAccountUrlBase; +import com.airbyte.api.models.shared.SourceSurveySparrowSurveySparrow; +import com.airbyte.api.models.shared.SourceSurveymonkey; +import com.airbyte.api.models.shared.SourceSurveymonkeyOriginDatacenterOfTheSurveyMonkeyAccount; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveyMonkeyAuthorizationMethod; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveyMonkeyAuthorizationMethodAuthMethod; +import com.airbyte.api.models.shared.SourceSurveymonkeySurveymonkey; +import com.airbyte.api.models.shared.SourceTempo; +import com.airbyte.api.models.shared.SourceTempoTempo; +import com.airbyte.api.models.shared.SourceTheGuardianApi; +import com.airbyte.api.models.shared.SourceTheGuardianApiTheGuardianApi; +import com.airbyte.api.models.shared.SourceTiktokMarketing; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsSandboxAccessToken; +import com.airbyte.api.models.shared.SourceTiktokMarketingCredentialsSandboxAccessTokenAuthType; +import com.airbyte.api.models.shared.SourceTiktokMarketingTiktokMarketing; +import com.airbyte.api.models.shared.SourceTodoist; +import com.airbyte.api.models.shared.SourceTodoistTodoist; +import com.airbyte.api.models.shared.SourceTrello; +import com.airbyte.api.models.shared.SourceTrelloTrello; +import com.airbyte.api.models.shared.SourceTrustpilot; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsAPIKey; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsAPIKeyAuthType; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceTrustpilotCredentialsOAuth20AuthType; +import com.airbyte.api.models.shared.SourceTrustpilotTrustpilot; +import com.airbyte.api.models.shared.SourceTvmazeSchedule; +import com.airbyte.api.models.shared.SourceTvmazeScheduleTvmazeSchedule; +import com.airbyte.api.models.shared.SourceTwilio; +import com.airbyte.api.models.shared.SourceTwilioTaskrouter; +import com.airbyte.api.models.shared.SourceTwilioTaskrouterTwilioTaskrouter; +import com.airbyte.api.models.shared.SourceTwilioTwilio; +import com.airbyte.api.models.shared.SourceTwitter; +import com.airbyte.api.models.shared.SourceTwitterTwitter; +import com.airbyte.api.models.shared.SourceTypeform; +import com.airbyte.api.models.shared.SourceTypeformTypeform; +import com.airbyte.api.models.shared.SourceUsCensus; +import com.airbyte.api.models.shared.SourceUsCensusUsCensus; +import com.airbyte.api.models.shared.SourceVantage; +import com.airbyte.api.models.shared.SourceVantageVantage; +import com.airbyte.api.models.shared.SourceWebflow; +import com.airbyte.api.models.shared.SourceWebflowWebflow; +import com.airbyte.api.models.shared.SourceWhiskyHunter; +import com.airbyte.api.models.shared.SourceWhiskyHunterWhiskyHunter; +import com.airbyte.api.models.shared.SourceWikipediaPageviews; +import com.airbyte.api.models.shared.SourceWikipediaPageviewsWikipediaPageviews; +import com.airbyte.api.models.shared.SourceWoocommerce; +import com.airbyte.api.models.shared.SourceWoocommerceWoocommerce; +import com.airbyte.api.models.shared.SourceXero; +import com.airbyte.api.models.shared.SourceXeroAuthenticateViaXeroOAuth; +import com.airbyte.api.models.shared.SourceXeroXero; +import com.airbyte.api.models.shared.SourceXkcd; +import com.airbyte.api.models.shared.SourceXkcdXkcd; +import com.airbyte.api.models.shared.SourceYandexMetrica; +import com.airbyte.api.models.shared.SourceYandexMetricaYandexMetrica; +import com.airbyte.api.models.shared.SourceYotpo; +import com.airbyte.api.models.shared.SourceYotpoYotpo; +import com.airbyte.api.models.shared.SourceYounium; +import com.airbyte.api.models.shared.SourceYouniumYounium; +import com.airbyte.api.models.shared.SourceYoutubeAnalytics; +import com.airbyte.api.models.shared.SourceYoutubeAnalyticsYoutubeAnalytics; +import com.airbyte.api.models.shared.SourceZendeskChat; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsAccessToken; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsAccessTokenCredentials; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceZendeskChatCredentialsOAuth20Credentials; +import com.airbyte.api.models.shared.SourceZendeskChatZendeskChat; +import com.airbyte.api.models.shared.SourceZendeskSunshine; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsAPIToken; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsAPITokenAuthMethod; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsOAuth20; +import com.airbyte.api.models.shared.SourceZendeskSunshineCredentialsOAuth20AuthMethod; +import com.airbyte.api.models.shared.SourceZendeskSunshineZendeskSunshine; +import com.airbyte.api.models.shared.SourceZendeskSupport; +import com.airbyte.api.models.shared.SourceZendeskSupportZendeskSupport; +import com.airbyte.api.models.shared.SourceZendeskTalk; +import com.airbyte.api.models.shared.SourceZendeskTalkZendeskTalk; +import com.airbyte.api.models.shared.SourceZenloop; +import com.airbyte.api.models.shared.SourceZenloopZenloop; +import com.airbyte.api.models.shared.SourceZohoCRMZohoCRMEdition; +import com.airbyte.api.models.shared.SourceZohoCrm; +import com.airbyte.api.models.shared.SourceZohoCrmDataCenterLocation; +import com.airbyte.api.models.shared.SourceZohoCrmEnvironment; +import com.airbyte.api.models.shared.SourceZohoCrmZohoCrm; +import com.airbyte.api.models.shared.SourceZoom; +import com.airbyte.api.models.shared.SourceZoomZoom; +import com.airbyte.api.models.shared.SourceZuora; +import com.airbyte.api.models.shared.SourceZuoraDataQueryType; +import com.airbyte.api.models.shared.SourceZuoraTenantEndpointLocation; +import com.airbyte.api.models.shared.SourceZuoraZuora; +import java.time.LocalDate; +import java.time.OffsetDateTime; + +public class Application { + public static void main(String[] args) { + try { + Airbyte sdk = Airbyte.builder() + .setSecurity(new Security("asperiores") {{ + bearerAuth = "YOUR_BEARER_TOKEN_HERE"; + }}) + .build(); + + PutSourceRequest req = new PutSourceRequest("aperiam") {{ + sourcePutRequest = new SourcePutRequest( new SourceKustomerSinger("repellendus", SourceKustomerSingerKustomerSinger.KUSTOMER_SINGER, "officia") {{ + apiToken = "quaerat"; + sourceType = SourceKustomerSingerKustomerSinger.KUSTOMER_SINGER; + startDate = "consequuntur"; + }}, "maxime");; + }}; + + PutSourceResponse res = sdk.sources.putSource(req); + + if (res.sourceResponse != null) { + // handle response + } + } catch (Exception e) { + // handle exception + } + } +} +``` diff --git a/docs/streams/README.md b/docs/streams/README.md index 3b221e54a..f1247e27f 100755 --- a/docs/streams/README.md +++ b/docs/streams/README.md @@ -22,18 +22,18 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("a") {{ + .setSecurity(new Security("dignissimos") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetStreamPropertiesRequest req = new GetStreamPropertiesRequest("libero", "aut") {{ + GetStreamPropertiesRequest req = new GetStreamPropertiesRequest("officia", "asperiores") {{ ignoreCache = false; }}; GetStreamPropertiesResponse res = sdk.streams.getStreamProperties(req); - if (res.streamProperties != null) { + if (res.streamPropertiesResponse != null) { // handle response } } catch (Exception e) { diff --git a/docs/workspaces/README.md b/docs/workspaces/README.md index 4ca3ce984..1c0a1d00f 100755 --- a/docs/workspaces/README.md +++ b/docs/workspaces/README.md @@ -30,17 +30,15 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("aut") {{ + .setSecurity(new Security("nemo") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest(ActorTypeEnum.DESTINATION, new java.util.HashMap() {{ - put("aliquam", "fugit"); - put("accusamus", "inventore"); - put("non", "et"); - put("dolorum", "laborum"); - }}, "placeat");, "velit"); + CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest(ActorTypeEnum.SOURCE, new java.util.HashMap() {{ + put("porro", "quod"); + put("labore", "ab"); + }}, "adipisci");, "fuga"); CreateOrUpdateWorkspaceOAuthCredentialsResponse res = sdk.workspaces.createOrUpdateWorkspaceOAuthCredentials(req); @@ -72,12 +70,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("eum") {{ + .setSecurity(new Security("id") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - com.airbyte.api.models.shared.WorkspaceCreateRequest req = new WorkspaceCreateRequest("autem"); + com.airbyte.api.models.shared.WorkspaceCreateRequest req = new WorkspaceCreateRequest("suscipit"); CreateWorkspaceResponse res = sdk.workspaces.createWorkspace(req); @@ -109,12 +107,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("nobis") {{ + .setSecurity(new Security("velit") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - DeleteWorkspaceRequest req = new DeleteWorkspaceRequest("quas"); + DeleteWorkspaceRequest req = new DeleteWorkspaceRequest("culpa"); DeleteWorkspaceResponse res = sdk.workspaces.deleteWorkspace(req); @@ -146,12 +144,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("assumenda") {{ + .setSecurity(new Security("est") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - GetWorkspaceRequest req = new GetWorkspaceRequest("nulla"); + GetWorkspaceRequest req = new GetWorkspaceRequest("recusandae"); GetWorkspaceResponse res = sdk.workspaces.getWorkspace(req); @@ -183,18 +181,18 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("voluptas") {{ + .setSecurity(new Security("totam") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); ListWorkspacesRequest req = new ListWorkspacesRequest() {{ includeDeleted = false; - limit = 727044; - offset = 96549; + limit = 853940; + offset = 424089; workspaceIds = new String[]{{ - add("42907474-778a-47bd-866d-28c10ab3cdca"), - add("4251904e-523c-47e0-bc71-78e4796f2a70"), + add("864dbb67-5fd5-4e60-b375-ed4f6fbee41f"), + add("33317fe3-5b60-4eb1-aa42-6555ba3c2874"), }}; }}; @@ -229,12 +227,12 @@ public class Application { public static void main(String[] args) { try { Airbyte sdk = Airbyte.builder() - .setSecurity(new Security("porro") {{ + .setSecurity(new Security("aliquam") {{ bearerAuth = "YOUR_BEARER_TOKEN_HERE"; }}) .build(); - UpdateWorkspaceRequest req = new UpdateWorkspaceRequest( new WorkspaceUpdateRequest("eum");, "quas"); + UpdateWorkspaceRequest req = new UpdateWorkspaceRequest( new WorkspaceUpdateRequest("officiis");, "temporibus"); UpdateWorkspaceResponse res = sdk.workspaces.updateWorkspace(req); diff --git a/files.gen b/files.gen index 598d22e69..bd98897ca 100755 --- a/files.gen +++ b/files.gen @@ -43,6 +43,8 @@ lib/src/main/java/com/airbyte/api/models/operations/GetConnectionRequest.java lib/src/main/java/com/airbyte/api/models/operations/GetConnectionResponse.java lib/src/main/java/com/airbyte/api/models/operations/ListConnectionsRequest.java lib/src/main/java/com/airbyte/api/models/operations/ListConnectionsResponse.java +lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java +lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java lib/src/main/java/com/airbyte/api/models/operations/CreateDestinationResponse.java lib/src/main/java/com/airbyte/api/models/operations/DeleteDestinationRequest.java lib/src/main/java/com/airbyte/api/models/operations/DeleteDestinationResponse.java @@ -50,6 +52,10 @@ lib/src/main/java/com/airbyte/api/models/operations/GetDestinationRequest.java lib/src/main/java/com/airbyte/api/models/operations/GetDestinationResponse.java lib/src/main/java/com/airbyte/api/models/operations/ListDestinationsRequest.java lib/src/main/java/com/airbyte/api/models/operations/ListDestinationsResponse.java +lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java +lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java +lib/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java +lib/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java lib/src/main/java/com/airbyte/api/models/operations/CancelJobRequest.java lib/src/main/java/com/airbyte/api/models/operations/CancelJobResponse.java lib/src/main/java/com/airbyte/api/models/operations/CreateJobResponse.java @@ -65,6 +71,10 @@ lib/src/main/java/com/airbyte/api/models/operations/GetSourceResponse.java lib/src/main/java/com/airbyte/api/models/operations/InitiateOAuthResponse.java lib/src/main/java/com/airbyte/api/models/operations/ListSourcesRequest.java lib/src/main/java/com/airbyte/api/models/operations/ListSourcesResponse.java +lib/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java +lib/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java +lib/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java +lib/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesRequest.java lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java lib/src/main/java/com/airbyte/api/models/operations/CreateOrUpdateWorkspaceOAuthCredentialsRequest.java @@ -85,15 +95,18 @@ lib/src/main/java/com/airbyte/api/models/shared/ScheduleTypeWithBasicEnum.java lib/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnum.java lib/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnum.java lib/src/main/java/com/airbyte/api/models/shared/GeographyEnum.java -lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java -lib/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleCreate.java -lib/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java lib/src/main/java/com/airbyte/api/models/shared/StreamConfigurations.java lib/src/main/java/com/airbyte/api/models/shared/StreamConfiguration.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionSyncModeEnum.java +lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java +lib/src/main/java/com/airbyte/api/models/shared/ConnectionSchedule.java +lib/src/main/java/com/airbyte/api/models/shared/ScheduleTypeEnum.java lib/src/main/java/com/airbyte/api/models/shared/ConnectionsResponse.java +lib/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java +lib/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java +lib/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java +lib/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java -lib/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAmazonSqs.java lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqsAWSRegion.java lib/src/main/java/com/airbyte/api/models/shared/DestinationAmazonSqs.java @@ -415,14 +428,24 @@ lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflakeLoadingMetho lib/src/main/java/com/airbyte/api/models/shared/DestinationSnowflake.java lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesenseTypesense.java lib/src/main/java/com/airbyte/api/models/shared/DestinationTypesense.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaVertica.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthentication.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnelTunnelMethod.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnel.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationVertica.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/DestinationsResponse.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java +lib/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java lib/src/main/java/com/airbyte/api/models/shared/JobResponse.java lib/src/main/java/com/airbyte/api/models/shared/JobStatusEnum.java lib/src/main/java/com/airbyte/api/models/shared/JobTypeEnum.java lib/src/main/java/com/airbyte/api/models/shared/JobCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/JobsResponse.java lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java -lib/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapiPokeapi.java lib/src/main/java/com/airbyte/api/models/shared/SourcePokeapi.java lib/src/main/java/com/airbyte/api/models/shared/SourceAircallAircall.java @@ -449,11 +472,6 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsReportRecordTypes lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsAmazonAds.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAdsStateFilter.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonAds.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironment.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegion.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAWSRegion.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqsAmazonSqs.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSqs.java @@ -462,10 +480,10 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitudeAmplitude.java lib/src/main/java/com/airbyte/api/models/shared/SourceAmplitude.java lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDatasetApifyDataset.java lib/src/main/java/com/airbyte/api/models/shared/SourceApifyDataset.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitle.java -lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessTokenCredentialsTitle.java lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateWithPersonalAccessToken.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauthCredentialsTitle.java +lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaCredentialsAuthenticateViaAsanaOauth.java lib/src/main/java/com/airbyte/api/models/shared/SourceAsanaAsana.java lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java lib/src/main/java/com/airbyte/api/models/shared/SourceAuth0CredentialsOAuth2AccessTokenAuthenticationMethod.java @@ -593,6 +611,8 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdeskFreshdesk.java lib/src/main/java/com/airbyte/api/models/shared/SourceFreshdesk.java lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsalesFreshsales.java lib/src/main/java/com/airbyte/api/models/shared/SourceFreshsales.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshserviceFreshservice.java +lib/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java lib/src/main/java/com/airbyte/api/models/shared/SourceGcsGcs.java lib/src/main/java/com/airbyte/api/models/shared/SourceGcs.java lib/src/main/java/com/airbyte/api/models/shared/SourceGetlagoGetlago.java @@ -637,10 +657,15 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4GoogleAna lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleAnalyticsV4.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectoryGoogleDirectory.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleDirectory.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsCategories.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsGooglePagespeedInsights.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsStrategies.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthenticationAuthType.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationServiceAccountKeyAuthentication.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuthAuthType.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleAuthorizationOAuth.java +lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleDataState.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleGoogleSearchConsole.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSheetsCredentialsServiceAccountKeyAuthenticationAuthType.java @@ -661,9 +686,9 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceHarvestHarvest.java lib/src/main/java/com/airbyte/api/models/shared/SourceHarvest.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubplannerHubplanner.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubplanner.java -lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentials.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppAuthType.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java -lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentials.java +lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthAuthType.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotHubspot.java lib/src/main/java/com/airbyte/api/models/shared/SourceHubspot.java @@ -1070,6 +1095,8 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceXkcdXkcd.java lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetricaYandexMetrica.java lib/src/main/java/com/airbyte/api/models/shared/SourceYandexMetrica.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYotpoYotpo.java +lib/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java lib/src/main/java/com/airbyte/api/models/shared/SourceYouniumYounium.java lib/src/main/java/com/airbyte/api/models/shared/SourceYounium.java lib/src/main/java/com/airbyte/api/models/shared/SourceYoutubeAnalyticsYoutubeAnalytics.java @@ -1103,8 +1130,12 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraDataQueryType.java lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraZuora.java lib/src/main/java/com/airbyte/api/models/shared/SourceZuoraTenantEndpointLocation.java lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java +lib/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java lib/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java +lib/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java +lib/src/main/java/com/airbyte/api/models/shared/StreamPropertiesResponse.java lib/src/main/java/com/airbyte/api/models/shared/StreamProperties.java lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java lib/src/main/java/com/airbyte/api/models/shared/ActorTypeEnum.java diff --git a/gen.yaml b/gen.yaml index 66d903e6a..32ae183e9 100644 --- a/gen.yaml +++ b/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: e82f3e11abf47c2509f115468e75bb06 + docChecksum: aaa4be7f123ebeda7859d7356f70649c docVersion: 1.0.0 speakeasyVersion: 1.44.2 generationVersion: 2.35.9 @@ -9,7 +9,7 @@ generation: singleTagPerOp: false telemetryEnabled: true java: - version: 0.15.1 + version: 0.15.2 artifactID: api companyEmail: info@airbyte.com companyName: Airbyte diff --git a/lib/build.gradle b/lib/build.gradle index ef9118f4d..19b85cc0c 100755 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -41,7 +41,7 @@ publishing { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '0.15.1' + version = '0.15.2' from components.java diff --git a/lib/src/main/java/com/airbyte/api/Airbyte.java b/lib/src/main/java/com/airbyte/api/Airbyte.java index cbbbe9296..55bd5818a 100755 --- a/lib/src/main/java/com/airbyte/api/Airbyte.java +++ b/lib/src/main/java/com/airbyte/api/Airbyte.java @@ -15,7 +15,7 @@ public class Airbyte { /** * Airbyte API v1 */ - "https://api.airbyte.com/v1/", + "https://api.airbyte.com/v1", }; public Connections connections; diff --git a/lib/src/main/java/com/airbyte/api/Connections.java b/lib/src/main/java/com/airbyte/api/Connections.java index 53dc4b758..d8064130f 100755 --- a/lib/src/main/java/com/airbyte/api/Connections.java +++ b/lib/src/main/java/com/airbyte/api/Connections.java @@ -187,4 +187,50 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { return res; } + + /** + * Update Connection details + * @param request the request object containing all of the parameters for the API call + * @return the response from the API call + * @throws Exception if the API call fails + */ + public com.airbyte.api.models.operations.PatchConnectionResponse patchConnection(com.airbyte.api.models.operations.PatchConnectionRequest request) throws Exception { + String baseUrl = this.sdkConfiguration.serverUrl; + String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.PatchConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null); + + HTTPRequest req = new HTTPRequest(); + req.setMethod("PATCH"); + req.setURL(url); + SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "connectionPatchRequest", "json"); + if (serializedRequestBody == null) { + throw new Exception("Request body is required"); + } + req.setBody(serializedRequestBody); + + req.addHeader("Accept", "application/json"); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this.sdkConfiguration.language, this.sdkConfiguration.sdkVersion, this.sdkConfiguration.genVersion)); + + HTTPClient client = this.sdkConfiguration.securityClient; + + HttpResponse httpRes = client.send(req); + + String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); + + com.airbyte.api.models.operations.PatchConnectionResponse res = new com.airbyte.api.models.operations.PatchConnectionResponse(contentType, httpRes.statusCode()) {{ + connectionResponse = null; + }}; + res.rawResponse = httpRes; + + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.ConnectionResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.ConnectionResponse.class); + res.connectionResponse = out; + } + } + else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { + } + + return res; + } } \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/Destinations.java b/lib/src/main/java/com/airbyte/api/Destinations.java index 52b0dce50..ae6b520c2 100755 --- a/lib/src/main/java/com/airbyte/api/Destinations.java +++ b/lib/src/main/java/com/airbyte/api/Destinations.java @@ -185,4 +185,90 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { return res; } + + /** + * Update a Destination + * @param request the request object containing all of the parameters for the API call + * @return the response from the API call + * @throws Exception if the API call fails + */ + public com.airbyte.api.models.operations.PatchDestinationResponse patchDestination(com.airbyte.api.models.operations.PatchDestinationRequest request) throws Exception { + String baseUrl = this.sdkConfiguration.serverUrl; + String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.PatchDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null); + + HTTPRequest req = new HTTPRequest(); + req.setMethod("PATCH"); + req.setURL(url); + SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "destinationPatchRequest", "json"); + req.setBody(serializedRequestBody); + + req.addHeader("Accept", "application/json"); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this.sdkConfiguration.language, this.sdkConfiguration.sdkVersion, this.sdkConfiguration.genVersion)); + + HTTPClient client = this.sdkConfiguration.securityClient; + + HttpResponse httpRes = client.send(req); + + String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); + + com.airbyte.api.models.operations.PatchDestinationResponse res = new com.airbyte.api.models.operations.PatchDestinationResponse(contentType, httpRes.statusCode()) {{ + destinationResponse = null; + }}; + res.rawResponse = httpRes; + + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.DestinationResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.DestinationResponse.class); + res.destinationResponse = out; + } + } + else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { + } + + return res; + } + + /** + * Update a Destination and fully overwrite it + * @param request the request object containing all of the parameters for the API call + * @return the response from the API call + * @throws Exception if the API call fails + */ + public com.airbyte.api.models.operations.PutDestinationResponse putDestination(com.airbyte.api.models.operations.PutDestinationRequest request) throws Exception { + String baseUrl = this.sdkConfiguration.serverUrl; + String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.PutDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null); + + HTTPRequest req = new HTTPRequest(); + req.setMethod("PUT"); + req.setURL(url); + SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "destinationPutRequest", "json"); + req.setBody(serializedRequestBody); + + req.addHeader("Accept", "application/json"); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this.sdkConfiguration.language, this.sdkConfiguration.sdkVersion, this.sdkConfiguration.genVersion)); + + HTTPClient client = this.sdkConfiguration.securityClient; + + HttpResponse httpRes = client.send(req); + + String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); + + com.airbyte.api.models.operations.PutDestinationResponse res = new com.airbyte.api.models.operations.PutDestinationResponse(contentType, httpRes.statusCode()) {{ + destinationResponse = null; + }}; + res.rawResponse = httpRes; + + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.DestinationResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.DestinationResponse.class); + res.destinationResponse = out; + } + } + else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { + } + + return res; + } } \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/SDKConfiguration.java b/lib/src/main/java/com/airbyte/api/SDKConfiguration.java index fbd221e42..07269187a 100755 --- a/lib/src/main/java/com/airbyte/api/SDKConfiguration.java +++ b/lib/src/main/java/com/airbyte/api/SDKConfiguration.java @@ -14,7 +14,7 @@ class SDKConfiguration { public String serverUrl; public int serverIdx = 0; public String language = "java"; - public String sdkVersion = "0.15.1"; + public String sdkVersion = "0.15.2"; public String genVersion = "2.35.9"; } \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/Sources.java b/lib/src/main/java/com/airbyte/api/Sources.java index db6fa582b..cc0fd4e3e 100755 --- a/lib/src/main/java/com/airbyte/api/Sources.java +++ b/lib/src/main/java/com/airbyte/api/Sources.java @@ -228,4 +228,90 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { return res; } + + /** + * Update a Source + * @param request the request object containing all of the parameters for the API call + * @return the response from the API call + * @throws Exception if the API call fails + */ + public com.airbyte.api.models.operations.PatchSourceResponse patchSource(com.airbyte.api.models.operations.PatchSourceRequest request) throws Exception { + String baseUrl = this.sdkConfiguration.serverUrl; + String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.PatchSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null); + + HTTPRequest req = new HTTPRequest(); + req.setMethod("PATCH"); + req.setURL(url); + SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "sourcePatchRequest", "json"); + req.setBody(serializedRequestBody); + + req.addHeader("Accept", "application/json"); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this.sdkConfiguration.language, this.sdkConfiguration.sdkVersion, this.sdkConfiguration.genVersion)); + + HTTPClient client = this.sdkConfiguration.securityClient; + + HttpResponse httpRes = client.send(req); + + String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); + + com.airbyte.api.models.operations.PatchSourceResponse res = new com.airbyte.api.models.operations.PatchSourceResponse(contentType, httpRes.statusCode()) {{ + sourceResponse = null; + }}; + res.rawResponse = httpRes; + + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.SourceResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.SourceResponse.class); + res.sourceResponse = out; + } + } + else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { + } + + return res; + } + + /** + * Update a Source and fully overwrite it + * @param request the request object containing all of the parameters for the API call + * @return the response from the API call + * @throws Exception if the API call fails + */ + public com.airbyte.api.models.operations.PutSourceResponse putSource(com.airbyte.api.models.operations.PutSourceRequest request) throws Exception { + String baseUrl = this.sdkConfiguration.serverUrl; + String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.PutSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null); + + HTTPRequest req = new HTTPRequest(); + req.setMethod("PUT"); + req.setURL(url); + SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "sourcePutRequest", "json"); + req.setBody(serializedRequestBody); + + req.addHeader("Accept", "application/json"); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this.sdkConfiguration.language, this.sdkConfiguration.sdkVersion, this.sdkConfiguration.genVersion)); + + HTTPClient client = this.sdkConfiguration.securityClient; + + HttpResponse httpRes = client.send(req); + + String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); + + com.airbyte.api.models.operations.PutSourceResponse res = new com.airbyte.api.models.operations.PutSourceResponse(contentType, httpRes.statusCode()) {{ + sourceResponse = null; + }}; + res.rawResponse = httpRes; + + if (httpRes.statusCode() == 200) { + if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { + ObjectMapper mapper = JSON.getMapper(); + com.airbyte.api.models.shared.SourceResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.SourceResponse.class); + res.sourceResponse = out; + } + } + else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { + } + + return res; + } } \ No newline at end of file diff --git a/lib/src/main/java/com/airbyte/api/Streams.java b/lib/src/main/java/com/airbyte/api/Streams.java index 944a9cbe5..4cf1cf6ae 100755 --- a/lib/src/main/java/com/airbyte/api/Streams.java +++ b/lib/src/main/java/com/airbyte/api/Streams.java @@ -50,15 +50,15 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr String contentType = httpRes.headers().firstValue("Content-Type").orElse("application/octet-stream"); com.airbyte.api.models.operations.GetStreamPropertiesResponse res = new com.airbyte.api.models.operations.GetStreamPropertiesResponse(contentType, httpRes.statusCode()) {{ - streamProperties = null; + streamPropertiesResponse = null; }}; res.rawResponse = httpRes; if (httpRes.statusCode() == 200) { if (com.airbyte.api.utils.Utils.matchContentType(contentType, "application/json")) { ObjectMapper mapper = JSON.getMapper(); - com.airbyte.api.models.shared.StreamProperties out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.StreamProperties.class); - res.streamProperties = out; + com.airbyte.api.models.shared.StreamPropertiesResponse out = mapper.readValue(new String(httpRes.body(), StandardCharsets.UTF_8), com.airbyte.api.models.shared.StreamPropertiesResponse.class); + res.streamPropertiesResponse = out; } } else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403 || httpRes.statusCode() == 404) { diff --git a/lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java index 8051dd7be..318fcd4a3 100755 --- a/lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java +++ b/lib/src/main/java/com/airbyte/api/models/operations/GetStreamPropertiesResponse.java @@ -36,10 +36,10 @@ public GetStreamPropertiesResponse withRawResponse(HttpResponse rawRespo * Get the available streams properties for a source/destination pair. */ - public com.airbyte.api.models.shared.StreamProperties streamProperties; + public com.airbyte.api.models.shared.StreamPropertiesResponse streamPropertiesResponse; - public GetStreamPropertiesResponse withStreamProperties(com.airbyte.api.models.shared.StreamProperties streamProperties) { - this.streamProperties = streamProperties; + public GetStreamPropertiesResponse withStreamPropertiesResponse(com.airbyte.api.models.shared.StreamPropertiesResponse streamPropertiesResponse) { + this.streamPropertiesResponse = streamPropertiesResponse; return this; } diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java new file mode 100755 index 000000000..6e044442e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionRequest.java @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.SpeakeasyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PatchConnectionRequest { + @SpeakeasyMetadata("request:mediaType=application/json") + public com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest; + + public PatchConnectionRequest withConnectionPatchRequest(com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest) { + this.connectionPatchRequest = connectionPatchRequest; + return this; + } + + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=connectionId") + public String connectionId; + + public PatchConnectionRequest withConnectionId(String connectionId) { + this.connectionId = connectionId; + return this; + } + + public PatchConnectionRequest(@JsonProperty("ConnectionPatchRequest") com.airbyte.api.models.shared.ConnectionPatchRequest connectionPatchRequest, @JsonProperty("connectionId") String connectionId) { + this.connectionPatchRequest = connectionPatchRequest; + this.connectionId = connectionId; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java new file mode 100755 index 000000000..38a72961a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchConnectionResponse.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.net.http.HttpResponse; + +public class PatchConnectionResponse { + /** + * Update a Connection by the id in the path. + */ + + public com.airbyte.api.models.shared.ConnectionResponse connectionResponse; + + public PatchConnectionResponse withConnectionResponse(com.airbyte.api.models.shared.ConnectionResponse connectionResponse) { + this.connectionResponse = connectionResponse; + return this; + } + + + public String contentType; + + public PatchConnectionResponse withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + + public Integer statusCode; + + public PatchConnectionResponse withStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + + public HttpResponse rawResponse; + + public PatchConnectionResponse withRawResponse(HttpResponse rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + public PatchConnectionResponse(@JsonProperty("ContentType") String contentType, @JsonProperty("StatusCode") Integer statusCode) { + this.contentType = contentType; + this.statusCode = statusCode; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java new file mode 100755 index 000000000..895abaece --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationRequest.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.SpeakeasyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PatchDestinationRequest { + @SpeakeasyMetadata("request:mediaType=application/json") + public com.airbyte.api.models.shared.DestinationPatchRequest destinationPatchRequest; + + public PatchDestinationRequest withDestinationPatchRequest(com.airbyte.api.models.shared.DestinationPatchRequest destinationPatchRequest) { + this.destinationPatchRequest = destinationPatchRequest; + return this; + } + + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=destinationId") + public String destinationId; + + public PatchDestinationRequest withDestinationId(String destinationId) { + this.destinationId = destinationId; + return this; + } + + public PatchDestinationRequest(@JsonProperty("destinationId") String destinationId) { + this.destinationId = destinationId; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java new file mode 100755 index 000000000..694b27c02 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchDestinationResponse.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.net.http.HttpResponse; + +public class PatchDestinationResponse { + + public String contentType; + + public PatchDestinationResponse withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Update a Destination + */ + + public com.airbyte.api.models.shared.DestinationResponse destinationResponse; + + public PatchDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + this.destinationResponse = destinationResponse; + return this; + } + + + public Integer statusCode; + + public PatchDestinationResponse withStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + + public HttpResponse rawResponse; + + public PatchDestinationResponse withRawResponse(HttpResponse rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + public PatchDestinationResponse(@JsonProperty("ContentType") String contentType, @JsonProperty("StatusCode") Integer statusCode) { + this.contentType = contentType; + this.statusCode = statusCode; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java new file mode 100755 index 000000000..a243bcc4a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceRequest.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.SpeakeasyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PatchSourceRequest { + @SpeakeasyMetadata("request:mediaType=application/json") + public com.airbyte.api.models.shared.SourcePatchRequest sourcePatchRequest; + + public PatchSourceRequest withSourcePatchRequest(com.airbyte.api.models.shared.SourcePatchRequest sourcePatchRequest) { + this.sourcePatchRequest = sourcePatchRequest; + return this; + } + + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sourceId") + public String sourceId; + + public PatchSourceRequest withSourceId(String sourceId) { + this.sourceId = sourceId; + return this; + } + + public PatchSourceRequest(@JsonProperty("sourceId") String sourceId) { + this.sourceId = sourceId; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java new file mode 100755 index 000000000..b377b1249 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PatchSourceResponse.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.net.http.HttpResponse; + +public class PatchSourceResponse { + + public String contentType; + + public PatchSourceResponse withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Update a Source + */ + + public com.airbyte.api.models.shared.SourceResponse sourceResponse; + + public PatchSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + this.sourceResponse = sourceResponse; + return this; + } + + + public Integer statusCode; + + public PatchSourceResponse withStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + + public HttpResponse rawResponse; + + public PatchSourceResponse withRawResponse(HttpResponse rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + public PatchSourceResponse(@JsonProperty("ContentType") String contentType, @JsonProperty("StatusCode") Integer statusCode) { + this.contentType = contentType; + this.statusCode = statusCode; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java new file mode 100755 index 000000000..ebb63d7fa --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationRequest.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.SpeakeasyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PutDestinationRequest { + @SpeakeasyMetadata("request:mediaType=application/json") + public com.airbyte.api.models.shared.DestinationPutRequest destinationPutRequest; + + public PutDestinationRequest withDestinationPutRequest(com.airbyte.api.models.shared.DestinationPutRequest destinationPutRequest) { + this.destinationPutRequest = destinationPutRequest; + return this; + } + + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=destinationId") + public String destinationId; + + public PutDestinationRequest withDestinationId(String destinationId) { + this.destinationId = destinationId; + return this; + } + + public PutDestinationRequest(@JsonProperty("destinationId") String destinationId) { + this.destinationId = destinationId; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java new file mode 100755 index 000000000..bd9e55781 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PutDestinationResponse.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.net.http.HttpResponse; + +public class PutDestinationResponse { + + public String contentType; + + public PutDestinationResponse withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Update a Destination and fully overwrite it + */ + + public com.airbyte.api.models.shared.DestinationResponse destinationResponse; + + public PutDestinationResponse withDestinationResponse(com.airbyte.api.models.shared.DestinationResponse destinationResponse) { + this.destinationResponse = destinationResponse; + return this; + } + + + public Integer statusCode; + + public PutDestinationResponse withStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + + public HttpResponse rawResponse; + + public PutDestinationResponse withRawResponse(HttpResponse rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + public PutDestinationResponse(@JsonProperty("ContentType") String contentType, @JsonProperty("StatusCode") Integer statusCode) { + this.contentType = contentType; + this.statusCode = statusCode; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java b/lib/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java new file mode 100755 index 000000000..55c029891 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PutSourceRequest.java @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.airbyte.api.utils.SpeakeasyMetadata; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class PutSourceRequest { + @SpeakeasyMetadata("request:mediaType=application/json") + public com.airbyte.api.models.shared.SourcePutRequest sourcePutRequest; + + public PutSourceRequest withSourcePutRequest(com.airbyte.api.models.shared.SourcePutRequest sourcePutRequest) { + this.sourcePutRequest = sourcePutRequest; + return this; + } + + @SpeakeasyMetadata("pathParam:style=simple,explode=false,name=sourceId") + public String sourceId; + + public PutSourceRequest withSourceId(String sourceId) { + this.sourceId = sourceId; + return this; + } + + public PutSourceRequest(@JsonProperty("sourceId") String sourceId) { + this.sourceId = sourceId; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java b/lib/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java new file mode 100755 index 000000000..a3fb1efe5 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/operations/PutSourceResponse.java @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.operations; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.net.http.HttpResponse; + +public class PutSourceResponse { + + public String contentType; + + public PutSourceResponse withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Update a source and fully overwrite it + */ + + public com.airbyte.api.models.shared.SourceResponse sourceResponse; + + public PutSourceResponse withSourceResponse(com.airbyte.api.models.shared.SourceResponse sourceResponse) { + this.sourceResponse = sourceResponse; + return this; + } + + + public Integer statusCode; + + public PutSourceResponse withStatusCode(Integer statusCode) { + this.statusCode = statusCode; + return this; + } + + + public HttpResponse rawResponse; + + public PutSourceResponse withRawResponse(HttpResponse rawResponse) { + this.rawResponse = rawResponse; + return this; + } + + public PutSourceResponse(@JsonProperty("ContentType") String contentType, @JsonProperty("StatusCode") Integer statusCode) { + this.contentType = contentType; + this.statusCode = statusCode; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java index e89a2d140..7532a0d9c 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionCreateRequest.java @@ -103,9 +103,9 @@ public ConnectionCreateRequest withPrefix(String prefix) { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("schedule") - public ConnectionScheduleCreate schedule; + public ConnectionSchedule schedule; - public ConnectionCreateRequest withSchedule(ConnectionScheduleCreate schedule) { + public ConnectionCreateRequest withSchedule(ConnectionSchedule schedule) { this.schedule = schedule; return this; } @@ -118,6 +118,15 @@ public ConnectionCreateRequest withSourceId(String sourceId) { return this; } + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + public ConnectionStatusEnum status; + + public ConnectionCreateRequest withStatus(ConnectionStatusEnum status) { + this.status = status; + return this; + } + public ConnectionCreateRequest(@JsonProperty("destinationId") String destinationId, @JsonProperty("sourceId") String sourceId) { this.destinationId = destinationId; this.sourceId = sourceId; diff --git a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java new file mode 100755 index 000000000..f6aef11a9 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionPatchRequest.java @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class ConnectionPatchRequest { + /** + * A list of configured stream options for a connection. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("configurations") + public StreamConfigurations configurations; + + public ConnectionPatchRequest withConfigurations(StreamConfigurations configurations) { + this.configurations = configurations; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("dataResidency") + public GeographyEnumNoDefault dataResidency; + + public ConnectionPatchRequest withDataResidency(GeographyEnumNoDefault dataResidency) { + this.dataResidency = dataResidency; + return this; + } + + /** + * Optional name of the connection + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + public String name; + + public ConnectionPatchRequest withName(String name) { + this.name = name; + return this; + } + + /** + * Define the location where the data will be stored in the destination + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("namespaceDefinition") + public NamespaceDefinitionEnumNoDefault namespaceDefinition; + + public ConnectionPatchRequest withNamespaceDefinition(NamespaceDefinitionEnumNoDefault namespaceDefinition) { + this.namespaceDefinition = namespaceDefinition; + return this; + } + + /** + * Used when namespaceDefinition is 'custom_format'. If blank then behaves like namespaceDefinition = 'destination'. If "${SOURCE_NAMESPACE}" then behaves like namespaceDefinition = 'source'. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("namespaceFormat") + public String namespaceFormat; + + public ConnectionPatchRequest withNamespaceFormat(String namespaceFormat) { + this.namespaceFormat = namespaceFormat; + return this; + } + + /** + * Set how Airbyte handles syncs when it detects a non-breaking schema change in the source + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("nonBreakingSchemaUpdatesBehavior") + public NonBreakingSchemaUpdatesBehaviorEnumNoDefault nonBreakingSchemaUpdatesBehavior; + + public ConnectionPatchRequest withNonBreakingSchemaUpdatesBehavior(NonBreakingSchemaUpdatesBehaviorEnumNoDefault nonBreakingSchemaUpdatesBehavior) { + this.nonBreakingSchemaUpdatesBehavior = nonBreakingSchemaUpdatesBehavior; + return this; + } + + /** + * Prefix that will be prepended to the name of each stream when it is written to the destination (ex. “airbyte_” causes “projects” => “airbyte_projects”). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("prefix") + public String prefix; + + public ConnectionPatchRequest withPrefix(String prefix) { + this.prefix = prefix; + return this; + } + + /** + * schedule for when the the connection should run, per the schedule type + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("schedule") + public ConnectionSchedule schedule; + + public ConnectionPatchRequest withSchedule(ConnectionSchedule schedule) { + this.schedule = schedule; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("status") + public ConnectionStatusEnum status; + + public ConnectionPatchRequest withStatus(ConnectionStatusEnum status) { + this.status = status; + return this; + } + + public ConnectionPatchRequest(){} +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java index 4782c095c..747725c83 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionResponse.java @@ -12,6 +12,17 @@ * ConnectionResponse - Provides details of a single connection. */ public class ConnectionResponse { + /** + * A list of configured stream options for a connection. + */ + @JsonProperty("configurations") + public StreamConfigurations configurations; + + public ConnectionResponse withConfigurations(StreamConfigurations configurations) { + this.configurations = configurations; + return this; + } + @JsonProperty("connectionId") public String connectionId; @@ -121,7 +132,8 @@ public ConnectionResponse withWorkspaceId(String workspaceId) { return this; } - public ConnectionResponse(@JsonProperty("connectionId") String connectionId, @JsonProperty("dataResidency") GeographyEnum dataResidency, @JsonProperty("destinationId") String destinationId, @JsonProperty("name") String name, @JsonProperty("schedule") ConnectionScheduleResponse schedule, @JsonProperty("sourceId") String sourceId, @JsonProperty("status") ConnectionStatusEnum status, @JsonProperty("workspaceId") String workspaceId) { + public ConnectionResponse(@JsonProperty("configurations") StreamConfigurations configurations, @JsonProperty("connectionId") String connectionId, @JsonProperty("dataResidency") GeographyEnum dataResidency, @JsonProperty("destinationId") String destinationId, @JsonProperty("name") String name, @JsonProperty("schedule") ConnectionScheduleResponse schedule, @JsonProperty("sourceId") String sourceId, @JsonProperty("status") ConnectionStatusEnum status, @JsonProperty("workspaceId") String workspaceId) { + this.configurations = configurations; this.connectionId = connectionId; this.dataResidency = dataResidency; this.destinationId = destinationId; diff --git a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleCreate.java b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionSchedule.java similarity index 62% rename from lib/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleCreate.java rename to lib/src/main/java/com/airbyte/api/models/shared/ConnectionSchedule.java index ced8c2678..c528d0218 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/ConnectionScheduleCreate.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/ConnectionSchedule.java @@ -9,14 +9,14 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * ConnectionScheduleCreate - schedule for when the the connection should run, per the schedule type + * ConnectionSchedule - schedule for when the the connection should run, per the schedule type */ -public class ConnectionScheduleCreate { +public class ConnectionSchedule { @JsonInclude(Include.NON_ABSENT) @JsonProperty("cronExpression") public String cronExpression; - public ConnectionScheduleCreate withCronExpression(String cronExpression) { + public ConnectionSchedule withCronExpression(String cronExpression) { this.cronExpression = cronExpression; return this; } @@ -24,12 +24,12 @@ public ConnectionScheduleCreate withCronExpression(String cronExpression) { @JsonProperty("scheduleType") public ScheduleTypeEnum scheduleType; - public ConnectionScheduleCreate withScheduleType(ScheduleTypeEnum scheduleType) { + public ConnectionSchedule withScheduleType(ScheduleTypeEnum scheduleType) { this.scheduleType = scheduleType; return this; } - public ConnectionScheduleCreate(@JsonProperty("scheduleType") ScheduleTypeEnum scheduleType) { + public ConnectionSchedule(@JsonProperty("scheduleType") ScheduleTypeEnum scheduleType) { this.scheduleType = scheduleType; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java new file mode 100755 index 000000000..898c3617e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPatchRequest.java @@ -0,0 +1,34 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class DestinationPatchRequest { + /** + * The values required to configure the destination. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("configuration") + public Object configuration; + + public DestinationPatchRequest withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + public String name; + + public DestinationPatchRequest withName(String name) { + this.name = name; + return this; + } + + public DestinationPatchRequest(){} +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java new file mode 100755 index 000000000..f8976f424 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationPutRequest.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class DestinationPutRequest { + /** + * The values required to configure the destination. + */ + @JsonProperty("configuration") + public Object configuration; + + public DestinationPutRequest withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + + @JsonProperty("name") + public String name; + + public DestinationPutRequest withName(String name) { + this.name = name; + return this; + } + + public DestinationPutRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name) { + this.configuration = configuration; + this.name = name; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java index f92e3b5e5..e54069c82 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationResponse.java @@ -10,6 +10,17 @@ * DestinationResponse - Provides details of a single destination. */ public class DestinationResponse { + /** + * The values required to configure the destination. + */ + @JsonProperty("configuration") + public Object configuration; + + public DestinationResponse withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + @JsonProperty("destinationId") public String destinationId; @@ -42,7 +53,8 @@ public DestinationResponse withWorkspaceId(String workspaceId) { return this; } - public DestinationResponse(@JsonProperty("destinationId") String destinationId, @JsonProperty("destinationType") String destinationType, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) { + public DestinationResponse(@JsonProperty("configuration") Object configuration, @JsonProperty("destinationId") String destinationId, @JsonProperty("destinationType") String destinationType, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) { + this.configuration = configuration; this.destinationId = destinationId; this.destinationType = destinationType; this.name = name; diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVertica.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVertica.java new file mode 100755 index 000000000..e769e5b57 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVertica.java @@ -0,0 +1,122 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationVertica - The values required to configure the destination. + */ +public class DestinationVertica { + /** + * Name of the database. + */ + @JsonProperty("database") + public String database; + + public DestinationVertica withDatabase(String database) { + this.database = database; + return this; + } + + @JsonProperty("destinationType") + public DestinationVerticaVertica destinationType; + + public DestinationVertica withDestinationType(DestinationVerticaVertica destinationType) { + this.destinationType = destinationType; + return this; + } + + /** + * Hostname of the database. + */ + @JsonProperty("host") + public String host; + + public DestinationVertica withHost(String host) { + this.host = host; + return this; + } + + /** + * 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). + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jdbc_url_params") + public String jdbcUrlParams; + + public DestinationVertica withJdbcUrlParams(String jdbcUrlParams) { + this.jdbcUrlParams = jdbcUrlParams; + return this; + } + + /** + * Password associated with the username. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + + public DestinationVertica withPassword(String password) { + this.password = password; + return this; + } + + /** + * Port of the database. + */ + @JsonProperty("port") + public Long port; + + public DestinationVertica withPort(Long port) { + this.port = port; + return this; + } + + /** + * Schema for vertica destination + */ + @JsonProperty("schema") + public String schema; + + public DestinationVertica withSchema(String schema) { + this.schema = schema; + return this; + } + + /** + * Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tunnel_method") + public Object tunnelMethod; + + public DestinationVertica withTunnelMethod(Object tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Username to use to access the database. + */ + @JsonProperty("username") + public String username; + + public DestinationVertica withUsername(String username) { + this.username = username; + return this; + } + + public DestinationVertica(@JsonProperty("database") String database, @JsonProperty("destinationType") DestinationVerticaVertica destinationType, @JsonProperty("host") String host, @JsonProperty("port") Long port, @JsonProperty("schema") String schema, @JsonProperty("username") String username) { + this.database = database; + this.destinationType = destinationType; + this.host = host; + this.port = port; + this.schema = schema; + this.username = username; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnel.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnel.java new file mode 100755 index 000000000..868f42730 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnel.java @@ -0,0 +1,27 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationVerticaTunnelMethodNoTunnel - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationVerticaTunnelMethodNoTunnel { + /** + * No ssh tunnel needed to connect to database + */ + @JsonProperty("tunnel_method") + public DestinationVerticaTunnelMethodNoTunnelTunnelMethod tunnelMethod; + + public DestinationVerticaTunnelMethodNoTunnel withTunnelMethod(DestinationVerticaTunnelMethodNoTunnelTunnelMethod tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + public DestinationVerticaTunnelMethodNoTunnel(@JsonProperty("tunnel_method") DestinationVerticaTunnelMethodNoTunnelTunnelMethod tunnelMethod) { + this.tunnelMethod = tunnelMethod; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnelTunnelMethod.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnelTunnelMethod.java new file mode 100755 index 000000000..01fcdaf6a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodNoTunnelTunnelMethod.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationVerticaTunnelMethodNoTunnelTunnelMethod - No ssh tunnel needed to connect to database + */ +public enum DestinationVerticaTunnelMethodNoTunnelTunnelMethod { + NO_TUNNEL("NO_TUNNEL"); + + @JsonValue + public final String value; + + private DestinationVerticaTunnelMethodNoTunnelTunnelMethod(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthentication.java new file mode 100755 index 000000000..23c82caf7 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthentication.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationVerticaTunnelMethodPasswordAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationVerticaTunnelMethodPasswordAuthentication { + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + + public DestinationVerticaTunnelMethodPasswordAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and password authentication + */ + @JsonProperty("tunnel_method") + public DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod tunnelMethod; + + public DestinationVerticaTunnelMethodPasswordAuthentication withTunnelMethod(DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + + public DestinationVerticaTunnelMethodPasswordAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + + public DestinationVerticaTunnelMethodPasswordAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + /** + * OS-level password for logging into the jump server host + */ + @JsonProperty("tunnel_user_password") + public String tunnelUserPassword; + + public DestinationVerticaTunnelMethodPasswordAuthentication withTunnelUserPassword(String tunnelUserPassword) { + this.tunnelUserPassword = tunnelUserPassword; + return this; + } + + public DestinationVerticaTunnelMethodPasswordAuthentication(@JsonProperty("tunnel_user") String tunnelUser, @JsonProperty("tunnel_user_password") String tunnelUserPassword, @JsonProperty("tunnel_host") String tunnelHost, @JsonProperty("tunnel_method") DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod tunnelMethod, @JsonProperty("tunnel_port") Long tunnelPort) { + this.tunnelUser = tunnelUser; + this.tunnelUserPassword = tunnelUserPassword; + this.tunnelHost = tunnelHost; + this.tunnelMethod = tunnelMethod; + this.tunnelPort = tunnelPort; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod.java new file mode 100755 index 000000000..aa45a0539 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod - Connect through a jump server tunnel host using username and password authentication + */ +public enum DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod { + SSH_PASSWORD_AUTH("SSH_PASSWORD_AUTH"); + + @JsonValue + public final String value; + + private DestinationVerticaTunnelMethodPasswordAuthenticationTunnelMethod(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthentication.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthentication.java new file mode 100755 index 000000000..42e01485d --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthentication.java @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * DestinationVerticaTunnelMethodSSHKeyAuthentication - Whether to initiate an SSH tunnel before connecting to the database, and if so, which kind of authentication to use. + */ +public class DestinationVerticaTunnelMethodSSHKeyAuthentication { + /** + * OS-level user account ssh key credentials in RSA PEM format ( created with ssh-keygen -t rsa -m PEM -f myuser_rsa ) + */ + @JsonProperty("ssh_key") + public String sshKey; + + public DestinationVerticaTunnelMethodSSHKeyAuthentication withSshKey(String sshKey) { + this.sshKey = sshKey; + return this; + } + + /** + * Hostname of the jump server host that allows inbound ssh tunnel. + */ + @JsonProperty("tunnel_host") + public String tunnelHost; + + public DestinationVerticaTunnelMethodSSHKeyAuthentication withTunnelHost(String tunnelHost) { + this.tunnelHost = tunnelHost; + return this; + } + + /** + * Connect through a jump server tunnel host using username and ssh key + */ + @JsonProperty("tunnel_method") + public DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod tunnelMethod; + + public DestinationVerticaTunnelMethodSSHKeyAuthentication withTunnelMethod(DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod tunnelMethod) { + this.tunnelMethod = tunnelMethod; + return this; + } + + /** + * Port on the proxy/jump server that accepts inbound ssh connections. + */ + @JsonProperty("tunnel_port") + public Long tunnelPort; + + public DestinationVerticaTunnelMethodSSHKeyAuthentication withTunnelPort(Long tunnelPort) { + this.tunnelPort = tunnelPort; + return this; + } + + /** + * OS-level username for logging into the jump server host. + */ + @JsonProperty("tunnel_user") + public String tunnelUser; + + public DestinationVerticaTunnelMethodSSHKeyAuthentication withTunnelUser(String tunnelUser) { + this.tunnelUser = tunnelUser; + return this; + } + + public DestinationVerticaTunnelMethodSSHKeyAuthentication(@JsonProperty("ssh_key") String sshKey, @JsonProperty("tunnel_host") String tunnelHost, @JsonProperty("tunnel_method") DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod tunnelMethod, @JsonProperty("tunnel_port") Long tunnelPort, @JsonProperty("tunnel_user") String tunnelUser) { + this.sshKey = sshKey; + this.tunnelHost = tunnelHost; + this.tunnelMethod = tunnelMethod; + this.tunnelPort = tunnelPort; + this.tunnelUser = tunnelUser; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod.java new file mode 100755 index 000000000..52f9d8538 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod.java @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod - Connect through a jump server tunnel host using username and ssh key + */ +public enum DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod { + SSH_KEY_AUTH("SSH_KEY_AUTH"); + + @JsonValue + public final String value; + + private DestinationVerticaTunnelMethodSSHKeyAuthenticationTunnelMethod(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaVertica.java similarity index 65% rename from lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java rename to lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaVertica.java index 0efc7ee59..44b9970c6 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAuthType.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/DestinationVerticaVertica.java @@ -6,13 +6,13 @@ import com.fasterxml.jackson.annotation.JsonValue; -public enum SourceAmazonSellerPartnerAuthType { - OAUTH20("oauth2.0"); +public enum DestinationVerticaVertica { + VERTICA("vertica"); @JsonValue public final String value; - private SourceAmazonSellerPartnerAuthType(String value) { + private DestinationVerticaVertica(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java b/lib/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java similarity index 58% rename from lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java rename to lib/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java index f2de270bf..fc3fda563 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAmazonSellerPartner.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/GeographyEnumNoDefault.java @@ -6,13 +6,15 @@ import com.fasterxml.jackson.annotation.JsonValue; -public enum SourceAmazonSellerPartnerAmazonSellerPartner { - AMAZON_SELLER_PARTNER("amazon-seller-partner"); +public enum GeographyEnumNoDefault { + AUTO("auto"), + US("us"), + EU("eu"); @JsonValue public final String value; - private SourceAmazonSellerPartnerAmazonSellerPartner(String value) { + private GeographyEnumNoDefault(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java b/lib/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java new file mode 100755 index 000000000..48151fb06 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/NamespaceDefinitionEnumNoDefault.java @@ -0,0 +1,23 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * NamespaceDefinitionEnumNoDefault - Define the location where the data will be stored in the destination + */ +public enum NamespaceDefinitionEnumNoDefault { + SOURCE("source"), + DESTINATION("destination"), + CUSTOM_FORMAT("custom_format"); + + @JsonValue + public final String value; + + private NamespaceDefinitionEnumNoDefault(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java b/lib/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java new file mode 100755 index 000000000..a886518fc --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/NonBreakingSchemaUpdatesBehaviorEnumNoDefault.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * NonBreakingSchemaUpdatesBehaviorEnumNoDefault - Set how Airbyte handles syncs when it detects a non-breaking schema change in the source + */ +public enum NonBreakingSchemaUpdatesBehaviorEnumNoDefault { + IGNORE("ignore"), + DISABLE_CONNECTION("disable_connection"); + + @JsonValue + public final String value; + + private NonBreakingSchemaUpdatesBehaviorEnumNoDefault(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java index 9be08c716..360eb3b4d 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAirtable.java @@ -21,6 +21,7 @@ public SourceAirtable withCredentials(Object credentials) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceAirtableAirtable sourceType; @@ -29,7 +30,5 @@ public SourceAirtable withSourceType(SourceAirtableAirtable sourceType) { return this; } - public SourceAirtable(@JsonProperty("sourceType") SourceAirtableAirtable sourceType) { - this.sourceType = sourceType; - } + public SourceAirtable(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java deleted file mode 100755 index f25223ca4..000000000 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartner.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * SourceAmazonSellerPartner - The values required to configure the source. - */ -public class SourceAmazonSellerPartner { - /** - * Your Amazon App ID - */ - @JsonProperty("app_id") - public String appId; - - public SourceAmazonSellerPartner withAppId(String appId) { - this.appId = appId; - return this; - } - - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("auth_type") - public SourceAmazonSellerPartnerAuthType authType; - - public SourceAmazonSellerPartner withAuthType(SourceAmazonSellerPartnerAuthType authType) { - this.authType = authType; - return this; - } - - /** - * Specifies the AWS access key used as part of the credentials to authenticate the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("aws_access_key") - public String awsAccessKey; - - public SourceAmazonSellerPartner withAwsAccessKey(String awsAccessKey) { - this.awsAccessKey = awsAccessKey; - return this; - } - - /** - * An enumeration. - */ - @JsonProperty("aws_environment") - public SourceAmazonSellerPartnerAWSEnvironment awsEnvironment; - - public SourceAmazonSellerPartner withAwsEnvironment(SourceAmazonSellerPartnerAWSEnvironment awsEnvironment) { - this.awsEnvironment = awsEnvironment; - return this; - } - - /** - * Specifies the AWS secret key used as part of the credentials to authenticate the user. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("aws_secret_key") - public String awsSecretKey; - - public SourceAmazonSellerPartner withAwsSecretKey(String awsSecretKey) { - this.awsSecretKey = awsSecretKey; - return this; - } - - /** - * Your Login with Amazon Client ID. - */ - @JsonProperty("lwa_app_id") - public String lwaAppId; - - public SourceAmazonSellerPartner withLwaAppId(String lwaAppId) { - this.lwaAppId = lwaAppId; - return this; - } - - /** - * Your Login with Amazon Client Secret. - */ - @JsonProperty("lwa_client_secret") - public String lwaClientSecret; - - public SourceAmazonSellerPartner withLwaClientSecret(String lwaClientSecret) { - this.lwaClientSecret = lwaClientSecret; - return this; - } - - /** - * Sometimes report can take up to 30 minutes to generate. This will set the limit for how long to wait for a successful report. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("max_wait_seconds") - public Long maxWaitSeconds; - - public SourceAmazonSellerPartner withMaxWaitSeconds(Long maxWaitSeconds) { - this.maxWaitSeconds = maxWaitSeconds; - return this; - } - - /** - * Will be used for stream slicing for initial full_refresh sync when no updated state is present for reports that support sliced incremental sync. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("period_in_days") - public Long periodInDays; - - public SourceAmazonSellerPartner withPeriodInDays(Long periodInDays) { - this.periodInDays = periodInDays; - return this; - } - - /** - * The Refresh Token obtained via OAuth flow authorization. - */ - @JsonProperty("refresh_token") - public String refreshToken; - - public SourceAmazonSellerPartner withRefreshToken(String refreshToken) { - this.refreshToken = refreshToken; - return this; - } - - /** - * An enumeration. - */ - @JsonProperty("region") - public SourceAmazonSellerPartnerAWSRegion region; - - public SourceAmazonSellerPartner withRegion(SourceAmazonSellerPartnerAWSRegion region) { - this.region = region; - return this; - } - - /** - * UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("replication_end_date") - public String replicationEndDate; - - public SourceAmazonSellerPartner withReplicationEndDate(String replicationEndDate) { - this.replicationEndDate = replicationEndDate; - return this; - } - - /** - * UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. - */ - @JsonProperty("replication_start_date") - public String replicationStartDate; - - public SourceAmazonSellerPartner withReplicationStartDate(String replicationStartDate) { - this.replicationStartDate = replicationStartDate; - return this; - } - - /** - * Additional information passed to reports. This varies by report type. Must be a valid json string. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("report_options") - public String reportOptions; - - public SourceAmazonSellerPartner withReportOptions(String reportOptions) { - this.reportOptions = reportOptions; - return this; - } - - /** - * Specifies the Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations requested using this profile. (Needs permission to 'Assume Role' STS). - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("role_arn") - public String roleArn; - - public SourceAmazonSellerPartner withRoleArn(String roleArn) { - this.roleArn = roleArn; - return this; - } - - @JsonProperty("sourceType") - public SourceAmazonSellerPartnerAmazonSellerPartner sourceType; - - public SourceAmazonSellerPartner withSourceType(SourceAmazonSellerPartnerAmazonSellerPartner sourceType) { - this.sourceType = sourceType; - return this; - } - - public SourceAmazonSellerPartner(@JsonProperty("app_id") String appId, @JsonProperty("aws_environment") SourceAmazonSellerPartnerAWSEnvironment awsEnvironment, @JsonProperty("lwa_app_id") String lwaAppId, @JsonProperty("lwa_client_secret") String lwaClientSecret, @JsonProperty("refresh_token") String refreshToken, @JsonProperty("region") SourceAmazonSellerPartnerAWSRegion region, @JsonProperty("replication_start_date") String replicationStartDate, @JsonProperty("sourceType") SourceAmazonSellerPartnerAmazonSellerPartner sourceType) { - this.appId = appId; - this.awsEnvironment = awsEnvironment; - this.lwaAppId = lwaAppId; - this.lwaClientSecret = lwaClientSecret; - this.refreshToken = refreshToken; - this.region = region; - this.replicationStartDate = replicationStartDate; - this.sourceType = sourceType; - } -} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegion.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegion.java deleted file mode 100755 index 89b8172a7..000000000 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSRegion.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - */ - -package com.airbyte.api.models.shared; - -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * SourceAmazonSellerPartnerAWSRegion - An enumeration. - */ -public enum SourceAmazonSellerPartnerAWSRegion { - AE("AE"), - AU("AU"), - BE("BE"), - BR("BR"), - CA("CA"), - DE("DE"), - EG("EG"), - ES("ES"), - FR("FR"), - GB("GB"), - IN("IN"), - IT("IT"), - JP("JP"), - MX("MX"), - NL("NL"), - PL("PL"), - SA("SA"), - SE("SE"), - SG("SG"), - TR("TR"), - UK("UK"), - US("US"); - - @JsonValue - public final String value; - - private SourceAmazonSellerPartnerAWSRegion(String value) { - this.value = value; - } -} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java index e108436d9..4ec420dff 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceAsana.java @@ -24,6 +24,7 @@ public SourceAsana withCredentials(Object credentials) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceAsanaAsana sourceType; @@ -32,7 +33,5 @@ public SourceAsana withSourceType(SourceAsanaAsana sourceType) { return this; } - public SourceAsana(@JsonProperty("sourceType") SourceAsanaAsana sourceType) { - this.sourceType = sourceType; - } + public SourceAsana(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java new file mode 100755 index 000000000..5dcf3b2e6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshservice.java @@ -0,0 +1,60 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceFreshservice - The values required to configure the source. + */ +public class SourceFreshservice { + /** + * Freshservice API Key. See <a href="https://api.freshservice.com/#authentication">here</a>. The key is case sensitive. + */ + @JsonProperty("api_key") + public String apiKey; + + public SourceFreshservice withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * The name of your Freshservice domain + */ + @JsonProperty("domain_name") + public String domainName; + + public SourceFreshservice withDomainName(String domainName) { + this.domainName = domainName; + return this; + } + + @JsonProperty("sourceType") + public SourceFreshserviceFreshservice sourceType; + + public SourceFreshservice withSourceType(SourceFreshserviceFreshservice sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * UTC date and time in the format 2020-10-01T00:00:00Z. Any data before this date will not be replicated. + */ + @JsonProperty("start_date") + public String startDate; + + public SourceFreshservice withStartDate(String startDate) { + this.startDate = startDate; + return this; + } + + public SourceFreshservice(@JsonProperty("api_key") String apiKey, @JsonProperty("domain_name") String domainName, @JsonProperty("sourceType") SourceFreshserviceFreshservice sourceType, @JsonProperty("start_date") String startDate) { + this.apiKey = apiKey; + this.domainName = domainName; + this.sourceType = sourceType; + this.startDate = startDate; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshserviceFreshservice.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshserviceFreshservice.java new file mode 100755 index 000000000..faeaaedc6 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceFreshserviceFreshservice.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceFreshserviceFreshservice { + FRESHSERVICE("freshservice"); + + @JsonValue + public final String value; + + private SourceFreshserviceFreshservice(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java index 28e49b324..558f08916 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGithub.java @@ -41,18 +41,6 @@ public SourceGithub withCredentials(Object credentials) { return this; } - /** - * The Github connector contains several streams with a large amount of data. The page size of such streams depends on the size of your repository. We recommended that you specify values between 10 and 30. - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("page_size_for_large_streams") - public Long pageSizeForLargeStreams; - - public SourceGithub withPageSizeForLargeStreams(Long pageSizeForLargeStreams) { - this.pageSizeForLargeStreams = pageSizeForLargeStreams; - return this; - } - /** * Space-delimited list of GitHub organizations/repositories, e.g. `airbytehq/airbyte` for single repository, `airbytehq/*` for get all repositories from organization and `airbytehq/airbyte airbytehq/another-repo` for multiple repositories. */ diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java new file mode 100755 index 000000000..0de88eb5e --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsights.java @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * SourceGooglePagespeedInsights - The values required to configure the source. + */ +public class SourceGooglePagespeedInsights { + /** + * Google PageSpeed API Key. See <a href="https://developers.google.com/speed/docs/insights/v5/get-started#APIKey">here</a>. The key is optional - however the API is heavily rate limited when using without API Key. Creating and using the API key therefore is recommended. The key is case sensitive. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("api_key") + public String apiKey; + + public SourceGooglePagespeedInsights withApiKey(String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Defines which Lighthouse category to run. One or many of: "accessibility", "best-practices", "performance", "pwa", "seo". + */ + @JsonProperty("categories") + public SourceGooglePagespeedInsightsCategories[] categories; + + public SourceGooglePagespeedInsights withCategories(SourceGooglePagespeedInsightsCategories[] categories) { + this.categories = categories; + return this; + } + + @JsonProperty("sourceType") + public SourceGooglePagespeedInsightsGooglePagespeedInsights sourceType; + + public SourceGooglePagespeedInsights withSourceType(SourceGooglePagespeedInsightsGooglePagespeedInsights sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * The analyses strategy to use. Either "desktop" or "mobile". + */ + @JsonProperty("strategies") + public SourceGooglePagespeedInsightsStrategies[] strategies; + + public SourceGooglePagespeedInsights withStrategies(SourceGooglePagespeedInsightsStrategies[] strategies) { + this.strategies = strategies; + return this; + } + + /** + * The URLs to retrieve pagespeed information from. The connector will attempt to sync PageSpeed reports for all the defined URLs. Format: https://(www.)url.domain + */ + @JsonProperty("urls") + public String[] urls; + + public SourceGooglePagespeedInsights withUrls(String[] urls) { + this.urls = urls; + return this; + } + + public SourceGooglePagespeedInsights(@JsonProperty("categories") SourceGooglePagespeedInsightsCategories[] categories, @JsonProperty("sourceType") SourceGooglePagespeedInsightsGooglePagespeedInsights sourceType, @JsonProperty("strategies") SourceGooglePagespeedInsightsStrategies[] strategies, @JsonProperty("urls") String[] urls) { + this.categories = categories; + this.sourceType = sourceType; + this.strategies = strategies; + this.urls = urls; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsCategories.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsCategories.java new file mode 100755 index 000000000..c5061b06a --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsCategories.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGooglePagespeedInsightsCategories { + ACCESSIBILITY("accessibility"), + BEST_PRACTICES("best-practices"), + PERFORMANCE("performance"), + PWA("pwa"), + SEO("seo"); + + @JsonValue + public final String value; + + private SourceGooglePagespeedInsightsCategories(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsGooglePagespeedInsights.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsGooglePagespeedInsights.java new file mode 100755 index 000000000..db3cca272 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsGooglePagespeedInsights.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceGooglePagespeedInsightsGooglePagespeedInsights { + GOOGLE_PAGESPEED_INSIGHTS("google-pagespeed-insights"); + + @JsonValue + public final String value; + + private SourceGooglePagespeedInsightsGooglePagespeedInsights(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironment.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsStrategies.java similarity index 51% rename from lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironment.java rename to lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsStrategies.java index 8af436a9a..c1d112eb8 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceAmazonSellerPartnerAWSEnvironment.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGooglePagespeedInsightsStrategies.java @@ -6,17 +6,14 @@ import com.fasterxml.jackson.annotation.JsonValue; -/** - * SourceAmazonSellerPartnerAWSEnvironment - An enumeration. - */ -public enum SourceAmazonSellerPartnerAWSEnvironment { - PRODUCTION("PRODUCTION"), - SANDBOX("SANDBOX"); +public enum SourceGooglePagespeedInsightsStrategies { + DESKTOP("desktop"), + MOBILE("mobile"); @JsonValue public final String value; - private SourceAmazonSellerPartnerAWSEnvironment(String value) { + private SourceGooglePagespeedInsightsStrategies(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java index cd8754727..ea330aba5 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsole.java @@ -34,6 +34,18 @@ public SourceGoogleSearchConsole withCustomReports(String customReports) { return this; } + /** + * If "final" or if this parameter is omitted, the returned data will include only finalized data. Setting this parameter to "all" should not be used with Incremental Sync mode as it may cause data loss. If "all", data will include fresh data. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("data_state") + public SourceGoogleSearchConsoleDataState dataState; + + public SourceGoogleSearchConsole withDataState(SourceGoogleSearchConsoleDataState dataState) { + this.dataState = dataState; + return this; + } + /** * UTC date in the format 2017-01-25. Any data after this date will not be replicated. Must be greater or equal to the start date field. */ diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleDataState.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleDataState.java new file mode 100755 index 000000000..a2bfafced --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceGoogleSearchConsoleDataState.java @@ -0,0 +1,22 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * SourceGoogleSearchConsoleDataState - If "final" or if this parameter is omitted, the returned data will include only finalized data. Setting this parameter to "all" should not be used with Incremental Sync mode as it may cause data loss. If "all", data will include fresh data. + */ +public enum SourceGoogleSearchConsoleDataState { + FINAL_("final"), + ALL("all"); + + @JsonValue + public final String value; + + private SourceGoogleSearchConsoleDataState(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java index 83353a578..645d026e2 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuth.java @@ -36,9 +36,9 @@ public SourceHubspotCredentialsOAuth withClientSecret(String clientSecret) { * Name of the credentials */ @JsonProperty("credentials_title") - public SourceHubspotCredentialsOAuthCredentials credentialsTitle; + public SourceHubspotCredentialsOAuthAuthType credentialsTitle; - public SourceHubspotCredentialsOAuth withCredentialsTitle(SourceHubspotCredentialsOAuthCredentials credentialsTitle) { + public SourceHubspotCredentialsOAuth withCredentialsTitle(SourceHubspotCredentialsOAuthAuthType credentialsTitle) { this.credentialsTitle = credentialsTitle; return this; } @@ -54,7 +54,7 @@ public SourceHubspotCredentialsOAuth withRefreshToken(String refreshToken) { return this; } - public SourceHubspotCredentialsOAuth(@JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("credentials_title") SourceHubspotCredentialsOAuthCredentials credentialsTitle, @JsonProperty("refresh_token") String refreshToken) { + public SourceHubspotCredentialsOAuth(@JsonProperty("client_id") String clientId, @JsonProperty("client_secret") String clientSecret, @JsonProperty("credentials_title") SourceHubspotCredentialsOAuthAuthType credentialsTitle, @JsonProperty("refresh_token") String refreshToken) { this.clientId = clientId; this.clientSecret = clientSecret; this.credentialsTitle = credentialsTitle; diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentials.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthAuthType.java similarity index 61% rename from lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentials.java rename to lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthAuthType.java index 06c35b33a..b9bb8a814 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthCredentials.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsOAuthAuthType.java @@ -7,15 +7,15 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * SourceHubspotCredentialsOAuthCredentials - Name of the credentials + * SourceHubspotCredentialsOAuthAuthType - Name of the credentials */ -public enum SourceHubspotCredentialsOAuthCredentials { +public enum SourceHubspotCredentialsOAuthAuthType { O_AUTH_CREDENTIALS("OAuth Credentials"); @JsonValue public final String value; - private SourceHubspotCredentialsOAuthCredentials(String value) { + private SourceHubspotCredentialsOAuthAuthType(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java index 59d504f08..b655923ef 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateApp.java @@ -25,14 +25,14 @@ public SourceHubspotCredentialsPrivateApp withAccessToken(String accessToken) { * Name of the credentials set */ @JsonProperty("credentials_title") - public SourceHubspotCredentialsPrivateAppCredentials credentialsTitle; + public SourceHubspotCredentialsPrivateAppAuthType credentialsTitle; - public SourceHubspotCredentialsPrivateApp withCredentialsTitle(SourceHubspotCredentialsPrivateAppCredentials credentialsTitle) { + public SourceHubspotCredentialsPrivateApp withCredentialsTitle(SourceHubspotCredentialsPrivateAppAuthType credentialsTitle) { this.credentialsTitle = credentialsTitle; return this; } - public SourceHubspotCredentialsPrivateApp(@JsonProperty("access_token") String accessToken, @JsonProperty("credentials_title") SourceHubspotCredentialsPrivateAppCredentials credentialsTitle) { + public SourceHubspotCredentialsPrivateApp(@JsonProperty("access_token") String accessToken, @JsonProperty("credentials_title") SourceHubspotCredentialsPrivateAppAuthType credentialsTitle) { this.accessToken = accessToken; this.credentialsTitle = credentialsTitle; } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentials.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppAuthType.java similarity index 60% rename from lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentials.java rename to lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppAuthType.java index 338a3b4f3..1a2bd2586 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppCredentials.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceHubspotCredentialsPrivateAppAuthType.java @@ -7,15 +7,15 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * SourceHubspotCredentialsPrivateAppCredentials - Name of the credentials set + * SourceHubspotCredentialsPrivateAppAuthType - Name of the credentials set */ -public enum SourceHubspotCredentialsPrivateAppCredentials { +public enum SourceHubspotCredentialsPrivateAppAuthType { PRIVATE_APP_CREDENTIALS("Private App Credentials"); @JsonValue public final String value; - private SourceHubspotCredentialsPrivateAppCredentials(String value) { + private SourceHubspotCredentialsPrivateAppAuthType(String value) { this.value = value; } } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java index a5734678b..9a535758b 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceIp2whois.java @@ -36,6 +36,7 @@ public SourceIp2whois withDomain(String domain) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceIp2whoisIp2whois sourceType; @@ -44,7 +45,5 @@ public SourceIp2whois withSourceType(SourceIp2whoisIp2whois sourceType) { return this; } - public SourceIp2whois(@JsonProperty("sourceType") SourceIp2whoisIp2whois sourceType) { - this.sourceType = sourceType; - } + public SourceIp2whois(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java index 178f7e676..1dd05955b 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceMixpanel.java @@ -115,6 +115,7 @@ public SourceMixpanel withSelectPropertiesByDefault(Boolean selectPropertiesByDe return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceMixpanelMixpanel sourceType; @@ -137,7 +138,5 @@ public SourceMixpanel withStartDate(OffsetDateTime startDate) { return this; } - public SourceMixpanel(@JsonProperty("sourceType") SourceMixpanelMixpanel sourceType) { - this.sourceType = sourceType; - } + public SourceMixpanel(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java new file mode 100755 index 000000000..ae1ac71e8 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePatchRequest.java @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourcePatchRequest { + /** + * The values required to configure the source. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("configuration") + public Object configuration; + + public SourcePatchRequest withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + public String name; + + public SourcePatchRequest withName(String name) { + this.name = name; + return this; + } + + /** + * Optional secretID obtained through the public API OAuth redirect flow. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("secretId") + public String secretId; + + public SourcePatchRequest withSecretId(String secretId) { + this.secretId = secretId; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("workspaceId") + public String workspaceId; + + public SourcePatchRequest withWorkspaceId(String workspaceId) { + this.workspaceId = workspaceId; + return this; + } + + public SourcePatchRequest(){} +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java index 898614446..7b0ed2ec1 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePinterest.java @@ -4,9 +4,11 @@ package com.airbyte.api.models.shared; +import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; /** * SourcePinterest - The values required to configure the source. @@ -32,10 +34,11 @@ public SourcePinterest withSourceType(SourcePinterestPinterest sourceType) { /** * A date in the format YYYY-MM-DD. If you have not set a date, it would be defaulted to latest allowed date by api (89 days from today). */ + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") @JsonProperty("start_date") - public String startDate; + public LocalDate startDate; - public SourcePinterest withStartDate(String startDate) { + public SourcePinterest withStartDate(LocalDate startDate) { this.startDate = startDate; return this; } @@ -52,7 +55,7 @@ public SourcePinterest withStatus(SourcePinterestStatus[] status) { return this; } - public SourcePinterest(@JsonProperty("sourceType") SourcePinterestPinterest sourceType, @JsonProperty("start_date") String startDate) { + public SourcePinterest(@JsonProperty("sourceType") SourcePinterestPinterest sourceType, @JsonProperty("start_date") LocalDate startDate) { this.sourceType = sourceType; this.startDate = startDate; } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java new file mode 100755 index 000000000..d167cd63c --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourcePutRequest.java @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class SourcePutRequest { + /** + * The values required to configure the source. + */ + @JsonProperty("configuration") + public Object configuration; + + public SourcePutRequest withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + + @JsonProperty("name") + public String name; + + public SourcePutRequest withName(String name) { + this.name = name; + return this; + } + + public SourcePutRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name) { + this.configuration = configuration; + this.name = name; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java index b6594e79c..8d1824a19 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceResponse.java @@ -10,6 +10,17 @@ * SourceResponse - Provides details of a single source. */ public class SourceResponse { + /** + * The values required to configure the source. + */ + @JsonProperty("configuration") + public Object configuration; + + public SourceResponse withConfiguration(Object configuration) { + this.configuration = configuration; + return this; + } + @JsonProperty("name") public String name; @@ -42,7 +53,8 @@ public SourceResponse withWorkspaceId(String workspaceId) { return this; } - public SourceResponse(@JsonProperty("name") String name, @JsonProperty("sourceId") String sourceId, @JsonProperty("sourceType") String sourceType, @JsonProperty("workspaceId") String workspaceId) { + public SourceResponse(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name, @JsonProperty("sourceId") String sourceId, @JsonProperty("sourceType") String sourceType, @JsonProperty("workspaceId") String workspaceId) { + this.configuration = configuration; this.name = name; this.sourceId = sourceId; this.sourceType = sourceType; diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java index 3e5f37042..91be49e48 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceRetently.java @@ -24,6 +24,7 @@ public SourceRetently withCredentials(Object credentials) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceRetentlyRetently sourceType; @@ -32,7 +33,5 @@ public SourceRetently withSourceType(SourceRetentlyRetently sourceType) { return this; } - public SourceRetently(@JsonProperty("sourceType") SourceRetentlyRetently sourceType) { - this.sourceType = sourceType; - } + public SourceRetently(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java index d1b4dee48..6893b23d3 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceSpacexApi.java @@ -30,6 +30,7 @@ public SourceSpacexApi withOptions(String options) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceSpacexApiSpacexApi sourceType; @@ -38,7 +39,5 @@ public SourceSpacexApi withSourceType(SourceSpacexApiSpacexApi sourceType) { return this; } - public SourceSpacexApi(@JsonProperty("sourceType") SourceSpacexApiSpacexApi sourceType) { - this.sourceType = sourceType; - } + public SourceSpacexApi(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java index a9f053381..bd4aae739 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceTiktokMarketing.java @@ -51,6 +51,7 @@ public SourceTiktokMarketing withEndDate(LocalDate endDate) { return this; } + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceTiktokMarketingTiktokMarketing sourceType; @@ -72,7 +73,5 @@ public SourceTiktokMarketing withStartDate(LocalDate startDate) { return this; } - public SourceTiktokMarketing(@JsonProperty("sourceType") SourceTiktokMarketingTiktokMarketing sourceType) { - this.sourceType = sourceType; - } + public SourceTiktokMarketing(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java index 831a22d43..cf137e843 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceWhiskyHunter.java @@ -4,12 +4,15 @@ package com.airbyte.api.models.shared; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * SourceWhiskyHunter - The values required to configure the source. */ public class SourceWhiskyHunter { + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceWhiskyHunterWhiskyHunter sourceType; @@ -18,7 +21,5 @@ public SourceWhiskyHunter withSourceType(SourceWhiskyHunterWhiskyHunter sourceTy return this; } - public SourceWhiskyHunter(@JsonProperty("sourceType") SourceWhiskyHunterWhiskyHunter sourceType) { - this.sourceType = sourceType; - } + public SourceWhiskyHunter(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java index a33c29c80..8e358d897 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceXkcd.java @@ -4,12 +4,15 @@ package com.airbyte.api.models.shared; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * SourceXkcd - The values required to configure the source. */ public class SourceXkcd { + @JsonInclude(Include.NON_ABSENT) @JsonProperty("sourceType") public SourceXkcdXkcd sourceType; @@ -18,7 +21,5 @@ public SourceXkcd withSourceType(SourceXkcdXkcd sourceType) { return this; } - public SourceXkcd(@JsonProperty("sourceType") SourceXkcdXkcd sourceType) { - this.sourceType = sourceType; - } + public SourceXkcd(){} } diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java new file mode 100755 index 000000000..413b93d9b --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpo.java @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.airbyte.api.utils.DateTimeDeserializer; +import com.airbyte.api.utils.DateTimeSerializer; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.time.OffsetDateTime; + +/** + * SourceYotpo - The values required to configure the source. + */ +public class SourceYotpo { + /** + * Access token recieved as a result of API call to https://api.yotpo.com/oauth/token (Ref- https://apidocs.yotpo.com/reference/yotpo-authentication) + */ + @JsonProperty("access_token") + public String accessToken; + + public SourceYotpo withAccessToken(String accessToken) { + this.accessToken = accessToken; + return this; + } + + /** + * App key found at settings (Ref- https://settings.yotpo.com/#/general_settings) + */ + @JsonProperty("app_key") + public String appKey; + + public SourceYotpo withAppKey(String appKey) { + this.appKey = appKey; + return this; + } + + /** + * Email address registered with yotpo. + */ + @JsonProperty("email") + public String email; + + public SourceYotpo withEmail(String email) { + this.email = email; + return this; + } + + @JsonProperty("sourceType") + public SourceYotpoYotpo sourceType; + + public SourceYotpo withSourceType(SourceYotpoYotpo sourceType) { + this.sourceType = sourceType; + return this; + } + + /** + * Date time filter for incremental filter, Specify which date to extract from. + */ + @JsonSerialize(using = DateTimeSerializer.class) + @JsonDeserialize(using = DateTimeDeserializer.class) + @JsonProperty("start_date") + public OffsetDateTime startDate; + + public SourceYotpo withStartDate(OffsetDateTime startDate) { + this.startDate = startDate; + return this; + } + + public SourceYotpo(@JsonProperty("access_token") String accessToken, @JsonProperty("app_key") String appKey, @JsonProperty("email") String email, @JsonProperty("sourceType") SourceYotpoYotpo sourceType, @JsonProperty("start_date") OffsetDateTime startDate) { + this.accessToken = accessToken; + this.appKey = appKey; + this.email = email; + this.sourceType = sourceType; + this.startDate = startDate; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpoYotpo.java b/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpoYotpo.java new file mode 100755 index 000000000..b487f04df --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/SourceYotpoYotpo.java @@ -0,0 +1,18 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonValue; + +public enum SourceYotpoYotpo { + YOTPO("yotpo"); + + @JsonValue + public final String value; + + private SourceYotpoYotpo(String value) { + this.value = value; + } +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/StreamPropertiesResponse.java b/lib/src/main/java/com/airbyte/api/models/shared/StreamPropertiesResponse.java new file mode 100755 index 000000000..d9084ad19 --- /dev/null +++ b/lib/src/main/java/com/airbyte/api/models/shared/StreamPropertiesResponse.java @@ -0,0 +1,25 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package com.airbyte.api.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * StreamPropertiesResponse - A list of stream properties. + */ +public class StreamPropertiesResponse { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("streams") + public StreamProperties[] streams; + + public StreamPropertiesResponse withStreams(StreamProperties[] streams) { + this.streams = streams; + return this; + } + + public StreamPropertiesResponse(){} +} diff --git a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java b/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java index f7875325f..5838e1da1 100755 --- a/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java +++ b/lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java @@ -32,6 +32,9 @@ public WorkspaceOAuthCredentialsRequest withConfiguration(java.util.Map