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
610 changes: 339 additions & 271 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.289.0
speakeasyVersion: 1.291.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:e2938740e6abed08a354142314cefb69fcd49c3745c84c348f66eb69f0073d9d
sourceBlobDigest: sha256:3434f26a0b6a2b11edcca0817eac6ab6c26bef5c026c80e6125073a6e719933b
sourceRevisionDigest: sha256:f30dd93c1451c32647ed528bfe75a845852a4626ef075f25fef425ef5e6418c7
sourceBlobDigest: sha256:a156e20e873eee6682ba598d7a347db8c8bb1a8d0a6116b1bb5162d6531df49b
tags:
- latest
- main
targets:
airbyte-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:e2938740e6abed08a354142314cefb69fcd49c3745c84c348f66eb69f0073d9d
sourceBlobDigest: sha256:3434f26a0b6a2b11edcca0817eac6ab6c26bef5c026c80e6125073a6e719933b
sourceRevisionDigest: sha256:f30dd93c1451c32647ed528bfe75a845852a4626ef075f25fef425ef5e6418c7
sourceBlobDigest: sha256:a156e20e873eee6682ba598d7a347db8c8bb1a8d0a6116b1bb5162d6531df49b
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
102 changes: 13 additions & 89 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.airbyte.api:public-api:1.1.0'
implementation 'com.airbyte.api:public-api:1.2.0'
```

Maven:
```xml
<dependency>
<groupId>com.airbyte.api</groupId>
<artifactId>public-api</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
</dependency>
```

Expand Down Expand Up @@ -90,7 +90,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand All @@ -112,47 +112,6 @@ public class Application {
<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

### [publicConnections()](docs/sdks/publicconnections/README.md)

* [createConnection](docs/sdks/publicconnections/README.md#createconnection) - Create a connection
* [deleteConnection](docs/sdks/publicconnections/README.md#deleteconnection) - Delete a Connection
* [getConnection](docs/sdks/publicconnections/README.md#getconnection) - Get Connection details
* [listConnections](docs/sdks/publicconnections/README.md#listconnections) - List connections
* [patchConnection](docs/sdks/publicconnections/README.md#patchconnection) - Update Connection details

### [public_()](docs/sdks/public/README.md)

* [cancelJob](docs/sdks/public/README.md#canceljob) - Cancel a running Job
* [createConnection](docs/sdks/public/README.md#createconnection) - Create a connection
* [createDestination](docs/sdks/public/README.md#createdestination) - Create a destination
* [createJob](docs/sdks/public/README.md#createjob) - Trigger a sync or reset job of a connection
* [createOrUpdateWorkspaceOAuthCredentials](docs/sdks/public/README.md#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type.
* [createPermission](docs/sdks/public/README.md#createpermission) - Create a permission
* [createSource](docs/sdks/public/README.md#createsource) - Create a source
* [createWorkspace](docs/sdks/public/README.md#createworkspace) - Create a workspace
* [deleteConnection](docs/sdks/public/README.md#deleteconnection) - Delete a Connection
* [deleteDestination](docs/sdks/public/README.md#deletedestination) - Delete a Destination
* [deleteSource](docs/sdks/public/README.md#deletesource) - Delete a Source
* [deleteWorkspace](docs/sdks/public/README.md#deleteworkspace) - Delete a Workspace
* [getConnection](docs/sdks/public/README.md#getconnection) - Get Connection details
* [getDestination](docs/sdks/public/README.md#getdestination) - Get Destination details
* [getJob](docs/sdks/public/README.md#getjob) - Get Job status and details
* [getSource](docs/sdks/public/README.md#getsource) - Get Source details
* [getStreamProperties](docs/sdks/public/README.md#getstreamproperties) - Get stream properties
* [getWorkspace](docs/sdks/public/README.md#getworkspace) - Get Workspace details
* [initiateOAuth](docs/sdks/public/README.md#initiateoauth) - Initiate OAuth for a source
* [listConnections](docs/sdks/public/README.md#listconnections) - List connections
* [listDestinations](docs/sdks/public/README.md#listdestinations) - List destinations
* [listJobs](docs/sdks/public/README.md#listjobs) - List Jobs by sync type
* [listSources](docs/sdks/public/README.md#listsources) - List sources
* [listWorkspaces](docs/sdks/public/README.md#listworkspaces) - List workspaces
* [patchConnection](docs/sdks/public/README.md#patchconnection) - Update Connection details
* [patchDestination](docs/sdks/public/README.md#patchdestination) - Update a Destination
* [patchSource](docs/sdks/public/README.md#patchsource) - Update a Source
* [putDestination](docs/sdks/public/README.md#putdestination) - Update a Destination and fully overwrite it
* [putSource](docs/sdks/public/README.md#putsource) - Update a Source and fully overwrite it
* [updateWorkspace](docs/sdks/public/README.md#updateworkspace) - Update a workspace

### [connections()](docs/sdks/connections/README.md)

* [createConnection](docs/sdks/connections/README.md#createconnection) - Create a connection
Expand All @@ -161,15 +120,6 @@ public class Application {
* [listConnections](docs/sdks/connections/README.md#listconnections) - List connections
* [patchConnection](docs/sdks/connections/README.md#patchconnection) - Update Connection details

### [publicDestinations()](docs/sdks/publicdestinations/README.md)

* [createDestination](docs/sdks/publicdestinations/README.md#createdestination) - Create a destination
* [deleteDestination](docs/sdks/publicdestinations/README.md#deletedestination) - Delete a Destination
* [getDestination](docs/sdks/publicdestinations/README.md#getdestination) - Get Destination details
* [listDestinations](docs/sdks/publicdestinations/README.md#listdestinations) - List destinations
* [patchDestination](docs/sdks/publicdestinations/README.md#patchdestination) - Update a Destination
* [putDestination](docs/sdks/publicdestinations/README.md#putdestination) - Update a Destination and fully overwrite it

### [destinations()](docs/sdks/destinations/README.md)

* [createDestination](docs/sdks/destinations/README.md#createdestination) - Create a destination
Expand All @@ -179,12 +129,9 @@ public class Application {
* [patchDestination](docs/sdks/destinations/README.md#patchdestination) - Update a Destination
* [putDestination](docs/sdks/destinations/README.md#putdestination) - Update a Destination and fully overwrite it

### [publicJobs()](docs/sdks/publicjobs/README.md)
### [health()](docs/sdks/health/README.md)

* [cancelJob](docs/sdks/publicjobs/README.md#canceljob) - Cancel a running Job
* [createJob](docs/sdks/publicjobs/README.md#createjob) - Trigger a sync or reset job of a connection
* [getJob](docs/sdks/publicjobs/README.md#getjob) - Get Job status and details
* [listJobs](docs/sdks/publicjobs/README.md#listjobs) - List Jobs by sync type
* [getHealthCheck](docs/sdks/health/README.md#gethealthcheck) - Health Check

### [jobs()](docs/sdks/jobs/README.md)

Expand All @@ -193,23 +140,13 @@ public class Application {
* [getJob](docs/sdks/jobs/README.md#getjob) - Get Job status and details
* [listJobs](docs/sdks/jobs/README.md#listjobs) - List Jobs by sync type

### [publicPermissions()](docs/sdks/publicpermissions/README.md)

* [createPermission](docs/sdks/publicpermissions/README.md#createpermission) - Create a permission

### [permissions()](docs/sdks/permissions/README.md)

* [createPermission](docs/sdks/permissions/README.md#createpermission) - Create a permission

### [publicSources()](docs/sdks/publicsources/README.md)

* [createSource](docs/sdks/publicsources/README.md#createsource) - Create a source
* [deleteSource](docs/sdks/publicsources/README.md#deletesource) - Delete a Source
* [getSource](docs/sdks/publicsources/README.md#getsource) - Get Source details
* [initiateOAuth](docs/sdks/publicsources/README.md#initiateoauth) - Initiate OAuth for a source
* [listSources](docs/sdks/publicsources/README.md#listsources) - List sources
* [patchSource](docs/sdks/publicsources/README.md#patchsource) - Update a Source
* [putSource](docs/sdks/publicsources/README.md#putsource) - Update a Source and fully overwrite it
* [deletePermission](docs/sdks/permissions/README.md#deletepermission) - Delete a Permission
* [getPermission](docs/sdks/permissions/README.md#getpermission) - Get Permission details
* [listPermissions](docs/sdks/permissions/README.md#listpermissions) - List Permissions by user id
* [updatePermission](docs/sdks/permissions/README.md#updatepermission) - Update a permission

### [sources()](docs/sdks/sources/README.md)

Expand All @@ -221,23 +158,10 @@ public class Application {
* [patchSource](docs/sdks/sources/README.md#patchsource) - Update a Source
* [putSource](docs/sdks/sources/README.md#putsource) - Update a Source and fully overwrite it

### [publicStreams()](docs/sdks/publicstreams/README.md)

* [getStreamProperties](docs/sdks/publicstreams/README.md#getstreamproperties) - Get stream properties

### [streams()](docs/sdks/streams/README.md)

* [getStreamProperties](docs/sdks/streams/README.md#getstreamproperties) - Get stream properties

### [publicWorkspaces()](docs/sdks/publicworkspaces/README.md)

* [createOrUpdateWorkspaceOAuthCredentials](docs/sdks/publicworkspaces/README.md#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type.
* [createWorkspace](docs/sdks/publicworkspaces/README.md#createworkspace) - Create a workspace
* [deleteWorkspace](docs/sdks/publicworkspaces/README.md#deleteworkspace) - Delete a Workspace
* [getWorkspace](docs/sdks/publicworkspaces/README.md#getworkspace) - Get Workspace details
* [listWorkspaces](docs/sdks/publicworkspaces/README.md#listworkspaces) - List workspaces
* [updateWorkspace](docs/sdks/publicworkspaces/README.md#updateworkspace) - Update a workspace

### [workspaces()](docs/sdks/workspaces/README.md)

* [createOrUpdateWorkspaceOAuthCredentials](docs/sdks/workspaces/README.md#createorupdateworkspaceoauthcredentials) - Create OAuth override credentials for a workspace and source type.
Expand Down Expand Up @@ -298,7 +222,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand Down Expand Up @@ -355,7 +279,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand Down Expand Up @@ -419,7 +343,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand Down Expand Up @@ -486,7 +410,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1031,4 +1031,14 @@ Based on:
### Generated
- [java v1.1.0] .
### Releases
- [Maven Central v1.1.0] https://central.sonatype.com/artifact/com.airbyte/api/1.1.0 - .
- [Maven Central v1.1.0] https://central.sonatype.com/artifact/com.airbyte/api/1.1.0 - .

## 2024-05-15 22:25:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.291.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v1.2.0] .
### Releases
- [Maven Central v1.2.0] https://central.sonatype.com/artifact/com.airbyte/api/1.2.0 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Application {
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.publicConnections().createConnection()
CreateConnectionResponse res = sdk.connections().createConnection()
.request(req)
.call();

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.airbyte'
artifactId = 'api'
version = '1.1.0'
version = '1.2.0'

from components.java

Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/DeletePermissionRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# DeletePermissionRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `permissionId` | *String* | :heavy_check_mark: | N/A |
10 changes: 10 additions & 0 deletions docs/models/operations/DeletePermissionResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DeletePermissionResponse


## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [HttpResponse<InputStream>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
10 changes: 10 additions & 0 deletions docs/models/operations/GetHealthCheckResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# GetHealthCheckResponse


## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [HttpResponse<InputStream>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
8 changes: 8 additions & 0 deletions docs/models/operations/GetPermissionRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetPermissionRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `permissionId` | *String* | :heavy_check_mark: | N/A |
Loading