Skip to content

Commit f66db2f

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.618.1
1 parent 5ed5b52 commit f66db2f

Some content is hidden

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

44 files changed

+1799
-91
lines changed

.speakeasy/workflow.lock

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.607.0
1+
speakeasyVersion: 1.618.1
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:8677398e8d106aa64df5f3a2b0522b6f8aae6865cca89e13f5ff2294c5ec796e
6-
sourceBlobDigest: sha256:9745a6179d511b87e9d2f54e52f7fe7c7dcdc92684fb8a4a780854be27464066
5+
sourceRevisionDigest: sha256:7927477c5fedb56d4fade58971abff4f6e5494c0bb200525286bdb9eb465b18a
6+
sourceBlobDigest: sha256:dd53b4978d9adb8f1040b6164836d2c5a8e0f9b2d834d01ea474c1e990fcecbd
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1756847325
9+
- speakeasy-sdk-regen-1757463216
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:8677398e8d106aa64df5f3a2b0522b6f8aae6865cca89e13f5ff2294c5ec796e
16-
sourceBlobDigest: sha256:9745a6179d511b87e9d2f54e52f7fe7c7dcdc92684fb8a4a780854be27464066
15+
sourceRevisionDigest: sha256:7927477c5fedb56d4fade58971abff4f6e5494c0bb200525286bdb9eb465b18a
16+
sourceBlobDigest: sha256:dd53b4978d9adb8f1040b6164836d2c5a8e0f9b2d834d01ea474c1e990fcecbd
1717
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:c5d97f02aefbd64c4fc4e83d9dc633c2ec0264a62599abf0112c2a0d12420037
18+
codeSamplesRevisionDigest: sha256:8909cf302f9eb78ee7d6887c5c55762d9972b43103c4801f137d0c79d3e5c9f8
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest
@@ -31,6 +31,13 @@ workflow:
3131
authSecret: $openapi_doc_auth_token
3232
registry:
3333
location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-embedded-oas
34+
GustoEmbedded-local:
35+
inputs:
36+
- location: ../Gusto-Partner-API/generated/embedded/api.v2024-04-01.embedded.yaml
37+
overlays:
38+
- location: ../Gusto-Partner-API/.speakeasy/speakeasy-modifications-overlay.yaml
39+
registry:
40+
location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-embedded-local
3441
targets:
3542
gusto-embedded:
3643
target: typescript
@@ -44,3 +51,13 @@ workflow:
4451
location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-embedded-oas-typescript-code-samples
4552
labelOverride:
4653
fixedValue: Typescript (SDK)
54+
local:
55+
target: typescript
56+
source: GustoEmbedded-local
57+
output: ./gusto_embedded
58+
codeSamples:
59+
registry:
60+
location: registry.speakeasyapi.dev/gusto/ruby-sdk/gusto-embedded-local-typescript-code-samples
61+
labelOverride:
62+
fixedValue: Typescript (SDK)
63+
blocking: false

gusto_embedded/.speakeasy/gen.lock

