Skip to content
Open
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
  •  
  •  
  •  
1,861 changes: 1,861 additions & 0 deletions .speakeasy/logs/changes/changes.html

Large diffs are not rendered by default.

901 changes: 901 additions & 0 deletions .speakeasy/logs/changes/changes.md

Large diffs are not rendered by default.

34,988 changes: 34,988 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.759.0
sources:
GustoEmbedded-OAS:
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:830c753d02c15435169a357383c3757b9cf086825f7ebcb7ecbea75fd9d928a0
sourceBlobDigest: sha256:bc5e757c99f4bfb2a8e8081f377fae1b07eee46e9aea1d1dc08b618685afc86f
sourceRevisionDigest: sha256:2dd17821859a345f80e44ea59de357043b7c487e5a07d83900df0727cff01373
sourceBlobDigest: sha256:e0fc49724e71a4d3f3712eda2aae743c479293f3654e40328f58f442d8c2dfe5
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:2dd17821859a345f80e44ea59de357043b7c487e5a07d83900df0727cff01373
sourceBlobDigest: sha256:e0fc49724e71a4d3f3712eda2aae743c479293f3654e40328f58f442d8c2dfe5
codeSamplesNamespace: gusto-embedded-oas-java-code-samples
codeSamplesRevisionDigest: sha256:d2af391897b29300b26571ba0f2713bcc06569178a238dcb179bef6a7a4d91ca
codeSamplesRevisionDigest: sha256:64463c837d06bb30b82a76e8e4f3df38299141ea1b9c6ad04b00239809968cc1
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
8,109 changes: 4,880 additions & 3,229 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
124 changes: 83 additions & 41 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-03-22 00:28:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.759.0 (2.869.3) 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
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 calculated or processed payrolls.

## Example Usage

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

AmountType value = AmountType.FIXED;
```


## Values
Expand Down
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
8 changes: 8 additions & 0 deletions gusto_embedded/docs/models/components/BlockerType.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The type of blocker

## Example Usage

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

BlockerType value = BlockerType.MINIMUM_DAYS;
```


## Values

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

The type of catch-up contribution for this benefit, as required by Section 603 of the SECURE 2.0 Act. Only applicable to pre-tax 401(k) and 403(b) benefits.

## Example Usage

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

CatchUpType value = CatchUpType.ELECTIVE;
```


## Values

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

The category of the company attachment

## Example Usage

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

Category value = Category.GEP_NOTICE;
```


## Values

Expand Down
20 changes: 20 additions & 0 deletions gusto_embedded/docs/models/components/ChildSupportDataKey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ChildSupportDataKey

A required attribute when creating a garnishment for this state agency. The current values are listed as an enum; though unlikely, values could be added if state agency requirements change in the future.

## Example Usage

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

ChildSupportDataKey value = ChildSupportDataKey.CASE_NUMBER;
```


## Values

| Name | Value |
| ------------------- | ------------------- |
| `CASE_NUMBER` | case_number |
| `ORDER_NUMBER` | order_number |
| `REMITTANCE_NUMBER` | remittance_number |
3 changes: 2 additions & 1 deletion gusto_embedded/docs/models/components/CompanyAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ The representation of a company's address in Gusto.
| `state` | *Optional\<String>* | :heavy_minus_sign: | N/A |
| `zip` | *Optional\<String>* | :heavy_minus_sign: | N/A |
| `country` | *Optional\<String>* | :heavy_minus_sign: | N/A |
| `inactive` | *Optional\<Boolean>* | :heavy_minus_sign: | The status of the location. Inactive locations have been deleted, but may still have historical data associated with them. |
| `inactive` | *Optional\<Boolean>* | :heavy_minus_sign: | The status of the location. Inactive locations have been deleted, but may still have historical data associated with them. |
| `active` | *Optional\<Boolean>* | :heavy_minus_sign: | The status of the location. Inactive locations have been deleted, but may still have historical data associated with them. |
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The bank account type

## Example Usage

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

CompanyBankAccountRequestAccountType value = CompanyBankAccountRequestAccountType.CHECKING;
```


## Values

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CompanyBankAccountVerifyRequest

Request body for verifying a company bank account with the two micro-deposit amounts.


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `deposit1` | *float* | :heavy_check_mark: | The first micro-deposit amount (order does not matter). |
| `deposit2` | *float* | :heavy_check_mark: | The second micro-deposit amount (order does not matter). |
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The type of catch-up contribution for this benefit, as required by Section 603 of the SECURE 2.0 Act. Only applicable to pre-tax 401(k) and 403(b) benefits.

## Example Usage

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

CompanyBenefitWithEmployeeBenefitsCatchUpType value = CompanyBenefitWithEmployeeBenefitsCatchUpType.ELECTIVE;
```


## Values

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

The source of the company benefit. This can be "internal", "external", or "partnered". Company benefits created via the API default to "external". Certain partners can create company benefits with a source of "partnered".

## Example Usage

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

CompanyBenefitWithEmployeeBenefitsSource value = CompanyBenefitWithEmployeeBenefitsSource.INTERNAL;
```


## Values

Expand Down
12 changes: 0 additions & 12 deletions gusto_embedded/docs/models/components/CompanyFormsSortBy.md

This file was deleted.

Loading