Skip to content

Commit 64b5b17

Browse files
authored
Merge pull request #28 from airbytehq/speakeasy-sdk-regen-1684260440
chore: speakeasy sdk regeneration - Generate
2 parents 7729dd7 + 8aa8e91 commit 64b5b17

Some content is hidden

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

51 files changed

+937
-298
lines changed

README.md

+10-6
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.9.0'
24+
implementation 'com.airbyte.api:public-api:0.11.0'
2525
```
2626
<!-- End SDK Installation -->
2727

@@ -33,10 +33,11 @@ package hello.world;
3333
import com.airbyte.api.Airbyte;
3434
import com.airbyte.api.models.operations.CreateConnectionResponse;
3535
import com.airbyte.api.models.shared.ConnectionCreateRequest;
36-
import com.airbyte.api.models.shared.ConnectionCreateRequestNamespaceDefinitionEnum;
3736
import com.airbyte.api.models.shared.ConnectionScheduleCreate;
3837
import com.airbyte.api.models.shared.ConnectionSyncModeEnumEnum;
3938
import com.airbyte.api.models.shared.GeographyEnumEnum;
39+
import com.airbyte.api.models.shared.NamespaceDefinitionEnumEnum;
40+
import com.airbyte.api.models.shared.NonBreakingSchemaUpdatesBehaviorEnumEnum;
4041
import com.airbyte.api.models.shared.ScheduleTypeEnumEnum;
4142
import com.airbyte.api.models.shared.Security;
4243
import com.airbyte.api.models.shared.StreamConfiguration;
@@ -119,11 +120,12 @@ public class Application {
119120
}};;
120121
dataResidency = GeographyEnumEnum.US;
121122
name = "Kayla O'Kon";
122-
namespaceDefinition = ConnectionCreateRequestNamespaceDefinitionEnum.CUSTOM_FORMAT;
123+
namespaceDefinition = NamespaceDefinitionEnumEnum.CUSTOM_FORMAT;
123124
namespaceFormat = "${SOURCE_NAMESPACE}";
124-
prefix = "sequi";
125-
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.CRON) {{
126-
cronExpression = "ipsam";
125+
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnumEnum.IGNORE;
126+
prefix = "tenetur";
127+
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.MANUAL) {{
128+
cronExpression = "id";
127129
}};;
128130
}};
129131

@@ -181,8 +183,10 @@ public class Application {
181183

182184
* [createOrUpdateWorkspaceOAuthCredentials](docs/workspaces/README.md#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type.
183185
* [createWorkspace](docs/workspaces/README.md#createworkspace) - Create a workspace
186+
* [deleteWorkspace](docs/workspaces/README.md#deleteworkspace) - Delete a Workspace
184187
* [getWorkspace](docs/workspaces/README.md#getworkspace) - Get Workspace details
185188
* [listWorkspaces](docs/workspaces/README.md#listworkspaces) - List workspaces
189+
* [updateWorkspace](docs/workspaces/README.md#updateworkspace) - Update a workspace
186190
<!-- End SDK Available Operations -->
187191

188192
### Maturity

RELEASES.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,20 @@ Based on:
271271
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
272272
- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy
273273
### Releases
274-
- [Maven Central v0.9.0] https://central.sonatype.com/artifact/com.airbyte/api/0.9.0 - .
274+
- [Maven Central v0.9.0] https://central.sonatype.com/artifact/com.airbyte/api/0.9.0 - .
275+
276+
## 2023-05-16 18:07:18
277+
### Changes
278+
Based on:
279+
- OpenAPI Doc 1.0.0
280+
- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy
281+
### Releases
282+
- [Maven Central v0.10.0] https://central.sonatype.com/artifact/com.airbyte/api/0.10.0 - .
283+
284+
## 2023-05-18 00:11:51
285+
### Changes
286+
Based on:
287+
- OpenAPI Doc 1.0.0
288+
- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy
289+
### Releases
290+
- [Maven Central v0.11.0] https://central.sonatype.com/artifact/com.airbyte/api/0.11.0 - .

USAGE.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ package hello.world;
55
import com.airbyte.api.Airbyte;
66
import com.airbyte.api.models.operations.CreateConnectionResponse;
77
import com.airbyte.api.models.shared.ConnectionCreateRequest;
8-
import com.airbyte.api.models.shared.ConnectionCreateRequestNamespaceDefinitionEnum;
98
import com.airbyte.api.models.shared.ConnectionScheduleCreate;
109
import com.airbyte.api.models.shared.ConnectionSyncModeEnumEnum;
1110
import com.airbyte.api.models.shared.GeographyEnumEnum;
11+
import com.airbyte.api.models.shared.NamespaceDefinitionEnumEnum;
12+
import com.airbyte.api.models.shared.NonBreakingSchemaUpdatesBehaviorEnumEnum;
1213
import com.airbyte.api.models.shared.ScheduleTypeEnumEnum;
1314
import com.airbyte.api.models.shared.Security;
1415
import com.airbyte.api.models.shared.StreamConfiguration;
@@ -91,11 +92,12 @@ public class Application {
9192
}};;
9293
dataResidency = GeographyEnumEnum.US;
9394
name = "Kayla O'Kon";
94-
namespaceDefinition = ConnectionCreateRequestNamespaceDefinitionEnum.CUSTOM_FORMAT;
95+
namespaceDefinition = NamespaceDefinitionEnumEnum.CUSTOM_FORMAT;
9596
namespaceFormat = "${SOURCE_NAMESPACE}";
96-
prefix = "sequi";
97-
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.CRON) {{
98-
cronExpression = "ipsam";
97+
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnumEnum.IGNORE;
98+
prefix = "tenetur";
99+
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.MANUAL) {{
100+
cronExpression = "id";
99101
}};;
100102
}};
101103

docs/connections/README.md

+44-27
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ package hello.world;
1919
import com.airbyte.api.Airbyte;
2020
import com.airbyte.api.models.operations.CreateConnectionResponse;
2121
import com.airbyte.api.models.shared.ConnectionCreateRequest;
22-
import com.airbyte.api.models.shared.ConnectionCreateRequestNamespaceDefinitionEnum;
2322
import com.airbyte.api.models.shared.ConnectionScheduleCreate;
2423
import com.airbyte.api.models.shared.ConnectionSyncModeEnumEnum;
2524
import com.airbyte.api.models.shared.GeographyEnumEnum;
25+
import com.airbyte.api.models.shared.NamespaceDefinitionEnumEnum;
26+
import com.airbyte.api.models.shared.NonBreakingSchemaUpdatesBehaviorEnumEnum;
2627
import com.airbyte.api.models.shared.ScheduleTypeEnumEnum;
2728
import com.airbyte.api.models.shared.Security;
2829
import com.airbyte.api.models.shared.StreamConfiguration;
@@ -32,41 +33,56 @@ public class Application {
3233
public static void main(String[] args) {
3334
try {
3435
Airbyte sdk = Airbyte.builder()
35-
.setSecurity(new Security("id") {{
36+
.setSecurity(new Security("possimus") {{
3637
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
3738
}})
3839
.build();
3940

40-
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("d019da1f-fe78-4f09-bb00-74f15471b5e6", "e13b99d4-88e1-4e91-a450-ad2abd442698") {{
41+
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("019da1ff-e78f-4097-b007-4f15471b5e6e", "13b99d48-8e1e-491e-850a-d2abd4426980") {{
4142
configurations = new StreamConfigurations() {{
4243
streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{
43-
add(new StreamConfiguration("aliquid") {{
44+
add(new StreamConfiguration("rerum") {{
4445
cursorField = new String[]{{
45-
add("assumenda"),
46+
add("ipsam"),
47+
add("alias"),
48+
add("fugit"),
49+
add("dolorum"),
4650
}};
47-
name = "Linda Corkery";
51+
name = "Eddie Prosacco";
4852
primaryKey = new String[][]{{
49-
add(new String[]{{
50-
add("tempore"),
51-
add("labore"),
52-
add("delectus"),
53-
}}),
5453
add(new String[]{{
5554
add("non"),
5655
add("eligendi"),
5756
}}),
57+
add(new String[]{{
58+
add("aliquid"),
59+
add("provident"),
60+
add("necessitatibus"),
61+
}}),
62+
add(new String[]{{
63+
add("officia"),
64+
add("dolor"),
65+
add("debitis"),
66+
}}),
67+
add(new String[]{{
68+
add("dolorum"),
69+
add("in"),
70+
add("in"),
71+
add("illum"),
72+
}}),
5873
}};
59-
syncMode = ConnectionSyncModeEnumEnum.INCREMENTAL_APPEND;
74+
syncMode = ConnectionSyncModeEnumEnum.INCREMENTAL_DEDUPED_HISTORY;
6075
}}),
6176
}};
6277
}};;
63-
dataResidency = GeographyEnumEnum.US;
64-
name = "Perry Nikolaus";
65-
namespaceDefinition = ConnectionCreateRequestNamespaceDefinitionEnum.CUSTOM_FORMAT;
78+
dataResidency = GeographyEnumEnum.AUTO;
79+
name = "Blanca Schulist";
80+
namespaceDefinition = NamespaceDefinitionEnumEnum.CUSTOM_FORMAT;
6681
namespaceFormat = "${SOURCE_NAMESPACE}";
67-
prefix = "dolorum";
68-
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.MANUAL) {{
69-
cronExpression = "in";
82+
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnumEnum.DISABLE_CONNECTION;
83+
prefix = "non";
84+
schedule = new ConnectionScheduleCreate(ScheduleTypeEnumEnum.CRON) {{
85+
cronExpression = "enim";
7086
}};;
7187
}};
7288

@@ -100,12 +116,12 @@ public class Application {
100116
public static void main(String[] args) {
101117
try {
102118
Airbyte sdk = Airbyte.builder()
103-
.setSecurity(new Security("illum") {{
119+
.setSecurity(new Security("accusamus") {{
104120
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
105121
}})
106122
.build();
107123

108-
DeleteConnectionRequest req = new DeleteConnectionRequest("maiores");
124+
DeleteConnectionRequest req = new DeleteConnectionRequest("delectus");
109125

110126
DeleteConnectionResponse res = sdk.connections.deleteConnection(req);
111127

@@ -137,12 +153,12 @@ public class Application {
137153
public static void main(String[] args) {
138154
try {
139155
Airbyte sdk = Airbyte.builder()
140-
.setSecurity(new Security("rerum") {{
156+
.setSecurity(new Security("quidem") {{
141157
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
142158
}})
143159
.build();
144160

145-
GetConnectionRequest req = new GetConnectionRequest("dicta");
161+
GetConnectionRequest req = new GetConnectionRequest("provident");
146162

147163
GetConnectionResponse res = sdk.connections.getConnection(req);
148164

@@ -174,18 +190,19 @@ public class Application {
174190
public static void main(String[] args) {
175191
try {
176192
Airbyte sdk = Airbyte.builder()
177-
.setSecurity(new Security("magnam") {{
193+
.setSecurity(new Security("nam") {{
178194
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
179195
}})
180196
.build();
181197

182198
ListConnectionsRequest req = new ListConnectionsRequest() {{
183199
includeDeleted = false;
184-
limit = 767024;
185-
offset = 813798;
200+
limit = 659669;
201+
offset = 501324;
186202
workspaceIds = new String[]{{
187-
add("6ae395ef-b9ba-488f-ba66-997074ba4469"),
188-
add("b6e21419-5989-40af-a563-e2516fe4c8b7"),
203+
add("f3a66997-074b-4a44-a9b6-e2141959890a"),
204+
add("fa563e25-16fe-44c8-b711-e5b7fd2ed028"),
205+
add("921cddc6-9260-41fb-976b-0d5f0d30c5fb"),
189206
}};
190207
}};
191208

docs/destinations/README.md

+22-36
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ import com.airbyte.api.models.shared.DestinationClickhouseTunnelMethodSSHKeyAuth
7676
import com.airbyte.api.models.shared.DestinationConvex;
7777
import com.airbyte.api.models.shared.DestinationConvexConvexEnum;
7878
import com.airbyte.api.models.shared.DestinationCreateRequest;
79+
import com.airbyte.api.models.shared.DestinationCumulio;
80+
import com.airbyte.api.models.shared.DestinationCumulioCumulioEnum;
7981
import com.airbyte.api.models.shared.DestinationDatabend;
8082
import com.airbyte.api.models.shared.DestinationDatabendDatabendEnum;
8183
import com.airbyte.api.models.shared.DestinationDatabricks;
@@ -325,8 +327,6 @@ import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3Stagi
325327
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingEncryptionNoEncryptionEncryptionTypeEnum;
326328
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingMethodEnum;
327329
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAWSS3StagingS3BucketRegionEnum;
328-
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAzureBlobStorageStaging;
329-
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodAzureBlobStorageStagingMethodEnum;
330330
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStaging;
331331
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodGoogleCloudStorageStagingMethodEnum;
332332
import com.airbyte.api.models.shared.DestinationSnowflakeLoadingMethodRecommendedInternalStaging;
@@ -342,35 +342,23 @@ public class Application {
342342
public static void main(String[] args) {
343343
try {
344344
Airbyte sdk = Airbyte.builder()
345-
.setSecurity(new Security("architecto") {{
345+
.setSecurity(new Security("nobis") {{
346346
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
347347
}})
348348
.build();
349349

350-
com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest( new DestinationBigquery("excepturi", DestinationBigqueryDatasetLocationEnum.ASIA_NORTHEAST2, DestinationBigqueryBigqueryEnum.BIGQUERY, "ea") {{
351-
bigQueryClientBufferSizeMb = 919483L;
352-
credentialsJson = "ullam";
353-
datasetId = "expedita";
354-
datasetLocation = DestinationBigqueryDatasetLocationEnum.EUROPE_WEST2;
355-
destinationType = DestinationBigqueryBigqueryEnum.BIGQUERY;
356-
loadingMethod = new DestinationBigqueryLoadingMethodGCSStaging( new DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey(DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.HMAC_KEY, "sunt", "quo") {{
357-
credentialType = DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.HMAC_KEY;
358-
hmacKeyAccessId = "natus";
359-
hmacKeySecret = "magni";
360-
}}, "illum", "pariatur", DestinationBigqueryLoadingMethodGCSStagingMethodEnum.GCS_STAGING) {{
361-
credential = new DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKey(DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.HMAC_KEY, "saepe", "pariatur") {{
362-
credentialType = DestinationBigqueryLoadingMethodGCSStagingCredentialHMACKeyCredentialTypeEnum.HMAC_KEY;
363-
hmacKeyAccessId = "quibusdam";
364-
hmacKeySecret = "sed";
365-
}};
366-
gcsBucketName = "accusantium";
367-
gcsBucketPath = "consequuntur";
368-
keepFilesInGcsBucket = DestinationBigqueryLoadingMethodGCSStagingGCSTmpFilesAfterwardProcessingEnum.KEEP_ALL_TMP_FILES_IN_GCS;
369-
method = DestinationBigqueryLoadingMethodGCSStagingMethodEnum.GCS_STAGING;
350+
com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest( new DestinationClickhouse("quam", DestinationClickhouseClickhouseEnum.CLICKHOUSE, "dolor", 874573L, "nostrum") {{
351+
database = "quis";
352+
destinationType = DestinationClickhouseClickhouseEnum.CLICKHOUSE;
353+
host = "totam";
354+
jdbcUrlParams = "dignissimos";
355+
password = "eaque";
356+
port = 338985L;
357+
tunnelMethod = new DestinationClickhouseTunnelMethodNoTunnel(DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.NO_TUNNEL) {{
358+
tunnelMethod = DestinationClickhouseTunnelMethodNoTunnelTunnelMethodEnum.NO_TUNNEL;
370359
}};
371-
projectId = "maxime";
372-
transformationPriority = DestinationBigqueryTransformationQueryRunTypeEnum.INTERACTIVE;
373-
}}, "accusantium", "1fb576b0-d5f0-4d30-85fb-b2587053202c");
360+
username = "Chelsea79";
361+
}}, "hic", "e9b90c28-909b-43fe-89a8-d9cbf4863332");
374362

375363
CreateDestinationResponse res = sdk.destinations.createDestination(req);
376364

@@ -402,12 +390,12 @@ public class Application {
402390
public static void main(String[] args) {
403391
try {
404392
Airbyte sdk = Airbyte.builder()
405-
.setSecurity(new Security("quam") {{
393+
.setSecurity(new Security("ipsum") {{
406394
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
407395
}})
408396
.build();
409397

410-
DeleteDestinationRequest req = new DeleteDestinationRequest("dolor");
398+
DeleteDestinationRequest req = new DeleteDestinationRequest("hic");
411399

412400
DeleteDestinationResponse res = sdk.destinations.deleteDestination(req);
413401

@@ -439,12 +427,12 @@ public class Application {
439427
public static void main(String[] args) {
440428
try {
441429
Airbyte sdk = Airbyte.builder()
442-
.setSecurity(new Security("vero") {{
430+
.setSecurity(new Security("excepturi") {{
443431
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
444432
}})
445433
.build();
446434

447-
GetDestinationRequest req = new GetDestinationRequest("nostrum");
435+
GetDestinationRequest req = new GetDestinationRequest("cum");
448436

449437
GetDestinationResponse res = sdk.destinations.getDestination(req);
450438

@@ -476,19 +464,17 @@ public class Application {
476464
public static void main(String[] args) {
477465
try {
478466
Airbyte sdk = Airbyte.builder()
479-
.setSecurity(new Security("hic") {{
467+
.setSecurity(new Security("voluptate") {{
480468
bearerAuth = "YOUR_BEARER_TOKEN_HERE";
481469
}})
482470
.build();
483471

484472
ListDestinationsRequest req = new ListDestinationsRequest() {{
485473
includeDeleted = false;
486-
limit = 928082;
487-
offset = 608253;
474+
limit = 490459;
475+
offset = 970237;
488476
workspaceIds = new String[]{{
489-
add("90c28909-b3fe-449a-8d9c-bf48633323f9"),
490-
add("b77f3a41-0067-44eb-b692-80d1ba77a89e"),
491-
add("bf737ae4-203c-4e5e-aa95-d8a0d446ce2a"),
477+
add("a4100674-ebf6-4928-8d1b-a77a89ebf737"),
492478
}};
493479
}};
494480

0 commit comments

Comments
 (0)