Lines changed: 32 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: da80d703ff7f423475c2be0c4f7b9f5d
4+
docChecksum: 26192163a83176ccfcde12dc46f8d27c
55
docVersion: "2024-04-01"
6-
speakeasyVersion: 1.607.0
7-
generationVersion: 2.690.1
8-
releaseVersion: 0.6.10
9-
configChecksum: 106bbae8ad2a79bf9311384de20d11e2
6+
speakeasyVersion: 1.618.1
7+
generationVersion: 2.702.0
8+
releaseVersion: 0.6.11
9+
configChecksum: 2a0cccf4cf95a23a7c73aca5125165e1
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,14 +16,14 @@ features:
1616
additionalDependencies: 0.1.0
1717
additionalProperties: 0.1.1
1818
constsAndDefaults: 0.1.12
19-
core: 3.21.21
19+
core: 3.21.22
2020
defaultEnabledRetries: 0.1.0
2121
deprecations: 2.81.1
2222
devContainers: 2.90.0
2323
enumUnions: 0.1.0
2424
envVarSecurityUsage: 0.1.2
2525
errorUnions: 0.1.1
26-
globalSecurity: 2.82.13
26+
globalSecurity: 2.82.14
2727
globalSecurityCallbacks: 0.1.0
2828
globalSecurityFlattening: 0.1.0
2929
globalServerURLs: 2.82.5
@@ -60,6 +60,7 @@ generatedFiles:
6060
- docs/models/components/admin.md
6161
- docs/models/components/agencies.md
6262
- docs/models/components/aggregation.md
63+
- docs/models/components/amounttype.md
6364
- docs/models/components/answers.md
6465
- docs/models/components/applicablebenefits.md
6566
- docs/models/components/applicableearnings.md
@@ -137,6 +138,9 @@ generatedFiles:
137138
- docs/models/components/contractorpaymentgrouppreviewtotals.md
138139
- docs/models/components/contractorpaymentgroupstatus.md
139140
- docs/models/components/contractorpaymentgrouptotals.md
141+
- docs/models/components/contractorpaymentgroupwithblockers.md
142+
- docs/models/components/contractorpaymentgroupwithblockersstatus.md
143+
- docs/models/components/contractorpaymentgroupwithblockerstotals.md
140144
- docs/models/components/contractorpaymentmethod.md
141145
- docs/models/components/contractorpaymentmethod1.md
142146
- docs/models/components/contractorpaymentmethodsplitby.md
@@ -358,6 +362,8 @@ generatedFiles:
358362
- docs/models/components/payrolltotalstype.md
359363
- docs/models/components/payrolltype.md
360364
- docs/models/components/payrollupdate.md
365+
- docs/models/components/payrollupdateamounttype.md
366+
- docs/models/components/payrollupdatedeductions.md
361367
- docs/models/components/payrollupdateemployeecompensations.md
362368
- docs/models/components/payrollupdatefixedcompensations.md
363369
- docs/models/components/payrollupdatehourlycompensations.md
@@ -452,6 +458,8 @@ generatedFiles:
452458
- docs/models/components/veteransday.md
453459
- docs/models/components/w4datatype.md
454460
- docs/models/components/wagetype.md
461+
- docs/models/components/webhookshealthcheckstatus.md
462+
- docs/models/components/webhookshealthcheckstatusstatus.md
455463
- docs/models/components/webhooksubscription.md
456464
- docs/models/components/webhooksubscriptionstatus.md
457465
- docs/models/components/wireinrequest.md
@@ -825,6 +833,10 @@ generatedFiles:
825833
- docs/models/operations/getv1tokeninforesponse.md
826834
- docs/models/operations/getv1tokeninforesponsebody.md
827835
- docs/models/operations/getv1tokeninfotype.md
836+
- docs/models/operations/getv1webhookshealthcheckheaderxgustoapiversion.md
837+
- docs/models/operations/getv1webhookshealthcheckrequest.md
838+
- docs/models/operations/getv1webhookshealthcheckresponse.md
839+
- docs/models/operations/getv1webhookshealthchecksecurity.md
828840
- docs/models/operations/getv1webhooksubscriptionsrequest.md
829841
- docs/models/operations/getv1webhooksubscriptionsresponse.md
830842
- docs/models/operations/getv1webhooksubscriptionssecurity.md
@@ -1619,6 +1631,7 @@ generatedFiles:
16191631
- src/funcs/webhooksCreateSubscription.ts
16201632
- src/funcs/webhooksDeleteSubscription.ts
16211633
- src/funcs/webhooksGetSubscription.ts
1634+
- src/funcs/webhooksGetV1WebhooksHealthCheck.ts
16221635
- src/funcs/webhooksListSubscriptions.ts
16231636
- src/funcs/webhooksRequestVerificationToken.ts
16241637
- src/funcs/webhooksUpdateSubscription.ts
@@ -1676,6 +1689,7 @@ generatedFiles:
16761689
- src/models/components/contractorpaymentgroup.ts
16771690
- src/models/components/contractorpaymentgrouppartnerdisbursements.ts
16781691
- src/models/components/contractorpaymentgrouppreview.ts
1692+
- src/models/components/contractorpaymentgroupwithblockers.ts
16791693
- src/models/components/contractorpaymentmethod.ts
16801694
- src/models/components/contractorpaymentreceipt.ts
16811695
- src/models/components/contractorpaymentsummary.ts
@@ -1804,6 +1818,7 @@ generatedFiles:
18041818
- src/models/components/timeoffpolicy.ts
18051819
- src/models/components/unprocessedterminationpayperiod.ts
18061820
- src/models/components/versionheader.ts
1821+
- src/models/components/webhookshealthcheckstatus.ts
18071822
- src/models/components/webhooksubscription.ts
18081823
- src/models/components/wireinrequest.ts
18091824
- src/models/components/ytdbenefitamountsfromdifferentcompany.ts
@@ -1961,6 +1976,7 @@ generatedFiles:
19611976
- src/models/operations/getv1payrollspayrolluuidemployeesemployeeuuidpaystub.ts
19621977
- src/models/operations/getv1taxliabilities.ts
19631978
- src/models/operations/getv1tokeninfo.ts
1979+
- src/models/operations/getv1webhookshealthcheck.ts
19641980
- src/models/operations/getv1webhooksubscriptions.ts
19651981
- src/models/operations/getv1webhooksubscriptionuuid.ts
19661982
- src/models/operations/getv1webhooksubscriptionverificationtokenuuid.ts
@@ -2338,6 +2354,7 @@ generatedFiles:
23382354
- src/react-query/webhooksCreateSubscription.ts
23392355
- src/react-query/webhooksDeleteSubscription.ts
23402356
- src/react-query/webhooksGetSubscription.ts
2357+
- src/react-query/webhooksGetV1WebhooksHealthCheck.ts
23412358
- src/react-query/webhooksListSubscriptions.ts
23422359
- src/react-query/webhooksRequestVerificationToken.ts
23432360
- src/react-query/webhooksUpdateSubscription.ts
@@ -9874,5 +9891,13 @@ examples:
98749891
responses:
98759892
"422":
98769893
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"}]}]}
9894+
get-v1-webhooks-health_check:
9895+
speakeasy-default-get-v1-webhooks-health-check:
9896+
parameters:
9897+
header:
9898+
X-Gusto-API-Version: "2024-04-01"
9899+
responses:
9900+
"200":
9901+
application/json: {}
98779902
examplesVersion: 1.0.2
98789903
generatedTests: {}

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
22+
hoistGlobalSecurity: true
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
typescript:
27-
version: 0.6.10
28+
version: 0.6.11
2829
additionalDependencies:
2930
dependencies: {}
3031
devDependencies: {}
@@ -59,6 +60,7 @@ typescript:
5960
outputModelSuffix: output
6061
packageName: '@gusto/embedded-api'
6162
responseFormat: envelope-http
63+
sseFlatResponse: false
6264
templateVersion: v2
6365
usageSDKInitImports: []
6466
useIndexModules: false

