Skip to content

Commit ee48d2b

Browse files
authored
Merge pull request #72 from Gusto/speakeasy-sdk-regen-1758327195
chore: 🐝 Update SDK - Generate Clients GUSTO-EMBEDDED 0.7.0
2 parents 5923ddf + fad6b71 commit ee48d2b

36 files changed

+139
-50
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.619.0
1+
speakeasyVersion: 1.625.0
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:2e5a134e6f64c60e0e42318f25d4dc28bce2cc54c76becc45c50f922f95b74c7
6-
sourceBlobDigest: sha256:2d9246501bf4c25361623fc2c81e89523c8dd58474acb60be751f677d2236566
5+
sourceRevisionDigest: sha256:ba2e4cb80c8e43d6ed8f1120a2d35f87df1ecaa5cd5ac14ad15fa7b6be410d3d
6+
sourceBlobDigest: sha256:d781c54e58569318974df73862133c8ada242502b22e3e0b90ac59c4ce299cd4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1757463216
9+
- speakeasy-sdk-regen-1758327195
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:2e5a134e6f64c60e0e42318f25d4dc28bce2cc54c76becc45c50f922f95b74c7
16-
sourceBlobDigest: sha256:2d9246501bf4c25361623fc2c81e89523c8dd58474acb60be751f677d2236566
15+
sourceRevisionDigest: sha256:ba2e4cb80c8e43d6ed8f1120a2d35f87df1ecaa5cd5ac14ad15fa7b6be410d3d
16+
sourceBlobDigest: sha256:d781c54e58569318974df73862133c8ada242502b22e3e0b90ac59c4ce299cd4
1717
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:8909cf302f9eb78ee7d6887c5c55762d9972b43103c4801f137d0c79d3e5c9f8
18+
codeSamplesRevisionDigest: sha256:9ce832088b483dc7c8c9f525ead585721566723b84254f76a2e892f95c01e314
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.devcontainer/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
77
rmdir samples || true
88
mkdir samples
99

