Skip to content

Commit 8802560

Browse files
committed
undo generated code changes
1 parent dcdff76 commit 8802560

File tree

3 files changed

+14
-109
lines changed

3 files changed

+14
-109
lines changed

gusto_embedded/src/models/components/historicalemployeebody.ts

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ export type HistoricalEmployeeBody = {
5959
workAddress: WorkAddress;
6060
homeAddress: HistoricalEmployeeBodyHomeAddress;
6161
termination: HistoricalEmployeeBodyTermination;
62+
/**
63+
* Optional. If provided, the email address will be saved to the employee.
64+
*/
65+
email?: string | undefined;
6266
job: HistoricalEmployeeBodyJob;
6367
employeeStateTaxes?: EmployeeStateTaxes | undefined;
6468
};
@@ -409,6 +413,7 @@ export const HistoricalEmployeeBody$inboundSchema: z.ZodType<
409413
work_address: z.lazy(() => WorkAddress$inboundSchema),
410414
home_address: z.lazy(() => HistoricalEmployeeBodyHomeAddress$inboundSchema),
411415
termination: z.lazy(() => HistoricalEmployeeBodyTermination$inboundSchema),
416+
email: z.string().optional(),
412417
job: z.lazy(() => HistoricalEmployeeBodyJob$inboundSchema),
413418
employee_state_taxes: z.lazy(() => EmployeeStateTaxes$inboundSchema)
414419
.optional(),
@@ -436,6 +441,7 @@ export type HistoricalEmployeeBody$Outbound = {
436441
work_address: WorkAddress$Outbound;
437442
home_address: HistoricalEmployeeBodyHomeAddress$Outbound;
438443
termination: HistoricalEmployeeBodyTermination$Outbound;
444+
email?: string | undefined;
439445
job: HistoricalEmployeeBodyJob$Outbound;
440446
employee_state_taxes?: EmployeeStateTaxes$Outbound | undefined;
441447
};
@@ -455,6 +461,7 @@ export const HistoricalEmployeeBody$outboundSchema: z.ZodType<
455461
workAddress: z.lazy(() => WorkAddress$outboundSchema),
456462
homeAddress: z.lazy(() => HistoricalEmployeeBodyHomeAddress$outboundSchema),
457463
termination: z.lazy(() => HistoricalEmployeeBodyTermination$outboundSchema),
464+
email: z.string().optional(),
458465
job: z.lazy(() => HistoricalEmployeeBodyJob$outboundSchema),
459466
employeeStateTaxes: z.lazy(() => EmployeeStateTaxes$outboundSchema)
460467
.optional(),

gusto_embedded/src/models/operations/putv1historicalemployees.ts

+7
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ export type PutV1HistoricalEmployeesRequestBody = {
7777
workAddress: WorkAddress;
7878
homeAddress: PutV1HistoricalEmployeesHomeAddress;
7979
termination: Termination;
80+
/**
81+
* Optional. If provided, the email address will be saved to the employee.
82+
*/
83+
email?: string | undefined;
8084
job: Job;
8185
employeeStateTaxes?: EmployeeStateTaxes | undefined;
8286
};
@@ -451,6 +455,7 @@ export const PutV1HistoricalEmployeesRequestBody$inboundSchema: z.ZodType<
451455
work_address: z.lazy(() => WorkAddress$inboundSchema),
452456
home_address: z.lazy(() => PutV1HistoricalEmployeesHomeAddress$inboundSchema),
453457
termination: z.lazy(() => Termination$inboundSchema),
458+
email: z.string().optional(),
454459
job: z.lazy(() => Job$inboundSchema),
455460
employee_state_taxes: z.lazy(() => EmployeeStateTaxes$inboundSchema)
456461
.optional(),
@@ -479,6 +484,7 @@ export type PutV1HistoricalEmployeesRequestBody$Outbound = {
479484
work_address: WorkAddress$Outbound;
480485
home_address: PutV1HistoricalEmployeesHomeAddress$Outbound;
481486
termination: Termination$Outbound;
487+
email?: string | undefined;
482488
job: Job$Outbound;
483489
employee_state_taxes?: EmployeeStateTaxes$Outbound | undefined;
484490
};
@@ -499,6 +505,7 @@ export const PutV1HistoricalEmployeesRequestBody$outboundSchema: z.ZodType<
499505
workAddress: z.lazy(() => WorkAddress$outboundSchema),
500506
homeAddress: z.lazy(() => PutV1HistoricalEmployeesHomeAddress$outboundSchema),
501507
termination: z.lazy(() => Termination$outboundSchema),
508+
email: z.string().optional(),
502509
job: z.lazy(() => Job$outboundSchema),
503510
employeeStateTaxes: z.lazy(() => EmployeeStateTaxes$outboundSchema)
504511
.optional(),

gusto_embedded/src/systemAuth.ts

-109
This file was deleted.

0 commit comments

Comments
 (0)