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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.631.5
speakeasyVersion: 1.636.3
sources:
GustoEmbedded-OAS:
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:3f8b0fedc1493feb3c1816a2f090175b5984b8019e0430dc2d8689a1655b5156
sourceBlobDigest: sha256:011ff1444fda8dbeb55be81e01279f6050555d28c9e8c3a325f9ed29bdfe4025
sourceRevisionDigest: sha256:f72c3aebbde48541ff90865cffcac2383b387cec18d55c263191bb13932967fb
sourceBlobDigest: sha256:cf2b2ef6cb8603a3a19538799cbdfb82c815c614581fc93eddf737c9cf527873
tags:
- latest
- speakeasy-sdk-regen-1758845608
- speakeasy-sdk-regen-1759966935
- "2024-04-01"
targets:
gusto-embedded:
source: GustoEmbedded-OAS
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:3f8b0fedc1493feb3c1816a2f090175b5984b8019e0430dc2d8689a1655b5156
sourceBlobDigest: sha256:011ff1444fda8dbeb55be81e01279f6050555d28c9e8c3a325f9ed29bdfe4025
sourceRevisionDigest: sha256:f72c3aebbde48541ff90865cffcac2383b387cec18d55c263191bb13932967fb
sourceBlobDigest: sha256:cf2b2ef6cb8603a3a19538799cbdfb82c815c614581fc93eddf737c9cf527873
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:cbfcfde44aaabf94b1d894fd2392f697c436b283a80591ff1d5688a3679d22c2
codeSamplesRevisionDigest: sha256:ef5222571058f3f5ae0d7efbc9095cd6e1a6d081221e5d239c42b6b4f3b958ca
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
33 changes: 23 additions & 10 deletions gusto_embedded/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f0264e24-cbe2-4074-b157-7a6ba8979508
management:
docChecksum: 60065968053490c2692c2b6b0861775b
docChecksum: 4bc6af4d719f637b2c3cc6202d7c7476
docVersion: "2024-04-01"
speakeasyVersion: 1.631.5
generationVersion: 2.716.16
releaseVersion: 0.7.1
configChecksum: 78b3c210a41c40e3bccbc138c03b97c0
speakeasyVersion: 1.636.3
generationVersion: 2.723.11
releaseVersion: 0.8.0
configChecksum: e5d67d5ed2133c329aec78c74d092b58
repoURL: https://github.com/Gusto/gusto-typescript-client.git
repoSubDirectory: gusto_embedded
installationURL: https://gitpkg.now.sh/Gusto/gusto-typescript-client/gusto_embedded
Expand All @@ -16,7 +16,7 @@ features:
additionalDependencies: 0.1.0
additionalProperties: 0.1.1
constsAndDefaults: 0.1.12
core: 3.21.25
core: 3.21.26
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
devContainers: 2.90.1
Expand All @@ -28,7 +28,7 @@ features:
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.5
groups: 2.81.2
groups: 2.81.3
inputOutputModels: 2.82.0
methodSecurity: 2.82.6
nameOverrides: 2.81.2
Expand All @@ -38,7 +38,7 @@ features:
retries: 2.83.0
sdkHooks: 0.3.0
serverIDs: 2.81.2
unions: 2.85.12
unions: 2.86.0
uploadStreams: 0.1.0
generatedFiles:
- .devcontainer/README.md
Expand Down Expand Up @@ -1352,7 +1352,6 @@ generatedFiles:
- docs/sdks/flows/README.md
- docs/sdks/garnishments/README.md
- docs/sdks/generateddocuments/README.md
- docs/sdks/gustoembedded/README.md
- docs/sdks/historicalemployees/README.md
- docs/sdks/holidaypaypolicies/README.md
- docs/sdks/i9verification/README.md
Expand Down Expand Up @@ -3286,7 +3285,7 @@ examples:
header:
X-Gusto-API-Version: "2024-04-01"
requestBody:
application/json: {"flow_type": "company_onboarding"}
application/json: {"flow_type": "company_retirement_benefits"}
responses:
"201":
application/json: {"url": "https://flows.gusto-demo.com/flows/lO2BHHAMCScPVV9G5WEURW0Im_nP9mGYloQgjUWbenQ"}
Expand Down Expand Up @@ -3323,6 +3322,19 @@ examples:
responses:
"422":
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"}]}]}
Example with options:
parameters:
path:
company_uuid: "<id>"
header:
X-Gusto-API-Version: "2024-04-01"
requestBody:
application/json: {"flow_type": "company_retirement_benefits", "entity_type": "Company", "options": {"provider": "guideline"}}
responses:
"201":
application/json: {}
"422":
application/json: {"errors": [{"error_key": "<value>", "category": "<value>"}]}
post-v1-companies-company_id-locations:
Example:
parameters:
Expand Down Expand Up @@ -9912,3 +9924,4 @@ examples:
application/json: {}
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: "## Typescript SDK Changes Detected:\n* `gustoembedded.flows.create()`: \n * `request.requestBody.options` **Added**\n* `gustoembedded.payrolls.prepare()`: `request` **Changed**\n"
3 changes: 2 additions & 1 deletion gusto_embedded/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.7.1
version: 0.8.0
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
1 change: 0 additions & 1 deletion gusto_embedded/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ run();

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


### [historicalEmployees](docs/sdks/historicalemployees/README.md)

* [update](docs/sdks/historicalemployees/README.md#update) - Update a historical employee
Expand Down
12 changes: 11 additions & 1 deletion gusto_embedded/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,4 +378,14 @@ Based on:
### Generated
- [typescript v0.7.1] gusto_embedded
### Releases
- [NPM v0.7.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.7.1 - gusto_embedded
- [NPM v0.7.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.7.1 - gusto_embedded

## 2025-10-13 00:14:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.0] gusto_embedded
### Releases
- [NPM v0.8.0] https://www.npmjs.com/package/@gusto/embedded-api/v/0.8.0 - gusto_embedded
12 changes: 6 additions & 6 deletions gusto_embedded/RUNTIMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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

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

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

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

Expand All @@ -38,11 +38,11 @@ so on):
{
"compilerOptions": {
"target": "es2020", // or higher
"lib": ["es2020", "dom", "dom.iterable"],
"lib": ["es2020", "dom", "dom.iterable"]
}
}
```

While `target` can be set to older ECMAScript versions, it may result in extra,
unnecessary compatibility code being generated if you are not targeting old
runtimes.
runtimes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ let value: PostV1CompanyFlowsRequestBody = {

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `flowType` | *string* | :heavy_check_mark: | flow type |
| `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. |
| `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. |
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `flowType` | *string* | :heavy_check_mark: | flow type |
| `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. |
| `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. |
| `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" }). |
Loading