Skip to content

Commit 8fde71e

Browse files
authored
Merge pull request #78 from Gusto/speakeasy-sdk-regen-1759966935
chore: 🐝 Update SDK - Generate Clients GUSTO-EMBEDDED 0.8.0
2 parents 78ee0e0 + c6b59f4 commit 8fde71e

File tree

271 files changed

+350
-304
lines changed

Some content is hidden

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

271 files changed

+350
-304
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.631.5
1+
speakeasyVersion: 1.636.3
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:3f8b0fedc1493feb3c1816a2f090175b5984b8019e0430dc2d8689a1655b5156
6-
sourceBlobDigest: sha256:011ff1444fda8dbeb55be81e01279f6050555d28c9e8c3a325f9ed29bdfe4025
5+
sourceRevisionDigest: sha256:f72c3aebbde48541ff90865cffcac2383b387cec18d55c263191bb13932967fb
6+
sourceBlobDigest: sha256:cf2b2ef6cb8603a3a19538799cbdfb82c815c614581fc93eddf737c9cf527873
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758845608
9+
- speakeasy-sdk-regen-1759966935
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:3f8b0fedc1493feb3c1816a2f090175b5984b8019e0430dc2d8689a1655b5156
16-
sourceBlobDigest: sha256:011ff1444fda8dbeb55be81e01279f6050555d28c9e8c3a325f9ed29bdfe4025
15+
sourceRevisionDigest: sha256:f72c3aebbde48541ff90865cffcac2383b387cec18d55c263191bb13932967fb
16+
sourceBlobDigest: sha256:cf2b2ef6cb8603a3a19538799cbdfb82c815c614581fc93eddf737c9cf527873
1717
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:cbfcfde44aaabf94b1d894fd2392f697c436b283a80591ff1d5688a3679d22c2
18+
codeSamplesRevisionDigest: sha256:ef5222571058f3f5ae0d7efbc9095cd6e1a6d081221e5d239c42b6b4f3b958ca
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.speakeasy/gen.lock

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f0264e24-cbe2-4074-b157-7a6ba8979508
33
management:
4-
docChecksum: 60065968053490c2692c2b6b0861775b
4+
docChecksum: 4bc6af4d719f637b2c3cc6202d7c7476
55
docVersion: "2024-04-01"
6-
speakeasyVersion: 1.631.5
7-
generationVersion: 2.716.16
8-
releaseVersion: 0.7.1
9-
configChecksum: 78b3c210a41c40e3bccbc138c03b97c0
6+
speakeasyVersion: 1.636.3
7+
generationVersion: 2.723.11
8+
releaseVersion: 0.8.0
9+
configChecksum: e5d67d5ed2133c329aec78c74d092b58
1010
repoURL: https://github.com/Gusto/gusto-typescript-client.git
1111
repoSubDirectory: gusto_embedded
1212
installationURL: https://gitpkg.now.sh/Gusto/gusto-typescript-client/gusto_embedded
@@ -16,7 +16,7 @@ features:
1616
additionalDependencies: 0.1.0
1717
additionalProperties: 0.1.1
1818
constsAndDefaults: 0.1.12
19-
core: 3.21.25
19+
core: 3.21.26
2020
defaultEnabledRetries: 0.1.0
2121
deprecations: 2.81.1
2222
devContainers: 2.90.1
@@ -28,7 +28,7 @@ features:
2828
globalSecurityCallbacks: 0.1.0
2929
globalSecurityFlattening: 0.1.0
3030
globalServerURLs: 2.82.5
31-
groups: 2.81.2
31+
groups: 2.81.3
3232
inputOutputModels: 2.82.0
3333
methodSecurity: 2.82.6
3434
nameOverrides: 2.81.2
@@ -38,7 +38,7 @@ features:
3838
retries: 2.83.0
3939
sdkHooks: 0.3.0
4040
serverIDs: 2.81.2
41-
unions: 2.85.12
41+
unions: 2.86.0
4242
uploadStreams: 0.1.0
4343
generatedFiles:
4444
- .devcontainer/README.md
@@ -1352,7 +1352,6 @@ generatedFiles:
13521352
- docs/sdks/flows/README.md
13531353
- docs/sdks/garnishments/README.md
13541354
- docs/sdks/generateddocuments/README.md
1355-
- docs/sdks/gustoembedded/README.md
13561355
- docs/sdks/historicalemployees/README.md
13571356
- docs/sdks/holidaypaypolicies/README.md
13581357
- docs/sdks/i9verification/README.md
@@ -3286,7 +3285,7 @@ examples:
32863285
header:
32873286
X-Gusto-API-Version: "2024-04-01"
32883287
requestBody:
3289-
application/json: {"flow_type": "company_onboarding"}
3288+
application/json: {"flow_type": "company_retirement_benefits"}
32903289
responses:
32913290
"201":
32923291
application/json: {"url": "https://flows.gusto-demo.com/flows/lO2BHHAMCScPVV9G5WEURW0Im_nP9mGYloQgjUWbenQ"}
@@ -3323,6 +3322,19 @@ examples:
33233322
responses:
33243323
"422":
33253324
application/json: {"errors": [{"error_key": "contractor_payments", "category": "nested_errors", "metadata": {"contractor_uuid": "72ae4617-daa9-4ed7-85e0-18ed5d0ee835"}, "errors": [{"error_key": "hours", "category": "invalid_attribute_value", "message": "Ella Fitzgerald is paid fixed wage and hours cannot be set on a contractor payment"}]}, {"error_key": "contractor_payments", "category": "nested_errors", "metadata": {"contractor_uuid": "2d7bf62c-babf-4a12-8292-340e2d9cab28"}, "errors": [{"error_key": "wage", "category": "invalid_attribute_value", "message": "Isaiah Berlin is paid hourly and wage cannot be set on a contractor payment"}]}]}
3325+
Example with options:
3326+
parameters:
3327+
path:
3328+
company_uuid: "<id>"
3329+
header:
3330+
X-Gusto-API-Version: "2024-04-01"
3331+
requestBody:
3332+
application/json: {"flow_type": "company_retirement_benefits", "entity_type": "Company", "options": {"provider": "guideline"}}
3333+
responses:
3334+
"201":
3335+
application/json: {}
3336+
"422":
3337+
application/json: {"errors": [{"error_key": "<value>", "category": "<value>"}]}
33263338
post-v1-companies-company_id-locations:
33273339
Example:
33283340
parameters:
@@ -9912,3 +9924,4 @@ examples:
99129924
application/json: {}
99139925
examplesVersion: 1.0.2
99149926
generatedTests: {}
9927+
releaseNotes: "## Typescript SDK Changes Detected:\n* `gustoembedded.flows.create()`: \n * `request.requestBody.options` **Added**\n* `gustoembedded.payrolls.prepare()`: `request` **Changed**\n"

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
typescript:
28-
version: 0.7.1
28+
version: 0.8.0
29+
acceptHeaderEnum: true
2930
additionalDependencies:
3031
dependencies: {}
3132
devDependencies: {}

