Skip to content

Commit 363a74c

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.14.0 (#29)
* ## Java SDK Changes Detected: * `stackone.actions.listActionsMeta()`: `response.data.[].actions.[]` **Changed** **Breaking** ⚠️ * `stackone.actions.rpcAction()`: `request` **Changed** **Breaking** ⚠️ * `stackone.hris.listShifts()`: * `request.filter` **Changed** **Breaking** ⚠️ * `stackone.messaging.listConversationMessages()`: `response.data.[].attachments.[]` **Changed** **Breaking** ⚠️ * `stackone.messaging.getMessage()`: `response.data.attachments.[]` **Changed** **Breaking** ⚠️ * `stackone.accounting.createCompanyJournal()`: `response` **Changed** **Breaking** ⚠️ * `stackone.hris.listEmployeeShifts()`: **Added** * `stackone.hris.getEmployeeShift()`: **Added** * `stackone.hris.listEmployeeTimeOffRequests()`: * `request.filter` **Changed** * `stackone.hris.listTimeOffRequests()`: * `request.filter` **Changed** * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent b6266a7 commit 363a74c

File tree

1,229 files changed

+24333
-7906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,229 files changed

+24333
-7906
lines changed

.speakeasy/gen.lock

Lines changed: 117 additions & 17 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
java:
25-
version: 0.13.0
25+
version: 0.14.0
2626
additionalDependencies: []
2727
additionalPlugins: []
2828
artifactID: stackone-client-java
@@ -36,6 +36,7 @@ java:
3636
enableCustomCodeRegions: false
3737
enableStreamingUploads: false
3838
flattenGlobalSecurity: true
39+
generateSpringBootStarter: true
3940
githubURL: github.com/owner/repo
4041
groupID: com.stackone
4142
imports:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.615.2
1+
speakeasyVersion: 1.631.4
22
sources:
33
StackOne-OAS:
44
sourceNamespace: stackone-oas
5-
sourceRevisionDigest: sha256:da3083ac792d917c27cf65deb1bf028544d89283513da6447435f179f6953b71
6-
sourceBlobDigest: sha256:a9174deff25e6d539e59ba5938fb9517b864382c255b2c9c20976d3bc1330d97
5+
sourceRevisionDigest: sha256:88f5a2e886bc233554469ff3d2b30c1daca017b1394bdea87d5a71aee8ea3717
6+
sourceBlobDigest: sha256:11fad8e59e1e59e1f0d48338934864afff5cf6fd5e57c31faa521d49962a9812
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757117150
9+
- speakeasy-sdk-regen-1757981164
1010
- 1.0.0
1111
targets:
1212
stackone:
1313
source: StackOne-OAS
1414
sourceNamespace: stackone-oas
15-
sourceRevisionDigest: sha256:da3083ac792d917c27cf65deb1bf028544d89283513da6447435f179f6953b71
16-
sourceBlobDigest: sha256:a9174deff25e6d539e59ba5938fb9517b864382c255b2c9c20976d3bc1330d97
15+
sourceRevisionDigest: sha256:88f5a2e886bc233554469ff3d2b30c1daca017b1394bdea87d5a71aee8ea3717
16+
sourceBlobDigest: sha256:11fad8e59e1e59e1f0d48338934864afff5cf6fd5e57c31faa521d49962a9812
1717
codeSamplesNamespace: stack-one-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:858843c112688ddd74f90e7766d6fbea7a293bafed566b2440fff80c9f00de41
18+
codeSamplesRevisionDigest: sha256:363317b17c102707ba3753842124a18ceadd00b79092c7ea4fd669b5636ea543
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ The samples below show how a published SDK artifact is used:
4545

4646
Gradle:
4747
```groovy
48-
implementation 'com.stackone:stackone-client-java:0.13.0'
48+
implementation 'com.stackone:stackone-client-java:0.14.0'
4949
```
5050

5151
Maven:
5252
```xml
5353
<dependency>
5454
<groupId>com.stackone</groupId>
5555
<artifactId>stackone-client-java</artifactId>
56-
<version>0.13.0</version>
56+
<version>0.14.0</version>
5757
</dependency>
5858
```
5959

@@ -332,6 +332,8 @@ public class Application {
332332
* [getEmployee](docs/sdks/hris/README.md#getemployee) - Get Employee
333333
* [updateEmployee](docs/sdks/hris/README.md#updateemployee) - Update Employee
334334
* [inviteEmployee](docs/sdks/hris/README.md#inviteemployee) - Invite Employee
335+
* [listEmployeeShifts](docs/sdks/hris/README.md#listemployeeshifts) - List Employee Shifts
336+
* [getEmployeeShift](docs/sdks/hris/README.md#getemployeeshift) - Get Employee Shift
335337
* [listEmployeeTimeOffRequests](docs/sdks/hris/README.md#listemployeetimeoffrequests) - List Employee Time Off Requests
336338
* [createEmployeeTimeOffRequest](docs/sdks/hris/README.md#createemployeetimeoffrequest) - Create Employee Time Off Request
337339
* [getEmployeesTimeOffRequest](docs/sdks/hris/README.md#getemployeestimeoffrequest) - Get Employees Time Off Request

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,14 @@ Based on:
218218
### Generated
219219
- [java v0.13.0] .
220220
### Releases
221-
- [Maven Central v0.13.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.13.0 - .
221+
- [Maven Central v0.13.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.13.0 - .
222+
223+
## 2025-09-29 00:06:06
224+
### Changes
225+
Based on:
226+
- OpenAPI Doc
227+
- Speakeasy CLI 1.631.4 (2.716.16) https://github.com/speakeasy-api/speakeasy
228+
### Generated
229+
- [java v0.14.0] .
230+
### Releases
231+
- [Maven Central v0.14.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.14.0 - .

build.gradle

Lines changed: 63 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
////////////////////////////////////////////////////////////////////////////////////////////
32
// This file is generated by Speakeasy and any edits will be lost in generation updates.
43
//
@@ -9,12 +8,15 @@
98
// of string where each string value is an additional line in the block) in gen.yaml.
109
////////////////////////////////////////////////////////////////////////////////////////////
1110

11+
1212
plugins {
1313
// Apply the java-library plugin for API and implementation separation.
1414
id 'java-library'
1515
id 'maven-publish'
1616
id 'signing'
17+
// V2 publishing plugin (Sonatype Central Portal)
1718
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
19+
id "io.spring.dependency-management" version "1.1.6" apply false
1820
}
1921

2022
compileJava.options.encoding = "UTF-8"
@@ -31,21 +33,18 @@ java {
3133
withJavadocJar()
3234
}
3335

34-
model {
35-
tasks.generatePomFileForMavenPublication {
36-
destination = file("$buildDir/pom.xml")
37-
}
38-
}
39-
4036
version = "${version}"
4137
group = "${groupId}"
4238

4339
jar {
44-
dependsOn(":generatePomFileForMavenPublication")
40+
dependsOn 'generatePomFileForMavenPublication'
4541
archiveBaseName = "${artifactId}"
4642

4743
into("META-INF/maven/com.stackone/stackone-client-java") {
48-
from("$buildDir/pom.xml")
44+
from(layout.buildDirectory.file("pom.xml")) {
45+
// Only include if it exists to avoid build ordering issues
46+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
47+
}
4948
}
5049
}
5150

@@ -58,7 +57,7 @@ javadoc {
5857
options.addStringOption('Xdoclint:none', '-quiet')
5958
}
6059

61-
tasks.withType(Javadoc) {
60+
tasks.withType(Javadoc).configureEach {
6261
failOnError = false
6362
options.addStringOption('Xdoclint:none', '-quiet')
6463
}
@@ -74,85 +73,6 @@ sourcesJar {
7473
javadocJar {
7574
archiveBaseName = "${artifactId}"
7675
}
77-
sonatypeCentralUpload {
78-
// This is your Sonatype generated username
79-
username = System.getenv("SONATYPE_USERNAME")
80-
// This is your sonatype generated password
81-
password = System.getenv("SONATYPE_PASSWORD")
82-
83-
// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
84-
archives = files(
85-
"$buildDir/libs/${artifactId}-${version}.jar",
86-
"$buildDir/libs/${artifactId}-${version}-sources.jar",
87-
"$buildDir/libs/${artifactId}-${version}-javadoc.jar"
88-
)
89-
90-
// This is the pom file to upload. This is required by central
91-
pom = file("$buildDir/pom.xml")
92-
93-
// This is your PGP private key. This is required to sign your files
94-
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
95-
// This is your PGP private key passphrase to decrypt your private key
96-
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
97-
}
98-
99-
100-
publishing {
101-
102-
publications {
103-
maven(MavenPublication) {
104-
// note that properties can't yet be used below!
105-
// https://github.com/gradle/gradle/issues/18619
106-
groupId = "com.stackone"
107-
artifactId = "stackone-client-java"
108-
version = "0.13.0"
109-
110-
from components.java
111-
112-
pom {
113-
properties = [
114-
'maven.compiler.source': '11',
115-
'maven.compiler.target': '11',
116-
]
117-
name = 'StackOne Java SDK'
118-
description = 'SDK enabling Java developers to easily integrate with the StackOne API.'
119-
url = 'https://github.com/owner/repo'
120-
scm {
121-
url = 'github.com/owner/repo'
122-
connection = 'scm:git:ssh://[email protected]/owner/repo.git'
123-
}
124-
licenses {
125-
license {
126-
name = 'The MIT License (MIT)'
127-
url = 'https://mit-license.org/'
128-
}
129-
}
130-
developers {
131-
developer {
132-
name = 'StackOne'
133-
organization = 'StackOne'
134-
135-
}
136-
}
137-
organization {
138-
name = 'StackOne'
139-
url = 'www.stackone.com'
140-
}
141-
}
142-
}
143-
}
144-
}
145-
146-
if (!project.hasProperty('skip.signing')) {
147-
signing {
148-
def signingKey = findProperty("signingKey")
149-
def signingPassphrase = findProperty("signingPassphrase")
150-
useInMemoryPgpKeys(signingKey, signingPassphrase)
151-
sign publishing.publications.maven
152-
}
153-
}
154-
155-
15676

15777
dependencies {
15878
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
@@ -165,4 +85,58 @@ dependencies {
16585
api 'org.reactivestreams:reactive-streams:1.0.4'
16686
}
16787

88+
ext {
89+
springBootVersion = '2.7.18'
90+
}
91+
92+
subprojects {
93+
if (name in [
94+
'stackone-client-java-spring-boot-autoconfigure',
95+
'stackone-client-java-spring-boot-starter'
96+
]) {
97+
// Ensure subprojects use the same group and version as root project
98+
group = rootProject.group
99+
version = rootProject.version
100+
101+
apply {
102+
plugin "java-library"
103+
plugin "io.spring.dependency-management"
104+
plugin "maven-publish"
105+
plugin "signing"
106+
plugin "cl.franciscosolis.sonatype-central-upload"
107+
}
108+
dependencyManagement {
109+
imports {
110+
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
111+
}
112+
}
113+
repositories {
114+
mavenCentral()
115+
}
116+
java {
117+
withSourcesJar()
118+
withJavadocJar()
119+
}
120+
tasks.withType(JavaCompile).configureEach {
121+
options.release = 11
122+
}
123+
124+
// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
125+
apply from: rootProject.file('publishing.gradle')
126+
}
127+
}
128+
129+
ext {
130+
publishingConfig = [
131+
groupId: group,
132+
artifactId: artifactId,
133+
version: version,
134+
name: "StackOne Java SDK",
135+
description: "SDK enabling Java developers to easily integrate with the StackOne API.",
136+
publicationName: "maven"
137+
]
138+
}
139+
140+
apply from: 'publishing.gradle'
141+
168142
apply from: 'build-extras.gradle'

docs/models/components/ActionMetaItem.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
| Field | Type | Required | Description |
77
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
88
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | The action ID |
9-
| `name` | *JsonNullable\<String>* | :heavy_minus_sign: | The action name |
9+
| `label` | *JsonNullable\<String>* | :heavy_minus_sign: | The action label |
1010
| `description` | *JsonNullable\<String>* | :heavy_minus_sign: | The action description |
1111
| `schemaType` | *JsonNullable\<String>* | :heavy_minus_sign: | The schema type for the action |
12+
| `tags` | List\<*String*> | :heavy_minus_sign: | The tags associated with this action |
1213
| `authentication` | List\<[AuthenticationMetaItem](../../models/components/AuthenticationMetaItem.md)> | :heavy_minus_sign: | The authentication methods supported by this action |
1314
| `operationDetails` | Map\<String, *Object*> | :heavy_minus_sign: | The operation details for the action |

docs/models/components/ActionsRpcRequestDto.md

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

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8-
| `action` | *String* | :heavy_check_mark: | The action to execute | create_employee |
9-
| `input` | [JsonNullable\<Input>](../../models/components/Input.md) | :heavy_minus_sign: | Input parameters for the action | |
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
8+
| `action` | *String* | :heavy_check_mark: | The action to execute | create_employee |
9+
| `path` | Map\<String, *Object*> | :heavy_minus_sign: | Path parameters for the action | {<br/>"id": "123"<br/>} |
10+
| `query` | Map\<String, *Object*> | :heavy_minus_sign: | Query parameters for the action | {<br/>"param1": "value1",<br/>"param2": "value2"<br/>} |
11+
| `headers` | Map\<String, *Object*> | :heavy_minus_sign: | Headers for the action | {<br/>"Content-Type": "application/json"<br/>} |
12+
| `body` | Map\<String, *Object*> | :heavy_minus_sign: | Request body for the action | {<br/>"data": "example"<br/>} |

0 commit comments

Comments
 (0)