Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.3'
implementation 'com.airbyte.api:public-api:0.7.1'
```
<!-- End SDK Installation -->

Expand Down
26 changes: 25 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,28 @@ Based on:
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy
### Releases
- [Maven Central v0.5.3] https://central.sonatype.com/artifact/com.airbyte/api/0.5.3 - .
- [Maven Central v0.5.3] https://central.sonatype.com/artifact/com.airbyte/api/0.5.3 - .

## 2023-05-03 00:11:17
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.airbyte/api/0.6.0 - .

## 2023-05-05 00:11:13
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.airbyte/api/0.7.0 - .

## 2023-05-06 00:11:54
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy
### Releases
- [Maven Central v0.7.1] https://central.sonatype.com/artifact/com.airbyte/api/0.7.1 - .
4 changes: 0 additions & 4 deletions docs/sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ import com.airbyte.api.models.shared.SourceFacebookMarketing;
import com.airbyte.api.models.shared.SourceFacebookMarketingFacebookMarketingEnum;
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfig;
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigLevelEnum;
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum;
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidBreakdownsEnum;
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidEnumsEnum;
import com.airbyte.api.models.shared.SourceFacebookPages;
import com.airbyte.api.models.shared.SourceFacebookPagesFacebookPagesEnum;
import com.airbyte.api.models.shared.SourceFaker;
Expand Down Expand Up @@ -519,7 +516,6 @@ import com.airbyte.api.models.shared.SourceS3FormatCSV;
import com.airbyte.api.models.shared.SourceS3FormatCSVFiletypeEnum;
import com.airbyte.api.models.shared.SourceS3FormatJsonl;
import com.airbyte.api.models.shared.SourceS3FormatJsonlFiletypeEnum;
import com.airbyte.api.models.shared.SourceS3FormatJsonlUnexpectedFieldBehaviorEnum;
import com.airbyte.api.models.shared.SourceS3FormatParquet;
import com.airbyte.api.models.shared.SourceS3FormatParquetFiletypeEnum;
import com.airbyte.api.models.shared.SourceS3S3AmazonWebServices;
Expand Down
3 changes: 1 addition & 2 deletions docs/workspaces/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials
import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse;
import com.airbyte.api.models.shared.Security;
import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest;
import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequestActorTypeEnum;

public class Application {
public static void main(String[] args) {
Expand All @@ -33,7 +32,7 @@ public class Application {
}})
.build();

CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest(WorkspaceOAuthCredentialsRequestActorTypeEnum.SOURCE, new java.util.HashMap<String, Object>() {{
CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest("inventore", new java.util.HashMap<String, Object>() {{
put("totam", "accusamus");
put("aliquam", "odio");
}}, "occaecati");, "commodi");
Expand Down
5 changes: 0 additions & 5 deletions files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -538,9 +538,6 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEn
lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java
lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java
Expand Down Expand Up @@ -905,7 +902,6 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java
lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java
Expand Down Expand Up @@ -1092,7 +1088,6 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.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/StreamProperties.java
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java
Expand Down
7 changes: 4 additions & 3 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ configVersion: 1.0.0
management:
docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4
docVersion: 1.0.0
speakeasyVersion: 1.26.5
generationVersion: 2.23.6
speakeasyVersion: 1.29.1
generationVersion: 2.26.1
generation:
telemetryEnabled: true
sdkClassName: airbyte
singleTagPerOp: false
java:
version: 0.5.3
version: 0.7.1
artifactID: api
companyEmail: info@airbyte.com
companyName: Airbyte
companyURL: www.airbyte.com
githubURL: github.com/airbytehq/airbyte-api-java-sdk
groupID: com.airbyte
maxMethodParams: 0
ossrhURL: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
projectName: public-api
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.airbyte'
artifactId = 'api'
version = '0.5.3'
version = '0.7.1'

from components.java

Expand Down
4 changes: 2 additions & 2 deletions lib/src/main/java/com/airbyte/api/Airbyte.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class Airbyte {
private com.airbyte.api.models.shared.Security _security;
private String _serverUrl;
private String _language = "java";
private String _sdkVersion = "0.5.3";
private String _genVersion = "2.23.6";
private String _sdkVersion = "0.7.1";
private String _genVersion = "2.26.1";
/**
* The Builder class allows the configuration of a new instance of the SDK.
*/
Expand Down
24 changes: 0 additions & 24 deletions lib/src/main/java/com/airbyte/api/Connections.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ public Connections(HTTPClient defaultClient, HTTPClient securityClient, String s
this._genVersion = genVersion;
}

/**
* Create a connection
* @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.CreateConnectionResponse createConnection(com.airbyte.api.models.shared.ConnectionCreateRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");
Expand Down Expand Up @@ -76,12 +70,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
return res;
}

/**
* Delete a Connection
* @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.DeleteConnectionResponse deleteConnection(com.airbyte.api.models.operations.DeleteConnectionRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
Expand All @@ -108,12 +96,6 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti
return res;
}

/**
* Get 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.GetConnectionResponse getConnection(com.airbyte.api.models.operations.GetConnectionRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
Expand Down Expand Up @@ -148,12 +130,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
return res;
}

/**
* List connections
* @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.ListConnectionsResponse listConnections(com.airbyte.api.models.operations.ListConnectionsRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");
Expand Down
25 changes: 0 additions & 25 deletions lib/src/main/java/com/airbyte/api/Destinations.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ public Destinations(HTTPClient defaultClient, HTTPClient securityClient, String
this._genVersion = genVersion;
}

/**
* Create a destination
* Creates a destination given a name, workspace id, and a json blob containing the configuration for the 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.CreateDestinationResponse createDestination(com.airbyte.api.models.shared.DestinationCreateRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");
Expand Down Expand Up @@ -74,12 +67,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403 || httpRes.s
return res;
}

/**
* Delete 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.DeleteDestinationResponse deleteDestination(com.airbyte.api.models.operations.DeleteDestinationRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
Expand All @@ -106,12 +93,6 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina
return res;
}

/**
* Get Destination 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.GetDestinationResponse getDestination(com.airbyte.api.models.operations.GetDestinationRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
Expand Down Expand Up @@ -146,12 +127,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
return res;
}

/**
* List destinations
* @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.ListDestinationsResponse listDestinations(com.airbyte.api.models.operations.ListDestinationsRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");
Expand Down
24 changes: 0 additions & 24 deletions lib/src/main/java/com/airbyte/api/Jobs.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ public Jobs(HTTPClient defaultClient, HTTPClient securityClient, String serverUr
this._genVersion = genVersion;
}

/**
* Cancel a running Job
* @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.CancelJobResponse cancelJob(com.airbyte.api.models.operations.CancelJobRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.CancelJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
Expand Down Expand Up @@ -71,12 +65,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
return res;
}

/**
* Trigger a sync or reset job of a connection
* @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.CreateJobResponse createJob(com.airbyte.api.models.shared.JobCreateRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");
Expand Down Expand Up @@ -116,12 +104,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
return res;
}

/**
* Get Job status and 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.GetJobResponse getJob(com.airbyte.api.models.operations.GetJobRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
Expand Down Expand Up @@ -156,12 +138,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
return res;
}

/**
* List Jobs by sync type
* @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.ListJobsResponse listJobs(com.airbyte.api.models.operations.ListJobsRequest request) throws Exception {
String baseUrl = this._serverUrl;
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");
Expand Down
Loading