10-
npm install
11-
npm install -g ts-node
10+
npm install --ignore-scripts
11+
npm install -g ts-node --ignore-scripts
1212
npm link
1313
npm link @gusto/embedded-api
1414
TS_CONFIG_CONTENT=$(cat <<EOL

gusto_embedded/.speakeasy/gen.lock

Lines changed: 11 additions & 7 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: 94d27aea4d433d55ce46aa715cb74500
4+
docChecksum: bf6982b8447b19879159d06ed77b3252
55
docVersion: "2024-04-01"
6-
speakeasyVersion: 1.619.0
7-
generationVersion: 2.706.0
8-
releaseVersion: 0.6.11
9-
configChecksum: 2a0cccf4cf95a23a7c73aca5125165e1
6+
speakeasyVersion: 1.625.0
7+
generationVersion: 2.715.0
8+
releaseVersion: 0.7.0
9+
configChecksum: 9346f7ccdea3ffb5dc607e3c7342f044
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,10 +16,11 @@ features:
1616
additionalDependencies: 0.1.0
1717
additionalProperties: 0.1.1
1818
constsAndDefaults: 0.1.12
19-
core: 3.21.22
19+
core: 3.21.25
2020
defaultEnabledRetries: 0.1.0
2121
deprecations: 2.81.1
22-
devContainers: 2.90.0
22+
devContainers: 2.90.1
23+
downloadStreams: 0.1.1
2324
enumUnions: 0.1.0
2425
envVarSecurityUsage: 0.1.2
2526
errorUnions: 0.1.1
@@ -7360,6 +7361,9 @@ examples:
73607361
employee_id: "<id>"
73617362
header:
73627363
X-Gusto-API-Version: "2024-04-01"
7364+
responses:
7365+
"200":
7366+
application/pdf: "x-file: example.file"
73637367
get-v1-employees-employee_uuid-pay_stubs:
73647368
test_example:
73657369
parameters:

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
typescript:
28-
version: 0.6.11
28+
version: 0.7.0
2929
additionalDependencies:
3030
dependencies: {}
3131
devDependencies: {}
@@ -56,6 +56,7 @@ typescript:
5656
jsonpath: legacy
5757
maxMethodParams: 0
5858
methodArguments: require-security-and-request
59+
modelPropertyCasing: camel
5960
moduleFormat: esm
6061
outputModelSuffix: output
6162
packageName: '@gusto/embedded-api'

gusto_embedded/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,9 @@ bun add @tanstack/react-query react react-dom
7575
### Yarn
7676

7777
```bash
78-
yarn add @gusto/embedded-api zod
78+
yarn add @gusto/embedded-api
7979
# Install optional peer dependencies if you plan to use React hooks
8080
yarn add @tanstack/react-query react react-dom
81-
82-
# Note that Yarn does not install peer dependencies automatically. You will need
83-
# to install zod as shown above.
8481
```
8582

8683
> [!NOTE]
@@ -1466,7 +1463,7 @@ httpClient.addHook("requestError", (error, request) => {
14661463
console.groupEnd();
14671464
});
14681465

1469-
const sdk = new GustoEmbedded({ httpClient });
1466+
const sdk = new GustoEmbedded({ httpClient: httpClient });
14701467
```
14711468
<!-- End Custom HTTP Client [http-client] -->
14721469

gusto_embedded/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,14 @@ Based on:
358358
### Generated
359359
- [typescript v0.6.11] gusto_embedded
360360
### Releases
361-
- [NPM v0.6.11] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.11 - gusto_embedded
361+
- [NPM v0.6.11] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.11 - gusto_embedded
362+
363+
## 2025-09-24 17:40:26
364+
### Changes
365+
Based on:
366+
- OpenAPI Doc
367+
- Speakeasy CLI 1.625.0 (2.715.0) https://github.com/speakeasy-api/speakeasy
368+
### Generated
369+
- [typescript v0.7.0] gusto_embedded
370+
### Releases
371+
- [NPM v0.7.0] https://www.npmjs.com/package/@gusto/embedded-api/v/0.7.0 - gusto_embedded

gusto_embedded/docs/models/components/supportedbenefit.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ let value: SupportedBenefit = {};
2323
| `healthcare` | *boolean* | :heavy_minus_sign: | Whether the benefit is healthcare related. |
2424
| `retirement` | *boolean* | :heavy_minus_sign: | Whether the benefit is associated with retirement planning. |
2525
| `yearlyLimit` | *boolean* | :heavy_minus_sign: | Whether the benefit has a government mandated yearly limit. If the benefit has a government mandated yearly limit, employees cannot be added to more than one benefit of this type. |
26-
| `category` | *string* | :heavy_minus_sign: | Category where the benefit belongs to. |
26+
| `category` | *string* | :heavy_minus_sign: | Category where the benefit belongs to. |
27+
| `writableByApplication` | *boolean* | :heavy_minus_sign: | Whether this benefit can be written (created, updated, or destroyed). Returns true if the benefit type is permitted for the application, false otherwise. |

gusto_embedded/docs/models/operations/getv1payrollspayrolluuidemployeesemployeeuuidpaystubresponse.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
```typescript
66
import { GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubResponse } from "@gusto/embedded-api/models/operations/getv1payrollspayrolluuidemployeesemployeeuuidpaystub.js";
77

8-
let value: GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubResponse = {};
8+
// No examples available for this model
99
```
1010

1111
## Fields
1212

1313
| Field | Type | Required | Description |
1414
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
15-
| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A |
15+
| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A |
16+
| `responseStream` | *ReadableStream<Uint8Array>* | :heavy_minus_sign: | successful |

gusto_embedded/docs/sdks/companybenefits/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Company benefits represent the benefits that a company is offering to employees.
2525

2626
Note that company benefits can be deactivated only when no employees are enrolled.
2727

28+
When the application has the `company_benefits:write:benefit_type_limited` data scope, the application can only create company benefits for benefit types that are permitted for the application.
29+
2830
scope: `company_benefits:write`
2931

3032
### Example Usage
@@ -340,6 +342,8 @@ Company benefits represent the benefits that a company is offering to employees.
340342

341343
Note that company benefits can be deactivated only when no employees are enrolled.
342344

345+
When the application has the `company_benefits:write:benefit_type_limited` data scope, the application can only update company benefits for benefit types that are permitted for the application.
346+
343347
scope: `company_benefits:write`
344348

345349
### Example Usage
@@ -444,6 +448,8 @@ The following must be true in order to delete a company benefit
444448
- There are no payroll items associated with the company benefit
445449
- The benefit is not managed by a Partner or by Gusto (type must be 'External')
446450

451+
When the application has the `company_benefits:write:benefit_type_limited` data scope, the application can only delete company benefits for benefit types that are permitted for the application.
452+
447453
scope: `company_benefits:write`
448454

449455
### Example Usage
@@ -963,6 +969,8 @@ Create or update(if the employee is already enrolled in the company benefit prev
963969

964970
Benefits containing PHI are only visible to applications with the `employee_benefits:read:phi` scope.
965971

972+
When the application has the `employee_benefits:write:benefit_type_limited` data scope, the application can only create or update employee benefits for benefit types that are permitted for the application.
973+
966974
scope: `employee_benefits:write`
967975

968976
### Example Usage

gusto_embedded/docs/sdks/employeebenefits/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
## create
1717

18-
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee’s enrollment.
18+
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee's enrollment.
19+
20+
When the application has the `employee_benefits:write:benefit_type_limited` data scope, the application can only create employee benefits for benefit types that are permitted for the application.
1921

2022
scope: `employee_benefits:write`
2123

@@ -336,7 +338,9 @@ import {
336338

337339
## update
338340

339-
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee’s enrollment.
341+
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee's enrollment.
342+
343+
When the application has the `employee_benefits:write:benefit_type_limited` data scope, the application can only update employee benefits for benefit types that are permitted for the application.
340344

341345
scope: `employee_benefits:write`
342346

@@ -437,7 +441,9 @@ import {
437441

438442
## delete
439443

440-
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee’s enrollment.
444+
Employee benefits represent an employee enrolled in a particular company benefit. It includes information specific to that employee's enrollment.
445+
446+
When the application has the `employee_benefits:write:benefit_type_limited` data scope, the application can only delete employee benefits for benefit types that are permitted for the application.
441447

442448
scope: `employee_benefits:write`
443449

0 commit comments

Comments
 (0)