Skip to content

Commit 197df8d

Browse files
authored
Merge pull request #44 from Gusto/speakeasy-sdk-regen-1743615006
chore: 🐝 Update SDK - Generate Clients GUSTO-EMBEDDED 0.5.9
2 parents 6b9c72f + 31dc707 commit 197df8d

16 files changed

+62
-44
lines changed

.speakeasy/workflow.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.525.2
22
sources:
33
GustoEmbedded-OAS:
44
sourceNamespace: gusto-embedded-oas
5-
sourceRevisionDigest: sha256:9b1618ba7276003bba2251d911fd9fdb3ed44a1a06a8eacc3263b2b15729a869
6-
sourceBlobDigest: sha256:0217bf5e63d5ed8504393f8d88366cd8613ccc4e80d4b37882ab5cbde6766c6f
5+
sourceRevisionDigest: sha256:3f281ce4dfffa42d8d239e1651be5a617b51786226f635f3d28968d20fe0e747
6+
sourceBlobDigest: sha256:278f904b41465bfa8c51ccbf50aa84ca9ef215b820c2491e72f653506314022c
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743527148
9+
- speakeasy-sdk-regen-1743615006
1010
- "2024-04-01"
1111
targets:
1212
gusto-embedded:
1313
source: GustoEmbedded-OAS
1414
sourceNamespace: gusto-embedded-oas
15-
sourceRevisionDigest: sha256:9b1618ba7276003bba2251d911fd9fdb3ed44a1a06a8eacc3263b2b15729a869
16-
sourceBlobDigest: sha256:0217bf5e63d5ed8504393f8d88366cd8613ccc4e80d4b37882ab5cbde6766c6f
15+
sourceRevisionDigest: sha256:3f281ce4dfffa42d8d239e1651be5a617b51786226f635f3d28968d20fe0e747
16+
sourceBlobDigest: sha256:278f904b41465bfa8c51ccbf50aa84ca9ef215b820c2491e72f653506314022c
1717
codeSamplesNamespace: gusto-embedded-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:8b377f44b27c23d7822a9b7b29375fc1458d83a18d4a8ff6a27ad42ddfaf8eef
18+
codeSamplesRevisionDigest: sha256:b6ee3e4ddf952e88694c317df5725171dfe3e1e478f397a1c7f70199dce97d2a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.speakeasy/gen.lock

+3-3
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: b8eabbff13540020b23aa4c2d8bc9bdc
4+
docChecksum: 0666aa5ba193f86f8a9463d0e91eb577
55
docVersion: "2024-04-01"
66
speakeasyVersion: 1.525.2
77
generationVersion: 2.562.3
8-
releaseVersion: 0.5.8
9-
configChecksum: 0c104fe7d55d0a082162e760f45a2b0a
8+
releaseVersion: 0.5.9
9+
configChecksum: ee1a7ad4a596bd8b4860210d628198ff
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

gusto_embedded/.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
typescript:
21-
version: 0.5.8
21+
version: 0.5.9
2222
additionalDependencies:
2323
dependencies: {}
2424
devDependencies: {}

gusto_embedded/RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,14 @@ Based on:
178178
### Generated
179179
- [typescript v0.5.8] gusto_embedded
180180
### Releases
181-
- [NPM v0.5.8] https://www.npmjs.com/package/@gusto/embedded-api/v/0.5.8 - gusto_embedded
181+
- [NPM v0.5.8] https://www.npmjs.com/package/@gusto/embedded-api/v/0.5.8 - gusto_embedded
182+
183+
## 2025-04-02 17:29:48
184+
### Changes
185+
Based on:
186+
- OpenAPI Doc
187+
- Speakeasy CLI 1.525.2 (2.562.3) https://github.com/speakeasy-api/speakeasy
188+
### Generated
189+
- [typescript v0.5.9] gusto_embedded
190+
### Releases
191+
- [NPM v0.5.9] https://www.npmjs.com/package/@gusto/embedded-api/v/0.5.9 - gusto_embedded

