@gusto/embedded-react-sdk 0.4.1 → 0.6.0
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.
- package/CHANGELOG.md +86 -0
- package/dist/{HUY7CZI3-CM-U8Gdr.js → 3VW64HDT-DZCphYiC.js} +3 -3
- package/dist/{HUY7CZI3-CM-U8Gdr.js.map → 3VW64HDT-DZCphYiC.js.map} +1 -1
- package/dist/{B4MFY5CR-hjSpgaAn.js → 67EVQ76A-CpAwQIaO.js} +1368 -1460
- package/dist/67EVQ76A-CpAwQIaO.js.map +1 -0
- package/dist/{Company.AssignSignatory-VsqcZn_d.js → Company.AssignSignatory-CUCZtm6s.js} +8 -8
- package/dist/Company.AssignSignatory-CUCZtm6s.js.map +1 -0
- package/dist/Company.DocumentList-D-h6c4bI.js +40 -0
- package/dist/Company.DocumentList-D-h6c4bI.js.map +1 -0
- package/dist/Company.Locations-Cp9h8ZGu.js +74 -0
- package/dist/Company.Locations-Cp9h8ZGu.js.map +1 -0
- package/dist/Company.PaySchedule-CxoupNmN.js +74 -0
- package/dist/Company.PaySchedule-CxoupNmN.js.map +1 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js +30 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js.map +1 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js +50 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js.map +1 -0
- package/dist/{HO4MOOFI-C3z78pq0.js → J3FDRF32-sHWjjvEV.js} +3 -3
- package/dist/{HO4MOOFI-C3z78pq0.js.map → J3FDRF32-sHWjjvEV.js.map} +1 -1
- package/dist/index-BjyRpZDE.js +45647 -0
- package/dist/index-BjyRpZDE.js.map +1 -0
- package/dist/index.d.ts +340 -55
- package/dist/index.js +49 -48
- package/dist/style.css +1 -1
- package/package.json +8 -3
- package/dist/B4MFY5CR-hjSpgaAn.js.map +0 -1
- package/dist/Company.AssignSignatory-VsqcZn_d.js.map +0 -1
- package/dist/Company.DocumentList-CHkbgJsE.js +0 -38
- package/dist/Company.DocumentList-CHkbgJsE.js.map +0 -1
- package/dist/Company.PaySchedule-CMS2f4fy.js +0 -12
- package/dist/Company.PaySchedule-CMS2f4fy.js.map +0 -1
- package/dist/Employee.DocumentSigner-CQx0yl15.js +0 -48
- package/dist/Employee.DocumentSigner-CQx0yl15.js.map +0 -1
- package/dist/index-C7lSGIir.js +0 -37862
- package/dist/index-C7lSGIir.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Actions } from './Actions';
|
|
1
2
|
import { BodyParams as BodyParams_2 } from '../typeHelpers';
|
|
2
3
|
import { components } from '../types/schema';
|
|
3
4
|
import { components as components_3 } from '../../types/schema';
|
|
@@ -6,11 +7,13 @@ import { default as default_2 } from 'openapi-fetch';
|
|
|
6
7
|
import { default as default_3 } from 'react';
|
|
7
8
|
import { DocumentList } from './DocumentList';
|
|
8
9
|
import { DocumentListHead } from './DocumentListHead';
|
|
10
|
+
import { Employee as Employee_2 } from '@gusto/embedded-api/models/components/employee.js';
|
|
9
11
|
import { FallbackProps } from 'react-error-boundary';
|
|
10
12
|
import { FederalForm } from './FederalForm';
|
|
11
13
|
import { FederalHead } from './FederalHead';
|
|
12
14
|
import { FetchOptions } from 'openapi-fetch';
|
|
13
15
|
import { FetchResponse } from 'openapi-fetch';
|
|
16
|
+
import { Form } from './Form';
|
|
14
17
|
import { Head } from './Head';
|
|
15
18
|
import { HTMLAttributes } from 'react';
|
|
16
19
|
import { i18n } from 'i18next';
|
|
@@ -18,6 +21,7 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
18
21
|
import { JSX as JSX_2 } from 'react';
|
|
19
22
|
import { List } from './List';
|
|
20
23
|
import { ManageSignatories } from './ManageSignatories';
|
|
24
|
+
import { Preview } from './Preview';
|
|
21
25
|
import { QueryClient } from '@tanstack/react-query';
|
|
22
26
|
import { ReactElement } from 'react';
|
|
23
27
|
import { ReactNode } from 'react';
|
|
@@ -133,8 +137,12 @@ declare namespace Company {
|
|
|
133
137
|
Industry,
|
|
134
138
|
AssignSignatory,
|
|
135
139
|
DocumentList_2 as DocumentList,
|
|
140
|
+
SignatureForm_2 as SignatureForm,
|
|
141
|
+
DocumentSignerFlow,
|
|
136
142
|
OnboardingSummary_3 as OnboardingSummary,
|
|
137
|
-
OnboardingSummaryContextual_2 as OnboardingSummaryContextual
|
|
143
|
+
OnboardingSummaryContextual_2 as OnboardingSummaryContextual,
|
|
144
|
+
LocationsFlow,
|
|
145
|
+
PaySchedule
|
|
138
146
|
}
|
|
139
147
|
}
|
|
140
148
|
export { Company }
|
|
@@ -166,7 +174,12 @@ declare type CompensationContextType = {
|
|
|
166
174
|
|
|
167
175
|
declare const CompensationContextual: () => JSX.Element;
|
|
168
176
|
|
|
169
|
-
declare type CompensationDefaultValues = RequireAtLeastOne<
|
|
177
|
+
declare type CompensationDefaultValues = RequireAtLeastOne<{
|
|
178
|
+
rate?: Schemas['Job']['rate'];
|
|
179
|
+
title?: Schemas['Job']['title'];
|
|
180
|
+
payment_unit?: (typeof PAY_PERIODS)[keyof typeof PAY_PERIODS];
|
|
181
|
+
flsa_status?: Schemas['Compensation']['flsa_status'];
|
|
182
|
+
}>;
|
|
170
183
|
|
|
171
184
|
declare type CompensationInputs = v.InferInput<typeof CompensationSchema>;
|
|
172
185
|
|
|
@@ -212,8 +225,12 @@ declare const CompensationSchema: v.IntersectSchema<[v.ObjectSchema<{
|
|
|
212
225
|
}, undefined>], undefined>], undefined>;
|
|
213
226
|
|
|
214
227
|
export declare const componentEvents: {
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
228
|
+
readonly PAY_SCHEDULE_CREATE: "paySchedule/create";
|
|
229
|
+
readonly PAY_SCHEDULE_CREATED: "paySchedule/created";
|
|
230
|
+
readonly PAY_SCHEDULE_UPDATE: "paySchedule/update";
|
|
231
|
+
readonly PAY_SCHEDULE_UPDATED: "paySchedule/updated";
|
|
232
|
+
readonly PAY_SCHEDULE_DELETE: "paySchedule/delete";
|
|
233
|
+
readonly PAY_SCHEDULE_DELETED: "paySchedule/deleted";
|
|
217
234
|
readonly COMPANY_INDUSTRY: "company/industry";
|
|
218
235
|
readonly COMPANY_INDUSTRY_SELECTED: "company/industry/selected";
|
|
219
236
|
readonly COMPANY_FEDERAL_TAXES_UPDATED: "company/federalTaxes/updated";
|
|
@@ -224,8 +241,17 @@ export declare const componentEvents: {
|
|
|
224
241
|
readonly COMPANY_INVITE_SIGNATORY_DONE: "company/signatory/inviteSignatory/done";
|
|
225
242
|
readonly COMPANY_ASSIGN_SIGNATORY_MODE_UPDATED: "company/signatory/assignSignatory/modeUpdated";
|
|
226
243
|
readonly COMPANY_ASSIGN_SIGNATORY_DONE: "company/signatory/assignSignatory/done";
|
|
227
|
-
readonly COMPANY_VIEW_FORM_TO_SIGN: "company/forms/view";
|
|
228
244
|
readonly COMPANY_FORM_EDIT_SIGNATORY: "company/forms/editSignatory";
|
|
245
|
+
readonly COMPANY_FORMS_DONE: "company/forms/done";
|
|
246
|
+
readonly COMPANY_VIEW_FORM_TO_SIGN: "company/forms/view";
|
|
247
|
+
readonly COMPANY_SIGN_FORM: "company/forms/sign/signForm";
|
|
248
|
+
readonly COMPANY_SIGN_FORM_DONE: "company/forms/sign/done";
|
|
249
|
+
readonly COMPANY_SIGN_FORM_BACK: "company/forms/sign/back";
|
|
250
|
+
readonly COMPANY_LOCATION_CREATE: "company/location/add";
|
|
251
|
+
readonly COMPANY_LOCATION_CREATED: "company/location/add/done";
|
|
252
|
+
readonly COMPANY_LOCATION_EDIT: "company/location/edit";
|
|
253
|
+
readonly COMPANY_LOCATION_UPDATED: "company/location/edit/done";
|
|
254
|
+
readonly COMPANY_LOCATION_DONE: "company/location/done";
|
|
229
255
|
readonly EMPLOYEE_CREATE: "employee/create";
|
|
230
256
|
readonly EMPLOYEE_CREATED: "employee/created";
|
|
231
257
|
readonly EMPLOYEE_UPDATE: "employee/update";
|
|
@@ -340,7 +366,7 @@ declare interface components_2 {
|
|
|
340
366
|
/** @description UUID reference to the employee for this work address. */
|
|
341
367
|
employee_uuid?: string;
|
|
342
368
|
/** @description The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */
|
|
343
|
-
version
|
|
369
|
+
version: string;
|
|
344
370
|
readonly street_1?: string;
|
|
345
371
|
readonly street_2?: string | null;
|
|
346
372
|
readonly city?: string;
|
|
@@ -469,7 +495,7 @@ declare interface components_2 {
|
|
|
469
495
|
title?: string;
|
|
470
496
|
/** @description String identifier for the onboarding step. */
|
|
471
497
|
id?: string;
|
|
472
|
-
/** @description When true, this step
|
|
498
|
+
/** @description When true, this step is required. */
|
|
473
499
|
required?: boolean;
|
|
474
500
|
/** @description When true, this step has been completed. */
|
|
475
501
|
completed?: boolean;
|
|
@@ -592,7 +618,7 @@ declare interface components_2 {
|
|
|
592
618
|
*/
|
|
593
619
|
payment_period?: "Every week" | "Every other week" | "Twice per month" | "Monthly";
|
|
594
620
|
/** @description The FIPS code associated with the state or county agency issuing the child support order. Agency data is available in the `GET /v1/garnishments/child_support` API. */
|
|
595
|
-
|
|
621
|
+
fips_code?: string;
|
|
596
622
|
/** @description Child Support Enforcement Case Number associated with this child support obligation - required for most states. Agency specific requirements are available in the `GET /v1/garnishments/child_support` API. */
|
|
597
623
|
case_number?: string | null;
|
|
598
624
|
/** @description Order Identifier or Order ID associated with this child support obligation - required for some states. Agency specific requirements are available in the `GET /v1/garnishments/child_support` API. */
|
|
@@ -638,6 +664,12 @@ declare interface components_2 {
|
|
|
638
664
|
* @default null
|
|
639
665
|
*/
|
|
640
666
|
annual_maximum: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* Format: float
|
|
669
|
+
* @description A maximum total deduction for the lifetime of this garnishment. A null value indicates no maximum.
|
|
670
|
+
* @default null
|
|
671
|
+
*/
|
|
672
|
+
total_amount: string | null;
|
|
641
673
|
/**
|
|
642
674
|
* Format: float
|
|
643
675
|
* @description The maximum deduction per pay period. A null value indicates no maximum. Represented as a float, e.g. "16.00".
|
|
@@ -730,7 +762,7 @@ declare interface components_2 {
|
|
|
730
762
|
/** @description The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */
|
|
731
763
|
version?: string;
|
|
732
764
|
/** @description The UUID of the employee to which this termination is attached. */
|
|
733
|
-
readonly employee_uuid?:
|
|
765
|
+
readonly employee_uuid?: string;
|
|
734
766
|
/** @description Whether the employee's termination has gone into effect. */
|
|
735
767
|
readonly active?: boolean;
|
|
736
768
|
/** @description Whether the employee's termination is cancelable. Cancelable is true if `run_termination_payroll` is false and `effective_date` is in the future. */
|
|
@@ -877,6 +909,8 @@ declare interface components_2 {
|
|
|
877
909
|
effective_date?: string;
|
|
878
910
|
}[];
|
|
879
911
|
};
|
|
912
|
+
/** @description The content type of the associated document. Most forms are PDFs with a content type of `application/pdf`. Some tax file packages will be zip files (containing PDFs) with a content type of `application/zip`. This attribute will be `null` when the document has not been prepared. */
|
|
913
|
+
"Form-Document-Content-Type-Type": string | null;
|
|
880
914
|
/** Form */
|
|
881
915
|
Form: {
|
|
882
916
|
/** @description The UUID of the form */
|
|
@@ -895,6 +929,7 @@ declare interface components_2 {
|
|
|
895
929
|
readonly quarter?: number | null;
|
|
896
930
|
/** @description A boolean flag that indicates whether the form needs signing or not. Note that this value will change after the form is signed. */
|
|
897
931
|
readonly requires_signing?: boolean;
|
|
932
|
+
document_content_type?: components_2["schemas"]["Form-Document-Content-Type-Type"];
|
|
898
933
|
};
|
|
899
934
|
/** Form */
|
|
900
935
|
Form_1099: {
|
|
@@ -914,6 +949,7 @@ declare interface components_2 {
|
|
|
914
949
|
readonly quarter?: number | null;
|
|
915
950
|
/** @description A boolean flag that indicates whether the form needs signing or not. Note that this value will change after the form is signed. */
|
|
916
951
|
readonly requires_signing?: boolean;
|
|
952
|
+
document_content_type?: components_2["schemas"]["Form-Document-Content-Type-Type"];
|
|
917
953
|
/** @description The contractor UUID */
|
|
918
954
|
readonly contractor_uuid?: string;
|
|
919
955
|
};
|
|
@@ -922,7 +958,8 @@ declare interface components_2 {
|
|
|
922
958
|
/** @description the UUID of the form */
|
|
923
959
|
readonly uuid: string;
|
|
924
960
|
/** @description the URL of the form */
|
|
925
|
-
document_url?: string;
|
|
961
|
+
document_url?: string | null;
|
|
962
|
+
document_content_type?: components_2["schemas"]["Form-Document-Content-Type-Type"];
|
|
926
963
|
};
|
|
927
964
|
/** Document */
|
|
928
965
|
Document: {
|
|
@@ -2087,6 +2124,8 @@ declare interface components_2 {
|
|
|
2087
2124
|
"Company-Benefit-With-Employee-Benefits": {
|
|
2088
2125
|
/** @description The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */
|
|
2089
2126
|
version?: string;
|
|
2127
|
+
/** @description The UUID of the company. */
|
|
2128
|
+
readonly company_uuid?: string;
|
|
2090
2129
|
/** @description The UUID of the company benefit. */
|
|
2091
2130
|
readonly uuid: string;
|
|
2092
2131
|
/** @description The type of the benefit to which the company benefit belongs (same as benefit_id). */
|
|
@@ -2163,6 +2202,10 @@ declare interface components_2 {
|
|
|
2163
2202
|
"Company-Benefit": {
|
|
2164
2203
|
/** @description The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */
|
|
2165
2204
|
version?: string;
|
|
2205
|
+
/** @description The number of employees enrolled in the benefit, only returned when enrollment_count query param is set to true. */
|
|
2206
|
+
readonly enrollment_count?: number;
|
|
2207
|
+
/** @description The UUID of the company. */
|
|
2208
|
+
readonly company_uuid?: string;
|
|
2166
2209
|
/** @description The UUID of the company benefit. */
|
|
2167
2210
|
readonly uuid: string;
|
|
2168
2211
|
/** @description The type of the benefit to which the company benefit belongs. */
|
|
@@ -2397,6 +2440,8 @@ declare interface components_2 {
|
|
|
2397
2440
|
readonly job_uuid?: string;
|
|
2398
2441
|
/** @description The amount multiplied by the base rate to calculate total compensation per hour worked. */
|
|
2399
2442
|
readonly compensation_multiplier?: number;
|
|
2443
|
+
/** @description The FLSA Status of the employee's primary job compensation */
|
|
2444
|
+
readonly flsa_status?: string;
|
|
2400
2445
|
}[];
|
|
2401
2446
|
/** @description An array of all paid time off the employee is eligible for this pay period. */
|
|
2402
2447
|
paid_time_off?: {
|
|
@@ -4960,6 +5005,8 @@ declare interface components_2 {
|
|
|
4960
5005
|
webhook_subscription_uuid: string;
|
|
4961
5006
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
4962
5007
|
VersionHeader: "2024-04-01";
|
|
5008
|
+
/** @description Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */
|
|
5009
|
+
IpAddressHeader: string;
|
|
4963
5010
|
/** @description The notification entity_uuid */
|
|
4964
5011
|
notification_uuid: string;
|
|
4965
5012
|
/** @description The month we are calculating the invoice for. Must be in YYYY-MM format */
|
|
@@ -5061,6 +5108,7 @@ declare namespace DocumentList_2 {
|
|
|
5061
5108
|
var Head: Head;
|
|
5062
5109
|
var ManageSignatories: ManageSignatories;
|
|
5063
5110
|
var List: List;
|
|
5111
|
+
var Actions: Actions;
|
|
5064
5112
|
}
|
|
5065
5113
|
|
|
5066
5114
|
declare interface DocumentListProps {
|
|
@@ -5089,11 +5137,18 @@ declare type DocumentSignerContextType = {
|
|
|
5089
5137
|
handleContinue: () => void;
|
|
5090
5138
|
documentListError: Error | null;
|
|
5091
5139
|
formToSign?: Schemas['Form'];
|
|
5092
|
-
pdfUrl?: string;
|
|
5140
|
+
pdfUrl?: string | null;
|
|
5093
5141
|
handleBack: () => void;
|
|
5094
5142
|
handleSubmit: (data: SignatureFormInputs) => void;
|
|
5095
5143
|
};
|
|
5096
5144
|
|
|
5145
|
+
declare const DocumentSignerFlow: ({ companyId, signatoryId, onEvent, }: DocumentSignerFlowProps) => JSX.Element;
|
|
5146
|
+
|
|
5147
|
+
declare interface DocumentSignerFlowProps extends BaseComponentInterface {
|
|
5148
|
+
companyId: string;
|
|
5149
|
+
signatoryId?: string;
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5097
5152
|
declare interface DocumentSignerProps extends CommonComponentInterface {
|
|
5098
5153
|
employeeId: string;
|
|
5099
5154
|
}
|
|
@@ -5157,7 +5212,7 @@ declare type EmployeeListContextType = {
|
|
|
5157
5212
|
handleItemsPerPageChange: (newCount: number) => void;
|
|
5158
5213
|
currentPage: number;
|
|
5159
5214
|
totalPages: number;
|
|
5160
|
-
employees:
|
|
5215
|
+
employees: Employee_2[];
|
|
5161
5216
|
};
|
|
5162
5217
|
|
|
5163
5218
|
/**
|
|
@@ -5177,6 +5232,7 @@ export declare interface EmployeeOnboardingContextInterface extends FlowContextI
|
|
|
5177
5232
|
startDate?: string;
|
|
5178
5233
|
paymentMethod?: Schemas['Employee-Payment-Method'];
|
|
5179
5234
|
defaultValues?: EmployeeOnboardingDefaultValues;
|
|
5235
|
+
isSelfOnboardingEnabled?: boolean;
|
|
5180
5236
|
}
|
|
5181
5237
|
|
|
5182
5238
|
declare type EmployeeOnboardingDefaultValues = RequireAtLeastOne<{
|
|
@@ -5184,11 +5240,12 @@ declare type EmployeeOnboardingDefaultValues = RequireAtLeastOne<{
|
|
|
5184
5240
|
compensation?: CompensationDefaultValues;
|
|
5185
5241
|
}>;
|
|
5186
5242
|
|
|
5187
|
-
export declare const EmployeeOnboardingFlow: ({ companyId, onEvent, defaultValues, }: EmployeeOnboardingFlowProps) => JSX.Element;
|
|
5243
|
+
export declare const EmployeeOnboardingFlow: ({ companyId, onEvent, defaultValues, isSelfOnboardingEnabled, }: EmployeeOnboardingFlowProps) => JSX.Element;
|
|
5188
5244
|
|
|
5189
5245
|
export declare interface EmployeeOnboardingFlowProps extends BaseComponentInterface {
|
|
5190
5246
|
companyId: string;
|
|
5191
5247
|
defaultValues?: RequireAtLeastOne<EmployeeOnboardingDefaultValues>;
|
|
5248
|
+
isSelfOnboardingEnabled?: boolean;
|
|
5192
5249
|
}
|
|
5193
5250
|
|
|
5194
5251
|
declare const EmployeeOnboardingStatus: {
|
|
@@ -5237,6 +5294,7 @@ declare interface GTheme {
|
|
|
5237
5294
|
radio: GThemeRadio
|
|
5238
5295
|
checkbox: GThemeCheckbox
|
|
5239
5296
|
table: GThemeTable
|
|
5297
|
+
calendarDisplay: GThemeCalendarDisplay
|
|
5240
5298
|
card: GThemeCard
|
|
5241
5299
|
link: GThemeLink
|
|
5242
5300
|
badge: GThemeBadge
|
|
@@ -5281,11 +5339,21 @@ declare type GThemeButtonVariant = {
|
|
|
5281
5339
|
focusColor: ThemeColor
|
|
5282
5340
|
}
|
|
5283
5341
|
|
|
5342
|
+
declare interface GThemeCalendarDisplay {
|
|
5343
|
+
primaryHighlight: string
|
|
5344
|
+
warningHighlight: string
|
|
5345
|
+
lightFont: string
|
|
5346
|
+
darkFont: string
|
|
5347
|
+
borderColor: string
|
|
5348
|
+
}
|
|
5349
|
+
|
|
5284
5350
|
declare interface GThemeCard {
|
|
5285
5351
|
borderColor: string
|
|
5286
5352
|
dividerColor: string
|
|
5287
5353
|
headerTextColor: string
|
|
5288
5354
|
contentTextColor: string
|
|
5355
|
+
columnTitleColor: string
|
|
5356
|
+
columnTitleFontSize: string
|
|
5289
5357
|
}
|
|
5290
5358
|
|
|
5291
5359
|
declare interface GThemeCheckbox {
|
|
@@ -5323,6 +5391,9 @@ declare interface GThemeColors {
|
|
|
5323
5391
|
500: ThemeColor
|
|
5324
5392
|
800: ThemeColor
|
|
5325
5393
|
}
|
|
5394
|
+
orange: {
|
|
5395
|
+
800: ThemeColor
|
|
5396
|
+
}
|
|
5326
5397
|
}
|
|
5327
5398
|
|
|
5328
5399
|
declare interface GThemeFocus {
|
|
@@ -5422,7 +5493,7 @@ declare interface GThemeTypography {
|
|
|
5422
5493
|
medium: string
|
|
5423
5494
|
}
|
|
5424
5495
|
fontWeight: {
|
|
5425
|
-
|
|
5496
|
+
regular: number
|
|
5426
5497
|
medium: number
|
|
5427
5498
|
}
|
|
5428
5499
|
disabledTextColor: ThemeColor
|
|
@@ -5445,7 +5516,7 @@ export declare function GustoApiContextProvider({ children, context, queryClient
|
|
|
5445
5516
|
}): JSX.Element;
|
|
5446
5517
|
|
|
5447
5518
|
export declare interface GustoApiProps {
|
|
5448
|
-
config
|
|
5519
|
+
config: APIConfig;
|
|
5449
5520
|
dictionary?: Dictionary;
|
|
5450
5521
|
lng?: string;
|
|
5451
5522
|
locale?: string;
|
|
@@ -5547,7 +5618,9 @@ export declare class GustoClient {
|
|
|
5547
5618
|
}>;
|
|
5548
5619
|
getCompanyOnboardingStatus(company_uuid: string): Promise<FetchResponse< {
|
|
5549
5620
|
parameters: {
|
|
5550
|
-
query?:
|
|
5621
|
+
query?: {
|
|
5622
|
+
additional_steps?: string;
|
|
5623
|
+
};
|
|
5551
5624
|
header?: {
|
|
5552
5625
|
"X-Gusto-API-Version"?: components["parameters"]["VersionHeader"];
|
|
5553
5626
|
};
|
|
@@ -6101,7 +6174,7 @@ export declare class GustoClient {
|
|
|
6101
6174
|
readonly active?: boolean;
|
|
6102
6175
|
location_uuid?: string;
|
|
6103
6176
|
employee_uuid?: string;
|
|
6104
|
-
version
|
|
6177
|
+
version: string;
|
|
6105
6178
|
readonly street_1?: string;
|
|
6106
6179
|
readonly street_2?: string | null;
|
|
6107
6180
|
readonly city?: string;
|
|
@@ -6144,7 +6217,7 @@ export declare class GustoClient {
|
|
|
6144
6217
|
readonly active?: boolean;
|
|
6145
6218
|
location_uuid?: string;
|
|
6146
6219
|
employee_uuid?: string;
|
|
6147
|
-
version
|
|
6220
|
+
version: string;
|
|
6148
6221
|
readonly street_1?: string;
|
|
6149
6222
|
readonly street_2?: string | null;
|
|
6150
6223
|
readonly city?: string;
|
|
@@ -6257,6 +6330,7 @@ export declare class GustoClient {
|
|
|
6257
6330
|
times: number | null;
|
|
6258
6331
|
recurring: boolean;
|
|
6259
6332
|
annual_maximum: string | null;
|
|
6333
|
+
total_amount: string | null;
|
|
6260
6334
|
pay_period_maximum: string | null;
|
|
6261
6335
|
deduct_as_percentage: boolean;
|
|
6262
6336
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -6273,6 +6347,7 @@ export declare class GustoClient {
|
|
|
6273
6347
|
times: number | null;
|
|
6274
6348
|
recurring: boolean;
|
|
6275
6349
|
annual_maximum: string | null;
|
|
6350
|
+
total_amount: string | null;
|
|
6276
6351
|
pay_period_maximum: string | null;
|
|
6277
6352
|
deduct_as_percentage: boolean;
|
|
6278
6353
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -6566,6 +6641,8 @@ export declare class GustoClient {
|
|
|
6566
6641
|
start_date?: string;
|
|
6567
6642
|
end_date?: string;
|
|
6568
6643
|
sort_order?: components["parameters"]["sort_order"];
|
|
6644
|
+
page?: components["parameters"]["pageParam"];
|
|
6645
|
+
per?: components["parameters"]["perParam"];
|
|
6569
6646
|
};
|
|
6570
6647
|
header?: {
|
|
6571
6648
|
"X-Gusto-API-Version"?: components["parameters"]["VersionHeader"];
|
|
@@ -6602,6 +6679,8 @@ export declare class GustoClient {
|
|
|
6602
6679
|
start_date?: string;
|
|
6603
6680
|
end_date?: string;
|
|
6604
6681
|
sort_order?: components["parameters"]["sort_order"];
|
|
6682
|
+
page?: components["parameters"]["pageParam"];
|
|
6683
|
+
per?: components["parameters"]["perParam"];
|
|
6605
6684
|
};
|
|
6606
6685
|
header?: {
|
|
6607
6686
|
"X-Gusto-API-Version"?: components["parameters"]["VersionHeader"];
|
|
@@ -6783,10 +6862,12 @@ export declare class GustoClient {
|
|
|
6783
6862
|
readonly year?: number | null;
|
|
6784
6863
|
readonly quarter?: number | null;
|
|
6785
6864
|
readonly requires_signing?: boolean;
|
|
6865
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6786
6866
|
}[]>;
|
|
6787
6867
|
getEmployeeFormPdf(employee_id: string, form_id: string): Promise<{
|
|
6788
6868
|
readonly uuid: string;
|
|
6789
|
-
document_url?: string;
|
|
6869
|
+
document_url?: string | null;
|
|
6870
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6790
6871
|
}>;
|
|
6791
6872
|
signEmployeeForm(employee_id: string, form_id: string, body: BodyParams<'/v1/employees/{employee_id}/forms/{form_id}/sign', 'PUT'>): Promise<{
|
|
6792
6873
|
readonly uuid: string;
|
|
@@ -6797,6 +6878,7 @@ export declare class GustoClient {
|
|
|
6797
6878
|
readonly year?: number | null;
|
|
6798
6879
|
readonly quarter?: number | null;
|
|
6799
6880
|
readonly requires_signing?: boolean;
|
|
6881
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6800
6882
|
}>;
|
|
6801
6883
|
getAllCompanyForms(company_id: string): Promise<{
|
|
6802
6884
|
readonly uuid: string;
|
|
@@ -6807,10 +6889,23 @@ export declare class GustoClient {
|
|
|
6807
6889
|
readonly year?: number | null;
|
|
6808
6890
|
readonly quarter?: number | null;
|
|
6809
6891
|
readonly requires_signing?: boolean;
|
|
6892
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6810
6893
|
}[]>;
|
|
6894
|
+
getCompanyForm(form_id: string): Promise<{
|
|
6895
|
+
readonly uuid: string;
|
|
6896
|
+
readonly name?: string;
|
|
6897
|
+
readonly title?: string;
|
|
6898
|
+
readonly description?: string;
|
|
6899
|
+
readonly draft?: boolean;
|
|
6900
|
+
readonly year?: number | null;
|
|
6901
|
+
readonly quarter?: number | null;
|
|
6902
|
+
readonly requires_signing?: boolean;
|
|
6903
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6904
|
+
}>;
|
|
6811
6905
|
getCompanyFormPdf(form_id: string): Promise<{
|
|
6812
6906
|
readonly uuid: string;
|
|
6813
|
-
document_url?: string;
|
|
6907
|
+
document_url?: string | null;
|
|
6908
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6814
6909
|
}>;
|
|
6815
6910
|
signCompanyForm(form_id: string, body: BodyParams<'/v1/forms/{form_id}/sign', 'PUT'>): Promise<{
|
|
6816
6911
|
readonly uuid: string;
|
|
@@ -6821,6 +6916,7 @@ export declare class GustoClient {
|
|
|
6821
6916
|
readonly year?: number | null;
|
|
6822
6917
|
readonly quarter?: number | null;
|
|
6823
6918
|
readonly requires_signing?: boolean;
|
|
6919
|
+
document_content_type?: components["schemas"]["Form-Document-Content-Type-Type"];
|
|
6824
6920
|
}>;
|
|
6825
6921
|
getPaySchedule(pay_schedule_id: string, company_id: string): Promise<{
|
|
6826
6922
|
uuid: components["schemas"]["Pay-Schedule-Uuid"];
|
|
@@ -7028,6 +7124,12 @@ export declare function Landing(): JSX.Element;
|
|
|
7028
7124
|
|
|
7029
7125
|
declare function Landing_2(props: SummaryProps_2 & BaseComponentInterface): JSX.Element;
|
|
7030
7126
|
|
|
7127
|
+
declare function LocationsFlow({ companyId, onEvent }: LocationsProps): JSX.Element;
|
|
7128
|
+
|
|
7129
|
+
declare interface LocationsProps extends BaseComponentInterface {
|
|
7130
|
+
companyId: string;
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7031
7133
|
declare type MODE = 'ADD' | 'LIST' | 'INITIAL' | 'EDIT';
|
|
7032
7134
|
|
|
7033
7135
|
declare type MODE_2 = 'LIST' | 'ADD_ADDITIONAL_JOB' | 'ADD_INITIAL_JOB' | 'EDIT_ADDITIONAL_JOB' | 'EDIT_INITIAL_JOB' | 'PROCEED';
|
|
@@ -7825,7 +7927,10 @@ declare interface operations {
|
|
|
7825
7927
|
};
|
|
7826
7928
|
"get-v1-company-onboarding-status": {
|
|
7827
7929
|
parameters: {
|
|
7828
|
-
query?:
|
|
7930
|
+
query?: {
|
|
7931
|
+
/** @description Comma delimited string indicating whether to include any additional steps of onboarding. Currently only supports the value "external_payroll". */
|
|
7932
|
+
additional_steps?: string;
|
|
7933
|
+
};
|
|
7829
7934
|
header?: {
|
|
7830
7935
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
7831
7936
|
"X-Gusto-API-Version"?: components_2["parameters"]["VersionHeader"];
|
|
@@ -10972,6 +11077,8 @@ declare interface operations {
|
|
|
10972
11077
|
parameters: {
|
|
10973
11078
|
query?: never;
|
|
10974
11079
|
header?: {
|
|
11080
|
+
/** @description Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */
|
|
11081
|
+
"x-gusto-client-ip"?: components_2["parameters"]["IpAddressHeader"];
|
|
10975
11082
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
10976
11083
|
"X-Gusto-API-Version"?: components_2["parameters"]["VersionHeader"];
|
|
10977
11084
|
};
|
|
@@ -10993,8 +11100,8 @@ declare interface operations {
|
|
|
10993
11100
|
}[];
|
|
10994
11101
|
/** @description Whether you agree to sign electronically */
|
|
10995
11102
|
agree: boolean;
|
|
10996
|
-
/** @description The IP address of the signatory who signed the form. */
|
|
10997
|
-
signed_by_ip_address
|
|
11103
|
+
/** @description The IP address of the signatory who signed the form. You must provide the IP address with either this parameter OR you can leave out this parameter and set the IP address in the request header using the `x-gusto-client-ip` header instead. */
|
|
11104
|
+
signed_by_ip_address?: string;
|
|
10998
11105
|
};
|
|
10999
11106
|
};
|
|
11000
11107
|
};
|
|
@@ -11249,6 +11356,10 @@ declare interface operations {
|
|
|
11249
11356
|
end_date?: string;
|
|
11250
11357
|
/** @description A string indicating whether to sort resulting events in ascending (asc) or descending (desc) chronological order. Events are sorted by their `timestamp`. Defaults to asc if left empty. */
|
|
11251
11358
|
sort_order?: components_2["parameters"]["sort_order"];
|
|
11359
|
+
/** @description The page that is requested. When unspecified, will load all objects unless endpoint forces pagination. */
|
|
11360
|
+
page?: components_2["parameters"]["pageParam"];
|
|
11361
|
+
/** @description Number of objects per page. For majority of endpoints will default to 25 */
|
|
11362
|
+
per?: components_2["parameters"]["perParam"];
|
|
11252
11363
|
};
|
|
11253
11364
|
header?: {
|
|
11254
11365
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
@@ -12238,6 +12349,8 @@ declare interface operations {
|
|
|
12238
12349
|
parameters: {
|
|
12239
12350
|
query?: never;
|
|
12240
12351
|
header?: {
|
|
12352
|
+
/** @description Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */
|
|
12353
|
+
"x-gusto-client-ip"?: components_2["parameters"]["IpAddressHeader"];
|
|
12241
12354
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
12242
12355
|
"X-Gusto-API-Version"?: components_2["parameters"]["VersionHeader"];
|
|
12243
12356
|
};
|
|
@@ -12254,8 +12367,8 @@ declare interface operations {
|
|
|
12254
12367
|
signature_text: string;
|
|
12255
12368
|
/** @description Whether you agree to sign electronically */
|
|
12256
12369
|
agree: boolean;
|
|
12257
|
-
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. */
|
|
12258
|
-
signed_by_ip_address
|
|
12370
|
+
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. You must provide the IP address with either this parameter OR you can leave out this parameter and set the IP address in the request header using the `x-gusto-client-ip` header instead. */
|
|
12371
|
+
signed_by_ip_address?: string;
|
|
12259
12372
|
};
|
|
12260
12373
|
};
|
|
12261
12374
|
};
|
|
@@ -12330,6 +12443,8 @@ declare interface operations {
|
|
|
12330
12443
|
parameters: {
|
|
12331
12444
|
query?: never;
|
|
12332
12445
|
header?: {
|
|
12446
|
+
/** @description Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */
|
|
12447
|
+
"x-gusto-client-ip"?: components_2["parameters"]["IpAddressHeader"];
|
|
12333
12448
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
12334
12449
|
"X-Gusto-API-Version"?: components_2["parameters"]["VersionHeader"];
|
|
12335
12450
|
};
|
|
@@ -12348,8 +12463,8 @@ declare interface operations {
|
|
|
12348
12463
|
signature_text: string;
|
|
12349
12464
|
/** @description Whether you agree to sign electronically */
|
|
12350
12465
|
agree: boolean;
|
|
12351
|
-
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. */
|
|
12352
|
-
signed_by_ip_address
|
|
12466
|
+
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. You must provide the IP address with either this parameter OR you can leave out this parameter and set the IP address in the request header using the `x-gusto-client-ip` header instead. */
|
|
12467
|
+
signed_by_ip_address?: string;
|
|
12353
12468
|
/** @description Whether there is a preparer */
|
|
12354
12469
|
preparer?: boolean;
|
|
12355
12470
|
preparer_first_name?: string;
|
|
@@ -12631,6 +12746,8 @@ declare interface operations {
|
|
|
12631
12746
|
"get-v1-companies-company_id-company_benefits": {
|
|
12632
12747
|
parameters: {
|
|
12633
12748
|
query?: {
|
|
12749
|
+
/** @description Whether the benefit is currently active */
|
|
12750
|
+
active?: boolean;
|
|
12634
12751
|
/** @description Whether to return employee enrollment count */
|
|
12635
12752
|
enrollment_count?: boolean;
|
|
12636
12753
|
};
|
|
@@ -13662,6 +13779,8 @@ declare interface operations {
|
|
|
13662
13779
|
parameters: {
|
|
13663
13780
|
query?: never;
|
|
13664
13781
|
header?: {
|
|
13782
|
+
/** @description Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */
|
|
13783
|
+
"x-gusto-client-ip"?: components_2["parameters"]["IpAddressHeader"];
|
|
13665
13784
|
/** @description Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */
|
|
13666
13785
|
"X-Gusto-API-Version"?: components_2["parameters"]["VersionHeader"];
|
|
13667
13786
|
};
|
|
@@ -13678,8 +13797,8 @@ declare interface operations {
|
|
|
13678
13797
|
signature_text: string;
|
|
13679
13798
|
/** @description The signer's job title */
|
|
13680
13799
|
signer_title: string;
|
|
13681
|
-
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. */
|
|
13682
|
-
signed_by_ip_address
|
|
13800
|
+
/** @description The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. You must provide the IP address with either this parameter OR you can leave out this parameter and set the IP address in the request header using the `x-gusto-client-ip` header instead. */
|
|
13801
|
+
signed_by_ip_address?: string;
|
|
13683
13802
|
/** @description Whether you agree to sign electronically */
|
|
13684
13803
|
agree: boolean;
|
|
13685
13804
|
/** @description Any additional notes */
|
|
@@ -19274,6 +19393,14 @@ declare interface paths {
|
|
|
19274
19393
|
};
|
|
19275
19394
|
}
|
|
19276
19395
|
|
|
19396
|
+
declare const PAY_PERIODS: {
|
|
19397
|
+
readonly HOUR: "Hour";
|
|
19398
|
+
readonly WEEK: "Week";
|
|
19399
|
+
readonly MONTH: "Month";
|
|
19400
|
+
readonly YEAR: "Year";
|
|
19401
|
+
readonly PAYCHECK: "Paycheck";
|
|
19402
|
+
};
|
|
19403
|
+
|
|
19277
19404
|
export declare function PaymentMethod(): JSX.Element;
|
|
19278
19405
|
|
|
19279
19406
|
declare function PaymentMethod_2(props: PaymentMethodProps & BaseComponentInterface): JSX.Element;
|
|
@@ -19384,6 +19511,23 @@ declare interface PayrollTotalsConstructor {
|
|
|
19384
19511
|
companyDebit?: number;
|
|
19385
19512
|
}
|
|
19386
19513
|
|
|
19514
|
+
declare const PaySchedule: {
|
|
19515
|
+
({ companyId, defaultValues, ...props }: PayScheduleProps & BaseComponentInterface): JSX.Element;
|
|
19516
|
+
Head: () => JSX.Element;
|
|
19517
|
+
List: () => JSX.Element | null;
|
|
19518
|
+
Edit: () => JSX.Element | null;
|
|
19519
|
+
Actions: () => JSX.Element;
|
|
19520
|
+
};
|
|
19521
|
+
|
|
19522
|
+
declare type PayScheduleDefaultValues = RequireAtLeastOne<Partial<Pick<Schemas['Pay-Schedule'], 'anchor_pay_date' | 'anchor_end_of_pay_period' | 'day_1' | 'day_2' | 'custom_name' | 'auto_pilot'>> & {
|
|
19523
|
+
frequency: 'Every week' | 'Every other week' | 'Twice per month' | 'Monthly';
|
|
19524
|
+
}>;
|
|
19525
|
+
|
|
19526
|
+
declare interface PayScheduleProps extends CommonComponentInterface {
|
|
19527
|
+
companyId: string;
|
|
19528
|
+
defaultValues?: PayScheduleDefaultValues;
|
|
19529
|
+
}
|
|
19530
|
+
|
|
19387
19531
|
export declare function Profile(): JSX.Element;
|
|
19388
19532
|
|
|
19389
19533
|
declare function Profile_2(props: ProfileProps & BaseComponentInterface): JSX.Element;
|
|
@@ -19405,6 +19549,7 @@ declare type ProfileContextType = {
|
|
|
19405
19549
|
isPending: boolean;
|
|
19406
19550
|
isAdmin: boolean;
|
|
19407
19551
|
handleCancel: () => void;
|
|
19552
|
+
isSelfOnboardingEnabled: boolean;
|
|
19408
19553
|
};
|
|
19409
19554
|
|
|
19410
19555
|
declare const ProfileContextual: () => JSX.Element;
|
|
@@ -19431,6 +19576,7 @@ declare interface ProfileProps extends CommonComponentInterface {
|
|
|
19431
19576
|
companyId: string;
|
|
19432
19577
|
defaultValues?: ProfileDefaultValues;
|
|
19433
19578
|
isAdmin?: boolean;
|
|
19579
|
+
isSelfOnboardingEnabled?: boolean;
|
|
19434
19580
|
}
|
|
19435
19581
|
|
|
19436
19582
|
declare type QueryParams<Path extends keyof paths> = _QueryParams<Path> extends {
|
|
@@ -19475,8 +19621,24 @@ declare type Schemas = components_2["schemas"];
|
|
|
19475
19621
|
/**Creating new i18next instance to avoid global clashing */
|
|
19476
19622
|
export declare const SDKI18next: i18n;
|
|
19477
19623
|
|
|
19624
|
+
declare function SignatureForm_2({ formId, companyId, children, className, ...props }: SignatureFormProps & BaseComponentInterface): JSX.Element;
|
|
19625
|
+
|
|
19626
|
+
declare namespace SignatureForm_2 {
|
|
19627
|
+
var Head: Head;
|
|
19628
|
+
var Preview: Preview;
|
|
19629
|
+
var Form: Form;
|
|
19630
|
+
var Actions: Actions;
|
|
19631
|
+
}
|
|
19632
|
+
|
|
19478
19633
|
declare type SignatureFormInputs = v.InferInput<typeof SignatureFormSchema>;
|
|
19479
19634
|
|
|
19635
|
+
declare interface SignatureFormProps {
|
|
19636
|
+
formId: string;
|
|
19637
|
+
companyId: string;
|
|
19638
|
+
children?: ReactNode;
|
|
19639
|
+
className?: string;
|
|
19640
|
+
}
|
|
19641
|
+
|
|
19480
19642
|
declare const SignatureFormSchema: v.ObjectSchema<{
|
|
19481
19643
|
readonly signature: v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>]>;
|
|
19482
19644
|
readonly confirmSignature: v.SchemaWithPipe<[v.ArraySchema<v.LiteralSchema<"agree", undefined>, undefined>, v.MinLengthAction<"agree"[], 1, undefined>]>;
|
|
@@ -19563,6 +19725,7 @@ court_ordered?: boolean;
|
|
|
19563
19725
|
times: number | null;
|
|
19564
19726
|
recurring: boolean;
|
|
19565
19727
|
annual_maximum: string | null;
|
|
19728
|
+
total_amount: string | null;
|
|
19566
19729
|
pay_period_maximum: string | null;
|
|
19567
19730
|
deduct_as_percentage: boolean;
|
|
19568
19731
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -19580,6 +19743,7 @@ court_ordered?: boolean;
|
|
|
19580
19743
|
times: number | null;
|
|
19581
19744
|
recurring: boolean;
|
|
19582
19745
|
annual_maximum: string | null;
|
|
19746
|
+
total_amount: string | null;
|
|
19583
19747
|
pay_period_maximum: string | null;
|
|
19584
19748
|
deduct_as_percentage: boolean;
|
|
19585
19749
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -19628,7 +19792,7 @@ effective_date?: string;
|
|
|
19628
19792
|
readonly active?: boolean;
|
|
19629
19793
|
location_uuid?: string;
|
|
19630
19794
|
employee_uuid?: string;
|
|
19631
|
-
version
|
|
19795
|
+
version: string;
|
|
19632
19796
|
readonly street_1?: string;
|
|
19633
19797
|
readonly street_2?: string | null;
|
|
19634
19798
|
readonly city?: string;
|
|
@@ -19643,7 +19807,7 @@ effective_date?: string;
|
|
|
19643
19807
|
readonly active?: boolean;
|
|
19644
19808
|
location_uuid?: string;
|
|
19645
19809
|
employee_uuid?: string;
|
|
19646
|
-
version
|
|
19810
|
+
version: string;
|
|
19647
19811
|
readonly street_1?: string;
|
|
19648
19812
|
readonly street_2?: string | null;
|
|
19649
19813
|
readonly city?: string;
|
|
@@ -19977,6 +20141,7 @@ readonly draft?: boolean;
|
|
|
19977
20141
|
readonly year?: number | null;
|
|
19978
20142
|
readonly quarter?: number | null;
|
|
19979
20143
|
readonly requires_signing?: boolean;
|
|
20144
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
19980
20145
|
}[], Error>;
|
|
19981
20146
|
|
|
19982
20147
|
export declare function useGetAllEmployeeForms(employee_id: string): UseSuspenseQueryResult<{
|
|
@@ -19988,6 +20153,7 @@ export declare function useGetAllEmployeeForms(employee_id: string): UseSuspense
|
|
|
19988
20153
|
readonly year?: number | null;
|
|
19989
20154
|
readonly quarter?: number | null;
|
|
19990
20155
|
readonly requires_signing?: boolean;
|
|
20156
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
19991
20157
|
}[], Error>;
|
|
19992
20158
|
|
|
19993
20159
|
export declare function useGetAllSignatories(company_id: string): UseSuspenseQueryResult< {
|
|
@@ -20094,9 +20260,22 @@ effective_date?: string;
|
|
|
20094
20260
|
deposit_schedule?: string;
|
|
20095
20261
|
}, Error>;
|
|
20096
20262
|
|
|
20263
|
+
export declare function useGetCompanyForm(form_id: string): UseSuspenseQueryResult< {
|
|
20264
|
+
readonly uuid: string;
|
|
20265
|
+
readonly name?: string;
|
|
20266
|
+
readonly title?: string;
|
|
20267
|
+
readonly description?: string;
|
|
20268
|
+
readonly draft?: boolean;
|
|
20269
|
+
readonly year?: number | null;
|
|
20270
|
+
readonly quarter?: number | null;
|
|
20271
|
+
readonly requires_signing?: boolean;
|
|
20272
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20273
|
+
}, Error>;
|
|
20274
|
+
|
|
20097
20275
|
export declare function useGetCompanyFormPdf(form_id: string): UseSuspenseQueryResult< {
|
|
20098
20276
|
readonly uuid: string;
|
|
20099
|
-
document_url?: string;
|
|
20277
|
+
document_url?: string | null;
|
|
20278
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20100
20279
|
}, Error>;
|
|
20101
20280
|
|
|
20102
20281
|
export declare function useGetCompanyIndustry(company_id: string): UseSuspenseQueryResult< {
|
|
@@ -20166,6 +20345,7 @@ export declare function useGetDeduction(garnishment_id: string): UseSuspenseQuer
|
|
|
20166
20345
|
times: number | null;
|
|
20167
20346
|
recurring: boolean;
|
|
20168
20347
|
annual_maximum: string | null;
|
|
20348
|
+
total_amount: string | null;
|
|
20169
20349
|
pay_period_maximum: string | null;
|
|
20170
20350
|
deduct_as_percentage: boolean;
|
|
20171
20351
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -20194,6 +20374,7 @@ export declare function useGetEmployeeDeductions(employee_id: string): UseSuspen
|
|
|
20194
20374
|
times: number | null;
|
|
20195
20375
|
recurring: boolean;
|
|
20196
20376
|
annual_maximum: string | null;
|
|
20377
|
+
total_amount: string | null;
|
|
20197
20378
|
pay_period_maximum: string | null;
|
|
20198
20379
|
deduct_as_percentage: boolean;
|
|
20199
20380
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -20215,7 +20396,8 @@ export declare function useGetEmployeeFederalTaxes(employee_id: string): UseSusp
|
|
|
20215
20396
|
|
|
20216
20397
|
export declare function useGetEmployeeFormPdf(employee_id: string): UseMutationResult< {
|
|
20217
20398
|
readonly uuid: string;
|
|
20218
|
-
document_url?: string;
|
|
20399
|
+
document_url?: string | null;
|
|
20400
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20219
20401
|
}, Error, {
|
|
20220
20402
|
form_id: string;
|
|
20221
20403
|
}, unknown>;
|
|
@@ -20363,7 +20545,7 @@ export declare function useGetEmployeeWorkAddress(work_address_uuid: string): Us
|
|
|
20363
20545
|
readonly active?: boolean;
|
|
20364
20546
|
location_uuid?: string;
|
|
20365
20547
|
employee_uuid?: string;
|
|
20366
|
-
version
|
|
20548
|
+
version: string;
|
|
20367
20549
|
readonly street_1?: string;
|
|
20368
20550
|
readonly street_2?: string | null;
|
|
20369
20551
|
readonly city?: string;
|
|
@@ -20378,7 +20560,7 @@ export declare function useGetEmployeeWorkAddresses(employee_id: string | undefi
|
|
|
20378
20560
|
readonly active?: boolean;
|
|
20379
20561
|
location_uuid?: string;
|
|
20380
20562
|
employee_uuid?: string;
|
|
20381
|
-
version
|
|
20563
|
+
version: string;
|
|
20382
20564
|
readonly street_1?: string;
|
|
20383
20565
|
readonly street_2?: string | null;
|
|
20384
20566
|
readonly city?: string;
|
|
@@ -20472,6 +20654,7 @@ readonly draft?: boolean;
|
|
|
20472
20654
|
readonly year?: number | null;
|
|
20473
20655
|
readonly quarter?: number | null;
|
|
20474
20656
|
readonly requires_signing?: boolean;
|
|
20657
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20475
20658
|
}, unknown, {
|
|
20476
20659
|
form_id: string;
|
|
20477
20660
|
body: Parameters<(form_id: string, body: BodyParams_2<"/v1/forms/{form_id}/sign", "PUT">) => Promise<{
|
|
@@ -20483,6 +20666,7 @@ readonly draft?: boolean;
|
|
|
20483
20666
|
readonly year?: number | null;
|
|
20484
20667
|
readonly quarter?: number | null;
|
|
20485
20668
|
readonly requires_signing?: boolean;
|
|
20669
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20486
20670
|
}>>[1];
|
|
20487
20671
|
}, unknown>;
|
|
20488
20672
|
|
|
@@ -20495,6 +20679,7 @@ readonly draft?: boolean;
|
|
|
20495
20679
|
readonly year?: number | null;
|
|
20496
20680
|
readonly quarter?: number | null;
|
|
20497
20681
|
readonly requires_signing?: boolean;
|
|
20682
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20498
20683
|
}, Error, {
|
|
20499
20684
|
form_id: string;
|
|
20500
20685
|
body: Parameters<(employee_id: string, form_id: string, body: BodyParams_2<"/v1/employees/{employee_id}/forms/{form_id}/sign", "PUT">) => Promise<{
|
|
@@ -20506,6 +20691,7 @@ readonly draft?: boolean;
|
|
|
20506
20691
|
readonly year?: number | null;
|
|
20507
20692
|
readonly quarter?: number | null;
|
|
20508
20693
|
readonly requires_signing?: boolean;
|
|
20694
|
+
document_content_type?: components_3["schemas"]["Form-Document-Content-Type-Type"];
|
|
20509
20695
|
}>>[2];
|
|
20510
20696
|
}, unknown>;
|
|
20511
20697
|
|
|
@@ -20698,6 +20884,7 @@ court_ordered?: boolean;
|
|
|
20698
20884
|
times: number | null;
|
|
20699
20885
|
recurring: boolean;
|
|
20700
20886
|
annual_maximum: string | null;
|
|
20887
|
+
total_amount: string | null;
|
|
20701
20888
|
pay_period_maximum: string | null;
|
|
20702
20889
|
deduct_as_percentage: boolean;
|
|
20703
20890
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -20715,6 +20902,7 @@ court_ordered?: boolean;
|
|
|
20715
20902
|
times: number | null;
|
|
20716
20903
|
recurring: boolean;
|
|
20717
20904
|
annual_maximum: string | null;
|
|
20905
|
+
total_amount: string | null;
|
|
20718
20906
|
pay_period_maximum: string | null;
|
|
20719
20907
|
deduct_as_percentage: boolean;
|
|
20720
20908
|
garnishment_type?: "child_support" | "federal_tax_lien" | "state_tax_lien" | "student_loan" | "creditor_garnishment" | "federal_loan" | "other_garnishment" | null;
|
|
@@ -21029,7 +21217,7 @@ effective_date?: string;
|
|
|
21029
21217
|
readonly active?: boolean;
|
|
21030
21218
|
location_uuid?: string;
|
|
21031
21219
|
employee_uuid?: string;
|
|
21032
|
-
version
|
|
21220
|
+
version: string;
|
|
21033
21221
|
readonly street_1?: string;
|
|
21034
21222
|
readonly street_2?: string | null;
|
|
21035
21223
|
readonly city?: string;
|
|
@@ -21044,7 +21232,7 @@ effective_date?: string;
|
|
|
21044
21232
|
readonly active?: boolean;
|
|
21045
21233
|
location_uuid?: string;
|
|
21046
21234
|
employee_uuid?: string;
|
|
21047
|
-
version
|
|
21235
|
+
version: string;
|
|
21048
21236
|
readonly street_1?: string;
|
|
21049
21237
|
readonly street_2?: string | null;
|
|
21050
21238
|
readonly city?: string;
|
|
@@ -21103,18 +21291,6 @@ declare type VAR = `var(${string})`
|
|
|
21103
21291
|
|
|
21104
21292
|
export { }
|
|
21105
21293
|
|
|
21106
|
-
declare namespace _default {
|
|
21107
|
-
function process(): {
|
|
21108
|
-
code: string;
|
|
21109
|
-
};
|
|
21110
|
-
}
|
|
21111
|
-
|
|
21112
|
-
declare namespace _default {
|
|
21113
|
-
function process(sourceText: any, sourcePath: any): {
|
|
21114
|
-
code: string;
|
|
21115
|
-
};
|
|
21116
|
-
}
|
|
21117
|
-
|
|
21118
21294
|
|
|
21119
21295
|
|
|
21120
21296
|
declare module 'i18next' {
|
|
@@ -21180,8 +21356,8 @@ export interface CompanyAssignSignatory{
|
|
|
21180
21356
|
"lastName":string;
|
|
21181
21357
|
}
|
|
21182
21358
|
"buttons":{
|
|
21183
|
-
"
|
|
21184
|
-
"
|
|
21359
|
+
"signDocuments":string;
|
|
21360
|
+
"inviteSignatory":string;
|
|
21185
21361
|
}
|
|
21186
21362
|
"validations":{
|
|
21187
21363
|
"dob":string;
|
|
@@ -21203,7 +21379,7 @@ export interface CompanyDocumentList{
|
|
|
21203
21379
|
"documentListTitle":string;
|
|
21204
21380
|
"documentListLabel":string;
|
|
21205
21381
|
"formColumnLabel":string;
|
|
21206
|
-
"
|
|
21382
|
+
"actionColumnLabel":string;
|
|
21207
21383
|
"selfSignatoryTitle":string;
|
|
21208
21384
|
"otherSignatoryTitle":string;
|
|
21209
21385
|
"selfSignatorySubtext":string;
|
|
@@ -21216,6 +21392,7 @@ export interface CompanyDocumentList{
|
|
|
21216
21392
|
"notSigned":string;
|
|
21217
21393
|
"documentListError":string;
|
|
21218
21394
|
"emptyTableTitle":string;
|
|
21395
|
+
"continueCta":string;
|
|
21219
21396
|
};
|
|
21220
21397
|
export interface CompanyFederalTaxes{
|
|
21221
21398
|
"pageTitle":string;
|
|
@@ -21251,10 +21428,114 @@ export interface CompanyIndustry{
|
|
|
21251
21428
|
"placeholder":string;
|
|
21252
21429
|
"submitCta":string;
|
|
21253
21430
|
};
|
|
21431
|
+
export interface CompanyLocations{
|
|
21432
|
+
"locationsListTitle":string;
|
|
21433
|
+
"locationsListDescription":string;
|
|
21434
|
+
"locationListLabel":string;
|
|
21435
|
+
"locationListCol1":string;
|
|
21436
|
+
"locationListCol2":string;
|
|
21437
|
+
"filingAddress":string;
|
|
21438
|
+
"mailingAddress":string;
|
|
21439
|
+
"hamburgerTitle":string;
|
|
21440
|
+
"editCta":string;
|
|
21441
|
+
"emptyTableTitle":string;
|
|
21442
|
+
"emptyTableDescription":string;
|
|
21443
|
+
"addLocationCta":string;
|
|
21444
|
+
"addFirstLicationCta":string;
|
|
21445
|
+
"locationFormTitle":string;
|
|
21446
|
+
"locationFormDescription":string;
|
|
21447
|
+
"street1Label":string;
|
|
21448
|
+
"street2Label":string;
|
|
21449
|
+
"cityLabel":string;
|
|
21450
|
+
"stateLabel":string;
|
|
21451
|
+
"statePlaceholder":string;
|
|
21452
|
+
"zipLabel":string;
|
|
21453
|
+
"phoneNumberLabel":string;
|
|
21454
|
+
"addressTypeLabel":string;
|
|
21455
|
+
"mailingAddressLabel":string;
|
|
21456
|
+
"mailingAddressDescription":string;
|
|
21457
|
+
"filingAddressLabel":string;
|
|
21458
|
+
"filingAddressDescription":string;
|
|
21459
|
+
"saveCta":string;
|
|
21460
|
+
"cancelCta":string;
|
|
21461
|
+
"continueCta":string;
|
|
21462
|
+
"validations":{
|
|
21463
|
+
"street1":string;
|
|
21464
|
+
"city":string;
|
|
21465
|
+
"state":string;
|
|
21466
|
+
"zip":string;
|
|
21467
|
+
"phone":string;
|
|
21468
|
+
}
|
|
21469
|
+
};
|
|
21254
21470
|
export interface CompanyPaySchedule{
|
|
21471
|
+
"listDescription":string;
|
|
21472
|
+
"listDescription2":string;
|
|
21473
|
+
"addAnotherPayScheduleCta":string;
|
|
21474
|
+
"saveAndContinueCta":string;
|
|
21475
|
+
"pleaseVerify":string;
|
|
21476
|
+
"payScheduleList":{
|
|
21477
|
+
"name":string;
|
|
21478
|
+
"actions":string;
|
|
21479
|
+
"active":string;
|
|
21480
|
+
"inactive":string;
|
|
21481
|
+
"edit":string;
|
|
21482
|
+
}
|
|
21483
|
+
"headings":{
|
|
21484
|
+
"addPaySchedule":string;
|
|
21485
|
+
"editPaySchedule":string;
|
|
21486
|
+
"pageTitle":string;
|
|
21487
|
+
}
|
|
21488
|
+
"labels":{
|
|
21489
|
+
"payfrequency":string;
|
|
21490
|
+
"frequency":string;
|
|
21491
|
+
"deadline":string;
|
|
21492
|
+
"frequencyOptions":string;
|
|
21493
|
+
"firstPayDate":string;
|
|
21494
|
+
"firstPayPeriodEndDate":string;
|
|
21495
|
+
"firstPayDayOfTheMonth":string;
|
|
21496
|
+
"lastPayDayOfTheMonth":string;
|
|
21497
|
+
"preview":string;
|
|
21498
|
+
"legend":string;
|
|
21499
|
+
}
|
|
21500
|
+
"loading":string;
|
|
21501
|
+
"descriptions":{
|
|
21502
|
+
"frequencyOptionsDescription":string;
|
|
21503
|
+
"anchorPayDateDescription":string;
|
|
21504
|
+
"anchorEndOfPayPeriodDescription":string;
|
|
21505
|
+
}
|
|
21506
|
+
"payPreview":{
|
|
21255
21507
|
"payPeriod":string;
|
|
21256
21508
|
"payday":string;
|
|
21257
|
-
"
|
|
21509
|
+
"payrollDeadline":string;
|
|
21510
|
+
}
|
|
21511
|
+
"actions":{
|
|
21512
|
+
"cancel":string;
|
|
21513
|
+
"save":string;
|
|
21514
|
+
}
|
|
21515
|
+
"frequencies":{
|
|
21516
|
+
"everyWeek":string;
|
|
21517
|
+
"everyOtherWeek":string;
|
|
21518
|
+
"twicePerMonth":string;
|
|
21519
|
+
"monthly":string;
|
|
21520
|
+
}
|
|
21521
|
+
"frequencyOptions":{
|
|
21522
|
+
"15thAndLast":string;
|
|
21523
|
+
"custom":string;
|
|
21524
|
+
}
|
|
21525
|
+
};
|
|
21526
|
+
export interface CompanySignatureForm{
|
|
21527
|
+
"signatureFormTitle":string;
|
|
21528
|
+
"downloadInstructions":string;
|
|
21529
|
+
"viewDocumentCta":string;
|
|
21530
|
+
"signatureLabel":string;
|
|
21531
|
+
"signatureDescription":string;
|
|
21532
|
+
"signatureError":string;
|
|
21533
|
+
"confirmationGroupLabel":string;
|
|
21534
|
+
"confirmationLabel":string;
|
|
21535
|
+
"confirmationError":string;
|
|
21536
|
+
"backCta":string;
|
|
21537
|
+
"submitCta":string;
|
|
21538
|
+
"downloadPrompt":string;
|
|
21258
21539
|
};
|
|
21259
21540
|
export interface EmployeeBankAccount{
|
|
21260
21541
|
"accountNumberLabel":string;
|
|
@@ -21372,7 +21653,7 @@ export interface EmployeeDocumentSigner{
|
|
|
21372
21653
|
"documentListTitle":string;
|
|
21373
21654
|
"documentListLabel":string;
|
|
21374
21655
|
"formColumnLabel":string;
|
|
21375
|
-
"
|
|
21656
|
+
"actionColumnLabel":string;
|
|
21376
21657
|
"continueCta":string;
|
|
21377
21658
|
"signDocumentCta":string;
|
|
21378
21659
|
"signDocumentComplete":string;
|
|
@@ -21384,6 +21665,7 @@ export interface EmployeeDocumentSigner{
|
|
|
21384
21665
|
"signatureFieldLabel":string;
|
|
21385
21666
|
"signatureFieldDescription":string;
|
|
21386
21667
|
"signatureFieldError":string;
|
|
21668
|
+
"confirmationGroupLabel":string;
|
|
21387
21669
|
"confirmSignatureCheckboxLabel":string;
|
|
21388
21670
|
"confirmSignatureError":string;
|
|
21389
21671
|
"backCta":string;
|
|
@@ -21662,7 +21944,10 @@ export interface common{
|
|
|
21662
21944
|
}
|
|
21663
21945
|
"optionalLabel":string;
|
|
21664
21946
|
"errors":{
|
|
21947
|
+
"errorHeading":string;
|
|
21665
21948
|
"globalReactError":string;
|
|
21949
|
+
"resetGlobalError":string;
|
|
21950
|
+
"unknownError":string;
|
|
21666
21951
|
"missingParamsOrContext":string;
|
|
21667
21952
|
"unhandledEvent":string;
|
|
21668
21953
|
"unknownEventType":string;
|
|
@@ -21794,7 +22079,7 @@ export interface common{
|
|
|
21794
22079
|
|
|
21795
22080
|
interface CustomTypeOptions {
|
|
21796
22081
|
defaultNS: 'common';
|
|
21797
|
-
resources: { 'Company.AddBank': CompanyAddBank, 'Company.Addresses': CompanyAddresses, 'Company.AssignSignatory': CompanyAssignSignatory, 'Company.DocumentList': CompanyDocumentList, 'Company.FederalTaxes': CompanyFederalTaxes, 'Company.Industry': CompanyIndustry, 'Company.PaySchedule': CompanyPaySchedule, 'Employee.BankAccount': EmployeeBankAccount, 'Employee.Compensation': EmployeeCompensation, 'Employee.Deductions': EmployeeDeductions, 'Employee.DocumentSigner': EmployeeDocumentSigner, '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, }
|
|
22082
|
+
resources: { 'Company.AddBank': CompanyAddBank, 'Company.Addresses': CompanyAddresses, 'Company.AssignSignatory': CompanyAssignSignatory, 'Company.DocumentList': CompanyDocumentList, 'Company.FederalTaxes': CompanyFederalTaxes, 'Company.Industry': CompanyIndustry, 'Company.Locations': CompanyLocations, 'Company.PaySchedule': CompanyPaySchedule, 'Company.SignatureForm': CompanySignatureForm, 'Employee.BankAccount': EmployeeBankAccount, 'Employee.Compensation': EmployeeCompensation, 'Employee.Deductions': EmployeeDeductions, 'Employee.DocumentSigner': EmployeeDocumentSigner, '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, }
|
|
21798
22083
|
};
|
|
21799
22084
|
}
|
|
21800
22085
|
declare module 'robot3' {
|