gusto_embedded/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ run();
437437

438438
* [get](docs/sdks/generateddocuments/README.md#get) - Get a generated document
439439

440-
441440
### [historicalEmployees](docs/sdks/historicalemployees/README.md)
442441

443442
* [update](docs/sdks/historicalemployees/README.md#update) - Update a historical employee

gusto_embedded/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,14 @@ Based on:
378378
### Generated
379379
- [typescript v0.7.1] gusto_embedded
380380
### Releases
381-
- [NPM v0.7.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.7.1 - gusto_embedded
381+
- [NPM v0.7.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.7.1 - gusto_embedded
382+
383+
## 2025-10-13 00:14:42
384+
### Changes
385+
Based on:
386+
- OpenAPI Doc
387+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
388+
### Generated
389+
- [typescript v0.8.0] gusto_embedded
390+
### Releases
391+
- [NPM v0.8.0] https://www.npmjs.com/package/@gusto/embedded-api/v/0.8.0 - gusto_embedded

gusto_embedded/RUNTIMES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
44

5-
* [Web Fetch API][web-fetch]
6-
* [Web Streams API][web-streams] and in particular `ReadableStream`
7-
* [Async iterables][async-iter] using `Symbol.asyncIterator`
5+
- [Web Fetch API][web-fetch]
6+
- [Web Streams API][web-streams] and in particular `ReadableStream`
7+
- [Async iterables][async-iter] using `Symbol.asyncIterator`
88

99
[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
1010
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
@@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are:
2525

2626
The following `tsconfig.json` options are recommended for projects using this
2727
SDK in order to get static type support for features like async iterables,
28-
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
2929
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
3030
so on):
3131

@@ -38,11 +38,11 @@ so on):
3838
{
3939
"compilerOptions": {
4040
"target": "es2020", // or higher
41-
"lib": ["es2020", "dom", "dom.iterable"],
41+
"lib": ["es2020", "dom", "dom.iterable"]
4242
}
4343
}
4444
```
4545

4646
While `target` can be set to older ECMAScript versions, it may result in extra,
4747
unnecessary compatibility code being generated if you are not targeting old
48-
runtimes.
48+
runtimes.

gusto_embedded/docs/models/operations/postv1companyflowsrequestbody.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ let value: PostV1CompanyFlowsRequestBody = {
1212

1313
## Fields
1414

15-
| Field | Type | Required | Description |
16-
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
17-
| `flowType` | *string* | :heavy_check_mark: | flow type |
18-
| `entityUuid` | *string* | :heavy_minus_sign: | UUID of the target entity applicable to the flow. This field is optional for company flows, please refer to the flow_types table above for more details. |
19-
| `entityType` | [operations.EntityType](../../models/operations/entitytype.md) | :heavy_minus_sign: | the type of target entity applicable to the flow. This field is optional for company flows, please refer to the flow_types table above for more details. |
15+
| Field | Type | Required | Description |
16+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17+
| `flowType` | *string* | :heavy_check_mark: | flow type |
18+
| `entityUuid` | *string* | :heavy_minus_sign: | UUID of the target entity applicable to the flow. This field is optional for company flows, please refer to the flow_types table above for more details. |
19+
| `entityType` | [operations.EntityType](../../models/operations/entitytype.md) | :heavy_minus_sign: | the type of target entity applicable to the flow. This field is optional for company flows, please refer to the flow_types table above for more details. |
20+
| `options` | Record<string, *any*> | :heavy_minus_sign: | Optional configuration object that varies based on the flow_type. This can contain arbitrary key-value pairs specific to the flow being generated (e.g., { "provider": "guideline" }). |

0 commit comments

Comments
 (0)