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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,380 changes: 2,380 additions & 0 deletions .speakeasy/logs/changes/changes.html

Large diffs are not rendered by default.

1,210 changes: 1,210 additions & 0 deletions .speakeasy/logs/changes/changes.md

Large diffs are not rendered by default.

37,019 changes: 37,019 additions & 0 deletions .speakeasy/logs/changes/new.openapi.yaml

Large diffs are not rendered by default.

31,142 changes: 31,142 additions & 0 deletions .speakeasy/logs/changes/old.openapi.yaml

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.692.0
speakeasyVersion: 1.761.1
sources:
GustoEmbedded-OAS:
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:830c753d02c15435169a357383c3757b9cf086825f7ebcb7ecbea75fd9d928a0
sourceBlobDigest: sha256:bc5e757c99f4bfb2a8e8081f377fae1b07eee46e9aea1d1dc08b618685afc86f
sourceRevisionDigest: sha256:c6f707099f79dedb9c265fb0374b8f0eaccbbc0d0e90afa298a5825510f326bd
sourceBlobDigest: sha256:d89ac8c83e443e6d0c35f3087c1768e619a9d2dbf246516f022796881fe85699
tags:
- latest
- speakeasy-sdk-regen-1768522952
- "2025-06-15"
targets:
gusto-embedded:
source: GustoEmbedded-OAS
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:830c753d02c15435169a357383c3757b9cf086825f7ebcb7ecbea75fd9d928a0
sourceBlobDigest: sha256:bc5e757c99f4bfb2a8e8081f377fae1b07eee46e9aea1d1dc08b618685afc86f
sourceRevisionDigest: sha256:c6f707099f79dedb9c265fb0374b8f0eaccbbc0d0e90afa298a5825510f326bd
sourceBlobDigest: sha256:d89ac8c83e443e6d0c35f3087c1768e619a9d2dbf246516f022796881fe85699
codeSamplesNamespace: gusto-embedded-oas-java-code-samples
codeSamplesRevisionDigest: sha256:d2af391897b29300b26571ba0f2713bcc06569178a238dcb179bef6a7a4d91ca
codeSamplesRevisionDigest: sha256:3cf569ffe6f12a56c15d44e51ef36494851a0510c9fb8fba23d6b545508b3850
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 0 additions & 3 deletions gusto_embedded/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# This allows generated code to be indexed correctly
*.java linguist-generated=false
10,438 changes: 6,348 additions & 4,090 deletions gusto_embedded/.speakeasy/gen.lock

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions gusto_embedded/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,22 @@ generation:
securityFeb2025: true
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
versioningStrategy: automatic
persistentEdits: {}
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.3.1
version: 0.3.2
additionalDependencies: []
additionalPlugins: []
artifactID: embedded-api
Expand All @@ -39,12 +41,16 @@ java:
companyURL: www.mycompany.com
defaultErrorName: APIException
enableCustomCodeRegions: false
enableFormatting: false
enableSlf4jLogging: false
enableStreamingUploads: false
explicitDocImports: false
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
generateUnionDocs: false
githubURL: github.com/owner/repo
groupID: com.gusto
imports:
Expand All @@ -65,9 +71,11 @@ java:
maxMethodParams: 4
multipartArrayFormat: legacy
nullFriendlyParameters: false
openUnions: false
operationScopedParams: true
outputModelSuffix: output
prefixModeMethodNames: false
projectName: GustoEmbedded
respectTitlesForPrimitiveUnionMembers: false
showSetterGetterTypesInDocs: false
templateVersion: v2
unionStrategy: populated-fields
140 changes: 91 additions & 49 deletions gusto_embedded/README.md

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion gusto_embedded/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.692.0 (2.797.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.1] gusto_embedded
- [java v0.3.1] gusto_embedded

## 2026-04-08 21:56:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.2] gusto_embedded
8 changes: 4 additions & 4 deletions gusto_embedded/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package hello.world;

import com.gusto.embedded_api.GustoEmbedded;
import com.gusto.embedded_api.models.components.VersionHeader;
import com.gusto.embedded_api.models.operations.GetV1TokenInfoResponse;
import com.gusto.embedded_api.models.operations.XGustoAPIVersion;
import java.lang.Exception;

