@gusto/embedded-react-sdk 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/{STCWXWCR-C2HWmWAx.js → B4MFY5CR-DoQFjw0x.js} +3 -3
  2. package/dist/B4MFY5CR-DoQFjw0x.js.map +1 -0
  3. package/dist/{Employee.Compensation-k6cvnqx0.js → Employee.Compensation-D5dhIZgh.js} +7 -6
  4. package/dist/Employee.Compensation-D5dhIZgh.js.map +1 -0
  5. package/dist/{Employee.Deductions-BKQWMJnY.js → Employee.Deductions-yskR0evJ.js} +40 -38
  6. package/dist/Employee.Deductions-yskR0evJ.js.map +1 -0
  7. package/dist/{Employee.HomeAddress-DR_603p_.js → Employee.HomeAddress-DQ-CWfZA.js} +6 -6
  8. package/dist/Employee.HomeAddress-DQ-CWfZA.js.map +1 -0
  9. package/dist/Employee.Landing-Hpn09zPP.js +22 -0
  10. package/dist/Employee.Landing-Hpn09zPP.js.map +1 -0
  11. package/dist/Employee.OnboardingSummary-BLQS8GZz.js +36 -0
  12. package/dist/Employee.OnboardingSummary-BLQS8GZz.js.map +1 -0
  13. package/dist/Employee.Profile-DTBA-TQA.js +57 -0
  14. package/dist/Employee.Profile-DTBA-TQA.js.map +1 -0
  15. package/dist/{Employee.Taxes-DnOVtPmd.js → Employee.Taxes-DQX-wk0E.js} +8 -8
  16. package/dist/Employee.Taxes-DQX-wk0E.js.map +1 -0
  17. package/dist/{BMGNQTAT-BdHbew7H.js → HO4MOOFI-ObmoeQ5Y.js} +3 -3
  18. package/dist/{BMGNQTAT-BdHbew7H.js.map → HO4MOOFI-ObmoeQ5Y.js.map} +1 -1
  19. package/dist/{UODQIBEW-3KqHTTDo.js → HUY7CZI3-DEEhMfZT.js} +3 -3
  20. package/dist/{UODQIBEW-3KqHTTDo.js.map → HUY7CZI3-DEEhMfZT.js.map} +1 -1
  21. package/dist/{index-CYu59Yku.js → index-DZ5zT4yt.js} +10943 -10336
  22. package/dist/index-DZ5zT4yt.js.map +1 -0
  23. package/dist/index.d.ts +834 -211
  24. package/dist/index.js +44 -43
  25. package/dist/style.css +1 -1
  26. package/package.json +11 -15
  27. package/dist/Employee.Compensation-k6cvnqx0.js.map +0 -1
  28. package/dist/Employee.Deductions-BKQWMJnY.js.map +0 -1
  29. package/dist/Employee.HomeAddress-DR_603p_.js.map +0 -1
  30. package/dist/Employee.OnboardingSummary-BDFFDrV6.js +0 -32
  31. package/dist/Employee.OnboardingSummary-BDFFDrV6.js.map +0 -1
  32. package/dist/Employee.Profile-D0IZW-HV.js +0 -53
  33. package/dist/Employee.Profile-D0IZW-HV.js.map +0 -1
  34. package/dist/Employee.Taxes-DnOVtPmd.js.map +0 -1
  35. package/dist/STCWXWCR-C2HWmWAx.js.map +0 -1
  36. package/dist/index-CYu59Yku.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { CustomTypeOptions } from 'i18next';
1
2
  import { default as default_2 } from 'openapi-fetch';
2
3
  import { default as default_3 } from 'react';
3
4
  import { FallbackProps } from 'react-error-boundary';
@@ -6,7 +7,6 @@ import { FetchResponse } from 'openapi-fetch';
6
7
  import { i18n } from 'i18next';
7
8
  import { JSX as JSX_2 } from 'react/jsx-runtime';
8
9
  import { ReactNode } from 'react';
9
- import { Resource } from 'i18next';
10
10
  import { useMutation } from '@tanstack/react-query';
11
11
  import { UseMutationResult } from '@tanstack/react-query';
12
12
  import { UseQueryResult } from '@tanstack/react-query';
