Skip to content

Commit

Permalink
Merge pull request #68 from airbytehq/speakeasy-sdk-regen-1700006378
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
terencecho authored Nov 15, 2023
2 parents 391966e + e860c6f commit 9812b7e
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 32 deletions.
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.44.3'
implementation 'com.airbyte.api:public-api:0.45.1'
```
<!-- End SDK Installation -->

Expand Down
22 changes: 21 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,4 +851,24 @@ Based on:
### Generated
- [java v0.44.3] .
### Releases
- [Maven Central v0.44.3] https://central.sonatype.com/artifact/com.airbyte/api/0.44.3 - .
- [Maven Central v0.44.3] https://central.sonatype.com/artifact/com.airbyte/api/0.44.3 - .

## 2023-11-14 23:59:35
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.120.0 (2.188.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.45.0] .
### Releases
- [Maven Central v0.45.0] https://central.sonatype.com/artifact/com.airbyte/api/0.45.0 - .

## 2023-11-15 00:03:45
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.120.0 (2.188.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.45.1] .
### Releases
- [Maven Central v0.45.1] https://central.sonatype.com/artifact/com.airbyte/api/0.45.1 - .
12 changes: 6 additions & 6 deletions docs/models/shared/DestinationCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of name or definitionId must be provided. | |
| `name` | *String* | :heavy_minus_sign: | Name of the destination type e.g. mysql. One of name or definitionId must be provided. | |
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | |
| `name` | *String* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | |
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
14 changes: 7 additions & 7 deletions docs/models/shared/SourceCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the source. | [object Object] |
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of name or definitionId must be provided. | |
| `name` | *String* | :heavy_minus_sign: | Name of the source type e.g. mysql. One of name or definitionId must be provided. | |
| `secretId` | *String* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | |
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the source. | [object Object] |
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. | |
| `name` | *String* | :heavy_check_mark: | Name of the source e.g. dev-mysql-instance. | |
| `secretId` | *String* | :heavy_minus_sign: | Optional secretID obtained through the public API OAuth redirect flow. | |
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |
3 changes: 1 addition & 2 deletions docs/sdks/destinations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ public class Application {
}})
.build();

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

CreateDestinationResponse res = sdk.destinations.createDestination(req);
Expand Down
3 changes: 1 addition & 2 deletions docs/sdks/sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ public class Application {
}})
.build();

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

Expand Down
4 changes: 2 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
configVersion: 1.0.0
management:
docChecksum: 0a67114cdc878ccfed29fbe00f4f928f
docChecksum: 8f62e207fcdebe72da7eb9c7525220b5
docVersion: 1.0.0
speakeasyVersion: 1.120.0
generationVersion: 2.188.3
Expand All @@ -16,7 +16,7 @@ features:
globalSecurity: 2.81.1
globalServerURLs: 2.82.0
java:
version: 0.44.3
version: 0.45.1
artifactID: api
companyEmail: [email protected]
companyName: Airbyte
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.airbyte'
artifactId = 'api'
version = '0.44.3'
version = '0.45.1'

from components.java

Expand Down
4 changes: 2 additions & 2 deletions lib/src/main/java/com/airbyte/api/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class SDKConfiguration {
public int serverIdx = 0;
public String language = "java";
public String openapiDocVersion = "1.0.0";
public String sdkVersion = "0.44.3";
public String sdkVersion = "0.45.1";
public String genVersion = "2.188.3";
public String userAgent = "speakeasy-sdk/java 0.44.3 2.188.3 1.0.0 <no value>";
public String userAgent = "speakeasy-sdk/java 0.45.1 2.188.3 1.0.0 <no value>";


}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public DestinationCreateRequest withConfiguration(Object configuration) {
}

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

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

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

public DestinationCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("workspaceId") String workspaceId) {
public DestinationCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) {
this.configuration = configuration;
this.name = name;
this.workspaceId = workspaceId;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public SourceCreateRequest withConfiguration(Object configuration) {
}

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

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

Expand Down Expand Up @@ -65,8 +64,9 @@ public SourceCreateRequest withWorkspaceId(String workspaceId) {
return this;
}

public SourceCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("workspaceId") String workspaceId) {
public SourceCreateRequest(@JsonProperty("configuration") Object configuration, @JsonProperty("name") String name, @JsonProperty("workspaceId") String workspaceId) {
this.configuration = configuration;
this.name = name;
this.workspaceId = workspaceId;
}
}

0 comments on commit 9812b7e

Please sign in to comment.