gusto_embedded/docs/models/components/historicalemployeebody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { HistoricalEmployeeBody } from "@gusto/embedded-api/models/components/hi
88
let value: HistoricalEmployeeBody = {
99
firstName: "Collin",
1010
lastName: "Satterfield",
11-
dateOfBirth: "1975-02-26",
11+
dateOfBirth: "1975-02-27",
1212
ssn: "<value>",
1313
workAddress: {},
1414
homeAddress: {

gusto_embedded/docs/models/components/metadata.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Contains relevant data to identify the resource in question when applicable. For
88
### `components.MetadataWithMultipleEntities`
99

1010
```typescript
11-
const value: components.MetadataWithMultipleEntities = {};
11+
const value: components.MetadataWithMultipleEntities = {
12+
entities: [
13+
{},
14+
],
15+
};
1216
```
1317

1418
### `components.MetadataWithOneEntity`

gusto_embedded/docs/models/components/metadatawithmultipleentities.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ multiple entities
77
```typescript
88
import { MetadataWithMultipleEntities } from "@gusto/embedded-api/models/components/metadatawithmultipleentities.js";
99

10-
let value: MetadataWithMultipleEntities = {};
10+
let value: MetadataWithMultipleEntities = {
11+
entities: [
12+
{},
13+
],
14+
};
1115
```
1216

1317
## Fields
1418

1519
| Field | Type | Required | Description |
1620
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
17-
| `entities` | [components.MetadataWithOneEntity](../../models/components/metadatawithoneentity.md)[] | :heavy_minus_sign: | N/A |
21+
| `entities` | [components.MetadataWithOneEntity](../../models/components/metadatawithoneentity.md)[] | :heavy_check_mark: | N/A |

gusto_embedded/docs/models/operations/postv1historicalemployeesrequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let value: PostV1HistoricalEmployeesRequest = {
1010
historicalEmployeeBody: {
1111
firstName: "Emmie",
1212
lastName: "Rippin",
13-
dateOfBirth: "1951-03-03",
13+
dateOfBirth: "1951-03-04",
1414
ssn: "<value>",
1515
workAddress: {},
1616
homeAddress: {

gusto_embedded/docs/models/operations/putv1historicalemployeesrequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let value: PutV1HistoricalEmployeesRequest = {
1212
version: "<value>",
1313
firstName: "Herminia",
1414
lastName: "Durgan",
15-
dateOfBirth: "2002-12-28",
15+
dateOfBirth: "2002-12-29",
1616
ssn: "<value>",
1717
workAddress: {},
1818
homeAddress: {

gusto_embedded/docs/models/operations/putv1historicalemployeesrequestbody.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let value: PutV1HistoricalEmployeesRequestBody = {
1111
version: "<value>",
1212
firstName: "Okey",
1313
lastName: "Mueller",
14-
dateOfBirth: "1962-06-07",
14+
dateOfBirth: "1962-06-08",
1515
ssn: "<value>",
1616
workAddress: {},
1717
homeAddress: {

gusto_embedded/jsr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@gusto/embedded-api",
5-
"version": "0.5.8",
5+
"version": "0.5.9",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

gusto_embedded/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gusto_embedded/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gusto/embedded-api",
3-
"version": "0.5.8",
3+
"version": "0.5.9",
44
"author": "Speakeasy",
55
"type": "module",
66
"main": "./esm/index.js",

gusto_embedded/src/lib/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6060
export const SDK_METADATA = {
6161
language: "typescript",
6262
openapiDocVersion: "2024-04-01",
63-
sdkVersion: "0.5.8",
63+
sdkVersion: "0.5.9",
6464
genVersion: "2.562.3",
6565
userAgent:
66-
"speakeasy-sdk/typescript 0.5.8 2.562.3 2024-04-01 @gusto/embedded-api",
66+
"speakeasy-sdk/typescript 0.5.9 2.562.3 2024-04-01 @gusto/embedded-api",
6767
} as const;

gusto_embedded/src/models/components/metadatawithmultipleentities.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
* multiple entities
1818
*/
1919
export type MetadataWithMultipleEntities = {
20-
entities?: Array<MetadataWithOneEntity> | undefined;
20+
entities: Array<MetadataWithOneEntity>;
2121
};
2222

2323
/** @internal */
@@ -26,12 +26,12 @@ export const MetadataWithMultipleEntities$inboundSchema: z.ZodType<
2626
z.ZodTypeDef,
2727
unknown
2828
> = z.object({
29-
entities: z.array(MetadataWithOneEntity$inboundSchema).optional(),
29+
entities: z.array(MetadataWithOneEntity$inboundSchema),
3030
});
3131

3232
/** @internal */
3333
export type MetadataWithMultipleEntities$Outbound = {
34-
entities?: Array<MetadataWithOneEntity$Outbound> | undefined;
34+
entities: Array<MetadataWithOneEntity$Outbound>;
3535
};
3636

3737
/** @internal */
@@ -40,7 +40,7 @@ export const MetadataWithMultipleEntities$outboundSchema: z.ZodType<
4040
z.ZodTypeDef,
4141
MetadataWithMultipleEntities
4242
> = z.object({
43-
entities: z.array(MetadataWithOneEntity$outboundSchema).optional(),
43+
entities: z.array(MetadataWithOneEntity$outboundSchema),
4444
});
4545

4646
/**

gusto_embedded/src/models/components/metadatawithoneentity.ts

+16-16
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export type MetadataWithOneEntity = {
2323
* Unique identifier for the entity.
2424
*/
2525
entityUuid?: string | undefined;
26-
validFrom?: string | undefined;
27-
validUpTo?: string | undefined;
28-
key?: string | undefined;
29-
state?: string | undefined;
26+
validFrom?: string | null | undefined;
27+
validUpTo?: string | null | undefined;
28+
key?: string | null | undefined;
29+
state?: string | null | undefined;
3030
additionalProperties?: { [k: string]: any };
3131
};
3232

@@ -39,10 +39,10 @@ export const MetadataWithOneEntity$inboundSchema: z.ZodType<
3939
z.object({
4040
entity_type: z.string().optional(),
4141
entity_uuid: z.string().optional(),
42-
valid_from: z.string().optional(),
43-
valid_up_to: z.string().optional(),
44-
key: z.string().optional(),
45-
state: z.string().optional(),
42+
valid_from: z.nullable(z.string()).optional(),
43+
valid_up_to: z.nullable(z.string()).optional(),
44+
key: z.nullable(z.string()).optional(),
45+
state: z.nullable(z.string()).optional(),
4646
}).catchall(z.any()),
4747
"additionalProperties",
4848
true,
@@ -59,10 +59,10 @@ export const MetadataWithOneEntity$inboundSchema: z.ZodType<
5959
export type MetadataWithOneEntity$Outbound = {
6060
entity_type?: string | undefined;
6161
entity_uuid?: string | undefined;
62-
valid_from?: string | undefined;
63-
valid_up_to?: string | undefined;
64-
key?: string | undefined;
65-
state?: string | undefined;
62+
valid_from?: string | null | undefined;
63+
valid_up_to?: string | null | undefined;
64+
key?: string | null | undefined;
65+
state?: string | null | undefined;
6666
[additionalProperties: string]: unknown;
6767
};
6868

@@ -74,10 +74,10 @@ export const MetadataWithOneEntity$outboundSchema: z.ZodType<
7474
> = z.object({
7575
entityType: z.string().optional(),
7676
entityUuid: z.string().optional(),
77-
validFrom: z.string().optional(),
78-
validUpTo: z.string().optional(),
79-
key: z.string().optional(),
80-
state: z.string().optional(),
77+
validFrom: z.nullable(z.string()).optional(),
78+
validUpTo: z.nullable(z.string()).optional(),
79+
key: z.nullable(z.string()).optional(),
80+
state: z.nullable(z.string()).optional(),
8181
additionalProperties: z.record(z.any()),
8282
}).transform((v) => {
8383
return {

0 commit comments

Comments
 (0)