@gusto/embedded-react-sdk 0.56.4 → 0.56.5
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 +13 -0
- package/dist/components/Common/DocumentEmbed/DocumentEmbed.js +18 -0
- package/dist/components/Common/DocumentEmbed/DocumentEmbed.js.map +1 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.js +35 -29
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +6 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +6 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +8 -5
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +6 -3
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +6 -3
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +11 -8
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +9 -6
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +6 -3
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +6 -3
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +6 -3
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +6 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +6 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +6 -3
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
- package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js +64 -61
- package/dist/components/Contractor/ContractorList/management/ManagementContractorList.js.map +1 -1
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +133 -134
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
- package/dist/components/Contractor/ContractorListFlow/ContractorListFlow.js.map +1 -1
- package/dist/components/Contractor/ContractorListFlow/ContractorListFlowComponents.js +22 -9
- package/dist/components/Contractor/ContractorListFlow/ContractorListFlowComponents.js.map +1 -1
- package/dist/components/Contractor/ContractorListFlow/contractorListStateMachine.js +51 -20
- package/dist/components/Contractor/ContractorListFlow/contractorListStateMachine.js.map +1 -1
- package/dist/components/Contractor/Dismissal/Dismissal.js +77 -0
- package/dist/components/Contractor/Dismissal/Dismissal.js.map +1 -0
- package/dist/components/Contractor/Dismissal/DismissalPresentation.js +57 -0
- package/dist/components/Contractor/Dismissal/DismissalPresentation.js.map +1 -0
- package/dist/components/Contractor/Dismissal/useDismissal/useDismissal.js +44 -0
- package/dist/components/Contractor/Dismissal/useDismissal/useDismissal.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +45 -41
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/exports/contractorManagement.js +56 -54
- package/dist/components/Contractor/exports/contractorManagement.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +6 -3
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +3 -2
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +201 -196
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js +55 -52
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js +38 -29
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +17 -14
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +72 -68
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +10 -7
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/i18n/I18n.js +1 -0
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Contractor.Dismissal.json.js +20 -0
- package/dist/i18n/en/Contractor.Dismissal.json.js.map +1 -0
- package/dist/i18n/en/Contractor.Payments.PaymentStatement.json.js +2 -2
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +38 -38
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +31 -31
- package/dist/i18n/en/common.json.js +37 -35
- package/dist/i18n/en/common.json.js.map +1 -1
- package/dist/package.json.js +1 -1
- package/dist/shared/constants.js +1 -0
- package/dist/shared/constants.js.map +1 -1
- package/dist/src/components/Common/DocumentEmbed/DocumentEmbed.d.ts +3 -0
- package/dist/src/components/Common/DocumentEmbed/DocumentEmbedTypes.d.ts +25 -0
- package/dist/src/components/Common/DocumentEmbed/index.d.ts +2 -0
- package/dist/src/components/Contractor/ContractorList/management/ManagementContractorList.d.ts +2 -0
- package/dist/src/components/Contractor/ContractorList/management/ManagementContractorListView.d.ts +3 -1
- package/dist/src/components/Contractor/ContractorListFlow/ContractorListFlow.d.ts +6 -4
- package/dist/src/components/Contractor/ContractorListFlow/ContractorListFlowComponents.d.ts +2 -0
- package/dist/src/components/Contractor/ContractorListFlow/contractorListStateMachine.d.ts +1 -0
- package/dist/src/components/Contractor/ContractorListFlow/contractorListStateMachine.test.d.ts +1 -0
- package/dist/src/components/Contractor/Dismissal/Dismissal.d.ts +45 -0
- package/dist/src/components/Contractor/Dismissal/DismissalPresentation.d.ts +17 -0
- package/dist/src/components/Contractor/Dismissal/useDismissal/useDismissal.d.ts +41 -0
- package/dist/src/components/Contractor/Dismissal/useDismissal/useDismissal.test.d.ts +1 -0
- package/dist/src/components/Contractor/exports/contractorManagement.d.ts +1 -0
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.d.ts +19 -0
- package/dist/src/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
- package/dist/src/contexts/ComponentAdapter/useComponentContext.d.ts +5 -2
- package/dist/src/i18n/en/common.json.d.ts +3 -0
- package/dist/src/i18n/types.d.ts +47 -0
- package/dist/src/shared/constants.d.ts +2 -0
- package/docs/guides/endpoint-inventory.json +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Contractor } from '@gusto/embedded-api/models/components/contractor';
|
|
2
|
+
import { BaseHookReady, HookLoadingResult, HookSubmitResult } from '../../../../partner-hook-utils/types';
|
|
3
|
+
/**
|
|
4
|
+
* Props for {@link useDismissal}.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface UseDismissalProps {
|
|
9
|
+
/** The contractor identifier to dismiss. */
|
|
10
|
+
contractorId: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Ready state of {@link useDismissal}.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface UseDismissalReady extends BaseHookReady<{
|
|
18
|
+
contractor: Contractor;
|
|
19
|
+
}, {
|
|
20
|
+
isPending: boolean;
|
|
21
|
+
}> {
|
|
22
|
+
/** Actions available when the hook has loaded. */
|
|
23
|
+
actions: {
|
|
24
|
+
/** Schedules a dismissal effective on `endDate`. */
|
|
25
|
+
dismiss: (endDate: Date) => Promise<HookSubmitResult<unknown> | undefined>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Return type of {@link useDismissal}.
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type UseDismissalResult = HookLoadingResult | UseDismissalReady;
|
|
34
|
+
/**
|
|
35
|
+
* Fetches a contractor and exposes an action to schedule their dismissal.
|
|
36
|
+
*
|
|
37
|
+
* @param input - The contractor to dismiss.
|
|
38
|
+
* @returns A {@link HookLoadingResult} while the contractor is being fetched, or a {@link UseDismissalReady} once it has arrived.
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare function useDismissal({ contractorId }: UseDismissalProps): UseDismissalResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ManagementContractorList as ContractorList, type ManagementContractorListProps, type ContractorTab, } from '../ContractorList/management/ManagementContractorList';
|
|
2
2
|
export { ContractorListFlow, type ContractorListFlowProps } from '../ContractorListFlow';
|
|
3
|
+
export { Dismissal, type DismissalProps } from '../Dismissal/Dismissal';
|
|
3
4
|
export { DashboardFlow, Dashboard } from '../Dashboard';
|
|
4
5
|
export type { DashboardFlowProps, DashboardProps, DashboardTab } from '../Dashboard';
|
|
5
6
|
export { Profile, ProfileCard, ProfileEditForm } from '../Profile/management';
|
|
@@ -19,7 +19,9 @@ export declare const PAYMENT_METHOD_OPTIONS: {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const PayrollEditEmployeeErrorCodes: {
|
|
21
21
|
readonly NEGATIVE_AMOUNT: "NEGATIVE_AMOUNT";
|
|
22
|
+
readonly MAX_HOURS: "MAX_HOURS";
|
|
22
23
|
readonly REIMBURSEMENT_AMOUNT: "REIMBURSEMENT_AMOUNT";
|
|
24
|
+
readonly MAX_REIMBURSEMENT_AMOUNT: "MAX_REIMBURSEMENT_AMOUNT";
|
|
23
25
|
readonly REQUIRED_WORKWEEK: "REQUIRED_WORKWEEK";
|
|
24
26
|
};
|
|
25
27
|
/**
|
|
@@ -28,6 +30,23 @@ export declare const PayrollEditEmployeeErrorCodes: {
|
|
|
28
30
|
* @public
|
|
29
31
|
*/
|
|
30
32
|
export type PayrollEditEmployeeErrorCode = (typeof PayrollEditEmployeeErrorCodes)[keyof typeof PayrollEditEmployeeErrorCodes];
|
|
33
|
+
/**
|
|
34
|
+
* Mirrors the server's fixed hours cap (`draft_payrolls`' `MAX_HOURS`) so an
|
|
35
|
+
* over-limit value is caught inline instead of round-tripping to a 422. Also
|
|
36
|
+
* applied as the hours fields' native `max` so the stepper can't reach it.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare const MAX_HOURS = 99999;
|
|
41
|
+
/**
|
|
42
|
+
* Mirrors the server's fixed reimbursement cap (`payroll_core_data`'s
|
|
43
|
+
* `Reimbursements::MAX_AMOUNT`) so an over-limit value is caught inline
|
|
44
|
+
* instead of round-tripping to a 422. Also applied as the amount field's
|
|
45
|
+
* native `max` so the stepper can't reach it.
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare const MAX_REIMBURSEMENT_AMOUNT = 1000000;
|
|
31
50
|
/**
|
|
32
51
|
* The single reimbursement validation schema: the "add reimbursement" draft row.
|
|
33
52
|
* Amount must be a number greater than zero, matching the legacy editor's
|
|
@@ -29,6 +29,7 @@ export type { HeadingProps } from '../../components/Common/UI/Heading/HeadingTyp
|
|
|
29
29
|
export type { PaginationControlProps, PaginationItemsPerPage, } from '../../components/Common/PaginationControl/PaginationControlTypes';
|
|
30
30
|
export type { PayrollLoadingProps } from '../../components/Common/PayrollLoading/PayrollLoadingTypes';
|
|
31
31
|
export type { FieldCaptionProps } from '../../components/Common/FieldCaption/FieldCaptionTypes';
|
|
32
|
+
export type { DocumentEmbedProps } from '../../components/Common/DocumentEmbed/DocumentEmbedTypes';
|
|
32
33
|
export type { TextProps } from '../../components/Common/UI/Text/TextTypes';
|
|
33
34
|
export type { CalendarPreviewProps } from '../../components/Common/UI/CalendarPreview/CalendarPreviewTypes';
|
|
34
35
|
export type { DialogProps } from '../../components/Common/UI/Dialog/DialogTypes';
|
|
@@ -39,6 +39,7 @@ import { FormBoxHeaderProps } from '../../components/Common/UI/FormBoxHeader/For
|
|
|
39
39
|
import { MultiSelectComboBoxProps } from '../../components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes';
|
|
40
40
|
import { PayrollLoadingProps } from '../../components/Common/PayrollLoading/PayrollLoadingTypes';
|
|
41
41
|
import { FieldCaptionProps } from '../../components/Common/FieldCaption/FieldCaptionTypes';
|
|
42
|
+
import { DocumentEmbedProps } from '../../components/Common/DocumentEmbed/DocumentEmbedTypes';
|
|
42
43
|
/**
|
|
43
44
|
* Full map of UI components used by the SDK. Every property is a React component that the
|
|
44
45
|
* SDK renders internally — override any of them to substitute your own design system.
|
|
@@ -48,8 +49,8 @@ import { FieldCaptionProps } from '../../components/Common/FieldCaption/FieldCap
|
|
|
48
49
|
*
|
|
49
50
|
* To take full control of every UI component (and eliminate the React Aria dependency),
|
|
50
51
|
* pass a complete {@link ComponentsContextType} to {@link GustoProviderCustomUIAdapter} instead.
|
|
51
|
-
* All properties are then required except `PaginationControl`, `PayrollLoading`,
|
|
52
|
-
* which fall back to built-in SDK implementations when omitted.
|
|
52
|
+
* All properties are then required except `PaginationControl`, `PayrollLoading`, `FieldCaption`,
|
|
53
|
+
* and `DocumentEmbed`, which fall back to built-in SDK implementations when omitted.
|
|
53
54
|
*
|
|
54
55
|
* @public
|
|
55
56
|
* @group Component adapter
|
|
@@ -180,6 +181,8 @@ export interface ComponentsContextType {
|
|
|
180
181
|
PaginationControl?: FunctionComponent<PaginationControlProps>;
|
|
181
182
|
/** Loading indicator for payroll calculation. Defaults to the SDK's built-in loading state when omitted. */
|
|
182
183
|
PayrollLoading?: FunctionComponent<PayrollLoadingProps>;
|
|
184
|
+
/** Inline PDF document renderer. Defaults to the SDK's built-in `<embed>`-based viewer when omitted; override to control how PDFs are rendered inline — especially useful if you have strict Content Security Policy directives. */
|
|
185
|
+
DocumentEmbed?: FunctionComponent<DocumentEmbedProps>;
|
|
183
186
|
}
|
|
184
187
|
/** @internal */
|
|
185
188
|
export declare const ComponentsContext: import('react').Context<ComponentsContextType | null>;
|
|
@@ -6,6 +6,9 @@ declare const _default: {
|
|
|
6
6
|
"errorEncountered": "There was a problem with your submission",
|
|
7
7
|
"multipleErrorsEncountered": "There were multiple problems with your submission"
|
|
8
8
|
},
|
|
9
|
+
"documentEmbed": {
|
|
10
|
+
"defaultTitle": "Document"
|
|
11
|
+
},
|
|
9
12
|
"selectPlaceholder": "Select an option...",
|
|
10
13
|
"progressBarLabel": "You are on step {{currentStep}} of {{totalSteps}}",
|
|
11
14
|
"back": "Back",
|
package/dist/src/i18n/types.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ export interface Resources {
|
|
|
67
67
|
/** */
|
|
68
68
|
'Contractor.Dashboard': Translations.ContractorDashboard
|
|
69
69
|
/** */
|
|
70
|
+
'Contractor.Dismissal': Translations.ContractorDismissal
|
|
71
|
+
/** */
|
|
70
72
|
'Contractor.DocumentsList': Translations.ContractorDocumentsList
|
|
71
73
|
/** */
|
|
72
74
|
'Contractor.Landing': Translations.ContractorLanding
|
|
@@ -2439,6 +2441,37 @@ export namespace Translations {
|
|
|
2439
2441
|
compensationUpdated: string
|
|
2440
2442
|
}
|
|
2441
2443
|
}
|
|
2444
|
+
/** Translation keys for the `Contractor.Dismissal` i18n namespace. */
|
|
2445
|
+
export interface ContractorDismissal {
|
|
2446
|
+
/** @defaultValue `"Dismiss {{name}}"` */
|
|
2447
|
+
title: string
|
|
2448
|
+
/** @defaultValue `"Schedule a dismissal date for this contractor."` */
|
|
2449
|
+
subtitle: string
|
|
2450
|
+
alert: {
|
|
2451
|
+
/** @defaultValue `"This can be cancelled"` */
|
|
2452
|
+
label: string
|
|
2453
|
+
/** @defaultValue `"The dismissal can be cancelled from the contractor list any time before the dismissal date takes effect."` */
|
|
2454
|
+
text: string
|
|
2455
|
+
}
|
|
2456
|
+
form: {
|
|
2457
|
+
endDate: {
|
|
2458
|
+
/** @defaultValue `"Dismissal date"` */
|
|
2459
|
+
label: string
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
validation: {
|
|
2463
|
+
/** @defaultValue `"Enter a dismissal date"` */
|
|
2464
|
+
endDateRequired: string
|
|
2465
|
+
}
|
|
2466
|
+
actions: {
|
|
2467
|
+
/** @defaultValue `"Cancel"` */
|
|
2468
|
+
cancel: string
|
|
2469
|
+
/** @defaultValue `"Dismiss contractor"` */
|
|
2470
|
+
submit: string
|
|
2471
|
+
}
|
|
2472
|
+
/** @defaultValue `"Dismissal scheduled"` */
|
|
2473
|
+
successMessage: string
|
|
2474
|
+
}
|
|
2442
2475
|
/** Translation keys for the `Contractor.DocumentsList` i18n namespace. */
|
|
2443
2476
|
export interface ContractorDocumentsList {
|
|
2444
2477
|
/** @defaultValue `"Documents"` */
|
|
@@ -3471,6 +3504,8 @@ export namespace Translations {
|
|
|
3471
3504
|
totalLabel: string
|
|
3472
3505
|
/** @defaultValue `"Receipt Details"` */
|
|
3473
3506
|
detailsLabel: string
|
|
3507
|
+
/** @defaultValue `"Receipt ID"` */
|
|
3508
|
+
receiptId: string
|
|
3474
3509
|
/** @defaultValue `"From"` */
|
|
3475
3510
|
from: string
|
|
3476
3511
|
/** @defaultValue `"To"` */
|
|
@@ -7749,8 +7784,12 @@ export namespace Translations {
|
|
|
7749
7784
|
validations: {
|
|
7750
7785
|
/** @defaultValue `"Amount must be greater than zero"` */
|
|
7751
7786
|
reimbursementAmount: string
|
|
7787
|
+
/** @defaultValue `"Amount must be less than or equal to 1,000,000"` */
|
|
7788
|
+
maxReimbursementAmount: string
|
|
7752
7789
|
/** @defaultValue `"Amount cannot be negative"` */
|
|
7753
7790
|
negativeAmount: string
|
|
7791
|
+
/** @defaultValue `"Hours must be less than or equal to 99,999"` */
|
|
7792
|
+
maxHours: string
|
|
7754
7793
|
}
|
|
7755
7794
|
}
|
|
7756
7795
|
/** Translation keys for the `Payroll.PayrollFlow` i18n namespace. */
|
|
@@ -8635,10 +8674,14 @@ export namespace Translations {
|
|
|
8635
8674
|
validations: {
|
|
8636
8675
|
/** @defaultValue `"Amount must be greater than zero"` */
|
|
8637
8676
|
reimbursementAmount: string
|
|
8677
|
+
/** @defaultValue `"Amount must be less than or equal to 1,000,000"` */
|
|
8678
|
+
maxReimbursementAmount: string
|
|
8638
8679
|
/** @defaultValue `"Amount cannot be negative"` */
|
|
8639
8680
|
negativeAmount: string
|
|
8640
8681
|
/** @defaultValue `"Enter an amount for every workweek"` */
|
|
8641
8682
|
requiredWorkweek: string
|
|
8683
|
+
/** @defaultValue `"Hours must be less than or equal to 99,999"` */
|
|
8684
|
+
maxHours: string
|
|
8642
8685
|
}
|
|
8643
8686
|
}
|
|
8644
8687
|
/** Translation keys for the `Payroll.WireInstructions` i18n namespace. */
|
|
@@ -8718,6 +8761,10 @@ export namespace Translations {
|
|
|
8718
8761
|
/** @defaultValue `"There were multiple problems with your submission"` */
|
|
8719
8762
|
multipleErrorsEncountered: string
|
|
8720
8763
|
}
|
|
8764
|
+
documentEmbed: {
|
|
8765
|
+
/** @defaultValue `"Document"` */
|
|
8766
|
+
defaultTitle: string
|
|
8767
|
+
}
|
|
8721
8768
|
/** @defaultValue `"Select an option..."` */
|
|
8722
8769
|
selectPlaceholder: string
|
|
8723
8770
|
/** @defaultValue `"You are on step {{currentStep}} of {{totalSteps}}"` */
|
|
@@ -212,6 +212,7 @@ export declare const contractorEvents: {
|
|
|
212
212
|
readonly CONTRACTOR_DISMISS: "contractor/dismiss";
|
|
213
213
|
readonly CONTRACTOR_REHIRE: "contractor/rehire";
|
|
214
214
|
readonly CONTRACTOR_DISMISSAL_CANCELLED: "contractor/dismissal/cancelled";
|
|
215
|
+
readonly CONTRACTOR_DISMISSAL_SCHEDULED: "contractor/dismissal/scheduled";
|
|
215
216
|
readonly CONTRACTOR_REHIRE_CANCELLED: "contractor/rehire/cancelled";
|
|
216
217
|
readonly CONTRACTOR_MANAGEMENT_PROFILE_EDIT_REQUESTED: "contractor/management/profile/editRequested";
|
|
217
218
|
readonly CONTRACTOR_MANAGEMENT_PROFILE_UPDATED: "contractor/management/profile/updated";
|
|
@@ -673,6 +674,7 @@ export declare const componentEvents: {
|
|
|
673
674
|
readonly CONTRACTOR_DISMISS: "contractor/dismiss";
|
|
674
675
|
readonly CONTRACTOR_REHIRE: "contractor/rehire";
|
|
675
676
|
readonly CONTRACTOR_DISMISSAL_CANCELLED: "contractor/dismissal/cancelled";
|
|
677
|
+
readonly CONTRACTOR_DISMISSAL_SCHEDULED: "contractor/dismissal/scheduled";
|
|
676
678
|
readonly CONTRACTOR_REHIRE_CANCELLED: "contractor/rehire/cancelled";
|
|
677
679
|
readonly CONTRACTOR_MANAGEMENT_PROFILE_EDIT_REQUESTED: "contractor/management/profile/editRequested";
|
|
678
680
|
readonly CONTRACTOR_MANAGEMENT_PROFILE_UPDATED: "contractor/management/profile/updated";
|
|
@@ -2263,6 +2263,23 @@
|
|
|
2263
2263
|
"contractorUuid"
|
|
2264
2264
|
]
|
|
2265
2265
|
},
|
|
2266
|
+
"ContractorManagement.Dismissal": {
|
|
2267
|
+
"endpoints": [
|
|
2268
|
+
{
|
|
2269
|
+
"method": "GET",
|
|
2270
|
+
"path": "/v1/contractors/:contractorUuid",
|
|
2271
|
+
"docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-contractors-contractor_uuid"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"method": "POST",
|
|
2275
|
+
"path": "/v1/contractors/:contractorUuid/termination",
|
|
2276
|
+
"docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-contractors-contractor_uuid-termination"
|
|
2277
|
+
}
|
|
2278
|
+
],
|
|
2279
|
+
"variables": [
|
|
2280
|
+
"contractorUuid"
|
|
2281
|
+
]
|
|
2282
|
+
},
|
|
2266
2283
|
"ContractorManagement.DashboardFlow": {
|
|
2267
2284
|
"endpoints": [
|
|
2268
2285
|
{
|
|
@@ -2566,6 +2583,7 @@
|
|
|
2566
2583
|
"blocks": [
|
|
2567
2584
|
"ContractorManagement.ContractorList",
|
|
2568
2585
|
"ContractorManagement.DashboardFlow",
|
|
2586
|
+
"ContractorManagement.Dismissal",
|
|
2569
2587
|
"ContractorOnboarding.OnboardingFlow"
|
|
2570
2588
|
]
|
|
2571
2589
|
},
|