Skip to content

Commit 19eb517

Browse files
committed
## Typescript SDK Changes Detected:
* `gustoembedded.timeOffPolicies.update()`: * `request.requestBody.version` **Added** **Breaking** ⚠️ * `gustoembedded.salaryEstimates.postV1SalaryEstimatesUuidAccept()`: `response.occupations.[].salaries` **Removed** **Breaking** ⚠️ * `gustoembedded.salaryEstimates.putV1SalaryEstimatesId()`: * `request.requestBody.annualNetRevenue` **Changed** * `response.occupations.[].salaries` **Removed** **Breaking** ⚠️ * `gustoembedded.salaryEstimates.getV1SalaryEstimatesId()`: `response.occupations.[].salaries` **Removed** **Breaking** ⚠️ * `gustoembedded.salaryEstimates.postV1EmployeesEmployeeIdSalaryEstimates()`: * `request.requestBody.annualNetRevenue` **Changed** * `response.occupations.[].salaries` **Removed** **Breaking** ⚠️ * `gustoembedded.payrolls.update()`: * `request.payroll-update.employeeCompensations.[].reimbursements` **Added** * `response.employee_compensations.[].reimbursements` **Added** * `gustoembedded.payrolls.createOffCycle()`: `response.employee_compensations.[].reimbursements` **Added** * `gustoembedded.payrolls.get()`: `response.employee_compensations.[].reimbursements` **Added** * `gustoembedded.reimbursements.getV1EmployeesEmployeeIdRecurringReimbursements()`: **Added** * `gustoembedded.payrolls.prepare()`: `response.employee_compensations.[].reimbursements` **Added** * `gustoembedded.payrolls.getPayStubs()`: * `request` **Changed** * `response.[].paymentMethod` **Added** * `gustoembedded.contractors.list()`: * `request.sortBy` **Added** * `gustoembedded.companyForms.getAll()`: * `request.sortBy` **Added** * `gustoembedded.reimbursements.deleteV1RecurringReimbursements()`: **Added** * `gustoembedded.reimbursements.putV1RecurringReimbursements()`: **Added** * `gustoembedded.reimbursements.getV1RecurringReimbursements()`: **Added** * `gustoembedded.reimbursements.postV1EmployeesEmployeeIdRecurringReimbursements()`: **Added**
1 parent c0cdc1e commit 19eb517

File tree

95 files changed

+5398
-613
lines changed

Some content is hidden

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

95 files changed

+5398
-613
lines changed

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.636.3
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:7ca56e04e01363b249ae0e2009d09528887a5101cea9438408e391b27380bd36
6-
sourceBlobDigest: sha256:2bf63c9df52696f1ab08685243e26b151c98487ad89361c79ea8efa83a6a8ad6
5+
sourceRevisionDigest: sha256:a15d71c953eb0339017973ec0ffbb29af8dacd4d04c359b587a3ec36fe3c2ccd
6+
sourceBlobDigest: sha256:25b18a9efb9d066334ef310a072aa190c2d6c3581f9370a8695d5fa5b215c75f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760487231
9+
- speakeasy-sdk-regen-1760660061
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:7ca56e04e01363b249ae0e2009d09528887a5101cea9438408e391b27380bd36
16-
sourceBlobDigest: sha256:2bf63c9df52696f1ab08685243e26b151c98487ad89361c79ea8efa83a6a8ad6
15+
sourceRevisionDigest: sha256:a15d71c953eb0339017973ec0ffbb29af8dacd4d04c359b587a3ec36fe3c2ccd
16+
sourceBlobDigest: sha256:25b18a9efb9d066334ef310a072aa190c2d6c3581f9370a8695d5fa5b215c75f
1717
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:f9616b24d9501a1b468b5e69646b1283b7b8e8c360024817be6c5a7ffcc17125
18+
codeSamplesRevisionDigest: sha256:a43f78a8da4cdaba2e637c47fdfb69658e90c74e0002e7e65c612ba4bc85fe8e
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.speakeasy/gen.lock

Lines changed: 113 additions & 14 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
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
typescript:
28-
version: 0.8.1
28+
version: 0.8.2
2929
acceptHeaderEnum: true
3030
additionalDependencies:
3131
dependencies: {}

