Skip to content

Commit 9f1b584

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.8.0 (#17)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.582.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 4221edd commit 9f1b584

File tree

1,951 files changed

+71636
-43551
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,951 files changed

+71636
-43551
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 491 additions & 9 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
java:
24-
version: 0.7.0
24+
version: 0.8.0
2525
additionalDependencies: []
2626
additionalPlugins: []
2727
artifactID: stackone-client-java
@@ -31,6 +31,7 @@ java:
3131
companyName: StackOne
3232
companyURL: www.stackone.com
3333
defaultErrorName: SDKError
34+
enableAsync: false
3435
enableCustomCodeRegions: false
3536
flattenGlobalSecurity: true
3637
githubURL: github.com/owner/repo
@@ -50,6 +51,7 @@ java:
5051
shortName: MIT
5152
url: https://mit-license.org/
5253
maxMethodParams: 4
54+
nullFriendlyParameters: false
5355
outputModelSuffix: output
5456
projectName: stackone-client-java
5557
templateVersion: v2

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.576.1
1+
speakeasyVersion: 1.582.0
22
sources:
33
StackOne-OAS:
44
sourceNamespace: stackone-oas
5-
sourceRevisionDigest: sha256:eed465880cb19876973df07a2fb1e378f6b44c66d435f9cf83c3ec3411bfc099
6-
sourceBlobDigest: sha256:271d724b5ff860fcd6932d747c1c0bb9eece5cdaeba5cc2a170309d641900d25
5+
sourceRevisionDigest: sha256:434218bb58ce7b1f2e2308f25e57a903e8e09ecfc2f301efa6625ac2c850d01c
6+
sourceBlobDigest: sha256:10934e39d3b02d360110059465182c533dcf7f8731f863a5b796f0b9418ad220
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750118766
9+
- speakeasy-sdk-regen-1752105973
1010
- 1.0.0
1111
targets:
1212
stackone:
1313
source: StackOne-OAS
1414
sourceNamespace: stackone-oas
15-
sourceRevisionDigest: sha256:eed465880cb19876973df07a2fb1e378f6b44c66d435f9cf83c3ec3411bfc099
16-
sourceBlobDigest: sha256:271d724b5ff860fcd6932d747c1c0bb9eece5cdaeba5cc2a170309d641900d25
15+
sourceRevisionDigest: sha256:434218bb58ce7b1f2e2308f25e57a903e8e09ecfc2f301efa6625ac2c850d01c
16+
sourceBlobDigest: sha256:10934e39d3b02d360110059465182c533dcf7f8731f863a5b796f0b9418ad220
1717
codeSamplesNamespace: stack-one-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:d0e6ae29032a835b58a3e46f97fcf3955de11a1ec29e7d95ae8ca02613c978cb
18+
codeSamplesRevisionDigest: sha256:6fa0a045000ed8312937fb47357277d965860eaab2b642e9ecccc121e50343b6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ LMS: The documentation for the StackOne Unified API - LMS
2626
* [Error Handling](#error-handling)
2727
* [Server Selection](#server-selection)
2828
* [Authentication](#authentication)
29+
* [Debugging](#debugging)
2930
* [Development](#development)
3031
* [Maturity](#maturity)
3132
* [Contributions](#contributions)
@@ -43,15 +44,15 @@ The samples below show how a published SDK artifact is used:
4344

4445
Gradle:
4546
```groovy
46-
implementation 'com.stackone:stackone-client-java:0.7.0'
47+
implementation 'com.stackone:stackone-client-java:0.8.0'
4748
```
4849

4950
Maven:
5051
```xml
5152
<dependency>
5253
<groupId>com.stackone</groupId>
5354
<artifactId>stackone-client-java</artifactId>
54-
<version>0.7.0</version>
55+
<version>0.8.0</version>
5556
</dependency>
5657
```
5758

@@ -68,33 +69,6 @@ On Windows:
6869
```bash
6970
gradlew.bat publishToMavenLocal -Pskip.signing
7071
```
71-
72-
### Logging
73-
A logging framework/facade has not yet been adopted but is under consideration.
74-
75-
For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:
76-
```java
77-
SDK.builder()
78-
.enableHTTPDebugLogging(true)
79-
.build();
80-
```
81-
Example output:
82-
```
83-
Sending request: http://localhost:35123/bearer#global GET
84-
Request headers: {Accept=[application/json], Authorization=[******], Client-Level-Header=[added by client], Idempotency-Key=[some-key], x-speakeasy-user-agent=[speakeasy-sdk/java 0.0.1 internal 0.1.0 org.openapis.openapi]}
85-
Received response: (GET http://localhost:35123/bearer#global) 200
86-
Response headers: {access-control-allow-credentials=[true], access-control-allow-origin=[*], connection=[keep-alive], content-length=[50], content-type=[application/json], date=[Wed, 09 Apr 2025 01:43:29 GMT], server=[gunicorn/19.9.0]}
87-
Response body:
88-
{
89-
"authenticated": true,
90-
"token": "global"
91-
}
92-
```
93-
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
94-
95-
__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.
96-
97-
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
9872
<!-- End SDK Installation [installation] -->
9973

10074
<!-- Start SDK Example Usage [usage] -->
@@ -230,6 +204,8 @@ public class Application {
230204
* [orderBackgroundCheckRequest](docs/sdks/ats/README.md#orderbackgroundcheckrequest) - Order Background Check Request
231205
* [updateBackgroundCheckResult](docs/sdks/ats/README.md#updatebackgroundcheckresult) - Update Background Check Result
232206
* [getBackgroundCheckResult](docs/sdks/ats/README.md#getbackgroundcheckresult) - Get Background Check Results
207+
* [listApplicationDocumentCategories](docs/sdks/ats/README.md#listapplicationdocumentcategories) - List Application Document Categories
208+
* [getApplicationDocumentCategory](docs/sdks/ats/README.md#getapplicationdocumentcategory) - Get Application Document Category
233209

234210
### [connectors()](docs/sdks/connectors/README.md)
235211

@@ -293,10 +269,14 @@ public class Application {
293269
* [listDepartmentGroups](docs/sdks/hris/README.md#listdepartmentgroups) - List Department Groups
294270
* [listCostCenterGroups](docs/sdks/hris/README.md#listcostcentergroups) - List Cost Center Groups
295271
* [listTeamGroups](docs/sdks/hris/README.md#listteamgroups) - List Team Groups
272+
* [listDivisionGroups](docs/sdks/hris/README.md#listdivisiongroups) - List Division Groups
273+
* [listCompaniesGroups](docs/sdks/hris/README.md#listcompaniesgroups) - List Companies Groups
296274
* [getGroup](docs/sdks/hris/README.md#getgroup) - Get Group
297275
* [getDepartmentGroup](docs/sdks/hris/README.md#getdepartmentgroup) - Get Department Group
298276
* [getCostCenterGroup](docs/sdks/hris/README.md#getcostcentergroup) - Get Cost Center Group
299277
* [getTeamGroup](docs/sdks/hris/README.md#getteamgroup) - Get Team Group
278+
* [getDivisionGroup](docs/sdks/hris/README.md#getdivisiongroup) - Get Division Group
279+
* [getCompanyGroup](docs/sdks/hris/README.md#getcompanygroup) - Get Company Group
300280
* [listJobs](docs/sdks/hris/README.md#listjobs) - List Jobs
301281
* [getJob](docs/sdks/hris/README.md#getjob) - Get Job
302282
* [listLocations](docs/sdks/hris/README.md#listlocations) - List Work Locations
@@ -307,6 +287,8 @@ public class Application {
307287
* [getTimeEntries](docs/sdks/hris/README.md#gettimeentries) - Get Time Entry
308288
* [listTimeOffRequests](docs/sdks/hris/README.md#listtimeoffrequests) - List time off requests
309289
* [getTimeOffRequest](docs/sdks/hris/README.md#gettimeoffrequest) - Get time off request
290+
* [listShifts](docs/sdks/hris/README.md#listshifts) - List Shifts
291+
* [getShift](docs/sdks/hris/README.md#getshift) - Get Shift
310292
* [~~listTimeOffTypes~~](docs/sdks/hris/README.md#listtimeofftypes) - List time off types :warning: **Deprecated**
311293
* [~~getTimeOffType~~](docs/sdks/hris/README.md#gettimeofftype) - Get time off type :warning: **Deprecated**
312294
* [listTimeOffPolicies](docs/sdks/hris/README.md#listtimeoffpolicies) - List Time Off Policies
@@ -319,6 +301,8 @@ public class Application {
319301
* [getEmployeeSkill](docs/sdks/hris/README.md#getemployeeskill) - Get Employee Skill
320302
* [listEmployeeTasks](docs/sdks/hris/README.md#listemployeetasks) - List Employee Tasks
321303
* [getEmployeeTask](docs/sdks/hris/README.md#getemployeetask) - Get Employee Task
304+
* [listTasks](docs/sdks/hris/README.md#listtasks) - List Tasks
305+
* [getTask](docs/sdks/hris/README.md#gettask) - Get Task
322306

323307
### [iam()](docs/sdks/iam/README.md)
324308

@@ -805,6 +789,37 @@ public class Application {
805789
```
806790
<!-- End Authentication [security] -->
807791

792+
<!-- Start Debugging [debug] -->
793+
## Debugging
794+
795+
### Debug
796+
You can setup your SDK to emit debug logs for SDK requests and responses.
797+
798+
For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:
799+
```java
800+
SDK.builder()
801+
.enableHTTPDebugLogging(true)
802+
.build();
803+
```
804+
Example output:
805+
```
806+
Sending request: http://localhost:35123/bearer#global GET
807+
Request headers: {Accept=[application/json], Authorization=[******], Client-Level-Header=[added by client], Idempotency-Key=[some-key], x-speakeasy-user-agent=[speakeasy-sdk/java 0.0.1 internal 0.1.0 org.openapis.openapi]}
808+
Received response: (GET http://localhost:35123/bearer#global) 200
809+
Response headers: {access-control-allow-credentials=[true], access-control-allow-origin=[*], connection=[keep-alive], content-length=[50], content-type=[application/json], date=[Wed, 09 Apr 2025 01:43:29 GMT], server=[gunicorn/19.9.0]}
810+
Response body:
811+
{
812+
"authenticated": true,
813+
"token": "global"
814+
}
815+
```
816+
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
817+
818+
__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.
819+
820+
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
821+
<!-- End Debugging [debug] -->
822+
808823
<!-- Placeholder for Future Speakeasy SDK Sections -->
809824

810825
# Development

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,14 @@ Based on:
128128
### Generated
129129
- [java v0.7.0] .
130130
### Releases
131-
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.7.0 - .
131+
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.7.0 - .
132+
133+
## 2025-07-16 00:06:11
134+
### Changes
135+
Based on:
136+
- OpenAPI Doc
137+
- Speakeasy CLI 1.582.0 (2.657.1) https://github.com/speakeasy-api/speakeasy
138+
### Generated
139+
- [java v0.8.0] .
140+
### Releases
141+
- [Maven Central v0.8.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.8.0 - .

β€Žbuild.gradleβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ publishing {
105105
// https://github.com/gradle/gradle/issues/18619
106106
groupId = "com.stackone"
107107
artifactId = "stackone-client-java"
108-
version = "0.7.0"
108+
version = "0.8.0"
109109

110110
from components.java
111111

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ApprovalStatus
2+
3+
The approval status of the shift
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
10+
| `value` | [JsonNullable\<HrisShiftApprovalStatusValue>](../../models/components/HrisShiftApprovalStatusValue.md) | :heavy_minus_sign: | The approval status of the shift | approved |
11+
| `sourceValue` | [JsonNullable\<HrisShiftApprovalStatusSourceValue>](../../models/components/HrisShiftApprovalStatusSourceValue.md) | :heavy_minus_sign: | N/A | Approved |

0 commit comments

Comments
Β (0)