Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.335.2 (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Jul 15, 2024
1 parent 71f1e03 commit a8bc0a3
Show file tree
Hide file tree
Showing 265 changed files with 7,968 additions and 3,653 deletions.
190 changes: 110 additions & 80 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.296.1
speakeasyVersion: 1.335.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:cbe1ea7fa525a68f8250c64f057920dfb5ed187159ed0f287f2e34fa958815dd
sourceBlobDigest: sha256:9e76a245dfc56887dcadaf1e1f0ffe6c0abbe10e9e25b6ad3093ad778055c1a2
sourceRevisionDigest: sha256:7d13fcede86a3ca09b4d289f1bc31301fa7a3501406dccbe8913eead593008e0
sourceBlobDigest: sha256:f1b3779c701a2b6ce17695afd26a74bc95f97c24cb73dcd26a0feff21f0c1845
tags:
- latest
- main
targets:
airbyte-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:cbe1ea7fa525a68f8250c64f057920dfb5ed187159ed0f287f2e34fa958815dd
sourceBlobDigest: sha256:9e76a245dfc56887dcadaf1e1f0ffe6c0abbe10e9e25b6ad3093ad778055c1a2
sourceRevisionDigest: sha256:7d13fcede86a3ca09b4d289f1bc31301fa7a3501406dccbe8913eead593008e0
sourceBlobDigest: sha256:f1b3779c701a2b6ce17695afd26a74bc95f97c24cb73dcd26a0feff21f0c1845
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand All @@ -33,3 +33,4 @@ workflow:
ossrhPassword: $OSSRH_PASSWORD
gpgSecretKey: $JAVA_GPG_SECRET_KEY
gpgPassPhrase: $JAVA_GPG_PASSPHRASE
useSonatypeLegacy: true
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,21 @@ The Developer Portal UI can also be used to help build your integration by showi

### Getting started

JDK 11 or later is required.

The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.airbyte.api:public-api:1.4.1'
implementation 'com.airbyte:api:1.5.0'
```

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

Expand Down Expand Up @@ -106,6 +108,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -142,6 +145,10 @@ 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

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

* [listOrganizationsForUser](docs/sdks/organizations/README.md#listorganizationsforuser) - List all organizations for a user

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

* [createPermission](docs/sdks/permissions/README.md#createpermission) - Create a permission
Expand All @@ -164,6 +171,10 @@ public class Application {

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

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

* [listUsersWithinAnOrganization](docs/sdks/users/README.md#listuserswithinanorganization) - List all users within an organization

### [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 @@ -240,6 +251,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -299,6 +311,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand All @@ -311,7 +324,7 @@ Handling errors in this SDK should largely match your expectations. All operati

| Error Object | Status Code | Content Type |
| ---------------------- | ---------------------- | ---------------------- |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

### Example

Expand Down Expand Up @@ -365,6 +378,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -434,6 +448,7 @@ public class Application {
// handle exception
throw e;
}

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

## 2024-07-15 18:36:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.335.2 (2.372.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v1.5.0] .
### Releases
- [Maven Central v1.5.0] https://central.sonatype.com/artifact/com.airbyte/api/1.5.0 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down
4 changes: 4 additions & 0 deletions build-extras.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// This file
// * is referred to in an `apply from` command in `build.gradle`
// * can be used to customise `build.gradle`
// * is generated once and not overwritten in SDK generation updates
15 changes: 13 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

////////////////////////////////////////////////////////////////////////////////////////////
// This file is generated by Speakeasy and any edits will be lost in generation updates.
//
// If you wish to customize this file then place those customizations in `build-extras.gradle` which
// is not touched by generation updates.
//
// Additions to the plugins block can be made by setting the `additionalPlugins` property (an array
// of string where each string value is an additional line in the block) in gen.yaml.
////////////////////////////////////////////////////////////////////////////////////////////
plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
Expand All @@ -14,13 +23,13 @@ repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
withJavadocJar()
}

model {
tasks.generatePomFileForMavenPublication {
destination = file("$buildDir/pom.xml")
Expand Down Expand Up @@ -65,7 +74,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.airbyte'
artifactId = 'api'
version = '1.4.1'
version = '1.5.0'

from components.java

Expand Down Expand Up @@ -119,3 +128,5 @@ dependencies {
}



apply from: 'build-extras.gradle'
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# DestinationLangchainOpenAI

Use the OpenAI API to embed text. This option is using the text-embedding-ada-002 model with 1536 embedding dimensions.
# ListOrganizationsForUserResponse


## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `mode` | [Optional<? extends com.airbyte.api.models.shared.DestinationLangchainMode>](../../models/shared/DestinationLangchainMode.md) | :heavy_minus_sign: | N/A |
| `openaiKey` | *String* | :heavy_check_mark: | N/A |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `organizationsResponse` | [Optional<? extends com.airbyte.api.models.shared.OrganizationsResponse>](../../models/shared/OrganizationsResponse.md) | :heavy_minus_sign: | List user's organizations. |
| `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 |
7 changes: 4 additions & 3 deletions docs/models/operations/ListPermissionsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

## Fields

| Field | Type | Required | Description |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `userId` | *Optional<? extends String>* | :heavy_minus_sign: | User Id in permission. |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `organizationId` | *Optional<? extends String>* | :heavy_minus_sign: | This is required if you want to read someone else's permissions, and you should have organization admin or a higher role. |
| `userId` | *Optional<? extends String>* | :heavy_minus_sign: | User Id in permission. |
10 changes: 10 additions & 0 deletions docs/models/operations/ListUsersWithinAnOrganizationRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ListUsersWithinAnOrganizationRequest


## Fields

| Field | Type | Required | Description |
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
| `emails` | List<*String*> | :heavy_minus_sign: | List of user emails to filter by |
| `ids` | List<*String*> | :heavy_minus_sign: | List of user IDs to filter by |
| `organizationId` | *String* | :heavy_check_mark: | N/A |
11 changes: 11 additions & 0 deletions docs/models/operations/ListUsersWithinAnOrganizationResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ListUsersWithinAnOrganizationResponse


## 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 |
| `usersResponse` | [Optional<? extends com.airbyte.api.models.shared.UsersResponse>](../../models/shared/UsersResponse.md) | :heavy_minus_sign: | List Users. |
11 changes: 0 additions & 11 deletions docs/models/shared/AESCBCEnvelopeEncryption.md

This file was deleted.

Loading

0 comments on commit a8bc0a3

Please sign in to comment.