@@ -137,11 +137,11 @@ declare interface CompensationProps extends CommonComponentInterface {
137
137
 
138
138
  declare const CompensationSchema: v.IntersectSchema<[v.ObjectSchema<{
139
139
  readonly job_title: v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>]>;
140
- readonly rate: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<any, string>]>;
140
+ readonly rate: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.TransformAction<any, string>]>;
141
141
  }, undefined>, v.VariantSchema<"flsa_status", [v.SchemaWithPipe<[v.ObjectSchema<{
142
142
  readonly flsa_status: v.UnionSchema<[v.LiteralSchema<"Exempt", undefined>, v.LiteralSchema<"Salaried Nonexempt", undefined>, v.LiteralSchema<"Nonexempt", undefined>], undefined>;
143
143
  readonly payment_unit: v.UnionSchema<[v.LiteralSchema<"Hour", undefined>, v.LiteralSchema<"Week", undefined>, v.LiteralSchema<"Month", undefined>, v.LiteralSchema<"Year", undefined>], undefined>;
144
- readonly rate: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<any, string>]>;
144
+ readonly rate: v.SchemaWithPipe<[v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.TransformAction<any, string>]>;
145
145
  }, undefined>, v.BaseValidation<{
146
146
  rate: string;
147
147
  flsa_status: "Exempt" | "Salaried Nonexempt" | "Nonexempt";
@@ -204,8 +204,8 @@ declare const componentEvents: {
204
204
  readonly EMPLOYEE_JOB_CREATED: "employee/job/created";
205
205
  readonly EMPLOYEE_JOB_UPDATED: "employee/job/updated";
206
206
  readonly EMPLOYEE_SUMMARY_VIEW: "employee/summary";
207
- readonly EMPLOYEE_FILE_NEW_HIRE_REPORT: "employee/newHireReport";
208
207
  readonly EMPLOYEES_LIST: "company/employees";
208
+ readonly EMPLOYEE_SELF_ONBOARDING_START: "employee/selfOnboarding/start";
209
209
  readonly SUCCESS: "SUCCESS";
210
210
  readonly ERROR: "ERROR";
211
211
  readonly CANCEL: "CANCEL";
@@ -4475,6 +4475,14 @@ declare interface DeductionsProps extends CommonComponentInterface {
4475
4475
  employeeId: string;
4476
4476
  }
4477
4477
 
4478
+ declare type DeepPartial<T> = {
4479
+ [P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
4480
+ };
4481
+
4482
+ export declare type Dictionary = Record<string, Partial<{
4483
+ [K in keyof Resources]: DeepPartial<Resources[K]>;
4484
+ }>>;
4485
+
4478
4486
  declare namespace Employee {
4479
4487
  export {
4480
4488
  EmployeeList,
@@ -4504,7 +4512,8 @@ declare namespace Employee {
4504
4512
  usePaymentMethod,
4505
4513
  CombinedSchemaInputs,
4506
4514
  CombinedSchemaOutputs,
4507
- PaymentMethodContextual
4515
+ PaymentMethodContextual,
4516
+ Landing
4508
4517
  }
4509
4518
  }
4510
4519
  export { Employee }
@@ -4518,7 +4527,7 @@ declare namespace EmployeeList {
4518
4527
 
4519
4528
  declare type EmployeeListContextType = {
4520
4529
  handleEdit: (uuid: string) => void;
4521
- handleDelete: (uuid: string) => void;
4530
+ handleDelete: (uuid: string) => Promise<void>;
4522
4531
  handleNew: () => void;
4523
4532
  employees: Schemas['Employee'][];
4524
4533
  };
@@ -4717,7 +4726,7 @@ export declare function GustoApiContextProvider({ children, context, }: {
4717
4726
 
4718
4727
  export declare interface GustoApiProps {
4719
4728
  config?: APIConfig;
4720
- dictionary?: Resource;
4729
+ dictionary?: Dictionary;
4721
4730
  lng?: string;
4722
4731
  locale?: string;
4723
4732
  currency?: string;
@@ -4764,6 +4773,55 @@ export declare class GustoClient {
4764
4773
  }, {
4765
4774
  params: {};
4766
4775
  }, `${string}/${string}`>>;
4776
+ getCompany(company_id: string): Promise<{
4777
+ readonly ein?: string;
4778
+ readonly entity_type?: "C-Corporation" | "S-Corporation" | "Sole proprietor" | "LLC" | "LLP" | "Limited partnership" | "Co-ownership" | "Association" | "Trusteeship" | "General partnership" | "Joint venture" | "Non-Profit";
4779
+ readonly tier?: "simple" | "plus" | "premium" | "core" | "complete" | "concierge" | "contractor_only" | "basic" | null;
4780
+ is_suspended?: boolean;
4781
+ readonly company_status?: "Approved" | "Not Approved" | "Suspended";
4782
+ readonly uuid: string;
4783
+ readonly name?: string;
4784
+ readonly slug?: string;
4785
+ readonly trade_name?: string;
4786
+ readonly is_partner_managed?: boolean;
4787
+ readonly pay_schedule_type?: "single" | "hourly_salaried" | "by_employee" | "by_department";
4788
+ readonly join_date?: string;
4789
+ funding_type?: "ach" | "reverse_wire" | "wire_in" | "brex";
4790
+ readonly locations?: components["schemas"]["Company-Address"][];
4791
+ readonly compensations?: {
4792
+ readonly hourly?: {
4793
+ readonly name?: string;
4794
+ readonly multiple?: number;
4795
+ }[];
4796
+ readonly fixed?: {
4797
+ name?: string;
4798
+ }[];
4799
+ readonly paid_time_off?: {
4800
+ readonly name?: string;
4801
+ }[];
4802
+ };
4803
+ readonly primary_signatory?: {
4804
+ readonly first_name?: string;
4805
+ readonly middle_initial?: string;
4806
+ readonly last_name?: string;
4807
+ readonly phone?: string;
4808
+ readonly email?: string;
4809
+ readonly home_address?: {
4810
+ readonly street_1?: string;
4811
+ readonly street_2?: string | null;
4812
+ readonly city?: string;
4813
+ readonly state?: string;
4814
+ readonly zip?: string;
4815
+ readonly country?: string;
4816
+ };
4817
+ };
4818
+ primary_payroll_admin?: {
4819
+ readonly first_name?: string;
4820
+ readonly last_name?: string;
4821
+ readonly phone?: string;
4822
+ readonly email?: string;
4823
+ };
4824
+ }>;
4767
4825
  getCompanyOnboardingStatus(company_uuid: string): Promise<FetchResponse< {
4768
4826
  parameters: {
4769
4827
  query?: never;
@@ -5755,29 +5813,18 @@ export declare class GustoClient {
5755
5813
  } | undefined;
5756
5814
  };
5757
5815
  }, `${string}/${string}`>>;
5758
- getEmployeeFederalTaxes(employee_uuid: string): Promise<FetchResponse< {
5759
- parameters: {
5760
- query?: never;
5761
- header?: {
5762
- "X-Gusto-API-Version"?: components["parameters"]["VersionHeader"];
5763
- };
5764
- path: {
5765
- employee_uuid: components["parameters"]["employee_uuid"];
5766
- };
5767
- cookie?: never;
5768
- };
5769
- requestBody?: never;
5770
- responses: {
5771
- 200: components["responses"]["Employee-Federal-Tax-Object"];
5772
- 404: components["responses"]["Not-Found-Error-Object"];
5773
- };
5774
- }, {
5775
- params: {
5776
- path: {
5777
- employee_uuid: string;
5778
- };
5779
- };
5780
- }, `${string}/${string}`>>;
5816
+ getEmployeeFederalTaxes(employee_uuid: string): Promise<{
5817
+ version?: string;
5818
+ filing_status?: string;
5819
+ extra_withholding?: string;
5820
+ two_jobs?: boolean;
5821
+ dependents_amount?: string;
5822
+ other_income?: string;
5823
+ deductions?: string;
5824
+ w4_data_type?: "pre_2020_w4" | "rev_2020_w4";
5825
+ federal_withholding_allowance?: number;
5826
+ additional_withholding?: boolean;
5827
+ }>;
5781
5828
  updateEmployeeFederalTaxes(employee_uuid: string, body: BodyParams<'/v1/employees/{employee_uuid}/federal_taxes', 'PUT'>): Promise<{
5782
5829
  version?: string;
5783
5830
  filing_status?: string;
@@ -6110,12 +6157,18 @@ declare const IncludeDeductionsSchema: v.ObjectSchema<{
6110
6157
  readonly includeDeductions: v.PicklistSchema<["Yes", "No"], undefined>;
6111
6158
  }, undefined>;
6112
6159
 
6160
+ declare type InferResponse<T, S> = T extends string ? Awaited<ReturnType<typeof handleResponse<S>>> : null;
6161
+
6162
+ declare function Landing(props: SummaryProps_2 & BaseComponentInterface): JSX_2.Element;
6163
+
6113
6164
  declare type MODE = 'ADD' | 'LIST' | 'INITIAL' | 'EDIT';
6114
6165
 
6115
6166
  declare type MODE_2 = 'LIST' | 'EDIT' | 'ADD' | 'SINGLE' | 'PROCEED';
6116
6167
 
6117
6168
  declare type MODE_3 = 'ADD' | 'LIST' | 'SPLIT' | 'INITIAL';
6118
6169
 
6170
+ declare type OnboardingFlow = 'self' | 'admin'
6171
+
6119
6172
  declare function OnboardingSummary(props: SummaryProps & BaseComponentInterface): JSX_2.Element;
6120
6173
 
6121
6174
  declare const OnboardingSummaryContextual: () => JSX_2.Element;
@@ -17312,14 +17365,19 @@ declare function Profile(props: ProfileProps & BaseComponentInterface): JSX_2.El
17312
17365
  declare namespace Profile {
17313
17366
  var Head: () => JSX_2.Element;
17314
17367
  var Actions: () => JSX_2.Element;
17315
- var PersonalDetails: () => JSX_2.Element;
17368
+ var AdminPersonalDetails: () => JSX_2.Element | null;
17369
+ var SelfPersonalDetails: () => JSX_2.Element | null;
17370
+ var HomeAddress: () => JSX_2.Element;
17371
+ var WorkAddress: WorkAddress;
17316
17372
  }
17317
17373
 
17318
17374
  declare type ProfileContextType = {
17319
17375
  companyLocations: Schemas['Location'][];
17376
+ workAddresses: Schemas['Employee-Work-Address'][] | null;
17320
17377
  employee?: Schemas['Employee'];
17321
17378
  isPending: boolean;
17322
17379
  handleCancel: () => void;
17380
+ flow: OnboardingFlow;
17323
17381
  };
17324
17382
 
17325
17383
  declare const ProfileContextual: () => JSX_2.Element;
@@ -17343,6 +17401,7 @@ declare interface ProfileProps extends CommonComponentInterface {
17343
17401
  zip?: string;
17344
17402
  };
17345
17403
  };
17404
+ flow?: OnboardingFlow;
17346
17405
  }
17347
17406
 
17348
17407
  declare type QueryParams<Path extends keyof paths> = _QueryParams<Path> extends {
@@ -17353,6 +17412,8 @@ declare type QueryParams<Path extends keyof paths> = _QueryParams<Path> extends
17353
17412
 
17354
17413
  declare type _QueryParams<Path extends keyof paths> = Parameters<ReturnType<typeof default_2<Pick<paths, Path>>>['GET']>['1'];
17355
17414
 
17415
+ declare type Resources = CustomTypeOptions['resources'];
17416
+
17356
17417
  declare type RGB = `rgb(${string})`
17357
17418
 
17358
17419
  declare type RGBA = `rgba(${string})`
@@ -17366,6 +17427,12 @@ export declare const SDKI18next: i18n;
17366
17427
 
17367
17428
  declare interface SummaryProps extends CommonComponentInterface {
17368
17429
  employeeId: string;
17430
+ flow?: OnboardingFlow;
17431
+ }
17432
+
17433
+ declare interface SummaryProps_2 extends CommonComponentInterface {
17434
+ employeeId: string;
17435
+ companyId: string;
17369
17436
  }
17370
17437
 
17371
17438
  declare function Taxes(props: TaxesProps & BaseComponentInterface): JSX_2.Element;
@@ -17800,6 +17867,56 @@ declare const useEmployeeList: () => EmployeeListContextType;
17800
17867
 
17801
17868
  export declare function useFlow<C extends FlowContextInterface>(): C;
17802
17869
 
17870
+ export declare function useGetCompany(company_id: string): UseSuspenseQueryResult< {
17871
+ readonly ein?: string;
17872
+ readonly entity_type?: "C-Corporation" | "S-Corporation" | "Sole proprietor" | "LLC" | "LLP" | "Limited partnership" | "Co-ownership" | "Association" | "Trusteeship" | "General partnership" | "Joint venture" | "Non-Profit";
17873
+ readonly tier?: "simple" | "plus" | "premium" | "core" | "complete" | "concierge" | "contractor_only" | "basic" | null;
17874
+ is_suspended?: boolean;
17875
+ readonly company_status?: "Approved" | "Not Approved" | "Suspended";
17876
+ readonly uuid: string;
17877
+ readonly name?: string;
17878
+ readonly slug?: string;
17879
+ readonly trade_name?: string;
17880
+ readonly is_partner_managed?: boolean;
17881
+ readonly pay_schedule_type?: "single" | "hourly_salaried" | "by_employee" | "by_department";
17882
+ readonly join_date?: string;
17883
+ funding_type?: "ach" | "reverse_wire" | "wire_in" | "brex";
17884
+ readonly locations?: components["schemas"]["Company-Address"][];
17885
+ readonly compensations?: {
17886
+ readonly hourly?: {
17887
+ readonly name?: string;
17888
+ readonly multiple?: number;
17889
+ }[];
17890
+ readonly fixed?: {
17891
+ name?: string;
17892
+ }[];
17893
+ readonly paid_time_off?: {
17894
+ readonly name?: string;
17895
+ }[];
17896
+ };
17897
+ readonly primary_signatory?: {
17898
+ readonly first_name?: string;
17899
+ readonly middle_initial?: string;
17900
+ readonly last_name?: string;
17901
+ readonly phone?: string;
17902
+ readonly email?: string;
17903
+ readonly home_address?: {
17904
+ readonly street_1?: string;
17905
+ readonly street_2?: string | null;
17906
+ readonly city?: string;
17907
+ readonly state?: string;
17908
+ readonly zip?: string;
17909
+ readonly country?: string;
17910
+ };
17911
+ };
17912
+ primary_payroll_admin?: {
17913
+ readonly first_name?: string;
17914
+ readonly last_name?: string;
17915
+ readonly phone?: string;
17916
+ readonly email?: string;
17917
+ };
17918
+ }, Error>;
17919
+
17803
17920
  export declare function useGetCompanyAddresses(company_id: string): UseSuspenseQueryResult< {
17804
17921
  readonly uuid: string;
17805
17922
  version?: string;
@@ -17884,170 +18001,143 @@ requirements?: string[];
17884
18001
  }[];
17885
18002
  }, Error>;
17886
18003
 
17887
- export declare function useGetDeduction(garnishment_id: string): UseSuspenseQueryResult< {
17888
- readonly uuid: string;
17889
- version?: string;
17890
- readonly employee_uuid?: string;
17891
- active: boolean;
17892
- amount?: string;
17893
- description?: string;
17894
- court_ordered?: boolean;
17895
- times: number | null;
17896
- recurring: boolean;
17897
- annual_maximum: string | null;
17898
- pay_period_maximum: string | null;
17899
- deduct_as_percentage: boolean;
18004
+ export declare function useGetDeduction(garnishment_id: string): UseSuspenseQueryResult<{
18005
+ readonly uuid: string;
18006
+ version?: string;
18007
+ readonly employee_uuid?: string;
18008
+ active: boolean;
18009
+ amount?: string;
18010
+ description?: string;
18011
+ court_ordered?: boolean;
18012
+ times: number | null;
18013
+ recurring: boolean;
18014
+ annual_maximum: string | null;
18015
+ pay_period_maximum: string | null;
18016
+ deduct_as_percentage: boolean;
17900
18017
  }, Error>;
17901
18018
 
17902
- export declare function useGetEmployee(employee_id: string): UseSuspenseQueryResult< {
17903
- readonly uuid: string;
17904
- first_name: string;
17905
- middle_initial?: string | null;
17906
- last_name: string;
17907
- email?: string | null;
17908
- readonly company_uuid?: string;
17909
- readonly manager_uuid?: string;
17910
- readonly version?: string;
17911
- readonly department?: string | null;
17912
- readonly terminated?: boolean;
17913
- two_percent_shareholder?: boolean;
17914
- readonly onboarded?: boolean;
17915
- readonly onboarding_status?: "onboarding_completed" | "admin_onboarding_incomplete" | "self_onboarding_pending_invite" | "self_onboarding_invited" | "self_onboarding_invited_started" | "self_onboarding_invited_overdue" | "self_onboarding_completed_by_employee" | "self_onboarding_awaiting_admin_review";
17916
- jobs?: components["schemas"]["Job"][];
17917
- eligible_paid_time_off?: components["schemas"]["Paid-Time-Off"][];
17918
- terminations?: components["schemas"]["Termination"][];
17919
- garnishments?: components["schemas"]["Garnishment"][];
17920
- custom_fields?: components["schemas"]["Employee-Custom-Field"][];
17921
- readonly date_of_birth?: string | null;
17922
- has_ssn?: boolean;
17923
- ssn?: string;
17924
- phone?: string;
17925
- preferred_first_name?: string;
17926
- payment_method: "Direct Deposit" | "Check";
17927
- work_email?: string | null;
17928
- readonly current_employment_status?: "full_time" | "part_time_under_twenty_hours" | "part_time_twenty_plus_hours" | "variable" | "seasonal" | null;
17929
- }, Error>;
18019
+ export declare function useGetEmployee<T extends string | undefined>(employee_id: T): UseSuspenseQueryResult<InferResponse<T, Schemas["Employee"]>>;
17930
18020
 
17931
- export declare function useGetEmployeeBankAccounts(employee_id: string): UseSuspenseQueryResult< {
17932
- uuid: string;
17933
- employee_uuid?: string;
17934
- account_type?: "Checking" | "Savings";
17935
- name?: string;
17936
- routing_number?: string;
17937
- hidden_account_number?: string;
18021
+ export declare function useGetEmployeeBankAccounts(employee_id: string): UseSuspenseQueryResult<{
18022
+ uuid: string;
18023
+ employee_uuid?: string;
18024
+ account_type?: "Checking" | "Savings";
18025
+ name?: string;
18026
+ routing_number?: string;
18027
+ hidden_account_number?: string;
17938
18028
  }[], Error>;
17939
18029
 
17940
- export declare function useGetEmployeeDeductions(employee_id: string): UseSuspenseQueryResult< {
17941
- readonly uuid: string;
17942
- version?: string;
17943
- readonly employee_uuid?: string;
17944
- active: boolean;
17945
- amount?: string;
17946
- description?: string;
17947
- court_ordered?: boolean;
17948
- times: number | null;
17949
- recurring: boolean;
17950
- annual_maximum: string | null;
17951
- pay_period_maximum: string | null;
17952
- deduct_as_percentage: boolean;
18030
+ export declare function useGetEmployeeDeductions(employee_id: string): UseSuspenseQueryResult<{
18031
+ readonly uuid: string;
18032
+ version?: string;
18033
+ readonly employee_uuid?: string;
18034
+ active: boolean;
18035
+ amount?: string;
18036
+ description?: string;
18037
+ court_ordered?: boolean;
18038
+ times: number | null;
18039
+ recurring: boolean;
18040
+ annual_maximum: string | null;
18041
+ pay_period_maximum: string | null;
18042
+ deduct_as_percentage: boolean;
17953
18043
  }[], Error>;
17954
18044
 
17955
- export declare function useGetEmployeeFederalTaxes(employee_id: string): UseSuspenseQueryResult< {
17956
- version?: string;
17957
- filing_status?: string;
17958
- extra_withholding?: string;
17959
- two_jobs?: boolean;
17960
- dependents_amount?: string;
17961
- other_income?: string;
17962
- deductions?: string;
17963
- w4_data_type?: "pre_2020_w4" | "rev_2020_w4";
17964
- federal_withholding_allowance?: number;
17965
- additional_withholding?: boolean;
18045
+ export declare function useGetEmployeeFederalTaxes(employee_id: string): UseSuspenseQueryResult<{
18046
+ version?: string;
18047
+ filing_status?: string;
18048
+ extra_withholding?: string;
18049
+ two_jobs?: boolean;
18050
+ dependents_amount?: string;
18051
+ other_income?: string;
18052
+ deductions?: string;
18053
+ w4_data_type?: "pre_2020_w4" | "rev_2020_w4";
18054
+ federal_withholding_allowance?: number;
18055
+ additional_withholding?: boolean;
17966
18056
  }, Error>;
17967
18057
 
17968
18058
  export declare function useGetEmployeeHomeAddress(home_address_uuid: string): UseSuspenseQueryResult<NonNullable<{
17969
- version?: string;
18059
+ version?: string;
17970
18060
  } & {
17971
- street_1?: string;
17972
- street_2?: string | null;
17973
- city?: string;
17974
- state?: string;
17975
- zip?: string;
17976
- country: string;
17977
- readonly active?: boolean;
18061
+ street_1?: string;
18062
+ street_2?: string | null;
18063
+ city?: string;
18064
+ state?: string;
18065
+ zip?: string;
18066
+ country: string;
18067
+ readonly active?: boolean;
17978
18068
  } & {
17979
- uuid?: string;
17980
- employee_uuid?: string;
17981
- effective_date?: string;
17982
- courtesy_withholding?: boolean;
18069
+ uuid?: string;
18070
+ employee_uuid?: string;
18071
+ effective_date?: string;
18072
+ courtesy_withholding?: boolean;
17983
18073
  }>, Error>;
17984
18074
 
17985
- export declare function useGetEmployeeHomeAddresses(employee_id: string): UseSuspenseQueryResult<({
17986
- version?: string;
18075
+ export declare function useGetEmployeeHomeAddresses(employee_id: string | undefined): UseSuspenseQueryResult<({
18076
+ version?: string;
17987
18077
  } & {
17988
- street_1?: string;
17989
- street_2?: string | null;
17990
- city?: string;
17991
- state?: string;
17992
- zip?: string;
17993
- country: string;
17994
- readonly active?: boolean;
18078
+ street_1?: string;
18079
+ street_2?: string | null;
18080
+ city?: string;
18081
+ state?: string;
18082
+ zip?: string;
18083
+ country: string;
18084
+ readonly active?: boolean;
17995
18085
  } & {
17996
- uuid?: string;
17997
- employee_uuid?: string;
17998
- effective_date?: string;
17999
- courtesy_withholding?: boolean;
18000
- })[], Error>;
18086
+ uuid?: string;
18087
+ employee_uuid?: string;
18088
+ effective_date?: string;
18089
+ courtesy_withholding?: boolean;
18090
+ })[] | null, Error>;
18001
18091
 
18002
- export declare function useGetEmployeeJob(job_id: string): UseSuspenseQueryResult< {
18003
- readonly uuid: string;
18004
- version?: string;
18005
- readonly employee_uuid?: string;
18006
- hire_date?: string;
18007
- title: string | null;
18008
- readonly primary?: boolean;
18009
- readonly rate?: string;
18010
- readonly payment_unit?: string;
18011
- readonly current_compensation_uuid?: string;
18012
- two_percent_shareholder?: boolean;
18013
- state_wc_covered?: boolean;
18014
- state_wc_class_code?: string;
18015
- readonly compensations?: components["schemas"]["Compensation"][];
18092
+ export declare function useGetEmployeeJob(job_id: string): UseSuspenseQueryResult<{
18093
+ readonly uuid: string;
18094
+ version?: string;
18095
+ readonly employee_uuid?: string;
18096
+ hire_date?: string;
18097
+ title: string | null;
18098
+ readonly primary?: boolean;
18099
+ readonly rate?: string;
18100
+ readonly payment_unit?: string;
18101
+ readonly current_compensation_uuid?: string;
18102
+ two_percent_shareholder?: boolean;
18103
+ state_wc_covered?: boolean;
18104
+ state_wc_class_code?: string;
18105
+ readonly compensations?: components["schemas"]["Compensation"][];
18016
18106
  }, Error>;
18017
18107
 
18018
- export declare function useGetEmployeeJobs(employee_id: string): UseSuspenseQueryResult< {
18019
- readonly uuid: string;
18020
- version?: string;
18021
- readonly employee_uuid?: string;
18022
- hire_date?: string;
18023
- title: string | null;
18024
- readonly primary?: boolean;
18025
- readonly rate?: string;
18026
- readonly payment_unit?: string;
18027
- readonly current_compensation_uuid?: string;
18028
- two_percent_shareholder?: boolean;
18029
- state_wc_covered?: boolean;
18030
- state_wc_class_code?: string;
18031
- readonly compensations?: components["schemas"]["Compensation"][];
18108
+ export declare function useGetEmployeeJobs(employee_id: string): UseSuspenseQueryResult<{
18109
+ readonly uuid: string;
18110
+ version?: string;
18111
+ readonly employee_uuid?: string;
18112
+ hire_date?: string;
18113
+ title: string | null;
18114
+ readonly primary?: boolean;
18115
+ readonly rate?: string;
18116
+ readonly payment_unit?: string;
18117
+ readonly current_compensation_uuid?: string;
18118
+ two_percent_shareholder?: boolean;
18119
+ state_wc_covered?: boolean;
18120
+ state_wc_class_code?: string;
18121
+ readonly compensations?: components["schemas"]["Compensation"][];
18032
18122
  }[], Error>;
18033
18123
 
18034
- export declare function useGetEmployeeOnboardingStatus(employee_id: string): UseSuspenseQueryResult< {
18035
- uuid: string;
18036
- onboarding_status?: string;
18037
- onboarding_steps?: {
18038
- title?: string;
18039
- id?: string;
18040
- required?: boolean;
18041
- completed?: boolean;
18042
- requirements?: string[];
18043
- }[];
18124
+ export declare function useGetEmployeeOnboardingStatus(employee_id: string): UseSuspenseQueryResult<{
18125
+ uuid: string;
18126
+ onboarding_status?: string;
18127
+ onboarding_steps?: {
18128
+ title?: string;
18129
+ id?: string;
18130
+ required?: boolean;
18131
+ completed?: boolean;
18132
+ requirements?: string[];
18133
+ }[];
18044
18134
  }, Error>;
18045
18135
 
18046
- export declare function useGetEmployeePaymentMethod(employee_id: string): UseSuspenseQueryResult< {
18047
- version?: string;
18048
- type?: "Direct Deposit" | "Check";
18049
- split_by?: "Amount" | "Percentage" | null;
18050
- splits?: components["schemas"]["Payment-Method-Bank-Account"][] | null;
18136
+ export declare function useGetEmployeePaymentMethod(employee_id: string): UseSuspenseQueryResult<{
18137
+ version?: string;
18138
+ type?: "Direct Deposit" | "Check";
18139
+ split_by?: "Amount" | "Percentage" | null;
18140
+ splits?: components["schemas"]["Payment-Method-Bank-Account"][] | null;
18051
18141
  }, Error>;
18052
18142
 
18053
18143
  export declare function useGetEmployeesByCompany(company_id: string): UseSuspenseQueryResult< {
@@ -18079,43 +18169,43 @@ work_email?: string | null;
18079
18169
  readonly current_employment_status?: "full_time" | "part_time_under_twenty_hours" | "part_time_twenty_plus_hours" | "variable" | "seasonal" | null;
18080
18170
  }[], Error>;
18081
18171
 
18082
- export declare function useGetEmployeeStateTaxes(employee_id: string): UseSuspenseQueryResult< {
18083
- employee_uuid: string;
18084
- state: string;
18085
- file_new_hire_report?: boolean;
18086
- is_work_state?: boolean;
18087
- questions: components["schemas"]["Employee-State-Tax-Question"][];
18172
+ export declare function useGetEmployeeStateTaxes(employee_id: string): UseSuspenseQueryResult<{
18173
+ employee_uuid: string;
18174
+ state: string;
18175
+ file_new_hire_report?: boolean;
18176
+ is_work_state?: boolean;
18177
+ questions: components["schemas"]["Employee-State-Tax-Question"][];
18088
18178
  }[], Error>;
18089
18179
 
18090
- export declare function useGetEmployeeWorkAddress(work_address_uuid: string): UseSuspenseQueryResult< {
18091
- readonly uuid: string;
18092
- effective_date?: string;
18093
- readonly active?: boolean;
18094
- location_uuid?: string;
18095
- employee_uuid?: string;
18096
- version?: string;
18097
- readonly street_1?: string;
18098
- readonly street_2?: string | null;
18099
- readonly city?: string;
18100
- readonly state?: string;
18101
- readonly zip?: string;
18102
- readonly country: string;
18180
+ export declare function useGetEmployeeWorkAddress(work_address_uuid: string): UseSuspenseQueryResult<{
18181
+ readonly uuid: string;
18182
+ effective_date?: string;
18183
+ readonly active?: boolean;
18184
+ location_uuid?: string;
18185
+ employee_uuid?: string;
18186
+ version?: string;
18187
+ readonly street_1?: string;
18188
+ readonly street_2?: string | null;
18189
+ readonly city?: string;
18190
+ readonly state?: string;
18191
+ readonly zip?: string;
18192
+ readonly country: string;
18103
18193
  }[], Error>;
18104
18194
 
18105
- export declare function useGetEmployeeWorkAddresses(employee_id: string): UseSuspenseQueryResult< {
18106
- readonly uuid: string;
18107
- effective_date?: string;
18108
- readonly active?: boolean;
18109
- location_uuid?: string;
18110
- employee_uuid?: string;
18111
- version?: string;
18112
- readonly street_1?: string;
18113
- readonly street_2?: string | null;
18114
- readonly city?: string;
18115
- readonly state?: string;
18116
- readonly zip?: string;
18117
- readonly country: string;
18118
- }[], Error>;
18195
+ export declare function useGetEmployeeWorkAddresses(employee_id: string | undefined): UseSuspenseQueryResult<{
18196
+ readonly uuid: string;
18197
+ effective_date?: string;
18198
+ readonly active?: boolean;
18199
+ location_uuid?: string;
18200
+ employee_uuid?: string;
18201
+ version?: string;
18202
+ readonly street_1?: string;
18203
+ readonly street_2?: string | null;
18204
+ readonly city?: string;
18205
+ readonly state?: string;
18206
+ readonly zip?: string;
18207
+ readonly country: string;
18208
+ }[] | null, Error>;
18119
18209
 
18120
18210
  export declare function useGetHistoricalPayrolls(companyId: string, startDate: Date, endDate: Date): UseSuspenseQueryResult<Payroll[], Error>;
18121
18211
 
@@ -18525,7 +18615,7 @@ uuid?: string;
18525
18615
  }, `${string}/${string}`>>>[1];
18526
18616
  }, unknown>;
18527
18617
 
18528
- export declare function useUpdateEmployeeFederalTaxes(opts?: Omit<Parameters<typeof useMutation>[0], 'mutationFn'>): UseMutationResult< {
18618
+ export declare function useUpdateEmployeeFederalTaxes(employeeId: string, opts?: Omit<Parameters<typeof useMutation>[0], 'mutationFn'>): UseMutationResult< {
18529
18619
  version?: string;
18530
18620
  filing_status?: string;
18531
18621
  extra_withholding?: string;
@@ -18537,7 +18627,6 @@ w4_data_type?: "pre_2020_w4" | "rev_2020_w4";
18537
18627
  federal_withholding_allowance?: number;
18538
18628
  additional_withholding?: boolean;
18539
18629
  }, Error, {
18540
- employeeId: string;
18541
18630
  body: Parameters<(employee_uuid: string, body: BodyParams<"/v1/employees/{employee_uuid}/federal_taxes", "PUT">) => Promise<{
18542
18631
  version?: string;
18543
18632
  filing_status?: string;
@@ -18683,17 +18772,551 @@ readonly country: string;
18683
18772
 
18684
18773
  declare type VAR = `var(${string})`
18685
18774
 
18775
+ declare function WorkAddress(): JSX_2.Element | null;
18776
+
18686
18777
  export { }
18687
18778
 
18779
+ declare namespace _default {
18780
+ function process(): {
18781
+ code: string;
18782
+ };
18783
+ }
18784
+
18785
+ declare namespace _default {
18786
+ function process(sourceText: any, sourcePath: any): {
18787
+ code: string;
18788
+ };
18789
+ }
18790
+
18688
18791
 
18689
18792
 
18690
18793
  declare module 'i18next' {
18691
- interface CustomTypeOptions {
18692
- defaultNS: 'common'
18693
- resources: typeof Resources
18694
- }
18794
+ export interface CompanyAddBank{
18795
+ "title":string;
18796
+ "intro":string;
18797
+ "entry_selection_question":string;
18798
+ "manual_entry":string;
18799
+ "plaid_entry":string;
18800
+ "routing_number_label":string;
18801
+ "account_number_label":string;
18802
+ "account_type_label":string;
18803
+ "account_type_checking":string;
18804
+ "account_type_savings":string;
18805
+ "submit":string;
18806
+ };
18807
+ export interface CompanyAddresses{
18808
+ "title":string;
18809
+ "description":string;
18810
+ "mailingLabel":string;
18811
+ "filingLabel":string;
18812
+ "editCta":string;
18813
+ "addCta":string;
18814
+ "continueCta":string;
18815
+ };
18816
+ export interface CompanyFederalTaxes{
18817
+ "pageTitle":string;
18818
+ "entity_type_and_legal_name_intro":string;
18819
+ "federal_ein_label":string;
18820
+ "federal_ein_description":string;
18821
+ "taxpayer_type_label":string;
18822
+ "taxpayer_type_options":string;
18823
+ "federal_filing_form_label":string;
18824
+ "federal_filing_form_description":string;
18825
+ "form_941_label":string;
18826
+ "form_944_label":string;
18827
+ "legal_entity_name_label":string;
18828
+ "legal_entity_name_tip":string;
18829
+ "c_corporation":string;
18830
+ "s_corporation":string;
18831
+ "sole_proprietor":string;
18832
+ "llc":string;
18833
+ "llp":string;
18834
+ "limited_partnership":string;
18835
+ "co_ownership":string;
18836
+ "association":string;
18837
+ "trusteeship":string;
18838
+ "general_partnership":string;
18839
+ "joint_venture":string;
18840
+ "non_profit":string;
18841
+ "cancelCta":string;
18842
+ };
18843
+ export interface CompanyIndustry{
18844
+ "pageTitle":string;
18845
+ "sectionTitle":string;
18846
+ "desc":string;
18847
+ "placeholder":string;
18848
+ "cancelCta":string;
18849
+ "continueCta":string;
18850
+ };
18851
+ export interface EmployeeBankAccount{
18852
+ "accountNumberLabel":string;
18853
+ "accountTypeChecking":string;
18854
+ "accountTypeLabel":string;
18855
+ "accountTypeSavings":string;
18856
+ "accountTypeSelect":string;
18857
+ "cancelCta":string;
18858
+ "checkImageAlt":string;
18859
+ "description":string;
18860
+ "nameLabel":string;
18861
+ "routingNumberLabel":string;
18862
+ "routingNumberDescription":string;
18863
+ "submitCta":string;
18864
+ "title":string;
18865
+ "validations":{
18866
+ "accountType":string;
18867
+ }
18868
+ };
18869
+ export interface EmployeeCompensation{
18870
+ "addAnotherJobCta":string;
18871
+ "allCompensations":{
18872
+ "actionColumn":string;
18873
+ "amountColumn":string;
18874
+ "deleteCta":string;
18875
+ "editCta":string;
18876
+ "jobColumn":string;
18877
+ "perColumn":string;
18878
+ "tableLabel":string;
18879
+ "typeColumn":string;
18880
+ }
18881
+ "amount":string;
18882
+ "backCta":string;
18883
+ "cancelCta":string;
18884
+ "cancelNewJobCta":string;
18885
+ "classificationCTA":string;
18886
+ "employeeClassification":string;
18887
+ "flsaStatusLabels":{
18888
+ "Commission Only Exempt":string;
18889
+ "Commission Only Nonexempt":string;
18890
+ "Exempt":string;
18891
+ "Nonexempt":string;
18892
+ "Owner":string;
18893
+ "Salaried Nonexempt":string;
18894
+ }
18895
+ "hamburgerTitle":string;
18896
+ "jobTitle":string;
18897
+ "paymentUnitDescription":string;
18898
+ "paymentUnitLabel":string;
18899
+ "paymentUnitOptions":{
18900
+ "Hour":string;
18901
+ "Month":string;
18902
+ "Paycheck":string;
18903
+ "Week":string;
18904
+ "Year":string;
18905
+ }
18906
+ "saveNewJobCta":string;
18907
+ "submitCta":string;
18908
+ "title":string;
18909
+ "validations":{
18910
+ "classificationChangeNotification":string;
18911
+ "exemptThreshold":string;
18912
+ "paymentUnit":string;
18913
+ "rate":string;
18914
+ "title":string;
18915
+ }
18916
+ };
18917
+ export interface EmployeeDeductions{
18918
+ "pageTitle":string;
18919
+ "includeDeductionsFormLabel":string;
18920
+ "includeDeductionsDescription":string;
18921
+ "includeDeductionsYes":string;
18922
+ "includeDeductionsNo":string;
18923
+ "continueCta":string;
18924
+ "addDeductionTitle":string;
18925
+ "editDeductionTitle":string;
18926
+ "addDeuctionDescription":string;
18927
+ "descriptionLabel":string;
18928
+ "frequencyLabel":string;
18929
+ "frequencyRecurringOption":string;
18930
+ "frequencyOneTimeOption":string;
18931
+ "deductionsTableLabel":string;
18932
+ "deductionTypeLabel":string;
18933
+ "deductionTypePercentageOption":string;
18934
+ "deductionTypeFixedAmountOption":string;
18935
+ "deductionAmountLabel":string;
18936
+ "annualMaxLabel":string;
18937
+ "courtOrderedLabel":string;
18938
+ "nameColumn":string;
18939
+ "frequencyColumn":string;
18940
+ "withheldColumn":string;
18941
+ "actionsColumn":string;
18942
+ "recurringText":string;
18943
+ "recurringAmount":string;
18944
+ "nonRecurringText":string;
18945
+ "emptyListMessage":string;
18946
+ "hamburgerTitle":string;
18947
+ "editCta":string;
18948
+ "deleteCta":string;
18949
+ "addDeductionCta":string;
18950
+ "cancelCta":string;
18951
+ "validations":{
18952
+ "description":string;
18953
+ "amount":string;
18695
18954
  }
18955
+ };
18956
+ export interface EmployeeEmployeeList{
18957
+ "actionLabel":string;
18958
+ "addEmployeeCTA":string;
18959
+ "addAnotherCta":string;
18960
+ "addressesCta":string;
18961
+ "deductionsCta":string;
18962
+ "deleteCta":string;
18963
+ "editCta":string;
18964
+ "employeeListLabel":string;
18965
+ "emptyTableDescription":string;
18966
+ "emptyTableTitle":string;
18967
+ "federalTaxesCta":string;
18968
+ "hamburgerTitle":string;
18969
+ "nameLabel":string;
18970
+ "statusLabel":string;
18971
+ "title":string;
18972
+ };
18973
+ export interface EmployeeHomeAddress{
18974
+ "formTitle":string;
18975
+ "desc":string;
18976
+ "street1":string;
18977
+ "street2":string;
18978
+ "city":string;
18979
+ "state":string;
18980
+ "statePlaceholder":string;
18981
+ "zip":string;
18982
+ "courtesyWithholdingLabel":string;
18983
+ "courtesyWhithholdingDescription":string;
18984
+ "learnMoreCta":string;
18985
+ "withholdingTitle":string;
18986
+ "withholdingNote":string;
18987
+ "editAddress":string;
18988
+ "cancel":string;
18989
+ "submit":string;
18990
+ "validations":{
18991
+ "street1":string;
18992
+ "city":string;
18993
+ "state":string;
18994
+ "zip":string;
18995
+ }
18996
+ };
18997
+ export interface EmployeeLanding{
18998
+ "landingSubtitle":string;
18999
+ "landingDescription":string;
19000
+ "stepsSubtitle":string;
19001
+ "steps":{
19002
+ "personalInfo":string;
19003
+ "taxInfo":string;
19004
+ "bankInfo":string;
19005
+ }
19006
+ "getStartedCta":string;
19007
+ "getStartedDescription":string;
19008
+ };
19009
+ export interface EmployeeOnboardingSummary{
19010
+ "subTitle":string;
19011
+ "description":string;
19012
+ "onboardedAdminSubtitle":string;
19013
+ "onboardedAdminDescription":string;
19014
+ "onboardedSelfSubtitle":string;
19015
+ "onboardedSelfDescription":string;
19016
+ "returnToEmployeeListCta":string;
19017
+ "addAnotherCta":string;
19018
+ "newHireReportCta":string;
19019
+ "steps":{
19020
+ "personal_details":string;
19021
+ "compensation_details":string;
19022
+ "add_work_address":string;
19023
+ "add_home_address":string;
19024
+ "federal_tax_setup":string;
19025
+ "state_tax_setup":string;
19026
+ "direct_deposit_setup":string;
19027
+ "employee_form_signing":string;
19028
+ "file_new_hire_report":string;
19029
+ }
19030
+ };
19031
+ export interface EmployeePaySchedules{
19032
+ "pageTitle":string;
19033
+ "saveAndContinueCta":string;
19034
+ "pleaseVerify":string;
19035
+ "labels":{
19036
+ "frequency":string;
19037
+ "firstPayDate":string;
19038
+ "deadline":string;
19039
+ }
19040
+ };
19041
+ export interface EmployeePaymentMethod{
19042
+ "accountNumberLabel":string;
19043
+ "accountTypeColumn":string;
19044
+ "accountTypeLabel":string;
19045
+ "accountTypeChecking":string;
19046
+ "accountTypeSavings":string;
19047
+ "allocationColumn":string;
19048
+ "actionColumn":string;
19049
+ "addAnotherCta":string;
19050
+ "addBankAccountCTA":string;
19051
+ "bankAccountsListLabel":string;
19052
+ "cancelCta":string;
19053
+ "saveCta":string;
19054
+ "cancelAddCta":string;
19055
+ "checkDescription":string;
19056
+ "checkLabel":string;
19057
+ "deleteBankAccountCTA":string;
19058
+ "directDepositDescription":string;
19059
+ "directDepositLabel":string;
19060
+ "hamburgerTitle":string;
19061
+ "nameLabel":string;
19062
+ "nicknameColumn":string;
19063
+ "paymentFieldsetLegend":string;
19064
+ "routingNumberColumn":string;
19065
+ "routingNumberLabel":string;
19066
+ "routingNumberDescription":string;
19067
+ "splitCta":string;
19068
+ "submitCta":string;
19069
+ "title":string;
19070
+ "amountLabel":string;
19071
+ "splitDescription":string;
19072
+ "draggableListLabel":string;
19073
+ "percentageLabel":string;
19074
+ "splitAmountLabel":string;
19075
+ "splitByLabel":string;
19076
+ "priorityLabel":string;
19077
+ "remainderLabel":string;
19078
+ "splitTitle":string;
19079
+ "priority_one":string;
19080
+ "priority_two":string;
19081
+ "priority_few":string;
19082
+ "priority_other":string;
19083
+ "validations":{
19084
+ "percentageError":string;
19085
+ "amountError":string;
19086
+ "accountName":string;
19087
+ "routingNumber":string;
19088
+ "accountNumber":string;
19089
+ }
19090
+ };
19091
+ export interface EmployeeProfile{
19092
+ "cancelCta":string;
19093
+ "description":string;
19094
+ "dobLabel":string;
19095
+ "email":string;
19096
+ "emailDescription":string;
19097
+ "firstName":string;
19098
+ "formTitle":string;
19099
+ "lastName":string;
19100
+ "middleInitial":string;
19101
+ "preferredFirstName":string;
19102
+ "selfOnboardingLabel":string;
19103
+ "ssnLabel":string;
19104
+ "ssnMask":string;
19105
+ "startDateDescription":string;
19106
+ "startDateLabel":string;
19107
+ "submitCta":string;
19108
+ "title":string;
19109
+ "validations":{
19110
+ "email":string;
19111
+ "firstName":string;
19112
+ "lastName":string;
19113
+ "startDate":string;
19114
+ }
19115
+ "workAddress":string;
19116
+ "workAddressDescription":string;
19117
+ "workAddressPlaceholder":string;
19118
+ "workAddressSectionTitle":string;
19119
+ "workAddressSectionDescription":string;
19120
+ };
19121
+ export interface EmployeeSplitPaycheck{
19122
+ "amountLabel":string;
19123
+ "bankDescription":string;
19124
+ "description":string;
19125
+ "percentageLabel":string;
19126
+ "splitAmountLabel":string;
19127
+ "splitByLabel":string;
19128
+ "priorityLabel":string;
19129
+ "title":string;
19130
+ "remainderLabel":string;
19131
+ "priority_one":string;
19132
+ "priority_two":string;
19133
+ "priority_few":string;
19134
+ "priority_other":string;
19135
+ "validations":{
19136
+ "percentageError":string;
19137
+ "priorityError":string;
19138
+ "amountError":string;
19139
+ }
19140
+ "cancelCta":string;
19141
+ "submitCta":string;
19142
+ };
19143
+ export interface EmployeeStateTaxes{
19144
+ "title":string;
19145
+ "filingStatusLabel":string;
19146
+ "cancelCta":string;
19147
+ "submitCta":string;
19148
+ };
19149
+ export interface EmployeeTaxes{
19150
+ "cancelCta":string;
19151
+ "deductions":string;
19152
+ "dependentsTotalIfApplicable":string;
19153
+ "extraWithholding":string;
19154
+ "federalFilingStatus1c":string;
19155
+ "federalFillingStatusPlaceholder":string;
19156
+ "federalTaxesTitle":string;
19157
+ "filingStatusExemptFromWithholding":string;
19158
+ "filingStatusHeadOfHousehold":string;
19159
+ "filingStatusMarried":string;
19160
+ "filingStatusSingle":string;
19161
+ "includesSpouseExplanation":string;
19162
+ "irs_calculator":string;
19163
+ "irsCalculatorOrW4Line":string;
19164
+ "multipleJobs2c":string;
19165
+ "otherIncome":string;
19166
+ "selectWithholdingDescription":string;
19167
+ "stateTaxesTitle":string;
19168
+ "submitCta":string;
19169
+ "twoJobYesLabel":string;
19170
+ "twoJobNoLabel":string;
19171
+ "validations":{
19172
+ "federalFilingStatus":string;
19173
+ "federalTwoJobs":string;
19174
+ }
19175
+ };
19176
+ export interface PayrollPayrollHistoryList{
19177
+ "period":string;
19178
+ "payrollType":string;
19179
+ "payrollCancellable":string;
19180
+ "checkDate":string;
19181
+ "payrollTotal":string;
19182
+ };
19183
+ export interface PayrollPayrollSchedule{
19184
+ "pageTitle":string;
19185
+ "helpOne":string;
19186
+ "helpTwo":string;
19187
+ "helpThree":string;
19188
+ "payFrequency":string;
19189
+ "payFrequency.weekly":string;
19190
+ "payFrequency.biweekly":string;
19191
+ "payFrequency.semimonthly":string;
19192
+ "payFrequency.semimonthly_custom":string;
19193
+ "payFrequency.monthly":string;
19194
+ "day_1.label":string;
19195
+ "day_2.label":string;
19196
+ "anchor_pay_date.label":string;
19197
+ "deadline_to_run_payroll.label":string;
19198
+ "anchor_end_of_pay_period.label":string;
19199
+ "anchor_end_of_pay_period.help":string;
19200
+ };
19201
+ export interface common{
19202
+ "status":{
19203
+ "loading":string;
19204
+ "requiredField":string;
19205
+ "errorEncountered":string;
19206
+ }
19207
+ "optionalLabel":string;
19208
+ "errors":{
19209
+ "globalReactError":string;
19210
+ "missingParamsOrContext":string;
19211
+ "unhandledEvent":string;
19212
+ "unknownEventType":string;
19213
+ }
19214
+ "icons":{
19215
+ "selectArrow":string;
19216
+ "calendarArrow":string;
19217
+ "nextMonth":string;
19218
+ "previousMonth":string;
19219
+ "magnifyingGlass":string;
19220
+ }
19221
+ "flows":{
19222
+ "employeeOnboarding":{
19223
+ "employeeListTitle":string;
19224
+ "profileTitle":string;
19225
+ "compensationTitle":string;
19226
+ "taxesTitle":string;
19227
+ "paymentMethodTitle":string;
19228
+ "deductionsTitle":string;
19229
+ "summaryTitle":string;
19230
+ }
19231
+ }
19232
+ "labels":{
19233
+ "draggableLabel":string;
19234
+ "draggablePosition":string;
19235
+ "back":string;
19236
+ "saveContinue":string;
19237
+ "submit":string;
19238
+ "name":string;
19239
+ "yes":string;
19240
+ "no":string;
19241
+ }
19242
+ "onboardingStatus":{
19243
+ "undefined":string;
19244
+ "onboarding_completed":string;
19245
+ "admin_onboarding_incomplete":string;
19246
+ "self_onboarding_pending_invite":string;
19247
+ "self_onboarding_invited":string;
19248
+ "self_onboarding_invited_started":string;
19249
+ "self_onboarding_invited_overdue":string;
19250
+ "self_onboarding_completed_by_employee":string;
19251
+ "self_onboarding_awaiting_admin_review":string;
19252
+ }
19253
+ "validations":{
19254
+ "accountName":string;
19255
+ "routingNumber":string;
19256
+ "accountNumber":string;
19257
+ "ssn":string;
19258
+ "location":string;
19259
+ "dob":string;
19260
+ }
19261
+ "statesHash":{
19262
+ "AL":string;
19263
+ "AK":string;
19264
+ "AZ":string;
19265
+ "AR":string;
19266
+ "CA":string;
19267
+ "CO":string;
19268
+ "CT":string;
19269
+ "DE":string;
19270
+ "FL":string;
19271
+ "GA":string;
19272
+ "HI":string;
19273
+ "ID":string;
19274
+ "IL":string;
19275
+ "IN":string;
19276
+ "IA":string;
19277
+ "KS":string;
19278
+ "KY":string;
19279
+ "LA":string;
19280
+ "ME":string;
19281
+ "MD":string;
19282
+ "MA":string;
19283
+ "MI":string;
19284
+ "MN":string;
19285
+ "MS":string;
19286
+ "MO":string;
19287
+ "MT":string;
19288
+ "NE":string;
19289
+ "NV":string;
19290
+ "NH":string;
19291
+ "NJ":string;
19292
+ "NM":string;
19293
+ "NY":string;
19294
+ "NC":string;
19295
+ "ND":string;
19296
+ "OH":string;
19297
+ "OK":string;
19298
+ "OR":string;
19299
+ "PA":string;
19300
+ "RI":string;
19301
+ "SC":string;
19302
+ "SD":string;
19303
+ "TN":string;
19304
+ "TX":string;
19305
+ "UT":string;
19306
+ "VT":string;
19307
+ "VA":string;
19308
+ "WA":string;
19309
+ "WV":string;
19310
+ "WI":string;
19311
+ "WY":string;
19312
+ }
19313
+ };
18696
19314
 
19315
+ interface CustomTypeOptions {
19316
+ defaultNS: 'common';
19317
+ resources: { 'Company.AddBank': CompanyAddBank, 'Company.Addresses': CompanyAddresses, 'Company.FederalTaxes': CompanyFederalTaxes, 'Company.Industry': CompanyIndustry, 'Employee.BankAccount': EmployeeBankAccount, 'Employee.Compensation': EmployeeCompensation, 'Employee.Deductions': EmployeeDeductions, 'Employee.EmployeeList': EmployeeEmployeeList, 'Employee.HomeAddress': EmployeeHomeAddress, 'Employee.Landing': EmployeeLanding, 'Employee.OnboardingSummary': EmployeeOnboardingSummary, 'Employee.PaySchedules': EmployeePaySchedules, 'Employee.PaymentMethod': EmployeePaymentMethod, 'Employee.Profile': EmployeeProfile, 'Employee.SplitPaycheck': EmployeeSplitPaycheck, 'Employee.StateTaxes': EmployeeStateTaxes, 'Employee.Taxes': EmployeeTaxes, 'Payroll.PayrollHistoryList': PayrollPayrollHistoryList, 'Payroll.PayrollSchedule': PayrollPayrollSchedule, 'common': common, }
19318
+ };
19319
+ }
18697
19320
  declare module 'robot3' {
18698
19321
  /**
18699
19322
  * TS Helpers