Skip to content

Commit 9812b7e

Browse files
authored
Merge pull request #68 from airbytehq/speakeasy-sdk-regen-1700006378
chore: 🐝 Update SDK - Generate
2 parents 391966e + e860c6f commit 9812b7e

File tree

11 files changed

+50
-32
lines changed

11 files changed

+50
-32
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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.44.3'
24+
implementation 'com.airbyte.api:public-api:0.45.1'
2525
```
2626
<!-- End SDK Installation -->
2727

RELEASES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,4 +851,24 @@ Based on:
851851
### Generated
852852
- [java v0.44.3] .
853853
### Releases
854-
- [Maven Central v0.44.3] https://central.sonatype.com/artifact/com.airbyte/api/0.44.3 - .
854+
- [Maven Central v0.44.3] https://central.sonatype.com/artifact/com.airbyte/api/0.44.3 - .
855+
856+
## 2023-11-14 23:59:35
857+
### Changes
858+
Based on:
859+
- OpenAPI Doc 1.0.0
860+
- Speakeasy CLI 1.120.0 (2.188.3) https://github.com/speakeasy-api/speakeasy
861+
### Generated
862+
- [java v0.45.0] .
863+
### Releases
864+
- [Maven Central v0.45.0] https://central.sonatype.com/artifact/com.airbyte/api/0.45.0 - .
865+
866+
## 2023-11-15 00:03:45
867+
### Changes
868+
Based on:
869+
- OpenAPI Doc 1.0.0
870+
- Speakeasy CLI 1.120.0 (2.188.3) https://github.com/speakeasy-api/speakeasy
871+
### Generated
872+
- [java v0.45.1] .
873+
### Releases
874+
- [Maven Central v0.45.1] https://central.sonatype.com/artifact/com.airbyte/api/0.45.1 - .

docs/models/shared/DestinationCreateRequest.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
8-
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
9-
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of name or definitionId must be provided. | |
10-
| `name` | *String* | :heavy_minus_sign: | Name of the destination type e.g. mysql. One of name or definitionId must be provided. | |
11-
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
8+
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
9+
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | |
10+
| `name` | *String* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | |
11+
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |

docs/models/shared/SourceCreateRequest.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
8-
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the source. | [object Object] |
9-
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of name or definitionId must be provided. | |
10-
| `name` | *String* | :heavy_minus_sign: | Name of the source type e.g. mysql. One of name or definitionId must be provided. | |
11-
| `secretId` | *String* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | |
12-
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
8+
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the source. | [object Object] |
9+
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | |
10+
| `name` | *String* | :heavy_check_mark: | Name of the source e.g. dev-mysql-instance. | |
11+
| `secretId` | *String* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | |
12+
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |

docs/sdks/destinations/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ public class Application {
3636
}})
3737
.build();
3838

39-
com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest("string", "8360860a-d46e-48e6-af62-08e5ba5019ef"){{
39+
com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest("string", "string", "8360860a-d46e-48e6-af62-08e5ba5019ef"){{
4040
definitionId = "3492fc0e-ef56-45b0-b0c7-3d4dfc9aec3c";
41-
name = "string";
4241
}};
4342

4443
CreateDestinationResponse res = sdk.destinations.createDestination(req);

docs/sdks/sources/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ public class Application {
3737
}})
3838
.build();
3939

40-
com.airbyte.api.models.shared.SourceCreateRequest req = new SourceCreateRequest("string", "a2cf0f31-f3dd-4c98-88c3-4bdfb109056a"){{
40+
com.airbyte.api.models.shared.SourceCreateRequest req = new SourceCreateRequest("string", "string", "a2cf0f31-f3dd-4c98-88c3-4bdfb109056a"){{
4141
definitionId = "a6d6dedf-297b-4eb8-860e-3afe15240dda";
42-
name = "string";
4342
secretId = "string";
4443
}};
4544

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 0a67114cdc878ccfed29fbe00f4f928f
3+
docChecksum: 8f62e207fcdebe72da7eb9c7525220b5
44
docVersion: 1.0.0
55
speakeasyVersion: 1.120.0
66
generationVersion: 2.188.3
@@ -16,7 +16,7 @@ features:
1616
globalSecurity: 2.81.1
1717
globalServerURLs: 2.82.0
1818
java:
19-
version: 0.44.3
19+
version: 0.45.1
2020
artifactID: api
2121
companyEmail: [email protected]
2222
companyName: Airbyte

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ publishing {
5656
maven(MavenPublication) {
5757
groupId = 'com.airbyte'
5858
artifactId = 'api'
59-
version = '0.44.3'
59+
version = '0.45.1'
6060

6161
from components.java
6262

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class SDKConfiguration {
1515
public int serverIdx = 0;
1616
public String language = "java";
1717
public String openapiDocVersion = "1.0.0";
18-
public String sdkVersion = "0.44.3";
18+
public String sdkVersion = "0.45.1";
1919
public String genVersion = "2.188.3";
20-
public String userAgent = "speakeasy-sdk/java 0.44.3 2.188.3 1.0.0 <no value>";
20+
public String userAgent = "speakeasy-sdk/java 0.45.1 2.188.3 1.0.0 <no value>";
2121

2222

2323
}

lib/src/main/java/com/airbyte/api/models/shared/DestinationCreateRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public DestinationCreateRequest withConfiguration(Object configuration) {
2222
}
2323

2424
/**
25-
* The UUID of the connector definition. One of name or definitionId must be provided.
25+
* The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided.
2626
*/
2727
@JsonInclude(Include.NON_ABSENT)
2828
@JsonProperty("definitionId")
@@ -34,9 +34,8 @@ public DestinationCreateRequest withDefinitionId(String definitionId) {
3434
}
3535

3636
/**
37-
* Name of the destination type e.g. mysql. One of name or definitionId must be provided.
37+
* Name of the destination e.g. dev-mysql-instance.
3838
*/
39-
@JsonInclude(Include.NON_ABSENT)
4039
@JsonProperty("name")
4140
public String name;
4241

@@ -53,8 +52,9 @@ public DestinationCreateRequest withWorkspaceId(String workspaceId) {
5352
return this;
5453
}
5554

56-
public DestinationCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("workspaceId") String workspaceId) {
55+
public DestinationCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) {
5756
this.configuration = configuration;
57+
this.name = name;
5858
this.workspaceId = workspaceId;
5959
}
6060
}

lib/src/main/java/com/airbyte/api/models/shared/SourceCreateRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public SourceCreateRequest withConfiguration(Object configuration) {
2222
}
2323

2424
/**
25-
* The UUID of the connector definition. One of name or definitionId must be provided.
25+
* The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided.
2626
*/
2727
@JsonInclude(Include.NON_ABSENT)
2828
@JsonProperty("definitionId")
@@ -34,9 +34,8 @@ public SourceCreateRequest withDefinitionId(String definitionId) {
3434
}
3535

3636
/**
37-
* Name of the source type e.g. mysql. One of name or definitionId must be provided.
37+
* Name of the source e.g. dev-mysql-instance.
3838
*/
39-
@JsonInclude(Include.NON_ABSENT)
4039
@JsonProperty("name")
4140
public String name;
4241

@@ -65,8 +64,9 @@ public SourceCreateRequest withWorkspaceId(String workspaceId) {
6564
return this;
6665
}
6766

68-
public SourceCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("workspaceId") String workspaceId) {
67+
public SourceCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) {
6968
this.configuration = configuration;
69+
this.name = name;
7070
this.workspaceId = workspaceId;
7171
}
7272
}

0 commit comments

Comments
 (0)