@gusto/embedded-react-sdk 0.0.3 → 0.0.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.
Files changed (172) hide show
  1. package/README.md +6 -0
  2. package/dist/{COOQDZLH-B5iac4ID.js → BMGNQTAT-BdHbew7H.js} +3 -3
  3. package/dist/{COOQDZLH-B5iac4ID.js.map → BMGNQTAT-BdHbew7H.js.map} +1 -1
  4. package/dist/Employee.Compensation-k6cvnqx0.js +69 -0
  5. package/dist/Employee.Compensation-k6cvnqx0.js.map +1 -0
  6. package/dist/Employee.Deductions-BKQWMJnY.js +75 -0
  7. package/dist/Employee.Deductions-BKQWMJnY.js.map +1 -0
  8. package/dist/Employee.EmployeeList-Bh2iUvGI.js +36 -0
  9. package/dist/Employee.EmployeeList-Bh2iUvGI.js.map +1 -0
  10. package/dist/Employee.OnboardingSummary-BDFFDrV6.js +32 -0
  11. package/dist/Employee.OnboardingSummary-BDFFDrV6.js.map +1 -0
  12. package/dist/Employee.PaymentMethod-B1tieS6Y.js +96 -0
  13. package/dist/Employee.PaymentMethod-B1tieS6Y.js.map +1 -0
  14. package/dist/Employee.Profile-D0IZW-HV.js +53 -0
  15. package/dist/Employee.Profile-D0IZW-HV.js.map +1 -0
  16. package/dist/Employee.Taxes-DnOVtPmd.js +53 -0
  17. package/dist/Employee.Taxes-DnOVtPmd.js.map +1 -0
  18. package/dist/{VREWMQAW-BCWuoH6G.js → STCWXWCR-C2HWmWAx.js} +4 -4
  19. package/dist/{VREWMQAW-BCWuoH6G.js.map → STCWXWCR-C2HWmWAx.js.map} +1 -1
  20. package/dist/{MU7WGUJF-D3o-8MpJ.js → UODQIBEW-3KqHTTDo.js} +3 -3
  21. package/dist/{MU7WGUJF-D3o-8MpJ.js.map → UODQIBEW-3KqHTTDo.js.map} +1 -1
  22. package/dist/index-CYu59Yku.js +33097 -0
  23. package/dist/index-CYu59Yku.js.map +1 -0
  24. package/dist/{src/generated/schema.d.ts → index.d.ts} +18917 -15295
  25. package/dist/index.js +39 -38
  26. package/dist/style.css +1 -1
  27. package/package.json +10 -4
  28. package/README.internal.md +0 -28
  29. package/dist/Employee.Compensation-BwQ0aU6j.js +0 -69
  30. package/dist/Employee.Compensation-BwQ0aU6j.js.map +0 -1
  31. package/dist/Employee.Deductions-v07AzjHC.js +0 -52
  32. package/dist/Employee.Deductions-v07AzjHC.js.map +0 -1
  33. package/dist/Employee.EmployeeList-ezoiz5mY.js +0 -34
  34. package/dist/Employee.EmployeeList-ezoiz5mY.js.map +0 -1
  35. package/dist/Employee.OnboardingSummary-CX_vCaZK.js +0 -34
  36. package/dist/Employee.OnboardingSummary-CX_vCaZK.js.map +0 -1
  37. package/dist/Employee.PaymentMethod-lPeUXCVJ.js +0 -56
  38. package/dist/Employee.PaymentMethod-lPeUXCVJ.js.map +0 -1
  39. package/dist/Employee.Profile-B_wp6Ee2.js +0 -53
  40. package/dist/Employee.Profile-B_wp6Ee2.js.map +0 -1
  41. package/dist/Employee.Taxes-DrKjSqOM.js +0 -48
  42. package/dist/Employee.Taxes-DrKjSqOM.js.map +0 -1
  43. package/dist/index-G-nwCZPb.js +0 -32491
  44. package/dist/index-G-nwCZPb.js.map +0 -1
  45. package/dist/src/api/client.d.ts +0 -1361
  46. package/dist/src/api/constants.d.ts +0 -1
  47. package/dist/src/api/context.d.ts +0 -14
  48. package/dist/src/api/queries/company.d.ts +0 -267
  49. package/dist/src/api/queries/employee.d.ts +0 -586
  50. package/dist/src/api/queries/helpers.d.ts +0 -19
  51. package/dist/src/api/queries/index.d.ts +0 -3
  52. package/dist/src/api/queries/payroll.d.ts +0 -26
  53. package/dist/src/api/typeHelpers.d.ts +0 -18
  54. package/dist/src/components/Base/Base.d.ts +0 -25
  55. package/dist/src/components/Base/index.d.ts +0 -1
  56. package/dist/src/components/Common/Alert/Alert.d.ts +0 -6
  57. package/dist/src/components/Common/Button/Button.d.ts +0 -8
  58. package/dist/src/components/Common/Checkbox/Checkbox.d.ts +0 -7
  59. package/dist/src/components/Common/DateField/DateField.d.ts +0 -8
  60. package/dist/src/components/Common/EmptyData/EmptyData.d.ts +0 -6
  61. package/dist/src/components/Common/Flex/Flex.d.ts +0 -12
  62. package/dist/src/components/Common/Hamburger/Hamburger.d.ts +0 -10
  63. package/dist/src/components/Common/InternalError/InternalError.d.ts +0 -2
  64. package/dist/src/components/Common/Loading/Loading.d.ts +0 -1
  65. package/dist/src/components/Common/NumberField/NumberField.d.ts +0 -9
  66. package/dist/src/components/Common/Select/Select.d.ts +0 -17
  67. package/dist/src/components/Common/TaxInputs/TaxInputs.d.ts +0 -21
  68. package/dist/src/components/Common/TaxInputs/index.d.ts +0 -1
  69. package/dist/src/components/Common/Toast/Toast.d.ts +0 -4
  70. package/dist/src/components/Common/hooks/useAsyncError.d.ts +0 -5
  71. package/dist/src/components/Common/index.d.ts +0 -14
  72. package/dist/src/components/Company/Addresses.d.ts +0 -7
  73. package/dist/src/components/Company/BankAccount.d.ts +0 -6
  74. package/dist/src/components/Company/FederalTaxes.d.ts +0 -7
  75. package/dist/src/components/Company/Industry.d.ts +0 -12
  76. package/dist/src/components/Company/Overview.d.ts +0 -7
  77. package/dist/src/components/Company/StateTaxes.d.ts +0 -6
  78. package/dist/src/components/Company/index.d.ts +0 -5
  79. package/dist/src/components/Employee/BankAccount.d.ts +0 -15
  80. package/dist/src/components/Employee/Compensation/Actions.d.ts +0 -1
  81. package/dist/src/components/Employee/Compensation/Compensation.d.ts +0 -60
  82. package/dist/src/components/Employee/Compensation/Edit.d.ts +0 -1
  83. package/dist/src/components/Employee/Compensation/Head.d.ts +0 -1
  84. package/dist/src/components/Employee/Compensation/List.d.ts +0 -1
  85. package/dist/src/components/Employee/Compensation/index.d.ts +0 -1
  86. package/dist/src/components/Employee/Deductions.d.ts +0 -7
  87. package/dist/src/components/Employee/EditDeduction.d.ts +0 -23
  88. package/dist/src/components/Employee/EmployeeList.d.ts +0 -22
  89. package/dist/src/components/Employee/FederalTaxes.d.ts +0 -1
  90. package/dist/src/components/Employee/OnboardingSummary.d.ts +0 -7
  91. package/dist/src/components/Employee/PaySchedules.d.ts +0 -1
  92. package/dist/src/components/Employee/PaymentMethod.d.ts +0 -1
  93. package/dist/src/components/Employee/PaymentMethodCombo/Actions.d.ts +0 -1
  94. package/dist/src/components/Employee/PaymentMethodCombo/BankAccountEdit.d.ts +0 -9
  95. package/dist/src/components/Employee/PaymentMethodCombo/BankAccountsList.d.ts +0 -1
  96. package/dist/src/components/Employee/PaymentMethodCombo/Head.d.ts +0 -1
  97. package/dist/src/components/Employee/PaymentMethodCombo/PaymentMethod.d.ts +0 -22
  98. package/dist/src/components/Employee/PaymentMethodCombo/PaymentTypeForm.d.ts +0 -11
  99. package/dist/src/components/Employee/PaymentMethodCombo/Split.d.ts +0 -1
  100. package/dist/src/components/Employee/PaymentMethodCombo/index.d.ts +0 -1
  101. package/dist/src/components/Employee/Profile/Actions.d.ts +0 -1
  102. package/dist/src/components/Employee/Profile/HomeAddress.d.ts +0 -12
  103. package/dist/src/components/Employee/Profile/PersonalDetails.d.ts +0 -40
  104. package/dist/src/components/Employee/Profile/Profile.d.ts +0 -37
  105. package/dist/src/components/Employee/Profile/index.d.ts +0 -1
  106. package/dist/src/components/Employee/SplitPaycheck.d.ts +0 -9
  107. package/dist/src/components/Employee/StateTaxes.d.ts +0 -7
  108. package/dist/src/components/Employee/TaxesCombo/Actions.d.ts +0 -1
  109. package/dist/src/components/Employee/TaxesCombo/FederalForm.d.ts +0 -13
  110. package/dist/src/components/Employee/TaxesCombo/FederalHead.d.ts +0 -1
  111. package/dist/src/components/Employee/TaxesCombo/StateForm.d.ts +0 -6
  112. package/dist/src/components/Employee/TaxesCombo/Taxes.d.ts +0 -20
  113. package/dist/src/components/Employee/TaxesCombo/index.d.ts +0 -1
  114. package/dist/src/components/Employee/index.d.ts +0 -9
  115. package/dist/src/components/Flow/CompanyOnboardingFlow.d.ts +0 -10
  116. package/dist/src/components/Flow/EmployeeOnboardingFlow.d.ts +0 -12
  117. package/dist/src/components/Flow/Flow.d.ts +0 -14
  118. package/dist/src/components/Flow/FlowNav.d.ts +0 -1
  119. package/dist/src/components/Flow/StateMachines/companyOnboarding.d.ts +0 -5
  120. package/dist/src/components/Flow/StateMachines/employeeOnboarding.d.ts +0 -12
  121. package/dist/src/components/Flow/StateMachines/index.d.ts +0 -2
  122. package/dist/src/components/Flow/index.d.ts +0 -3
  123. package/dist/src/components/Payroll/PayrollHistoryList.d.ts +0 -1
  124. package/dist/src/components/Payroll/index.d.ts +0 -1
  125. package/dist/src/components/PayrollSchedule/SetupPayrollSchedule.d.ts +0 -6
  126. package/dist/src/components/PayrollSchedule/index.d.ts +0 -1
  127. package/dist/src/components/index.d.ts +0 -4
  128. package/dist/src/components/sample/PaymentMethodSDK.d.ts +0 -1
  129. package/dist/src/contexts/GustoApiProvider/GustoApiProvider.d.ts +0 -15
  130. package/dist/src/contexts/GustoApiProvider/index.d.ts +0 -1
  131. package/dist/src/contexts/LocaleProvider/LocaleProvider.d.ts +0 -8
  132. package/dist/src/contexts/LocaleProvider/index.d.ts +0 -1
  133. package/dist/src/contexts/ThemeProvider/DefaultTheme.d.ts +0 -150
  134. package/dist/src/contexts/ThemeProvider/ThemeProvider.d.ts +0 -12
  135. package/dist/src/contexts/ThemeProvider/ThemeProvider.test.d.ts +0 -1
  136. package/dist/src/contexts/ThemeProvider/index.d.ts +0 -1
  137. package/dist/src/contexts/ThemeProvider/test-utils.d.ts +0 -5
  138. package/dist/src/contexts/index.d.ts +0 -2
  139. package/dist/src/helpers/LRUCache.d.ts +0 -7
  140. package/dist/src/helpers/formattedStrings.d.ts +0 -7
  141. package/dist/src/helpers/formatters.d.ts +0 -2
  142. package/dist/src/helpers/normalizeSSN.d.ts +0 -1
  143. package/dist/src/helpers/payRateCalculator.d.ts +0 -2
  144. package/dist/src/i18n/I18n.d.ts +0 -8
  145. package/dist/src/i18n/en/common.json.d.ts +0 -99
  146. package/dist/src/i18n/index.d.ts +0 -1
  147. package/dist/src/index.d.ts +0 -7
  148. package/dist/src/models/PayPeriod.d.ts +0 -18
  149. package/dist/src/models/Payroll.d.ts +0 -40
  150. package/dist/src/models/PayrollTotals.d.ts +0 -24
  151. package/dist/src/shared/constants.d.ts +0 -124
  152. package/dist/src/types.d.ts +0 -10
  153. package/dist/test/api/client.test.d.ts +0 -1
  154. package/dist/test/api/companyFederalTaxes.test.d.ts +0 -1
  155. package/dist/test/api/employeeBankAccounts.test.d.ts +0 -1
  156. package/dist/test/api/payrolls.test.d.ts +0 -1
  157. package/dist/test/mocks/apis/company_federal_taxes.d.ts +0 -2
  158. package/dist/test/mocks/apis/company_locations.d.ts +0 -2
  159. package/dist/test/mocks/apis/compensations.d.ts +0 -2
  160. package/dist/test/mocks/apis/employees.d.ts +0 -2
  161. package/dist/test/mocks/apis/employeesBankAccounts.d.ts +0 -2
  162. package/dist/test/mocks/apis/homeAddresses.d.ts +0 -2
  163. package/dist/test/mocks/apis/payrolls.d.ts +0 -2
  164. package/dist/test/mocks/apis/tokens.d.ts +0 -2
  165. package/dist/test/mocks/apis/typeHelpers.d.ts +0 -10
  166. package/dist/test/mocks/apis/workAddresses.d.ts +0 -2
  167. package/dist/test/mocks/fileMock.d.ts +0 -6
  168. package/dist/test/mocks/fixtures/company_location.d.ts +0 -11
  169. package/dist/test/mocks/fixtures/getFixture.d.ts +0 -1
  170. package/dist/test/mocks/handlers.d.ts +0 -1
  171. package/dist/test/mocks/server.d.ts +0 -1
  172. package/dist/test/mocks/styleMock.d.ts +0 -6
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { aQ as s, aS as o, aV as t, aR as u, aU as p, W as d, aW as m, X as y, aX as l, aY as n, aP as r, aw as E, au as G, ak as i, ap as C, a6 as A, a5 as c, a0 as P, aF as U, aC as x, ae as T, a1 as b, ax as h, al as k, aE as D, aq as S, aT as F, Z as B, a8 as H, aa as W, a3 as g, a2 as J, Y as v, as as w, af as L, av as O, ar as I, aH as M, ai as R, ah as f, aB as q, aA as X, aL as Y, ay as Z, aJ as j, an as z, am as K, _ as N, aN as Q, ad as V, aO as _, aM as $, ac as ee, a7 as ae, aZ as se, a9 as oe, ab as te, a4 as ue, at as pe, ag as de, aG as me, aI as ye, aj as le, aD as ne, az as re, aK as Ee, ao as Ge } from "./index-G-nwCZPb.js";
1
+ import { aR as s, aT as o, aS as t, aV as u, W as p, aW as d, X as m, aX as y, aY as l, aZ as n, aQ as r, aw as E, au as G, ak as i, ap as C, a6 as A, a5 as c, a0 as P, aG as U, aD as x, ae as k, a1 as D, ay as T, al as h, aF as S, aq as b, aU as B, Z as F, a8 as H, aa as W, a3 as J, a2 as g, Y as v, as as L, af as w, av as I, ar as O, aI as M, ai as R, ah as f, aC as q, aB as K, aM as X, az as Y, aK as Z, an as _, am as j, _ as z, aO as N, ad as Q, aP as V, aN as $, ac as ee, a7 as ae, a_ as se, a9 as oe, ab as te, a4 as ue, at as pe, ag as de, ax as me, aH as ye, aJ as le, aj as ne, aE as re, aA as Ee, aL as Ge, ao as ie } from "./index-CYu59Yku.js";
2
2
  export {
3
3
  s as ApiError,
4
4
  o as Company,
5
- t as CompanyOnboardingFlow,
6
- u as Employee,
7
- p as EmployeeOnboardingFlow,
8
- d as GustoApiContextProvider,
9
- m as GustoApiProvider,
10
- y as GustoClient,
5
+ t as Employee,
6
+ u as EmployeeOnboardingFlow,
7
+ p as GustoApiContextProvider,
8
+ d as GustoApiProvider,
9
+ m as GustoClient,
10
+ y as SDKI18next,
11
11
  l as ThemeContext,
12
12
  n as ThemeProvider,
13
13
  r as handleResponse,
@@ -20,37 +20,37 @@ export {
20
20
  P as useCreateEmployee,
21
21
  U as useCreateEmployeeCompensation,
22
22
  x as useCreateEmployeeJob,
23
- T as useCreatePaySchedule,
24
- b as useDeleteEmployee,
25
- h as useDeleteEmployeeBankAccount,
26
- k as useDeleteEmployeeHomeAddress,
27
- D as useDeleteEmployeeJob,
28
- S as useDeleteEmployeeWorkAddress,
29
- F as useFlow,
30
- B as useGetCompanyAddresses,
23
+ k as useCreatePaySchedule,
24
+ D as useDeleteEmployee,
25
+ T as useDeleteEmployeeBankAccount,
26
+ h as useDeleteEmployeeHomeAddress,
27
+ S as useDeleteEmployeeJob,
28
+ b as useDeleteEmployeeWorkAddress,
29
+ B as useFlow,
30
+ F as useGetCompanyAddresses,
31
31
  H as useGetCompanyFederalTaxes,
32
32
  W as useGetCompanyIndustry,
33
- g as useGetCompanyLocation,
34
- J as useGetCompanyLocations,
33
+ J as useGetCompanyLocation,
34
+ g as useGetCompanyLocations,
35
35
  v as useGetCompanyOnboardingStatus,
36
- w as useGetDeduction,
37
- L as useGetEmployee,
38
- O as useGetEmployeeBankAccounts,
39
- I as useGetEmployeeDeductions,
36
+ L as useGetDeduction,
37
+ w as useGetEmployee,
38
+ I as useGetEmployeeBankAccounts,
39
+ O as useGetEmployeeDeductions,
40
40
  M as useGetEmployeeFederalTaxes,
41
41
  R as useGetEmployeeHomeAddress,
42
42
  f as useGetEmployeeHomeAddresses,
43
43
  q as useGetEmployeeJob,
44
- X as useGetEmployeeJobs,
45
- Y as useGetEmployeeOnboardingStatus,
46
- Z as useGetEmployeePaymentMethod,
47
- j as useGetEmployeeStateTaxes,
48
- z as useGetEmployeeWorkAddress,
49
- K as useGetEmployeeWorkAddresses,
50
- N as useGetEmployeesByCompany,
51
- Q as useGetHistoricalPayrolls,
52
- V as useGetPaySchedulesByCompany,
53
- _ as useGetPayroll,
44
+ K as useGetEmployeeJobs,
45
+ X as useGetEmployeeOnboardingStatus,
46
+ Y as useGetEmployeePaymentMethod,
47
+ Z as useGetEmployeeStateTaxes,
48
+ _ as useGetEmployeeWorkAddress,
49
+ j as useGetEmployeeWorkAddresses,
50
+ z as useGetEmployeesByCompany,
51
+ N as useGetHistoricalPayrolls,
52
+ Q as useGetPaySchedulesByCompany,
53
+ V as useGetPayroll,
54
54
  $ as useGetPendingPayrolls,
55
55
  ee as useGetStateTaxRequirements,
56
56
  ae as usePaySchedulePreview,
@@ -60,12 +60,13 @@ export {
60
60
  ue as useUpdateCompanyLocation,
61
61
  pe as useUpdateDeduction,
62
62
  de as useUpdateEmployee,
63
- me as useUpdateEmployeeCompensation,
64
- ye as useUpdateEmployeeFederalTaxes,
65
- le as useUpdateEmployeeHomeAddress,
66
- ne as useUpdateEmployeeJob,
67
- re as useUpdateEmployeePaymentMethod,
68
- Ee as useUpdateEmployeeStateTaxes,
69
- Ge as useUpdateEmployeeWorkAddress
63
+ me as useUpdateEmployeeBankAccount,
64
+ ye as useUpdateEmployeeCompensation,
65
+ le as useUpdateEmployeeFederalTaxes,
66
+ ne as useUpdateEmployeeHomeAddress,
67
+ re as useUpdateEmployeeJob,
68
+ Ee as useUpdateEmployeePaymentMethod,
69
+ Ge as useUpdateEmployeeStateTaxes,
70
+ ie as useUpdateEmployeeWorkAddress
70
71
  };
71
72
  //# sourceMappingURL=index.js.map