Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 21, 2024
1 parent 666bcbb commit 023dfd3
Show file tree
Hide file tree
Showing 14 changed files with 169 additions and 155 deletions.
17 changes: 9 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
lockVersion: 2.0.0
id: 38254260-287a-40b6-9ac5-c2fcb654c9cc
management:
docChecksum: 1fa9ac07d9488b4560106fd276a96436
docChecksum: 4334ffef2795f1c48280e812833dd9d6
docVersion: 10.8.1
speakeasyVersion: 1.441.0
generationVersion: 2.460.1
releaseVersion: 0.1.10
configChecksum: c529a8b519a52d33d918c75b01ebc58e
speakeasyVersion: 1.441.1
generationVersion: 2.461.2
releaseVersion: 0.1.11
configChecksum: 0d394cc616383dc04582e7feca08cdf8
repoURL: https://github.com/apideck-libraries/sdk-java.git
published: true
features:
java:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.32.0
core: 3.32.1
deprecations: 2.81.1
downloadStreams: 0.1.1
flattening: 2.81.1
Expand Down Expand Up @@ -179,7 +180,7 @@ generatedFiles:
- docs/models/components/CreateApplicationResponse.md
- docs/models/components/CreateBillPaymentResponse.md
- docs/models/components/CreateBillResponse.md
- docs/models/components/CreateCallbackStateData.md
- docs/models/components/CreateCallbackState.md
- docs/models/components/CreateCallbackStateResponse.md
- docs/models/components/CreateCallbackStateResponseData.md
- docs/models/components/CreateCommentResponse.md
Expand Down Expand Up @@ -1876,7 +1877,7 @@ generatedFiles:
- src/main/java/com/apideck/unify/models/components/CreateApplicationResponse.java
- src/main/java/com/apideck/unify/models/components/CreateBillPaymentResponse.java
- src/main/java/com/apideck/unify/models/components/CreateBillResponse.java
- src/main/java/com/apideck/unify/models/components/CreateCallbackStateData.java
- src/main/java/com/apideck/unify/models/components/CreateCallbackState.java
- src/main/java/com/apideck/unify/models/components/CreateCallbackStateResponse.java
- src/main/java/com/apideck/unify/models/components/CreateCallbackStateResponseData.java
- src/main/java/com/apideck/unify/models/components/CreateCommentResponse.java
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
java:
version: 0.1.10
version: 0.1.11
additionalDependencies: []
additionalPlugins: []
artifactID: unify
Expand Down
15 changes: 8 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
speakeasyVersion: 1.441.0
speakeasyVersion: 1.441.1
sources:
Apideck-OAS:
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:35808afc5f844ae2e41376c099e4c3a8814d758138546c8b94477abb687f0658
sourceBlobDigest: sha256:1c38d5aab858a76916059a1957fa9342d82404952a32ae0f1920967230d9558b
sourceRevisionDigest: sha256:785baf18a95e4ada6d6fd933c1693d8dc6ed51965dddd46c0d266e1f36c864f3
sourceBlobDigest: sha256:a248ccbdea4f8606afcaed86823f9e6e528a382fba0f616317d16ebda61acf5a
tags:
- latest
- speakeasy-sdk-regen-1732179763
targets:
apideck:
source: Apideck-OAS
sourceNamespace: apideck-oas
sourceRevisionDigest: sha256:35808afc5f844ae2e41376c099e4c3a8814d758138546c8b94477abb687f0658
sourceBlobDigest: sha256:1c38d5aab858a76916059a1957fa9342d82404952a32ae0f1920967230d9558b
sourceRevisionDigest: sha256:785baf18a95e4ada6d6fd933c1693d8dc6ed51965dddd46c0d266e1f36c864f3
sourceBlobDigest: sha256:a248ccbdea4f8606afcaed86823f9e6e528a382fba0f616317d16ebda61acf5a
codeSamplesNamespace: apideck-oas-code-samples
codeSamplesRevisionDigest: sha256:cf1812157192f7c1de5cb8339d40947a0461d451d708cd0456cb55ce3755c6db
codeSamplesRevisionDigest: sha256:dccf01e89633bc1e21a30a5c930237861d8d74d047c7b03114537c926f6841f3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
Apideck-OAS:
inputs:
- location: ../unify/speakeasy-spec.yml
- location: https://ci-spec-unify.s3.eu-central-1.amazonaws.com/speakeasy-spec.yml
registry:
location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-oas
targets:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.apideck:unify:0.1.10'
implementation 'com.apideck:unify:0.1.11'
```

Maven:
```xml
<dependency>
<groupId>com.apideck</groupId>
<artifactId>unify</artifactId>
<version>0.1.10</version>
<version>0.1.11</version>
</dependency>
```

Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


## 2024-11-21 09:02:38
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.1.11] .
### Releases
- [Maven Central v0.1.11] https://central.sonatype.com/artifact/com.apideck/unify/0.1.11 - .
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}

group = "com.apideck"
version = "0.1.10"
version = "0.1.11"

sourcesJar {
archiveBaseName = "unify"
Expand Down Expand Up @@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.apideck'
artifactId = 'unify'
version = '0.1.10'
version = '0.1.11'

from components.java

Expand Down Expand Up @@ -145,10 +145,11 @@ if (!project.hasProperty('skip.signing')) {
}

dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
implementation 'commons-io:commons-io:2.15.1'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CreateCallbackStateData
# CreateCallbackState


## Fields
Expand Down
14 changes: 7 additions & 7 deletions docs/models/operations/VaultCreateCallbackStateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `customerId` | *Optional\<String>* | :heavy_minus_sign: | ID of the consumer which you want to get or push data from | test-consumer |
| `appId` | *Optional\<String>* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
| `serviceId` | *String* | :heavy_check_mark: | Service ID of the resource to return | pipedrive |
| `unifiedApi` | *String* | :heavy_check_mark: | Unified API | crm |
| `createCallbackStateData` | [CreateCallbackStateData](../../models/components/CreateCallbackStateData.md) | :heavy_check_mark: | Callback state data | |
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `customerId` | *Optional\<String>* | :heavy_minus_sign: | ID of the consumer which you want to get or push data from | test-consumer |
| `appId` | *Optional\<String>* | :heavy_minus_sign: | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
| `serviceId` | *String* | :heavy_check_mark: | Service ID of the resource to return | pipedrive |
| `unifiedApi` | *String* | :heavy_check_mark: | Unified API | crm |
| `createCallbackState` | [CreateCallbackState](../../models/components/CreateCallbackState.md) | :heavy_check_mark: | Callback state data | |
4 changes: 2 additions & 2 deletions docs/sdks/createcallback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This endpoint creates a callback state that can be used to issue requests to the
package hello.world;

import com.apideck.unify.Apideck;
import com.apideck.unify.models.components.CreateCallbackStateData;
import com.apideck.unify.models.components.CreateCallbackState;
import com.apideck.unify.models.errors.BadRequestResponse;
import com.apideck.unify.models.errors.NotFoundResponse;
import com.apideck.unify.models.errors.PaymentRequiredResponse;
Expand All @@ -41,7 +41,7 @@ public class Application {
VaultCreateCallbackStateRequest req = VaultCreateCallbackStateRequest.builder()
.serviceId("pipedrive")
.unifiedApi("crm")
.createCallbackStateData(CreateCallbackStateData.builder()
.createCallbackState(CreateCallbackState.builder()
.redirectUri("https://example.com/callback")
.build())
.build();
Expand Down
184 changes: 92 additions & 92 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
2 changes: 1 addition & 1 deletion src/main/java/com/apideck/unify/CreateCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public VaultCreateCallbackStateResponse state(
new TypeReference<VaultCreateCallbackStateRequest>() {});
SerializedBody _serializedRequestBody = Utils.serializeRequestBody(
_convertedRequest,
"createCallbackStateData",
"createCallbackState",
"json",
false);
if (_serializedRequestBody == null) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/apideck/unify/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public Optional<SecuritySource> securitySource() {
public int serverIdx = 0;
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "10.8.1";
public static final String SDK_VERSION = "0.1.10";
public static final String GEN_VERSION = "2.460.1";
public static final String SDK_VERSION = "0.1.11";
public static final String GEN_VERSION = "2.461.2";
private static final String BASE_PACKAGE = "com.apideck.unify";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
Expand Down
Loading

0 comments on commit 023dfd3

Please sign in to comment.