gusto_embedded/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ run();
595595
* [deleteSubscription](docs/sdks/webhooks/README.md#deletesubscription) - Delete a webhook subscription
596596
* [verify](docs/sdks/webhooks/README.md#verify) - Verify the webhook subscription
597597
* [requestVerificationToken](docs/sdks/webhooks/README.md#requestverificationtoken) - Request the webhook subscription verification_token
598+
* [getV1WebhooksHealthCheck](docs/sdks/webhooks/README.md#getv1webhookshealthcheck) - Get the webhooks health status
598599

599600
### [wireInRequests](docs/sdks/wireinrequests/README.md)
600601

@@ -873,6 +874,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
873874
- [`webhooksCreateSubscription`](docs/sdks/webhooks/README.md#createsubscription) - Create a webhook subscription
874875
- [`webhooksDeleteSubscription`](docs/sdks/webhooks/README.md#deletesubscription) - Delete a webhook subscription
875876
- [`webhooksGetSubscription`](docs/sdks/webhooks/README.md#getsubscription) - Get a webhook subscription
877+
- [`webhooksGetV1WebhooksHealthCheck`](docs/sdks/webhooks/README.md#getv1webhookshealthcheck) - Get the webhooks health status
876878
- [`webhooksListSubscriptions`](docs/sdks/webhooks/README.md#listsubscriptions) - List webhook subscriptions
877879
- [`webhooksRequestVerificationToken`](docs/sdks/webhooks/README.md#requestverificationtoken) - Request the webhook subscription verification_token
878880
- [`webhooksUpdateSubscription`](docs/sdks/webhooks/README.md#updatesubscription) - Update a webhook subscription
@@ -1159,6 +1161,7 @@ To learn about this feature and how to get started, check
11591161
- [`useWebhooksCreateSubscriptionMutation`](docs/sdks/webhooks/README.md#createsubscription) - Create a webhook subscription
11601162
- [`useWebhooksDeleteSubscriptionMutation`](docs/sdks/webhooks/README.md#deletesubscription) - Delete a webhook subscription
11611163
- [`useWebhooksGetSubscription`](docs/sdks/webhooks/README.md#getsubscription) - Get a webhook subscription
1164+
- [`useWebhooksGetV1WebhooksHealthCheck`](docs/sdks/webhooks/README.md#getv1webhookshealthcheck) - Get the webhooks health status
11621165
- [`useWebhooksListSubscriptions`](docs/sdks/webhooks/README.md#listsubscriptions) - List webhook subscriptions
11631166
- [`useWebhooksRequestVerificationToken`](docs/sdks/webhooks/README.md#requestverificationtoken) - Request the webhook subscription verification_token
11641167
- [`useWebhooksUpdateSubscriptionMutation`](docs/sdks/webhooks/README.md#updatesubscription) - Update a webhook subscription
@@ -1351,12 +1354,12 @@ run();
13511354

13521355

13531356
**Inherit from [`GustoEmbeddedError`](./src/models/errors/gustoembeddederror.ts)**:
1354-
* [`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 139 of 260 methods.*
1355-
* [`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 260 methods.*
1356-
* [`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 260 methods.*
1357-
* [`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 260 methods.*
1358-
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](./src/models/errors/deletev1companybenefitscompanybenefitidresponsebody.ts): Unprocessable Entity. Status code `422`. Applicable to 1 of 260 methods.*
1359-
* [`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 260 methods.*
1357+
* [`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 139 of 261 methods.*
1358+
* [`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 261 methods.*
1359+
* [`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 261 methods.*
1360+
* [`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 261 methods.*
1361+
* [`DeleteV1CompanyBenefitsCompanyBenefitIdResponseBody`](./src/models/errors/deletev1companybenefitscompanybenefitidresponsebody.ts): Unprocessable Entity. Status code `422`. Applicable to 1 of 261 methods.*
1362+
* [`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 261 methods.*
13601363
* [`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.
13611364

13621365
</details>

gusto_embedded/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,14 @@ Based on:
348348
### Generated
349349
- [typescript v0.6.10] gusto_embedded
350350
### Releases
351-
- [NPM v0.6.10] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.10 - gusto_embedded
351+
- [NPM v0.6.10] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.10 - gusto_embedded
352+
353+
## 2025-09-18 00:13:04
354+
### Changes
355+
Based on:
356+
- OpenAPI Doc
357+
- Speakeasy CLI 1.618.1 (2.702.0) https://github.com/speakeasy-api/speakeasy
358+
### Generated
359+
- [typescript v0.6.11] gusto_embedded
360+
### Releases
361+
- [NPM v0.6.11] https://www.npmjs.com/package/@gusto/embedded-api/v/0.6.11 - gusto_embedded
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# AmountType
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { AmountType } from "@gusto/embedded-api/models/components/payrollshow.js";
7+
8+
let value: AmountType = "percent";
9+
```
10+
11+
## Values
12+
13+
```typescript
14+
"fixed" | "percent"
15+
```

0 commit comments

Comments
 (0)