gusto_embedded/README.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,14 @@ run();
549549
* [get](docs/sdks/recoverycases/README.md#get) - Get all recovery cases for a company
550550
* [redebit](docs/sdks/recoverycases/README.md#redebit) - Initiate a redebit for a recovery case
551551

552+
### [reimbursements](docs/sdks/reimbursements/README.md)
553+
554+
* [getV1EmployeesEmployeeIdRecurringReimbursements](docs/sdks/reimbursements/README.md#getv1employeesemployeeidrecurringreimbursements) - Get recurring reimbursements for an employee
555+
* [postV1EmployeesEmployeeIdRecurringReimbursements](docs/sdks/reimbursements/README.md#postv1employeesemployeeidrecurringreimbursements) - Create a recurring reimbursement
556+
* [getV1RecurringReimbursements](docs/sdks/reimbursements/README.md#getv1recurringreimbursements) - Get a recurring reimbursement
557+
* [putV1RecurringReimbursements](docs/sdks/reimbursements/README.md#putv1recurringreimbursements) - Update a recurring reimbursement
558+
* [deleteV1RecurringReimbursements](docs/sdks/reimbursements/README.md#deletev1recurringreimbursements) - Delete a recurring reimbursement
559+
552560
### [reports](docs/sdks/reports/README.md)
553561

554562
* [createCustom](docs/sdks/reports/README.md#createcustom) - Create a custom report
@@ -854,6 +862,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
854862
- [`paySchedulesUpdate`](docs/sdks/payschedules/README.md#update) - Update a pay schedule
855863
- [`recoveryCasesGet`](docs/sdks/recoverycases/README.md#get) - Get all recovery cases for a company
856864
- [`recoveryCasesRedebit`](docs/sdks/recoverycases/README.md#redebit) - Initiate a redebit for a recovery case
865+
- [`reimbursementsDeleteV1RecurringReimbursements`](docs/sdks/reimbursements/README.md#deletev1recurringreimbursements) - Delete a recurring reimbursement
866+
- [`reimbursementsGetV1EmployeesEmployeeIdRecurringReimbursements`](docs/sdks/reimbursements/README.md#getv1employeesemployeeidrecurringreimbursements) - Get recurring reimbursements for an employee
867+
- [`reimbursementsGetV1RecurringReimbursements`](docs/sdks/reimbursements/README.md#getv1recurringreimbursements) - Get a recurring reimbursement
868+
- [`reimbursementsPostV1EmployeesEmployeeIdRecurringReimbursements`](docs/sdks/reimbursements/README.md#postv1employeesemployeeidrecurringreimbursements) - Create a recurring reimbursement
869+
- [`reimbursementsPutV1RecurringReimbursements`](docs/sdks/reimbursements/README.md#putv1recurringreimbursements) - Update a recurring reimbursement
857870
- [`reportsCreateCustom`](docs/sdks/reports/README.md#createcustom) - Create a custom report
858871
- [`reportsGetReportsRequestUuid`](docs/sdks/reports/README.md#getreportsrequestuuid) - Get a report
859872
- [`reportsGetTemplate`](docs/sdks/reports/README.md#gettemplate) - Get a report template
@@ -1146,6 +1159,11 @@ To learn about this feature and how to get started, check
11461159
- [`usePaySchedulesUpdateMutation`](docs/sdks/payschedules/README.md#update) - Update a pay schedule
11471160
- [`useRecoveryCasesGet`](docs/sdks/recoverycases/README.md#get) - Get all recovery cases for a company
11481161
- [`useRecoveryCasesRedebitMutation`](docs/sdks/recoverycases/README.md#redebit) - Initiate a redebit for a recovery case
1162+
- [`useReimbursementsDeleteV1RecurringReimbursementsMutation`](docs/sdks/reimbursements/README.md#deletev1recurringreimbursements) - Delete a recurring reimbursement
1163+
- [`useReimbursementsGetV1EmployeesEmployeeIdRecurringReimbursements`](docs/sdks/reimbursements/README.md#getv1employeesemployeeidrecurringreimbursements) - Get recurring reimbursements for an employee
1164+
- [`useReimbursementsGetV1RecurringReimbursements`](docs/sdks/reimbursements/README.md#getv1recurringreimbursements) - Get a recurring reimbursement
1165+
- [`useReimbursementsPostV1EmployeesEmployeeIdRecurringReimbursementsMutation`](docs/sdks/reimbursements/README.md#postv1employeesemployeeidrecurringreimbursements) - Create a recurring reimbursement
1166+
- [`useReimbursementsPutV1RecurringReimbursementsMutation`](docs/sdks/reimbursements/README.md#putv1recurringreimbursements) - Update a recurring reimbursement
11491167
- [`useReportsCreateCustomMutation`](docs/sdks/reports/README.md#createcustom) - Create a custom report
11501168
- [`useReportsGetReportsRequestUuid`](docs/sdks/reports/README.md#getreportsrequestuuid) - Get a report
11511169
- [`useReportsGetTemplate`](docs/sdks/reports/README.md#gettemplate) - Get a report template
@@ -1368,12 +1386,12 @@ run();
13681386

13691387

13701388
**Inherit from [`GustoEmbeddedError`](./src/models/errors/gustoembeddederror.ts)**:
1371-
* [`UnprocessableEntityErrorObject`](./src/models/errors/unprocessableentityerrorobject.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Applicable to 145 of 266 methods.*
1372-
* [`NotFoundErrorObject`](./src/models/errors/notfounderrorobject.ts): Not Found The requested resource does not exist. Make sure the provided ID/UUID is valid. Status code `404`. Applicable to 4 of 266 methods.*
1373-
* [`UnprocessableEntityErrorObject1`](./src/models/errors/unprocessableentityerrorobject1.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Status code `422`. Applicable to 4 of 266 methods.*
1374-
* [`PayrollBlockersError`](./src/models/errors/payrollblockerserror.ts): Payroll Blockers Error For detailed information, see the [Payroll Blockers guide](https://docs.gusto.com/embedded-payroll/docs/payroll-blockers). Status code `422`. Applicable to 4 of 266 methods.*
1375-
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](./src/models/errors/deletev1companybenefitscompanybenefitidresponsebody.ts): Unprocessable Entity. Status code `422`. Applicable to 1 of 266 methods.*
1376-
* [`CompanySuspensionCreationErrors`](./src/models/errors/companysuspensioncreationerrors.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Status code `422`. Applicable to 1 of 266 methods.*
1389+
* [`UnprocessableEntityErrorObject`](./src/models/errors/unprocessableentityerrorobject.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Applicable to 149 of 271 methods.*
1390+
* [`NotFoundErrorObject`](./src/models/errors/notfounderrorobject.ts): Not Found The requested resource does not exist. Make sure the provided ID/UUID is valid. Status code `404`. Applicable to 4 of 271 methods.*
1391+
* [`UnprocessableEntityErrorObject1`](./src/models/errors/unprocessableentityerrorobject1.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Status code `422`. Applicable to 4 of 271 methods.*
1392+
* [`PayrollBlockersError`](./src/models/errors/payrollblockerserror.ts): Payroll Blockers Error For detailed information, see the [Payroll Blockers guide](https://docs.gusto.com/embedded-payroll/docs/payroll-blockers). Status code `422`. Applicable to 4 of 271 methods.*
1393+
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](./src/models/errors/deletev1companybenefitscompanybenefitidresponsebody.ts): Unprocessable Entity. Status code `422`. Applicable to 1 of 271 methods.*
1394+
* [`CompanySuspensionCreationErrors`](./src/models/errors/companysuspensioncreationerrors.ts): Unprocessable Entity This may happen when the body of your request contains errors such as `invalid_attribute_value`, or the request fails due to an `invalid_operation`. See the [Errors Categories](https://docs.gusto.com/embedded-payroll/docs/error-categories) guide for more details. Status code `422`. Applicable to 1 of 271 methods.*
13771395
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
13781396

13791397
</details>

gusto_embedded/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,14 @@ Based on:
398398
### Generated
399399
- [typescript v0.8.1] gusto_embedded
400400
### Releases
401-
- [NPM v0.8.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.8.1 - gusto_embedded
401+
- [NPM v0.8.1] https://www.npmjs.com/package/@gusto/embedded-api/v/0.8.1 - gusto_embedded
402+
403+
## 2025-10-28 00:13:24
404+
### Changes
405+
Based on:
406+
- OpenAPI Doc
407+
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
408+
### Generated
409+
- [typescript v0.8.2] gusto_embedded
410+
### Releases
411+
- [NPM v0.8.2] https://www.npmjs.com/package/@gusto/embedded-api/v/0.8.2 - gusto_embedded
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CompanyFormsSortBy
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { CompanyFormsSortBy } from "@gusto/embedded-api/models/components/companyformssortby.js";
7+
8+
let value: CompanyFormsSortBy = "document_content_type";
9+
```
10+
11+
## Values
12+
13+
```typescript
14+
"name" | "year" | "quarter" | "draft" | "document_content_type"
15+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ContractorsSortBy
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { ContractorsSortBy } from "@gusto/embedded-api/models/components/contractorssortby.js";
7+
8+
let value: ContractorsSortBy = "type";
9+
```
10+
11+
## Values
12+
13+
```typescript
14+
"type" | "onboarding_status" | "name" | "created_at"
15+
```

gusto_embedded/docs/models/components/employeecompensations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ let value: EmployeeCompensations = {};
2727
| `hourlyCompensations` | [components.PayrollShowHourlyCompensations](../../models/components/payrollshowhourlycompensations.md)[] | :heavy_minus_sign: | An array of hourly compensations for the employee. Hourly compensations include regular, overtime, and double overtime hours. If this payroll has been processed, only hourly compensations with a value greater than 0.00 are returned. For an unprocessed payroll, all active hourly compensations are returned. |
2828
| `paidTimeOff` | [components.PayrollShowPaidTimeOff](../../models/components/payrollshowpaidtimeoff.md)[] | :heavy_minus_sign: | An array of all paid time off the employee is eligible for this pay period. |
2929
| `deductions` | [components.PayrollShowDeductions](../../models/components/payrollshowdeductions.md)[] | :heavy_minus_sign: | An array of employee deductions for the pay period. |
30+
| `reimbursements` | [components.PayrollShowReimbursements](../../models/components/payrollshowreimbursements.md)[] | :heavy_minus_sign: | An array of reimbursements for the employee. |
3031
| `taxes` | [components.PayrollShowTaxes](../../models/components/payrollshowtaxes.md)[] | :heavy_minus_sign: | An array of employer and employee taxes for the pay period. Only included for processed or calculated payrolls when `taxes` is present in the `include` parameter. |
3132
| `benefits` | [components.PayrollShowBenefits](../../models/components/payrollshowbenefits.md)[] | :heavy_minus_sign: | An array of employee benefits for the pay period. Benefits are only included for processed payroll when the include parameter is present. |

0 commit comments

Comments
 (0)