Skip to content

Commit 8fe8235

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.525.2
1 parent a4ca02f commit 8fe8235

752 files changed

Lines changed: 11510 additions & 3713 deletions

File tree

Some content is hidden

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

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.513.4
1+
speakeasyVersion: 1.525.2
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:d607008375202d69ea058d7ea9e036ec2f0a58140ae6364705c46aa83a55d35c
6-
sourceBlobDigest: sha256:c74fe36dfe2890a62b0e21dd7b86c20bcbcbc1828103960f71bc924f5f9fb514
5+
sourceRevisionDigest: sha256:096dcd2e8081ec6a16571b390289cb7d4072b62504ef02b0a1800c8e263ac5db
6+
sourceBlobDigest: sha256:687842f700a87c82ba30231cdecaba3b0af5bfa152abe16b3f6cea7d355b151d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741220278
9+
- speakeasy-sdk-regen-1741652267
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:d607008375202d69ea058d7ea9e036ec2f0a58140ae6364705c46aa83a55d35c
16-
sourceBlobDigest: sha256:c74fe36dfe2890a62b0e21dd7b86c20bcbcbc1828103960f71bc924f5f9fb514
15+
sourceRevisionDigest: sha256:096dcd2e8081ec6a16571b390289cb7d4072b62504ef02b0a1800c8e263ac5db
16+
sourceBlobDigest: sha256:687842f700a87c82ba30231cdecaba3b0af5bfa152abe16b3f6cea7d355b151d
1717
codeSamplesNamespace: gusto-embedded-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:afbbfc429c9f3ac1835e0733625ff9f3f0bd9910cd983cbcc93a453d656acebc
18+
codeSamplesRevisionDigest: sha256:a22d6741677f767de4dbc1be90132e86da12121cb6dbd94d10c7765b11ac300e
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.speakeasy/gen.lock

Lines changed: 111 additions & 13 deletions
Large diffs are not rendered by default.

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
java:
18-
version: 0.1.0
18+
version: 0.2.0
1919
additionalDependencies: []
2020
additionalPlugins: []
2121
artifactID: embedded-api

gusto_embedded/README.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ The samples below show how a published SDK artifact is used:
4747

4848
Gradle:
4949
```groovy
50-
implementation 'com.gusto:embedded-api:0.1.0'
50+
implementation 'com.gusto:embedded-api:0.2.0'
5151
```
5252

5353
Maven:
5454
```xml
5555
<dependency>
5656
<groupId>com.gusto</groupId>
5757
<artifactId>embedded-api</artifactId>
58-
<version>0.1.0</version>
58+
<version>0.2.0</version>
5959
</dependency>
6060
```
6161