public class Application {
Expand All @@ -16,11 +16,11 @@ public class Application {
.build();

GetV1TokenInfoResponse res = sdk.introspection().getInfo()
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FIVE_MINUS06_MINUS15)
.xGustoAPIVersion(XGustoAPIVersion.TWO_THOUSAND_AND_TWENTY_FIVE_MINUS06_MINUS15)
.call();

if (res.object().isPresent()) {
// handle response
if (res.tokenInfo().isPresent()) {
System.out.println(res.tokenInfo().get());
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/AccountType.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Bank account type

## Example Usage

```java
import com.gusto.embedded_api.models.components.AccountType;

AccountType value = AccountType.CHECKING;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/AccrualMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Accrual method of the time off policy

## Example Usage

```java
import com.gusto.embedded_api.models.components.AccrualMethod;

AccrualMethod value = AccrualMethod.UNLIMITED;
```


## Values

Expand Down
11 changes: 0 additions & 11 deletions gusto_embedded/docs/models/components/AccruingTimeOffHour.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The type of recipient associated with the ACH transaction

## Example Usage

```java
import com.gusto.embedded_api.models.components.AchTransactionRecipientType;

AchTransactionRecipientType value = AchTransactionRecipientType.EMPLOYEE;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/Action.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The action to perform on the employee benefit. Required for creating/updating an effective dated employee benefit.

## Example Usage

```java
import com.gusto.embedded_api.models.components.Action;

Action value = Action.CREATE;
```


## Values

Expand Down
2 changes: 1 addition & 1 deletion gusto_embedded/docs/models/components/Admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The representation of an admin user in Gusto.
| `email` | *Optional\<String>* | :heavy_minus_sign: | The email of the admin for Gusto's system. |
| `firstName` | *Optional\<String>* | :heavy_minus_sign: | The first name of the admin. |
| `lastName` | *Optional\<String>* | :heavy_minus_sign: | The last name of the admin. |
| `phone` | *Optional\<String>* | :heavy_minus_sign: | The phone number of the admin. |
| `phone` | *JsonNullable\<String>* | :heavy_minus_sign: | The phone number of the admin. |
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# PostV1CompaniesCompanyIdAdminsRequestBody
# AdminCreateRequest

The request body for creating a company admin.


## Fields

| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `firstName` | *String* | :heavy_check_mark: | The first name of the admin. |
| `lastName` | *String* | :heavy_check_mark: | The last name of the admin. |
| `email` | *String* | :heavy_check_mark: | The email of the admin for Gusto's system. If the email matches an existing user, this will create an admin account for them. |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `firstName` | *String* | :heavy_check_mark: | The first name of the admin. | John |
| `lastName` | *String* | :heavy_check_mark: | The last name of the admin. | Smith |
| `email` | *String* | :heavy_check_mark: | The email of the admin for Gusto's system. If the email matches an existing user, this will create an admin account for them. | jsmith99@gmail.com |
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/Aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The breakdown level used for the report

## Example Usage

```java
import com.gusto.embedded_api.models.components.Aggregation;

Aggregation value = Aggregation.DEFAULT;
```


## Values

Expand Down
10 changes: 9 additions & 1 deletion gusto_embedded/docs/models/components/AmountType.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# AmountType

The amount type of the deduction for the pay period.
The amount type of the deduction for the pay period. Only present for unprocessed payrolls.

## Example Usage

```java
import com.gusto.embedded_api.models.components.AmountType;

AmountType value = AmountType.FIXED;
```


## Values
Expand Down
8 changes: 4 additions & 4 deletions gusto_embedded/docs/models/components/ApplicableIf.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `key` | *Optional\<String>* | :heavy_minus_sign: | An identifier for an individual requirement. Uniqueness is guaranteed within a requirement set. |
| `value` | [JsonNullable\<TaxRequirementApplicableIfValue>](../../models/components/TaxRequirementApplicableIfValue.md) | :heavy_minus_sign: | The required value of the requirement identified by `key` |
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| `key` | *Optional\<String>* | :heavy_minus_sign: | An identifier for an individual requirement. Uniqueness is guaranteed within a requirement set. | 71653ec0-00b5-4c66-a58b-22ecf21704c5 |
| `value` | [JsonNullable\<TaxRequirementValue>](../../models/components/TaxRequirementValue.md) | :heavy_minus_sign: | The required value of the requirement identified by `key` | |
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/AuthorizationStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The employee's authorization status

## Example Usage

```java
import com.gusto.embedded_api.models.components.AuthorizationStatus;

AuthorizationStatus value = AuthorizationStatus.CITIZEN;
```


## Values

Expand Down
Loading