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.563.0
speakeasyVersion: 1.582.0
sources:
GustoEmbedded-OAS:
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:a1aeea076843567753316650f2d29983013f880f47f820724bd2875d8e771c6c
sourceBlobDigest: sha256:3dd94a0621318c2b09c9944b0debb1f17a6a4c61cb98e4674415872348146240
sourceRevisionDigest: sha256:c494230f0bcad1f73093031bf8d093aff47d372b1379cf6adb312d366737e088
sourceBlobDigest: sha256:e22d751e83af131bc1b55381e3845594478ee4c2342ef94e708e8cede6882245
tags:
- latest
- speakeasy-sdk-regen-1749833190
- speakeasy-sdk-regen-1749860068
- "2024-04-01"
targets:
gusto-embedded:
source: GustoEmbedded-OAS
sourceNamespace: gusto-embedded-oas
sourceRevisionDigest: sha256:a1aeea076843567753316650f2d29983013f880f47f820724bd2875d8e771c6c
sourceBlobDigest: sha256:3dd94a0621318c2b09c9944b0debb1f17a6a4c61cb98e4674415872348146240
sourceRevisionDigest: sha256:c494230f0bcad1f73093031bf8d093aff47d372b1379cf6adb312d366737e088
sourceBlobDigest: sha256:e22d751e83af131bc1b55381e3845594478ee4c2342ef94e708e8cede6882245
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:1882e9f8d7078d53fb801492504e3b910634021e4f5aac99663f9b0361cecb9f
codeSamplesRevisionDigest: sha256:42abf4454ecbaadfa2d96d41e1a12fa0cf6db809443a5de524b9cf3ee83bf1ea
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 4 additions & 0 deletions gusto_embedded/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/examples/node_modules
.env
.env.local
.env.*.local
.DS_Store
**/.speakeasy/temp/
**/.speakeasy/logs/
Expand Down
352 changes: 313 additions & 39 deletions gusto_embedded/.speakeasy/gen.lock

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion gusto_embedded/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 0.6.4
version: 0.6.5
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand All @@ -29,6 +33,7 @@ typescript:
author: Speakeasy
baseErrorName: GustoEmbeddedError
clientServerStatusCodesAsErrors: true
constFieldsAlwaysOptional: true
defaultErrorName: APIError
enableCustomCodeRegions: false
enableMCPServer: true
Expand All @@ -37,6 +42,7 @@ typescript:
envVarPrefix: GUSTOEMBEDDED
flattenGlobalSecurity: true
flatteningOrder: parameters-first
generateExamples: true
imports:
option: openapi
paths:
Expand Down
20 changes: 16 additions & 4 deletions gusto_embedded/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ run();
* [get](docs/sdks/contractorpaymentgroups/README.md#get) - Fetch a contractor payment group
* [delete](docs/sdks/contractorpaymentgroups/README.md#delete) - Cancel a contractor payment group
* [fund](docs/sdks/contractorpaymentgroups/README.md#fund) - Fund a contractor payment group [DEMO]
* [getV1ContractorPaymentGroupsIdPartnerDisbursements](docs/sdks/contractorpaymentgroups/README.md#getv1contractorpaymentgroupsidpartnerdisbursements) - Get partner disbursements for a contractor payment group
* [patchV1ContractorPaymentGroupsIdPartnerDisbursements](docs/sdks/contractorpaymentgroups/README.md#patchv1contractorpaymentgroupsidpartnerdisbursements) - Update partner disbursements for a contractor payment group

### [contractorPaymentMethod](docs/sdks/contractorpaymentmethod/README.md)

Expand Down Expand Up @@ -527,6 +529,8 @@ run();
* [getPayStub](docs/sdks/payrolls/README.md#getpaystub) - Get an employee pay stub (pdf)
* [getPayStubs](docs/sdks/payrolls/README.md#getpaystubs) - Get an employee's pay stubs
* [generatePrintableChecks](docs/sdks/payrolls/README.md#generateprintablechecks) - Generate printable payroll checks (pdf)
* [getV1CompaniesCompanyIdPayrollsIdPartnerDisbursements](docs/sdks/payrolls/README.md#getv1companiescompanyidpayrollsidpartnerdisbursements) - Get partner disbursements for a payroll
* [patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursements](docs/sdks/payrolls/README.md#patchv1companiescompanyidpayrollsidpartnerdisbursements) - Update partner disbursements for a payroll

### [paySchedules](docs/sdks/payschedules/README.md)

Expand Down Expand Up @@ -663,6 +667,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`contractorPaymentGroupsFund`](docs/sdks/contractorpaymentgroups/README.md#fund) - Fund a contractor payment group [DEMO]
- [`contractorPaymentGroupsGet`](docs/sdks/contractorpaymentgroups/README.md#get) - Fetch a contractor payment group
- [`contractorPaymentGroupsGetList`](docs/sdks/contractorpaymentgroups/README.md#getlist) - Get contractor payment groups for a company
- [`contractorPaymentGroupsGetV1ContractorPaymentGroupsIdPartnerDisbursements`](docs/sdks/contractorpaymentgroups/README.md#getv1contractorpaymentgroupsidpartnerdisbursements) - Get partner disbursements for a contractor payment group
- [`contractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursements`](docs/sdks/contractorpaymentgroups/README.md#patchv1contractorpaymentgroupsidpartnerdisbursements) - Update partner disbursements for a contractor payment group
- [`contractorPaymentGroupsPreview`](docs/sdks/contractorpaymentgroups/README.md#preview) - Preview a contractor payment group
- [`contractorPaymentMethodGet`](docs/sdks/contractorpaymentmethod/README.md#get) - Get a contractor's payment method
- [`contractorPaymentMethodGetBankAccounts`](docs/sdks/contractorpaymentmethod/README.md#getbankaccounts) - Get all contractor bank accounts
Expand Down Expand Up @@ -818,7 +824,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`payrollsGetPayStub`](docs/sdks/payrolls/README.md#getpaystub) - Get an employee pay stub (pdf)
- [`payrollsGetPayStubs`](docs/sdks/payrolls/README.md#getpaystubs) - Get an employee's pay stubs
- [`payrollsGetReceipt`](docs/sdks/payrolls/README.md#getreceipt) - Get a single payroll receipt
- [`payrollsGetV1CompaniesCompanyIdPayrollsIdPartnerDisbursements`](docs/sdks/payrolls/README.md#getv1companiescompanyidpayrollsidpartnerdisbursements) - Get partner disbursements for a payroll
- [`payrollsList`](docs/sdks/payrolls/README.md#list) - Get all payrolls for a company
- [`payrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursements`](docs/sdks/payrolls/README.md#patchv1companiescompanyidpayrollsidpartnerdisbursements) - Update partner disbursements for a payroll
- [`payrollsPrepare`](docs/sdks/payrolls/README.md#prepare) - Prepare a payroll for update
- [`payrollsSkip`](docs/sdks/payrolls/README.md#skip) - Skip a payroll
- [`payrollsSubmit`](docs/sdks/payrolls/README.md#submit) - Submit payroll
Expand Down Expand Up @@ -942,6 +950,8 @@ To learn about this feature and how to get started, check
- [`useContractorPaymentGroupsFundMutation`](docs/sdks/contractorpaymentgroups/README.md#fund) - Fund a contractor payment group [DEMO]
- [`useContractorPaymentGroupsGet`](docs/sdks/contractorpaymentgroups/README.md#get) - Fetch a contractor payment group
- [`useContractorPaymentGroupsGetList`](docs/sdks/contractorpaymentgroups/README.md#getlist) - Get contractor payment groups for a company
- [`useContractorPaymentGroupsGetV1ContractorPaymentGroupsIdPartnerDisbursements`](docs/sdks/contractorpaymentgroups/README.md#getv1contractorpaymentgroupsidpartnerdisbursements) - Get partner disbursements for a contractor payment group
- [`useContractorPaymentGroupsPatchV1ContractorPaymentGroupsIdPartnerDisbursementsMutation`](docs/sdks/contractorpaymentgroups/README.md#patchv1contractorpaymentgroupsidpartnerdisbursements) - Update partner disbursements for a contractor payment group
- [`useContractorPaymentGroupsPreviewMutation`](docs/sdks/contractorpaymentgroups/README.md#preview) - Preview a contractor payment group
- [`useContractorPaymentMethodGet`](docs/sdks/contractorpaymentmethod/README.md#get) - Get a contractor's payment method
- [`useContractorPaymentMethodGetBankAccounts`](docs/sdks/contractorpaymentmethod/README.md#getbankaccounts) - Get all contractor bank accounts
Expand Down Expand Up @@ -1097,7 +1107,9 @@ To learn about this feature and how to get started, check
- [`usePayrollsGetPayStub`](docs/sdks/payrolls/README.md#getpaystub) - Get an employee pay stub (pdf)
- [`usePayrollsGetPayStubs`](docs/sdks/payrolls/README.md#getpaystubs) - Get an employee's pay stubs
- [`usePayrollsGetReceipt`](docs/sdks/payrolls/README.md#getreceipt) - Get a single payroll receipt
- [`usePayrollsGetV1CompaniesCompanyIdPayrollsIdPartnerDisbursements`](docs/sdks/payrolls/README.md#getv1companiescompanyidpayrollsidpartnerdisbursements) - Get partner disbursements for a payroll
- [`usePayrollsList`](docs/sdks/payrolls/README.md#list) - Get all payrolls for a company
- [`usePayrollsPatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsMutation`](docs/sdks/payrolls/README.md#patchv1companiescompanyidpayrollsidpartnerdisbursements) - Update partner disbursements for a payroll
- [`usePayrollsPrepareMutation`](docs/sdks/payrolls/README.md#prepare) - Prepare a payroll for update
- [`usePayrollsSkipMutation`](docs/sdks/payrolls/README.md#skip) - Skip a payroll
- [`usePayrollsSubmitMutation`](docs/sdks/payrolls/README.md#submit) - Submit payroll
Expand Down Expand Up @@ -1330,10 +1342,10 @@ run();


**Inherit from [`GustoEmbeddedError`](./src/models/errors/gustoembeddederror.ts)**:
* [`UnprocessableEntityErrorObject`](docs/models/errors/unprocessableentityerrorobject.md): 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 129 of 253 methods.*
* [`UnprocessableEntityErrorObject1`](docs/models/errors/unprocessableentityerrorobject1.md): 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 253 methods.*
* [`PayrollBlockersError`](docs/models/errors/payrollblockerserror.md): 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 253 methods.*
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](docs/models/errors/deletev1companybenefitscompanybenefitidresponsebody.md): Unprocessable Entity. Status code `422`. Applicable to 1 of 253 methods.*
* [`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 135 of 257 methods.*
* [`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 257 methods.*
* [`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 257 methods.*
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](./src/models/errors/deletev1companybenefitscompanybenefitidresponsebody.ts): Unprocessable Entity. Status code `422`. Applicable to 1 of 257 methods.*
* [`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.

</details>
Expand Down
12 changes: 11 additions & 1 deletion gusto_embedded/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,14 @@ Based on:
### Generated
- [typescript v0.6.4] gusto_embedded
### Releases
- [NPM v0.6.4] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.4 - gusto_embedded
- [NPM v0.6.4] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.4 - gusto_embedded

## 2025-07-15 17:19:57
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.582.0 (2.657.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.6.5] gusto_embedded
### Releases
- [NPM v0.6.5] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.5 - gusto_embedded
4 changes: 2 additions & 2 deletions gusto_embedded/docs/models/components/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ The breakdown level used for the report
```typescript
import { Aggregation } from "@gusto/embedded-api/models/components/generalledgerreport.js";

let value: Aggregation = "job";
let value: Aggregation = "department";
```

## Values

```typescript
"default" | "job" | "department"
"default" | "job" | "department" | "integration"
```
17 changes: 17 additions & 0 deletions gusto_embedded/docs/models/components/blockertype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# BlockerType

The type of blocker

## Example Usage

```typescript
import { BlockerType } from "@gusto/embedded-api/models/components/paymentconfigs.js";

let value: BlockerType = "minimum_funded_payments";
```

## Values

```typescript
"minimum_days" | "minimum_funded_payments"
```
Loading