@gusto/embedded-react-sdk 0.52.0 → 0.52.2

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 (131) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/components/Base/Base.d.ts +2 -0
  3. package/dist/components/Base/Base.js.map +1 -1
  4. package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +4 -1
  5. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +1 -1
  6. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  7. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +1 -1
  8. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
  9. package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +2 -2
  10. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +3 -2
  11. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +1 -1
  12. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
  13. package/dist/components/Common/UI/Menu/MenuTypes.d.ts +3 -3
  14. package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
  15. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +2 -2
  16. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +2 -2
  17. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
  18. package/dist/components/Common/UI/Select/SelectTypes.d.ts +2 -2
  19. package/dist/components/Common/UI/Table/TableTypes.d.ts +4 -4
  20. package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
  21. package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +2 -2
  22. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js +4 -4
  23. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
  24. package/dist/components/Company/StateTaxes/stateTaxesStateMachine.d.ts +0 -1
  25. package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js +12 -14
  26. package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -1
  27. package/dist/components/Contractor/Address/Address.js +83 -75
  28. package/dist/components/Contractor/Address/Address.js.map +1 -1
  29. package/dist/components/Contractor/ContractorList/index.d.ts +2 -1
  30. package/dist/components/Contractor/ContractorList/index.js +112 -99
  31. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  32. package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.js +170 -123
  33. package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.js.map +1 -1
  34. package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.module.scss.js +12 -0
  35. package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.module.scss.js.map +1 -0
  36. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/fields.js +44 -43
  37. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/fields.js.map +1 -1
  38. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/useContractorSignatureForm.js +91 -88
  39. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/useContractorSignatureForm.js.map +1 -1
  40. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.d.ts +0 -33
  41. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.js +77 -86
  42. package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.js.map +1 -1
  43. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +1 -1
  44. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -1
  45. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +2 -0
  46. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  47. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js +150 -80
  48. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  49. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.test.d.ts +1 -0
  50. package/dist/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/fields.js +1 -1
  51. package/dist/components/Contractor/Profile/BusinessSelfOnboardingProfile.js +19 -18
  52. package/dist/components/Contractor/Profile/BusinessSelfOnboardingProfile.js.map +1 -1
  53. package/dist/components/Contractor/Profile/ContractorProfile.d.ts +1 -1
  54. package/dist/components/Contractor/Profile/ContractorProfile.js +121 -111
  55. package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
  56. package/dist/components/Contractor/Profile/IndividualSelfOnboardingProfile.js +27 -26
  57. package/dist/components/Contractor/Profile/IndividualSelfOnboardingProfile.js.map +1 -1
  58. package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.js +16 -16
  59. package/dist/components/Contractor/Submit/Submit.js +127 -67
  60. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  61. package/dist/components/Contractor/shared/useContractorHasSignedW9.d.ts +8 -0
  62. package/dist/components/Contractor/shared/useContractorHasSignedW9.js +10 -0
  63. package/dist/components/Contractor/shared/useContractorHasSignedW9.js.map +1 -0
  64. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +4 -4
  65. package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +6 -6
  66. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js +8 -8
  67. package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js +4 -4
  68. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.js +1 -1
  69. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
  70. package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.js +1 -1
  71. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js +4 -4
  72. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js +8 -8
  73. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +5 -5
  74. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.d.ts +1 -0
  75. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js.map +1 -1
  76. package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
  77. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.d.ts +1 -0
  78. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js.map +1 -1
  79. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
  80. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.d.ts +2 -2
  81. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js.map +1 -1
  82. package/dist/components/index.d.ts +40 -0
  83. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +1 -1
  84. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  85. package/dist/contexts/GustoProvider/GustoProvider.d.ts +1 -0
  86. package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
  87. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +1 -0
  88. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  89. package/dist/contexts/ThemeProvider/types.d.ts +2 -2
  90. package/dist/i18n/en/Contractor.Address.json.js +22 -20
  91. package/dist/i18n/en/Contractor.Address.json.js.map +1 -1
  92. package/dist/i18n/en/Contractor.ContractorList.json.js +22 -20
  93. package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
  94. package/dist/i18n/en/Contractor.Profile.json.js +13 -11
  95. package/dist/i18n/en/Contractor.Profile.json.js.map +1 -1
  96. package/dist/i18n/en/Contractor.SignatureForm.json.js +5 -5
  97. package/dist/i18n/en/Contractor.Submit.json.js +11 -11
  98. package/dist/i18n/types.d.ts +29 -9
  99. package/dist/index.d.ts +6 -3
  100. package/dist/models/WA_RISK_CODES.d.ts +1 -0
  101. package/dist/models/WA_RISK_CODES.js.map +1 -1
  102. package/dist/partner-hook-utils/composeErrorHandler.d.ts +4 -0
  103. package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -1
  104. package/dist/partner-hook-utils/form/SDKFormProvider.d.ts +1 -0
  105. package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -1
  106. package/dist/partner-hook-utils/form/composeSubmitHandler.d.ts +4 -0
  107. package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
  108. package/dist/partner-hook-utils/form/fields/CheckboxHookField.d.ts +1 -0
  109. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
  110. package/dist/partner-hook-utils/form/fields/DatePickerHookField.d.ts +1 -0
  111. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
  112. package/dist/partner-hook-utils/form/fields/NumberInputHookField.d.ts +1 -0
  113. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
  114. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +1 -0
  115. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
  116. package/dist/partner-hook-utils/form/fields/SelectHookField.d.ts +1 -0
  117. package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
  118. package/dist/partner-hook-utils/form/fields/SwitchHookField.d.ts +1 -0
  119. package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
  120. package/dist/partner-hook-utils/form/fields/TextInputHookField.d.ts +1 -0
  121. package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
  122. package/dist/partner-hook-utils/types.d.ts +9 -0
  123. package/dist/shared/constants.d.ts +10 -0
  124. package/dist/shared/constants.js +7 -6
  125. package/dist/shared/constants.js.map +1 -1
  126. package/dist/style.css +1 -1
  127. package/dist/types/Helpers.d.ts +2 -0
  128. package/dist/types/hooks.d.ts +1 -0
  129. package/dist/types/observability.d.ts +1 -0
  130. package/docs/guides/endpoint-inventory.json +17 -28
  131. package/package.json +16 -16