@@ -96,7 +96,7 @@ public class Application {
9696
.build();
9797

9898
GetV1TokenInfoResponse res = sdk.introspection().getInfo()
99-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
99+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
100100
.call();
101101

102102
if (res.object().isPresent()) {
@@ -136,7 +136,7 @@ public class Application {
136136
.build();
137137

138138
GetV1TokenInfoResponse res = sdk.introspection().getInfo()
139-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
139+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
140140
.call();
141141

142142
if (res.object().isPresent()) {
@@ -155,11 +155,7 @@ package hello.world;
155155
import com.gusto.embedded_api.GustoEmbedded;
156156
import com.gusto.embedded_api.models.components.VersionHeader;
157157
import com.gusto.embedded_api.models.errors.UnprocessableEntityErrorObject;
158-
import com.gusto.embedded_api.models.operations.Company;
159-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesRequestBody;
160-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesResponse;
161-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesSecurity;
162-
import com.gusto.embedded_api.models.operations.User;
158+
import com.gusto.embedded_api.models.operations.*;
163159
import java.lang.Exception;
164160

165161
public class Application {
@@ -173,7 +169,7 @@ public class Application {
173169
.security(PostV1PartnerManagedCompaniesSecurity.builder()
174170
.systemAccessAuth("<YOUR_BEARER_TOKEN_HERE>")
175171
.build())
176-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
172+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
177173
.requestBody(PostV1PartnerManagedCompaniesRequestBody.builder()
178174
.user(User.builder()
179175
.firstName("Frank")
@@ -229,6 +225,11 @@ public class Application {
229225
* [finishOnboarding](docs/sdks/companies/README.md#finishonboarding) - Finish company onboarding
230226
* [getCustomFields](docs/sdks/companies/README.md#getcustomfields) - Get the custom fields of a company
231227

228+
#### [companies().suspensions()](docs/sdks/suspensions/README.md)
229+
230+
* [get](docs/sdks/suspensions/README.md#get) - Get suspensions for this company
231+
* [suspend](docs/sdks/suspensions/README.md#suspend) - Suspend a company's account
232+
232233
### [companyAttachment()](docs/sdks/companyattachment/README.md)
233234

234235
* [getDownloadUrl](docs/sdks/companyattachment/README.md#getdownloadurl) - Get a temporary url to download the Company Attachment file
@@ -619,11 +620,7 @@ package hello.world;
619620
import com.gusto.embedded_api.GustoEmbedded;
620621
import com.gusto.embedded_api.models.components.VersionHeader;
621622
import com.gusto.embedded_api.models.errors.UnprocessableEntityErrorObject;
622-
import com.gusto.embedded_api.models.operations.Company;
623-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesRequestBody;
624-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesResponse;
625-
import com.gusto.embedded_api.models.operations.PostV1PartnerManagedCompaniesSecurity;
626-
import com.gusto.embedded_api.models.operations.User;
623+
import com.gusto.embedded_api.models.operations.*;
627624
import java.lang.Exception;
628625

629626
public class Application {
@@ -637,7 +634,7 @@ public class Application {
637634
.security(PostV1PartnerManagedCompaniesSecurity.builder()
638635
.systemAccessAuth("<YOUR_BEARER_TOKEN_HERE>")
639636
.build())
640-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
637+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
641638
.requestBody(PostV1PartnerManagedCompaniesRequestBody.builder()
642639
.user(User.builder()
643640
.firstName("Frank")
@@ -694,7 +691,7 @@ public class Application {
694691
.build();
695692

696693
GetV1TokenInfoResponse res = sdk.introspection().getInfo()
697-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
694+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
698695
.call();
699696

700697
if (res.object().isPresent()) {
@@ -725,7 +722,7 @@ public class Application {
725722
.build();
726723

727724
GetV1TokenInfoResponse res = sdk.introspection().getInfo()
728-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
725+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
729726
.call();
730727

731728
if (res.object().isPresent()) {

gusto_embedded/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,12 @@ Based on:
3030
- OpenAPI Doc
3131
- Speakeasy CLI 1.513.4 (2.545.4) https://github.com/speakeasy-api/speakeasy
3232
### Generated
33-
- [java v0.1.0] gusto_embedded
33+
- [java v0.1.0] gusto_embedded
34+
35+
## 2025-03-28 00:17:31
36+
### Changes
37+
Based on:
38+
- OpenAPI Doc
39+
- Speakeasy CLI 1.525.2 (2.562.3) https://github.com/speakeasy-api/speakeasy
40+
### Generated
41+
- [java v0.2.0] gusto_embedded

gusto_embedded/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Application {
1616
.build();
1717

1818
GetV1TokenInfoResponse res = sdk.introspection().getInfo()
19-
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR0401)
19+
.xGustoAPIVersion(VersionHeader.TWO_THOUSAND_AND_TWENTY_FOUR_MINUS04_MINUS01)
2020
.call();
2121

2222
if (res.object().isPresent()) {

gusto_embedded/build.gradle

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ model {
3838
}
3939
}
4040

41+
version = "${version}"
42+
group = "${groupId}"
43+
4144
jar {
4245
dependsOn(":generatePomFileForMavenPublication")
4346

@@ -60,25 +63,24 @@ tasks.withType(Javadoc) {
6063
options.addStringOption('Xdoclint:none', '-quiet')
6164
}
6265

63-
group = "com.gusto"
64-
version = "0.1.0"
65-
6666
sourcesJar {
67-
archiveBaseName = "embedded-api"
67+
archiveBaseName = "${artifactId}"
6868
}
6969

7070
javadocJar {
71-
archiveBaseName = "embedded-api"
71+
archiveBaseName = "${artifactId}"
7272
}
7373

7474

7575
publishing {
7676

7777
publications {
7878
maven(MavenPublication) {
79-
groupId = 'com.gusto'
80-
artifactId = 'embedded-api'
81-
version = '0.1.0'
79+
// note that properties can't yet be used below!
80+
// https://github.com/gradle/gradle/issues/18619
81+
groupId = "com.gusto"
82+
artifactId = "embedded-api"
83+
version = "0.2.0"
8284

8385
from components.java
8486

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AccruingTimeOffHourObject
2+
3+
Example response
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
10+
| `hoursEarned` | List\<[AccruingTimeOffHour](../../models/components/AccruingTimeOffHour.md)> | :heavy_check_mark: | N/A |
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# CompanySuspension
2+
3+
Record representing the suspension of a company's Gusto account.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10+
| `uuid` | *Optional\<String>* | :heavy_minus_sign: | Unique identifier for this suspension. |
11+
| `companyUuid` | *Optional\<String>* | :heavy_minus_sign: | Unique identifier for the company which is suspended. |
12+
| `effectiveDate` | *Optional\<String>* | :heavy_minus_sign: | Date that the suspension took effect. |
13+
| `leavingFor` | *Optional\<String>* | :heavy_minus_sign: | Which competitor the company is joining instead. Only required if `reason` is `'switching_provider'`. |
14+
| `reason` | *Optional\<String>* | :heavy_minus_sign: | Explanation for why the company's account was suspended. |
15+
| `reconcileTaxMethod` | [Optional\<ReconcileTaxMethod>](../../models/components/ReconcileTaxMethod.md) | :heavy_minus_sign: | How Gusto will handle taxes already collected. |
16+
| `fileQuarterlyForms` | *Optional\<Boolean>* | :heavy_minus_sign: | Should Gusto file quarterly tax forms on behalf of the company? The correct answer can depend on why the company<br/>is suspending their account, and how taxes are being reconciled.<br/> |
17+
| `fileYearlyForms` | *Optional\<Boolean>* | :heavy_minus_sign: | Should Gusto file yearly tax forms on behalf of the company? The correct answer can depend on why the company<br/>is suspending their account, and how taxes are being reconciled.<br/> |
18+
| `comments` | *Optional\<String>* | :heavy_minus_sign: | User-supplied comments describing why then are suspending their account. |
19+
| `taxRefunds` | [Optional\<TaxRefunds>](../../models/components/TaxRefunds.md) | :heavy_minus_sign: | Describes the taxes which are refundable to the company for this suspension. These may be refunded, or paid<br/>by Gusto, depending on the value in `reconcile_tax_method`.<br/> |

0 commit comments

Comments
 (0)