Skip to content

Commit 506b8f5

Browse files
authored
Merge pull request #25 from airbytehq/speakeasy-sdk-regen-1683677492
chore: speakeasy sdk regeneration - Generate
2 parents f5401a3 + 2d5bd72 commit 506b8f5

File tree

541 files changed

+2571
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

541 files changed

+2571
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The Developer Portal UI can also be used to help build your integration by showi
2121
### Gradle
2222

2323
```groovy
24-
implementation 'com.airbyte.api:public-api:0.7.1'
24+
implementation 'com.airbyte.api:public-api:0.7.2'
2525
```
2626
<!-- End SDK Installation -->
2727

RELEASES.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,12 @@ Based on:
231231
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
232232
- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy
233233
### Releases
234-
- [Maven Central v0.7.1] https://central.sonatype.com/artifact/com.airbyte/api/0.7.1 - .
234+
- [Maven Central v0.7.1] https://central.sonatype.com/artifact/com.airbyte/api/0.7.1 - .
235+
236+
## 2023-05-10 00:11:31
237+
### Changes
238+
Based on:
239+
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
240+
- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy
241+
### Releases
242+
- [Maven Central v0.7.2] https://central.sonatype.com/artifact/com.airbyte/api/0.7.2 - .

docs/sources/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ import com.airbyte.api.models.shared.SourceFacebookMarketing;
148148
import com.airbyte.api.models.shared.SourceFacebookMarketingFacebookMarketingEnum;
149149
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfig;
150150
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigLevelEnum;
151+
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum;
152+
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidBreakdownsEnum;
153+
import com.airbyte.api.models.shared.SourceFacebookMarketingInsightConfigValidEnumsEnum;
151154
import com.airbyte.api.models.shared.SourceFacebookPages;
152155
import com.airbyte.api.models.shared.SourceFacebookPagesFacebookPagesEnum;
153156
import com.airbyte.api.models.shared.SourceFaker;
@@ -516,6 +519,7 @@ import com.airbyte.api.models.shared.SourceS3FormatCSV;
516519
import com.airbyte.api.models.shared.SourceS3FormatCSVFiletypeEnum;
517520
import com.airbyte.api.models.shared.SourceS3FormatJsonl;
518521
import com.airbyte.api.models.shared.SourceS3FormatJsonlFiletypeEnum;
522+
import com.airbyte.api.models.shared.SourceS3FormatJsonlUnexpectedFieldBehaviorEnum;
519523
import com.airbyte.api.models.shared.SourceS3FormatParquet;
520524
import com.airbyte.api.models.shared.SourceS3FormatParquetFiletypeEnum;
521525
import com.airbyte.api.models.shared.SourceS3S3AmazonWebServices;

docs/workspaces/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials
2222
import com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse;
2323
import com.airbyte.api.models.shared.Security;
2424
import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequest;
25+
import com.airbyte.api.models.shared.WorkspaceOAuthCredentialsRequestActorTypeEnum;
2526

2627
public class Application {
2728
public static void main(String[] args) {
@@ -32,7 +33,7 @@ public class Application {
3233
}})
3334
.build();
3435