@@ -1,32 +1,34 @@
1
- const e = "Business address", t = "Contractor's business address, within the United States.", s = "Home address", i = "Contractor's home mailing address, within the United States.", n = "Street 1", a = "Street 2", d = "City", o = "State", r = "Select state...", u = "Zip", c = "Continue", l = "Saving…", p = { street1: "Street address is required", city: "Please provide valid city name", state: "Please select a state", zip: "Please provide valid zip code", zipInvalid: "Please enter a valid ZIP code" }, h = {
1
+ const e = "Business address", t = "Contractor's business address, within the United States.", s = "Home address", i = "Contractor's home mailing address, within the United States.", n = { label: "Changes will require an updated Form W-9", body: "This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information." }, a = "Street 1", o = "Street 2", r = "City", d = "State", c = "Select state...", l = "Zip", u = "Continue", m = "Saving…", h = { street1: "Street address is required", city: "Please provide valid city name", state: "Please select a state", zip: "Please provide valid zip code", zipInvalid: "Please enter a valid ZIP code" }, p = {
2
2
  businessAddressTitle: e,
3
3
  businessAddressDescription: t,
4
4
  homeAddressTitle: s,
5
5
  homeAddressDescription: i,
6
- street1: n,
7
- street2: a,
8
- city: d,
9
- state: o,
10
- statePlaceholder: r,
11
- zip: "Zip",
12
- submit: c,
13
- submitting: l,
14
- validations: p
6
+ w9EditWarning: n,
7
+ street1: a,
8
+ street2: o,
9
+ city: r,
10
+ state: d,
11
+ statePlaceholder: c,
12
+ zip: l,
13
+ submit: u,
14
+ submitting: m,
15
+ validations: h
15
16
  };
16
17
  export {
17
18
  t as businessAddressDescription,
18
19
  e as businessAddressTitle,
19
- d as city,
20
- h as default,
20
+ r as city,
21
+ p as default,
21
22
  i as homeAddressDescription,
22
23
  s as homeAddressTitle,
23
- o as state,
24
- r as statePlaceholder,
25
- n as street1,
26
- a as street2,
27
- c as submit,
28
- l as submitting,
29
- p as validations,
30
- u as zip
24
+ d as state,
25
+ c as statePlaceholder,
26
+ a as street1,
27
+ o as street2,
28
+ u as submit,
29
+ m as submitting,
30
+ h as validations,
31
+ n as w9EditWarning,
32
+ l as zip
31
33
  };
32
34
  //# sourceMappingURL=Contractor.Address.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Contractor.Address.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Contractor.Address.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1,30 +1,32 @@
1
- const t = "Add a contractor", o = "+ Add another contractor", a = "A list of contractors", e = "Edit", c = "Review", n = "Delete", r = "Add contractors to get them setup for payroll.", s = "You haven't added any contractors yet", d = { name: "Name", status: "Status" }, i = "Contractors", l = "Continue", C = "Back to contractors", p = {
1
+ const t = "Add a contractor", o = "+ Add another contractor", a = "A list of contractors", n = "Edit", e = "Review", c = "Delete", r = "Cancel self-onboarding", s = "Add contractors to get them setup for payroll.", d = "You haven't added any contractors yet", i = { name: "Name", status: "Status" }, l = "Contractors", C = "Continue", p = "Back to contractors", u = {
2
2
  addContractorCta: t,
3
3
  addAnotherCta: o,
4
4
  contractorListLabel: a,
5
- editCta: e,
6
- reviewCta: c,
7
- deleteCta: n,
8
- emptyTableDescription: r,
9
- emptyTableTitle: s,
10
- listHeaders: d,
11
- title: i,
12
- continueCta: l,
13
- progressBarCta: C
5
+ editCta: n,
6
+ reviewCta: e,
7
+ deleteCta: c,
8
+ cancelSelfOnboardingCta: r,
9
+ emptyTableDescription: s,
10
+ emptyTableTitle: d,
11
+ listHeaders: i,
12
+ title: l,
13
+ continueCta: C,
14
+ progressBarCta: p
14
15
  };
15
16
  export {
16
17
  o as addAnotherCta,
17
18
  t as addContractorCta,
18
- l as continueCta,
19
+ r as cancelSelfOnboardingCta,
20
+ C as continueCta,
19
21
  a as contractorListLabel,
20
- p as default,
21
- n as deleteCta,
22
- e as editCta,
23
- r as emptyTableDescription,
24
- s as emptyTableTitle,
25
- d as listHeaders,
26
- C as progressBarCta,
27
- c as reviewCta,
28
- i as title
22
+ u as default,
23
+ c as deleteCta,
24
+ n as editCta,
25
+ s as emptyTableDescription,
26
+ d as emptyTableTitle,
27
+ i as listHeaders,
28
+ p as progressBarCta,
29
+ e as reviewCta,
30
+ l as title
29
31
  };
30
32
  //# sourceMappingURL=Contractor.ContractorList.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Contractor.ContractorList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Contractor.ContractorList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -1,18 +1,20 @@
1
- const e = "Contractor profile", t = "This information will be used for payments and on tax documents, so double-check that it's accurate.", a = { title: "Complete your profile", individualDescription: "Please verify your name and provide your Social Security Number.", businessDescription: "Please verify your business name and provide your EIN.", continue: "Continue", submitting: "Saving…" }, i = { selfOnboarding: { label: "Invite this contractor to enter some of their own details online", description: "Your contractor will be invited to enter their information on their own time." }, email: { label: "Contractor's email address" }, contractorType: { label: "Type" }, firstName: { label: "First Name" }, lastName: { label: "Last Name" }, middleInitial: { label: "Middle Initial" }, ssn: { label: "Social Security Number" }, businessName: { label: "Business Name" }, startDate: { label: "Start Date", description: "Your contractor's first day of work at your company" }, wageType: { label: "Wage Type" }, hourlyRate: { label: "Hourly Rate" }, ein: { label: "EIN" } }, r = { email: "Email is required when inviting contractor", emailFormat: "Email must be a valid email address", firstName: "First name is required for individual contractors", firstNameFormat: "First name is not valid", lastName: "Last name is required for individual contractors", lastNameFormat: "Last name is not valid", ssn: "SSN is required for individual contractors", ssnFormat: "SSN must be valid format", businessName: "Business name is required for business contractors", ein: "EIN is required for business contractors", einFormat: "EIN must be valid format (XX-XXXXXXX)", hourlyRate: "Hourly rate is required for hourly contractors", startDate: "Start date is required" }, o = { cancel: "Cancel", create: "Create Contractor", update: "Update Contractor", creating: "Creating…", updating: "Updating…" }, s = {
1
+ const e = "Contractor profile", a = "This information will be used for payments and on tax documents, so double-check that it's accurate.", t = { label: "Changes will require an updated Form W-9", body: "This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information." }, i = { title: "Complete your profile", individualDescription: "Please verify your name and provide your Social Security Number.", businessDescription: "Please verify your business name and provide your EIN.", continue: "Continue", submitting: "Saving…" }, r = { selfOnboarding: { label: "Invite this contractor to enter some of their own details online", description: "Your contractor will be invited to enter their information on their own time." }, email: { label: "Contractor's email address" }, contractorType: { label: "Type" }, firstName: { label: "First Name" }, lastName: { label: "Last Name" }, middleInitial: { label: "Middle Initial" }, ssn: { label: "Social Security Number" }, businessName: { label: "Business Name" }, startDate: { label: "Start Date", description: "Your contractor's first day of work at your company" }, wageType: { label: "Wage Type" }, hourlyRate: { label: "Hourly Rate" }, ein: { label: "EIN" } }, o = { email: "Email is required when inviting contractor", emailFormat: "Email must be a valid email address", firstName: "First name is required for individual contractors", firstNameFormat: "First name is not valid", lastName: "Last name is required for individual contractors", lastNameFormat: "Last name is not valid", ssn: "SSN is required for individual contractors", ssnFormat: "SSN must be valid format", businessName: "Business name is required for business contractors", ein: "EIN is required for business contractors", einFormat: "EIN must be valid format (XX-XXXXXXX)", hourlyRate: "Hourly rate is required for hourly contractors", startDate: "Start date is required" }, n = { cancel: "Cancel", create: "Create Contractor", update: "Continue", creating: "Creating…", updating: "Saving…" }, s = {
2
2
  title: e,
3
- subtitle: t,
4
- selfOnboarding: a,
5
- fields: i,
6
- validations: r,
7
- buttons: o
3
+ subtitle: a,
4
+ w9EditWarning: t,
5
+ selfOnboarding: i,
6
+ fields: r,
7
+ validations: o,
8
+ buttons: n
8
9
  };
9
10
  export {
10
- o as buttons,
11
+ n as buttons,
11
12
  s as default,
12
- i as fields,
13
- a as selfOnboarding,
14
- t as subtitle,
13
+ r as fields,
14
+ i as selfOnboarding,
15
+ a as subtitle,
15
16
  e as title,
16
- r as validations
17
+ o as validations,
18
+ t as w9EditWarning
17
19
  };
18
20
  //# sourceMappingURL=Contractor.Profile.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Contractor.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"Contractor.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- const e = "Signature required", t = "See the IRS Form W-9 for instructions on completing this form", i = "<downloadLink>Download document</downloadLink>", o = { exemptions: "Exemptions", address: "Address", tin: "Taxpayer Identification Number (TIN)", certification: "Certification" }, n = { exemptions: "See section 4 of IRS Form W-9 for instructions.", address: "See sections 5-7 of IRS Form W-9 for instructions.", tin: "For individuals, this is generally your social security number (SSN). For other entities, this will be your employer identification number (EIN).", tinSecondary: "See Part 1 of the IRS Form W-9 for instructions.", certification: "See Part 2 of the IRS Form W-9 for instructions." }, r = "Under penalties of perjury, I certify that:", a = { taxpayerId: "The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me);", backupWithholding: "I am not subject to backup withholding because (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding;", usPerson: "I am a U.S. citizen or other U.S. person (defined below);", usPersonDefinition: "For federal tax purposes, you are considered a U.S. person if you are: an individual who is a U.S. citizen or U.S. resident alien; a partnership, corporation, company, or association created or organized in the United States or under the laws of the United States; an estate (other than a foreign estate); or a domestic trust (as defined in Regulations section 301.7701-7).", fatca: "The FATCA code(s) entered on this form (if any) indicating that I am exempt from FATCA reporting is correct." }, s = { name: { label: "Entity or individual name (1)", description: "Your individual or business name. For a sole proprietor or disregarded entity, enter the owner's name here, and enter the business/disregarded entity's name in the Business name field below." }, business_name: { label: "Business name (2)", description: "The name of your business, if different than above." }, taxClassification: { label: "Federal tax classification (3)", description: "Select the type of business you are." }, llcClassificationCode: { label: "LLC tax classification code", description: "Select the appropriate code for the LLC, unless it is a disregarded entity. A disregarded entity should instead check the appropriate selection for the tax classification of its owner." }, other_text: { label: "Other" }, foreign_partners: { label: "Foreign partners/owners/beneficiaries (3b)", description: "If you selected “Partnership”, “Trust/Estate” or checked “LLC” and entered “P” as the tax classification, and you are providing this form to a partnership, trust, or estate in which you have an ownership interest, check this box if you have any foreign partners, owners, or beneficiaries." }, exempt_payee_code: { label: "Exempt payee code" }, exemption_from_FATCA: { label: "Exemption from FATCA reporting code (4b)", description: "Enter the code (if any) indicating you are exempt from reporting under the Foreign Account Tax Compliance Act." }, home_address_street_1: { label: "Street 1" }, home_address_street_2: { label: "Street 2" }, home_address_city: { label: "City" }, home_address_state: { label: "State" }, home_address_zip: { label: "Zip code" }, account_number: { label: "Account numbers" }, company_name: { label: "Requester's name and address" }, ssn: { label: "Social Security Number (SSN)" }, ein: { label: "Employer Identification Number (EIN)" }, signature_text: { label: "Signature" } }, c = { taxClassification: { individual_proprietor: "Individual/sole proprietor", c_corporation: "C-Corporation", s_corporation: "S-Corporation", partnership: "Partnership", trust_estate: "Trust/estate", limited_liability_company: "LLC", other: "Other" }, llcClassificationCode: { placeholder: "Select...", c: "C = C-Corporation", s: "S = S-Corporation", p: "P = Partnership" } }, d = "I agree to electronically sign this form.", l = { required: "This field is required.", agreeRequired: "You must agree to electronically sign this form.", invalidSsn: "Enter a valid Social Security Number.", invalidEin: "Enter a valid Employer Identification Number." }, u = "Back", p = "Sign", h = "Signing…", m = "Acknowledge", f = "Acknowledging…", b = {
1
+ const e = "Signature required", t = "See the IRS Form W-9 for instructions on completing this form", i = "<downloadLink>Download document</downloadLink>", o = { exemptions: "Exemptions", address: "Address", tin: "Taxpayer Identification Number (TIN)", certification: "Certification" }, n = { exemptions: "See section 4 of IRS Form W-9 for instructions.", address: "See sections 5-7 of IRS Form W-9 for instructions.", tin: "For individuals, this is generally your social security number (SSN). For other entities, this will be your employer identification number (EIN).", tinSecondary: "See Part 1 of the IRS Form W-9 for instructions.", certification: "See Part 2 of the IRS Form W-9 for instructions." }, r = "Under penalties of perjury, I certify that:", a = { taxpayerId: "The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me);", backupWithholding: "I am not subject to backup withholding because (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding;", usPerson: "I am a U.S. citizen or other U.S. person (defined below);", usPersonDefinition: "For federal tax purposes, you are considered a U.S. person if you are: an individual who is a U.S. citizen or U.S. resident alien; a partnership, corporation, company, or association created or organized in the United States or under the laws of the United States; an estate (other than a foreign estate); or a domestic trust (as defined in Regulations section 301.7701-7).", fatca: "The FATCA code(s) entered on this form (if any) indicating that I am exempt from FATCA reporting is correct." }, s = { name: { label: "Entity or individual name (1)", description: "Your individual or business name. For a sole proprietor or disregarded entity, enter the owner's name here, and enter the business/disregarded entity's name in the Business name field below." }, business_name: { label: "Business name (2)", description: "The name of your business, if different than above." }, taxClassification: { label: "Federal tax classification (3)", description: "Select the type of business you are." }, llcClassificationCode: { label: "LLC tax classification code", description: "Select the appropriate code for the LLC, unless it is a disregarded entity. A disregarded entity should instead check the appropriate selection for the tax classification of its owner." }, other_text: { label: "Other" }, foreign_partners: { label: "Foreign partners/owners/beneficiaries (3b)", description: "If you selected “Partnership”, “Trust/Estate” or checked “LLC” and entered “P” as the tax classification, and you are providing this form to a partnership, trust, or estate in which you have an ownership interest, check this box if you have any foreign partners, owners, or beneficiaries." }, exempt_payee_code: { label: "Exempt payee code" }, exemption_from_FATCA: { label: "Exemption from FATCA reporting code (4b)", description: "Enter the code (if any) indicating you are exempt from reporting under the Foreign Account Tax Compliance Act." }, home_address_street_1: { label: "Street 1" }, home_address_street_2: { label: "Street 2" }, home_address_city: { label: "City" }, home_address_state: { label: "State" }, home_address_zip: { label: "Zip code" }, account_number: { label: "Account numbers" }, company_name: { label: "Requester's name and address" }, ssn: { label: "Social Security Number (SSN)", changeCta: "Change SSN" }, ein: { label: "Employer Identification Number (EIN)", changeCta: "Change EIN" }, signature_text: { label: "Signature" } }, c = { taxClassification: { individual_proprietor: "Individual/sole proprietor", c_corporation: "C-Corporation", s_corporation: "S-Corporation", partnership: "Partnership", trust_estate: "Trust/estate", limited_liability_company: "LLC", other: "Other" }, llcClassificationCode: { placeholder: "Select...", c: "C = C-Corporation", s: "S = S-Corporation", p: "P = Partnership" } }, d = "I agree to electronically sign this form.", l = { required: "This field is required.", agreeRequired: "You must agree to electronically sign this form.", invalidSsn: "Enter a valid Social Security Number.", invalidEin: "Enter a valid Employer Identification Number." }, u = "Back", h = "Sign", p = "Signing…", m = "Acknowledge", f = "Acknowledging…", b = {
2
2
  signatureRequired: e,
3
3
  instructions: t,
4
4
  downloadPrompt: i,
@@ -11,8 +11,8 @@ const e = "Signature required", t = "See the IRS Form W-9 for instructions on co
11
11
  agreeLabel: d,
12
12
  validation: l,
13
13
  backCta: u,
14
- signCta: p,
15
- signingCta: h,
14
+ signCta: h,
15
+ signingCta: p,
16
16
  acknowledgeCta: m,
17
17
  acknowledgingCta: f
18
18
  };
@@ -30,9 +30,9 @@ export {
30
30
  c as options,
31
31
  n as sectionInstructions,
32
32
  o as sections,
33
- p as signCta,
33
+ h as signCta,
34
34
  e as signatureRequired,
35
- h as signingCta,
35
+ p as signingCta,
36
36
  l as validation
37
37
  };
38
38
  //# sourceMappingURL=Contractor.SignatureForm.json.js.map
@@ -1,26 +1,26 @@
1
- const t = "Submit contractor", e = "Contractor Onboarded", o = "This contractor has been successfully onboarded.", n = "Done", r = "Submit and complete onboarding", a = "Please note that after submitting", i = { title: "Documents", description: "You will need to collect these forms from your contractor manually.", items: [{ title: "Taxpayer Identification (Form W-9)", description: "Verifies your contractor's identity for tax purposes such as generating their Form 1099." }], alertLabel: "The government requires you to have Form W-9 completed and signed." }, s = ["The contractor type cannot be changed.", "The new hire report cannot be modified."], c = { title: "Review before sending invitation", description: "You are inviting a contractor to complete the onboarding flow. Please double-check that you've entered this contractor's details correctly.", startDateLabel: "Start date", inviteCta: "Send invitation", successMessage: "Contractor has been saved & invited to self-onboard!" }, d = { successMessage: "Contractor has been onboarded!" }, l = {
1
+ const t = "Submit contractor", e = "Contractor Onboarded", o = "This contractor has been successfully onboarded.", n = "Done", a = "Submit and complete onboarding", i = "Please note that after submitting", r = { title: "Documents", description: "You will need to collect signed copies of the following documents from {{contractorName}}.", downloadCta: "Download document", documents: { taxpayer_identification_form_w_9: { title: "Taxpayer Identification (Form W-9)", description: "Verifies your contractor's identity for tax purposes such as generating their Form 1099." } }, alertLabel: "The government requires you to have Form W-9 completed and signed." }, c = ["The contractor type cannot be changed.", "The new hire report cannot be modified."], s = { title: "Review before sending invitation", description: "You are inviting a contractor to complete the onboarding flow. Please double-check that you've entered this contractor's details correctly.", startDateLabel: "Start date", inviteCta: "Send invitation", successMessage: "Contractor has been saved & invited to self-onboard!" }, d = { successMessage: "Contractor has been onboarded!" }, l = {
2
2
  heading: t,
3
3
  doneTitle: e,
4
4
  doneDescription: o,
5
5
  doneCta: n,
6
- submitCta: r,
7
- title: a,
8
- documentRequirements: i,
9
- warningItems: s,
10
- inviteContractor: c,
6
+ submitCta: a,
7
+ title: i,
8
+ documentRequirements: r,
9
+ warningItems: c,
10
+ inviteContractor: s,
11
11
  submitDone: d
12
12
  };
13
13
  export {
14
14
  l as default,
15
- i as documentRequirements,
15
+ r as documentRequirements,
16
16
  n as doneCta,
17
17
  o as doneDescription,
18
18
  e as doneTitle,
19
19
  t as heading,
20
- c as inviteContractor,
21
- r as submitCta,
20
+ s as inviteContractor,
21
+ a as submitCta,
22
22
  d as submitDone,
23
- a as title,
24
- s as warningItems
23
+ i as title,
24
+ c as warningItems
25
25
  };
26
26
  //# sourceMappingURL=Contractor.Submit.json.js.map
@@ -123,10 +123,10 @@ export interface Resources {
123
123
  }
124
124
 
125
125
  /**
126
- * Per-namespace SDK i18n keys, each namespace browsable as its own reference
127
- * (e.g. {@link Translations.CompanyAddresses}) with every key's English default.
128
- * Override defaults through a component's `dictionary` prop or the global
129
- * `GustoProvider` dictionary.
126
+ * All user-facing text rendered by SDK components, organized by namespace.
127
+ *
128
+ * Every key includes its English default; pass overrides through a component's
129
+ * `dictionary` prop or the global `GustoProvider` dictionary.
130
130
  *
131
131
  * @public
132
132
  */
@@ -1707,6 +1707,12 @@ export namespace Translations {
1707
1707
  homeAddressTitle: string
1708
1708
  /** @defaultValue `"Contractor's home mailing address, within the United States."` */
1709
1709
  homeAddressDescription: string
1710
+ w9EditWarning: {
1711
+ /** @defaultValue `"Changes will require an updated Form W-9"` */
1712
+ label: string
1713
+ /** @defaultValue `"This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information."` */
1714
+ body: string
1715
+ }
1710
1716
  /** @defaultValue `"Street 1"` */
1711
1717
  street1: string
1712
1718
  /** @defaultValue `"Street 2"` */
@@ -1750,6 +1756,8 @@ export namespace Translations {
1750
1756
  reviewCta: string
1751
1757
  /** @defaultValue `"Delete"` */
1752
1758
  deleteCta: string
1759
+ /** @defaultValue `"Cancel self-onboarding"` */
1760
+ cancelSelfOnboardingCta: string
1753
1761
  /** @defaultValue `"Add contractors to get them setup for payroll."` */
1754
1762
  emptyTableDescription: string
1755
1763
  /** @defaultValue `"You haven't added any contractors yet"` */
@@ -2347,6 +2355,12 @@ export namespace Translations {
2347
2355
  title: string
2348
2356
  /** @defaultValue `"This information will be used for payments and on tax documents, so double-check that it's accurate."` */
2349
2357
  subtitle: string
2358
+ w9EditWarning: {
2359
+ /** @defaultValue `"Changes will require an updated Form W-9"` */
2360
+ label: string
2361
+ /** @defaultValue `"This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information."` */
2362
+ body: string
2363
+ }
2350
2364
  selfOnboarding: {
2351
2365
  /** @defaultValue `"Complete your profile"` */
2352
2366
  title: string
@@ -2446,11 +2460,11 @@ export namespace Translations {
2446
2460
  cancel: string
2447
2461
  /** @defaultValue `"Create Contractor"` */
2448
2462
  create: string
2449
- /** @defaultValue `"Update Contractor"` */
2463
+ /** @defaultValue `"Continue"` */
2450
2464
  update: string
2451
2465
  /** @defaultValue `"Creating…"` */
2452
2466
  creating: string
2453
- /** @defaultValue `"Updating…"` */
2467
+ /** @defaultValue `"Saving…"` */
2454
2468
  updating: string
2455
2469
  }
2456
2470
  }
@@ -2574,10 +2588,14 @@ export namespace Translations {
2574
2588
  ssn: {
2575
2589
  /** @defaultValue `"Social Security Number (SSN)"` */
2576
2590
  label: string
2591
+ /** @defaultValue `"Change SSN"` */
2592
+ changeCta: string
2577
2593
  }
2578
2594
  ein: {
2579
2595
  /** @defaultValue `"Employer Identification Number (EIN)"` */
2580
2596
  label: string
2597
+ /** @defaultValue `"Change EIN"` */
2598
+ changeCta: string
2581
2599
  }
2582
2600
  signature_text: {
2583
2601
  /** @defaultValue `"Signature"` */
@@ -2652,10 +2670,12 @@ export namespace Translations {
2652
2670
  documentRequirements: {
2653
2671
  /** @defaultValue `"Documents"` */
2654
2672
  title: string
2655
- /** @defaultValue `"You will need to collect these forms from your contractor manually."` */
2673
+ /** @defaultValue `"You will need to collect signed copies of the following documents from {{contractorName}}."` */
2656
2674
  description: string
2657
- items: {
2658
- '0': {
2675
+ /** @defaultValue `"Download document"` */
2676
+ downloadCta: string
2677
+ documents: {
2678
+ taxpayer_identification_form_w_9: {
2659
2679
  /** @defaultValue `"Taxpayer Identification (Form W-9)"` */
2660
2680
  title: string
2661
2681
  /** @defaultValue `"Verifies your contractor's identity for tax purposes such as generating their Form 1099."` */
package/dist/index.d.ts CHANGED
@@ -1,9 +1,12 @@
1
1
  export * from './components';
2
2
  export * from './contexts';
3
3
  /**
4
- * Gusto API entity types returned by SDK hooks and components. These are
5
- * re-exported from the Gusto Embedded API client so their shapes are
6
- * documented here in the SDK reference.
4
+ * Entity types returned by the Gusto Embedded Payroll API.
5
+ *
6
+ * @remarks
7
+ * Re-exported from `@gusto/embedded-api` for use in SDK hook results and component props.
8
+ * Properties are camelCase — the underlying API returns snake_case JSON, but the Typescript
9
+ * client normalizes them.
7
10
  *
8
11
  * @public
9
12
  */
@@ -3,6 +3,7 @@
3
3
  * in the job form's `stateWcClassCode` field options.
4
4
  *
5
5
  * @public
6
+ * @page employee/types
6
7
  */
7
8
  export type WARiskClassCode = {
8
9
  /** The workers' compensation risk class code. */