35-
CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest("inventore", new java.util.HashMap<String, Object>() {{
36+
CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest(WorkspaceOAuthCredentialsRequestActorTypeEnum.SOURCE, new java.util.HashMap<String, Object>() {{
3637
put("totam", "accusamus");
3738
put("aliquam", "odio");
3839
}}, "occaecati");, "commodi");

files.gen

+5
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,9 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopusEmailoctopusEn
538538
lib/src/main/java/com/airbyte/api/models/shared/SourceEmailoctopus.java
539539
lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRatesExchangeRatesEnum.java
540540
lib/src/main/java/com/airbyte/api/models/shared/SourceExchangeRates.java
541+
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidActionBreakdownsEnum.java
542+
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidBreakdownsEnum.java
543+
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigValidEnumsEnum.java
541544
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfigLevelEnum.java
542545
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingInsightConfig.java
543546
lib/src/main/java/com/airbyte/api/models/shared/SourceFacebookMarketingFacebookMarketingEnum.java
@@ -902,6 +905,7 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceRkiCovid.java
902905
lib/src/main/java/com/airbyte/api/models/shared/SourceRssRssEnum.java
903906
lib/src/main/java/com/airbyte/api/models/shared/SourceRss.java
904907
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlFiletypeEnum.java
908+
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonlUnexpectedFieldBehaviorEnum.java
905909
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatJsonl.java
906910
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvroFiletypeEnum.java
907911
lib/src/main/java/com/airbyte/api/models/shared/SourceS3FormatAvro.java
@@ -1088,6 +1092,7 @@ lib/src/main/java/com/airbyte/api/models/shared/SourceZuora.java
10881092
lib/src/main/java/com/airbyte/api/models/shared/InitiateOauthRequest.java
10891093
lib/src/main/java/com/airbyte/api/models/shared/SourcesResponse.java
10901094
lib/src/main/java/com/airbyte/api/models/shared/StreamProperties.java
1095+
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequestActorTypeEnum.java
10911096
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceOAuthCredentialsRequest.java
10921097
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceResponse.java
10931098
lib/src/main/java/com/airbyte/api/models/shared/WorkspaceCreateRequest.java

gen.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.29.1
6-
generationVersion: 2.26.1
5+
speakeasyVersion: 1.29.2
6+
generationVersion: 2.26.2
77
generation:
88
telemetryEnabled: true
99
sdkClassName: airbyte
1010
singleTagPerOp: false
1111
java:
12-
version: 0.7.1
12+
version: 0.7.2
1313
artifactID: api
1414
companyEmail: [email protected]
1515
companyName: Airbyte

lib/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ publishing {
4141
maven(MavenPublication) {
4242
groupId = 'com.airbyte'
4343
artifactId = 'api'
44-
version = '0.7.1'
44+
version = '0.7.2'
4545

4646
from components.java
4747

lib/src/main/java/com/airbyte/api/Airbyte.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public class Airbyte {
3030
private com.airbyte.api.models.shared.Security _security;
3131
private String _serverUrl;
3232
private String _language = "java";
33-
private String _sdkVersion = "0.7.1";
34-
private String _genVersion = "2.26.1";
33+
private String _sdkVersion = "0.7.2";
34+
private String _genVersion = "2.26.2";
3535
/**
3636
* The Builder class allows the configuration of a new instance of the SDK.
3737
*/

lib/src/main/java/com/airbyte/api/Connections.java

+24
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ public Connections(HTTPClient defaultClient, HTTPClient securityClient, String s
3131
this._genVersion = genVersion;
3232
}
3333

34+
/**
35+
* Create a connection
36+
* @param request the request object containing all of the parameters for the API call
37+
* @return the response from the API call
38+
* @throws Exception if the API call fails
39+
*/
3440
public com.airbyte.api.models.operations.CreateConnectionResponse createConnection(com.airbyte.api.models.shared.ConnectionCreateRequest request) throws Exception {
3541
String baseUrl = this._serverUrl;
3642
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");
@@ -70,6 +76,12 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
7076
return res;
7177
}
7278

79+
/**
80+
* Delete a Connection
81+
* @param request the request object containing all of the parameters for the API call
82+
* @return the response from the API call
83+
* @throws Exception if the API call fails
84+
*/
7385
public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnection(com.airbyte.api.models.operations.DeleteConnectionRequest request) throws Exception {
7486
String baseUrl = this._serverUrl;
7587
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
@@ -96,6 +108,12 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti
96108
return res;
97109
}
98110

111+
/**
112+
* Get Connection details
113+
* @param request the request object containing all of the parameters for the API call
114+
* @return the response from the API call
115+
* @throws Exception if the API call fails
116+
*/
99117
public com.airbyte.api.models.operations.GetConnectionResponse getConnection(com.airbyte.api.models.operations.GetConnectionRequest request) throws Exception {
100118
String baseUrl = this._serverUrl;
101119
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
@@ -130,6 +148,12 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
130148
return res;
131149
}
132150

151+
/**
152+
* List connections
153+
* @param request the request object containing all of the parameters for the API call
154+
* @return the response from the API call
155+
* @throws Exception if the API call fails
156+
*/
133157
public com.airbyte.api.models.operations.ListConnectionsResponse listConnections(com.airbyte.api.models.operations.ListConnectionsRequest request) throws Exception {
134158
String baseUrl = this._serverUrl;
135159
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");

lib/src/main/java/com/airbyte/api/Destinations.java

+25
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ public Destinations(HTTPClient defaultClient, HTTPClient securityClient, String
3131
this._genVersion = genVersion;
3232
}
3333

34+
/**
35+
* Create a destination
36+
* Creates a destination given a name, workspace id, and a json blob containing the configuration for the source.
37+
* @param request the request object containing all of the parameters for the API call
38+
* @return the response from the API call
39+
* @throws Exception if the API call fails
40+
*/
3441
public com.airbyte.api.models.operations.CreateDestinationResponse createDestination(com.airbyte.api.models.shared.DestinationCreateRequest request) throws Exception {
3542
String baseUrl = this._serverUrl;
3643
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");
@@ -67,6 +74,12 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403 || httpRes.s
6774
return res;
6875
}
6976

77+
/**
78+
* Delete a Destination
79+
* @param request the request object containing all of the parameters for the API call
80+
* @return the response from the API call
81+
* @throws Exception if the API call fails
82+
*/
7083
public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestination(com.airbyte.api.models.operations.DeleteDestinationRequest request) throws Exception {
7184
String baseUrl = this._serverUrl;
7285
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
@@ -93,6 +106,12 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina
93106
return res;
94107
}
95108

109+
/**
110+
* Get Destination details
111+
* @param request the request object containing all of the parameters for the API call
112+
* @return the response from the API call
113+
* @throws Exception if the API call fails
114+
*/
96115
public com.airbyte.api.models.operations.GetDestinationResponse getDestination(com.airbyte.api.models.operations.GetDestinationRequest request) throws Exception {
97116
String baseUrl = this._serverUrl;
98117
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
@@ -127,6 +146,12 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
127146
return res;
128147
}
129148

149+
/**
150+
* List destinations
151+
* @param request the request object containing all of the parameters for the API call
152+
* @return the response from the API call
153+
* @throws Exception if the API call fails
154+
*/
130155
public com.airbyte.api.models.operations.ListDestinationsResponse listDestinations(com.airbyte.api.models.operations.ListDestinationsRequest request) throws Exception {
131156
String baseUrl = this._serverUrl;
132157
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");

lib/src/main/java/com/airbyte/api/Jobs.java

+24
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ public Jobs(HTTPClient defaultClient, HTTPClient securityClient, String serverUr
3131
this._genVersion = genVersion;
3232
}
3333

34+
/**
35+
* Cancel a running Job
36+
* @param request the request object containing all of the parameters for the API call
37+
* @return the response from the API call
38+
* @throws Exception if the API call fails
39+
*/
3440
public com.airbyte.api.models.operations.CancelJobResponse cancelJob(com.airbyte.api.models.operations.CancelJobRequest request) throws Exception {
3541
String baseUrl = this._serverUrl;
3642
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.CancelJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
@@ -65,6 +71,12 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
6571
return res;
6672
}
6773

74+
/**
75+
* Trigger a sync or reset job of a connection
76+
* @param request the request object containing all of the parameters for the API call
77+
* @return the response from the API call
78+
* @throws Exception if the API call fails
79+
*/
6880
public com.airbyte.api.models.operations.CreateJobResponse createJob(com.airbyte.api.models.shared.JobCreateRequest request) throws Exception {
6981
String baseUrl = this._serverUrl;
7082
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");
@@ -104,6 +116,12 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
104116
return res;
105117
}
106118

119+
/**
120+
* Get Job status and details
121+
* @param request the request object containing all of the parameters for the API call
122+
* @return the response from the API call
123+
* @throws Exception if the API call fails
124+
*/
107125
public com.airbyte.api.models.operations.GetJobResponse getJob(com.airbyte.api.models.operations.GetJobRequest request) throws Exception {
108126
String baseUrl = this._serverUrl;
109127
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
@@ -138,6 +156,12 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
138156
return res;
139157
}
140158

159+
/**
160+
* List Jobs by sync type
161+
* @param request the request object containing all of the parameters for the API call
162+
* @return the response from the API call
163+
* @throws Exception if the API call fails
164+
*/
141165
public com.airbyte.api.models.operations.ListJobsResponse listJobs(com.airbyte.api.models.operations.ListJobsRequest request) throws Exception {
142166
String baseUrl = this._serverUrl;
143167
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");

lib/src/main/java/com/airbyte/api/Sources.java

+36
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ public Sources(HTTPClient defaultClient, HTTPClient securityClient, String serve
3131
this._genVersion = genVersion;
3232
}
3333

34+
/**
35+
* Create a source
36+
* Creates a source given a name, workspace id, and a json blob containing the configuration for the source.
37+
* @param request the request object containing all of the parameters for the API call
38+
* @return the response from the API call
39+
* @throws Exception if the API call fails
40+
*/
3441
public com.airbyte.api.models.operations.CreateSourceResponse createSource(com.airbyte.api.models.shared.SourceCreateRequest request) throws Exception {
3542
String baseUrl = this._serverUrl;
3643
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources");
@@ -67,6 +74,12 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
6774
return res;
6875
}
6976

77+
/**
78+
* Delete a Source
79+
* @param request the request object containing all of the parameters for the API call
80+
* @return the response from the API call
81+
* @throws Exception if the API call fails
82+
*/
7083
public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.airbyte.api.models.operations.DeleteSourceRequest request) throws Exception {
7184
String baseUrl = this._serverUrl;
7285
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null);
@@ -93,6 +106,12 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a
93106
return res;
94107
}
95108

109+
/**
110+
* Get Source details
111+
* @param request the request object containing all of the parameters for the API call
112+
* @return the response from the API call
113+
* @throws Exception if the API call fails
114+
*/
96115
public com.airbyte.api.models.operations.GetSourceResponse getSource(com.airbyte.api.models.operations.GetSourceRequest request) throws Exception {
97116
String baseUrl = this._serverUrl;
98117
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null);
@@ -127,6 +146,17 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
127146
return res;
128147
}
129148

149+
/**
150+
* Initiate OAuth for a source
151+
* Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source.
152+
*
153+
* This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter.
154+
*
155+
* That secret ID can be used to create a source with credentials in place of actual tokens.
156+
* @param request the request object containing all of the parameters for the API call
157+
* @return the response from the API call
158+
* @throws Exception if the API call fails
159+
*/
130160
public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com.airbyte.api.models.shared.InitiateOauthRequest request) throws Exception {
131161
String baseUrl = this._serverUrl;
132162
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources/initiateOAuth");
@@ -158,6 +188,12 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com
158188
return res;
159189
}
160190

191+
/**
192+
* List sources
193+
* @param request the request object containing all of the parameters for the API call
194+
* @return the response from the API call
195+
* @throws Exception if the API call fails
196+
*/
161197
public com.airbyte.api.models.operations.ListSourcesResponse listSources(com.airbyte.api.models.operations.ListSourcesRequest request) throws Exception {
162198
String baseUrl = this._serverUrl;
163199
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources");

lib/src/main/java/com/airbyte/api/Streams.java

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ public Streams(HTTPClient defaultClient, HTTPClient securityClient, String serve
3030
this._genVersion = genVersion;
3131
}
3232

33+
/**
34+
* Get stream properties
35+
* @param request the request object containing all of the parameters for the API call
36+
* @return the response from the API call
37+
* @throws Exception if the API call fails
38+
*/
3339
public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamProperties(com.airbyte.api.models.operations.GetStreamPropertiesRequest request) throws Exception {
3440
String baseUrl = this._serverUrl;
3541
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/streams");

0 commit comments

Comments
 (0)