@gusto/embedded-react-sdk 0.56.7 → 0.57.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +1 -1
  3. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -4
  4. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  5. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -4
  6. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  7. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -6
  8. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  9. package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -4
  10. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  11. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -4
  12. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  13. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -9
  14. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  15. package/dist/components/Company/Industry/Context.js +8 -7
  16. package/dist/components/Company/Industry/Context.js.map +1 -1
  17. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -4
  18. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  19. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -4
  20. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  21. package/dist/components/Company/OnboardingOverview/context.js +5 -4
  22. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  23. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.js +70 -0
  24. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.js.map +1 -0
  25. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js +30 -32
  26. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js.map +1 -1
  27. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js +35 -27
  28. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js.map +1 -1
  29. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js +52 -31
  30. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js.map +1 -1
  31. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js +106 -66
  32. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js.map +1 -1
  33. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js +36 -30
  34. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js.map +1 -1
  35. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/scheduleLabel.js +7 -0
  36. package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/scheduleLabel.js.map +1 -0
  37. package/dist/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.js +81 -0
  38. package/dist/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.js.map +1 -0
  39. package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js +46 -18
  40. package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js.map +1 -1
  41. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -4
  42. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  43. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -4
  44. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  45. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +5 -4
  46. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
  47. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +5 -4
  48. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  49. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.js +13 -13
  50. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -1
  51. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +2 -3
  52. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  53. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js +113 -111
  54. package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js.map +1 -1
  55. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +27 -31
  56. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  57. package/dist/components/Payroll/PayrollList/PayrollList.js +31 -35
  58. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  59. package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js +5 -9
  60. package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js.map +1 -1
  61. package/dist/components/Payroll/usePreparedPayrollData.js +4 -3
  62. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  63. package/dist/contexts/ApiProvider/createSdkQueryClient.js +4 -3
  64. package/dist/contexts/ApiProvider/createSdkQueryClient.js.map +1 -1
  65. package/dist/contexts/ObservabilityProvider/sanitization.js +98 -47
  66. package/dist/contexts/ObservabilityProvider/sanitization.js.map +1 -1
  67. package/dist/helpers/validations.js +1 -1
  68. package/dist/helpers/validations.js.map +1 -1
  69. package/dist/i18n/en/Company.AssignSignatory.json.js +1 -1
  70. package/dist/i18n/en/Company.Management.PaySchedule.json.js +24 -14
  71. package/dist/i18n/en/Company.Management.PaySchedule.json.js.map +1 -1
  72. package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js +12 -10
  73. package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js.map +1 -1
  74. package/dist/package.json.js +1 -1
  75. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.d.ts +15 -0
  76. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.d.ts +3 -3
  77. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.d.ts +7 -3
  78. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.d.ts +20 -4
  79. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/scheduleLabel.d.ts +3 -0
  80. package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/usePayScheduleAssignment.d.ts +10 -1
  81. package/dist/src/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.d.ts +25 -0
  82. package/dist/src/components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.test.d.ts +1 -0
  83. package/dist/src/contexts/ApiProvider/createSdkQueryClient.d.ts +2 -0
  84. package/dist/src/contexts/ApiProvider/createSdkQueryClient.test.d.ts +1 -0
  85. package/dist/src/contexts/ObservabilityProvider/sanitization.d.ts +8 -17
  86. package/dist/src/contexts/ObservabilityProvider/useSanitizedObservability.test.d.ts +1 -0
  87. package/dist/src/helpers/validations.test.d.ts +1 -0
  88. package/dist/src/i18n/types.d.ts +38 -2
  89. package/dist/src/models/external.d.ts +7 -6
  90. package/dist/src/types/observability.d.ts +59 -20
  91. package/docs/guides/endpoint-inventory.json +15 -0
  92. package/package.json +12 -12
@@ -377,9 +377,9 @@ export namespace Translations {
377
377
  email: string
378
378
  /** @defaultValue `"Email addresses must match"` */
379
379
  emailMismatch: string
380
- /** @defaultValue `"First name is required"` */
380
+ /** @defaultValue `"Enter a valid first name"` */
381
381
  firstName: string
382
- /** @defaultValue `"Last name is required"` */
382
+ /** @defaultValue `"Enter a valid last name"` */
383
383
  lastName: string
384
384
  /** @defaultValue `"Phone number must be 10 digits"` */
385
385
  phone: string
@@ -1029,19 +1029,35 @@ export namespace Translations {
1029
1029
  title: string
1030
1030
  /** @defaultValue `"You have assigned everyone to be on one pay schedule."` */
1031
1031
  description: string
1032
+ /** @defaultValue `"You have assigned employees to pay schedules by compensation type."` */
1033
+ compensationDescription: string
1034
+ /** @defaultValue `"Pay schedules by compensation type"` */
1035
+ compensationTableLabel: string
1032
1036
  /** @defaultValue `"Manage"` */
1033
1037
  manageCta: string
1034
1038
  /** @defaultValue `"Edit"` */
1035
1039
  editCta: string
1040
+ /** @defaultValue `"Edit schedule"` */
1041
+ editScheduleCta: string
1036
1042
  /** @defaultValue `"Edit pay schedule"` */
1037
1043
  editScheduleAriaLabel: string
1038
1044
  /** @defaultValue `"Edit AutoPilot"` */
1039
1045
  editAutoPilotAriaLabel: string
1046
+ /** @defaultValue `"Pay schedule actions"` */
1047
+ rowMenuTriggerLabel: string
1040
1048
  labels: {
1041
1049
  /** @defaultValue `"Name"` */
1042
1050
  name: string
1043
1051
  /** @defaultValue `"Frequency"` */
1044
1052
  frequency: string
1053
+ /** @defaultValue `"Schedule"` */
1054
+ schedule: string
1055
+ }
1056
+ compensationTypes: {
1057
+ /** @defaultValue `"Hourly"` */
1058
+ hourly: string
1059
+ /** @defaultValue `"Salaried"` */
1060
+ salaried: string
1045
1061
  }
1046
1062
  autoPilot: {
1047
1063
  /** @defaultValue `"AutoPilot"` */
@@ -1070,6 +1086,12 @@ export namespace Translations {
1070
1086
  /** @defaultValue `"Choose one pay schedule for all your employees"` */
1071
1087
  description: string
1072
1088
  }
1089
+ hourlySalaried: {
1090
+ /** @defaultValue `"Separate schedules by compensation type"` */
1091
+ label: string
1092
+ /** @defaultValue `"Choose one pay schedule for hourly employees and another for salaried employees"` */
1093
+ description: string
1094
+ }
1073
1095
  }
1074
1096
  }
1075
1097
  scheduleStep: {
@@ -1082,6 +1104,20 @@ export namespace Translations {
1082
1104
  /** @defaultValue `"Add pay schedule"` */
1083
1105
  addPayScheduleCta: string
1084
1106
  }
1107
+ compensationStep: {
1108
+ /** @defaultValue `"Assign employees"` */
1109
+ heading: string
1110
+ /** @defaultValue `"Hourly employees"` */
1111
+ hourlyPayScheduleLabel: string
1112
+ /** @defaultValue `"The pay schedule to use for hourly employees."` */
1113
+ hourlyPayScheduleDescription: string
1114
+ /** @defaultValue `"Salaried employees"` */
1115
+ salariedPayScheduleLabel: string
1116
+ /** @defaultValue `"The pay schedule to use for salaried employees."` */
1117
+ salariedPayScheduleDescription: string
1118
+ /** @defaultValue `"Add pay schedule"` */
1119
+ addPayScheduleCta: string
1120
+ }
1085
1121
  reviewStep: {
1086
1122
  /** @defaultValue `"Review changes"` */
1087
1123
  heading: string
@@ -306,14 +306,15 @@ export type { PayrollUpdateReimbursements } from '@gusto/embedded-api/models/com
306
306
  export type { PayrollUpdateState } from '@gusto/embedded-api/models/components/payrollupdate';
307
307
  export type { PayrollUpdateCustomWithholdings, PayrollUpdateDeductions, PayrollUpdateFederal, PayrollUpdateFixedCompensations, PayrollUpdateHourlyCompensations, } from '@gusto/embedded-api/models/components/payrollupdate';
308
308
  export { PayrollUpdateAmountType, PayrollUpdateEmployeeCompensationsAmountType, PayrollUpdateEmployeeCompensationsCustomWithholdingsAmountType, PayrollUpdateEmployeeCompensationsOverrideType, PayrollUpdateOverrideType, PayrollUpdatePaymentMethod, } from '@gusto/embedded-api/models/components/payrollupdate';
309
- /** `Departments` entity from the Gusto Embedded API. */
310
- export type { Departments } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
311
- /** `PayScheduleAssignmentBody` entity from the Gusto Embedded API. */
312
- export type { PayScheduleAssignmentBody } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
313
- /** `PayScheduleAssignmentBodyEmployees` entity from the Gusto Embedded API. */
314
- export type { PayScheduleAssignmentBodyEmployees } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
309
+ /** `PayScheduleAssignmentType` entity from the Gusto Embedded API. */
310
+ export { PayScheduleAssignmentType } from '@gusto/embedded-api/models/components/payscheduleassignment';
311
+ export type { PayScheduleAssignment } from '@gusto/embedded-api/models/components/payscheduleassignment';
315
312
  /** `PayScheduleAssignmentBodyType` entity from the Gusto Embedded API. */
316
313
  export { PayScheduleAssignmentBodyType } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
314
+ /** `PayScheduleAssignmentDepartment` entity from the Gusto Embedded API. */
315
+ export type { PayScheduleAssignmentDepartment } from '@gusto/embedded-api/models/components/payscheduleassignmentdepartment';
316
+ /** `PayScheduleAssignmentEmployee` entity from the Gusto Embedded API. */
317
+ export type { PayScheduleAssignmentEmployee } from '@gusto/embedded-api/models/components/payscheduleassignmentemployee';
317
318
  /** `PayScheduleAssignmentEmployeeChange` entity from the Gusto Embedded API. */
318
319
  export type { PayScheduleAssignmentEmployeeChange } from '@gusto/embedded-api/models/components/payscheduleassignmentemployeechange';
319
320
  export type { PayScheduleAssignmentPayPeriod } from '@gusto/embedded-api/models/components/payscheduleassignmentpayperiod';
@@ -47,37 +47,76 @@ export interface ObservabilityMetric {
47
47
  timestamp: number;
48
48
  }
49
49
  /**
50
- * Configuration for sanitizing error and metric data before it reaches observability hooks.
50
+ * Configures redaction and raw-error inclusion for observability callbacks.
51
51
  *
52
52
  * @remarks
53
- * Sanitization runs by default to prevent PII leakage. When enabled, the SDK
54
- * pattern-redacts SSNs, emails, phone numbers, credit card numbers, and API
55
- * tokens from messages and tags, and removes values for fields with sensitive
56
- * names (`password`, `ssn`, `bankAccount`, etc.) from metadata. The `raw`
57
- * error object is excluded unless `includeRawError` is set to `true`.
53
+ * By default, the SDK redacts recognized string patterns in error `message` and
54
+ * `fieldErrors[].message`, and recursively redacts sensitive keys and recognized string
55
+ * patterns in `fieldErrors[].metadata` and metric `tags`. Sensitive keys include credentials,
56
+ * financial identifiers, personal names, birth dates, addresses, and document identifiers.
57
+ * Values are replaced with placeholders; keys are retained. Other properties are not redacted.
58
+ *
59
+ * Pattern and key matching do not detect every sensitive value. Free-text names and addresses,
60
+ * for example, may remain in messages. Select which fields to forward in your callbacks and
61
+ * use additional sensitive keys or custom sanitizers for further processing.
62
+ *
63
+ * Processing order is SDK redaction/raw exclusion, custom sanitizer, SDK redaction/raw
64
+ * exclusion again, then the observability callback. Custom functions receive processed input
65
+ * and their output follows the same configuration. `enabled` controls redaction independently
66
+ * of `includeRawError`; opted-in raw errors pass through without redaction.
67
+ *
68
+ * This configuration applies only to observability callbacks. It does not sanitize form-hook
69
+ * errors, component events, request hooks, or data added by your monitoring integration.
58
70
  *
59
71
  * @public
60
72
  */
61
73
  export interface SanitizationConfig {
62
74
  /**
63
- * Whether to sanitize error data. Default: true
75
+ * Whether to redact recognized sensitive values in messages, field-error metadata, and
76
+ * metric tags. Default: true.
77
+ *
78
+ * @remarks
79
+ * When `false`, built-in and additional-sensitive-key redaction is skipped before and after
80
+ * custom sanitizers. Custom sanitizers still run. Raw errors remain excluded unless
81
+ * `includeRawError` is `true`.
64
82
  */
65
83
  enabled?: boolean;
66
84
  /**
67
- * Whether to include the raw error object on SDKError. Default: false
68
- * WARNING: Raw errors may contain sensitive data from form inputs or API responses
85
+ * Whether to include the original error as `raw` in observability errors. Default: false.
86
+ *
87
+ * @remarks
88
+ * When `false`, `raw` is set to `undefined` before and after a custom error sanitizer,
89
+ * regardless of `enabled`. When `true`, `raw` passes through without redaction and can
90
+ * contain form inputs, API response bodies, and request headers, including credentials.
69
91
  */
70
92
  includeRawError?: boolean;
71
93
  /**
72
- * Custom sanitization function for errors
94
+ * Transforms an error between applications of the configured SDK processing.
95
+ *
96
+ * @remarks
97
+ * Receives an error after configured redaction and raw exclusion. The SDK processes the
98
+ * returned `message`, `fieldErrors[].message`, `fieldErrors[].metadata`, and `raw` again
99
+ * according to `enabled`, `includeRawError`, and `additionalSensitiveFields`. Other properties
100
+ * are preserved without redaction. Return an error of the same type; messages may be replaced
101
+ * and metadata omitted for additional control over emitted data.
73
102
  */
74
103
  customErrorSanitizer?: (error: ObservabilityError) => ObservabilityError;
75
104
  /**
76
- * Custom sanitization function for metrics
105
+ * Transforms a metric between applications of the configured SDK redaction.
106
+ *
107
+ * @remarks
108
+ * Receives a metric after configured tag redaction. Returned `tags` are redacted again,
109
+ * including keys added by your function. Both passes honor `enabled` and
110
+ * `additionalSensitiveFields`. Other properties are preserved without redaction.
77
111
  */
78
112
  customMetricSanitizer?: (metric: ObservabilityMetric) => ObservabilityMetric;
79
113
  /**
80
- * Additional field names to treat as sensitive (case-insensitive)
114
+ * Additional sensitive keys in field-error metadata and metric tags.
115
+ *
116
+ * @remarks
117
+ * Uses case-insensitive substring matching in nested objects and arrays, before and after
118
+ * custom sanitizers when redaction is enabled. Matching values are replaced with `[REDACTED]`.
119
+ * Does not match field-error paths, message text, or properties outside metadata and tags.
81
120
  */
82
121
  additionalSensitiveFields?: string[];
83
122
  }
@@ -87,8 +126,10 @@ export interface SanitizationConfig {
87
126
  * @remarks
88
127
  * Pass an instance to {@link GustoProvider} via `config.observability` to forward
89
128
  * errors to services like Sentry or Datadog and to capture performance metrics
90
- * for form submissions and component loading. Sanitization is applied before
91
- * the hooks are invoked; see {@link SanitizationConfig}.
129
+ * for form submissions and component loading. Recognized sensitive values are redacted and
130
+ * raw errors excluded by default before callbacks run; see {@link SanitizationConfig}.
131
+ * Select which payload fields to forward. This processing does not detect every PII value
132
+ * or cover data independently collected by your monitoring tool.
92
133
  *
93
134
  * @public
94
135
  * @group Observability
@@ -96,11 +137,11 @@ export interface SanitizationConfig {
96
137
  * @example
97
138
  * ```tsx
98
139
  * import * as Sentry from '@sentry/react'
99
- * import { GustoProvider, type ObservabilityHook } from '@gusto/embedded-react-sdk'
140
+ * import type { ObservabilityHook } from '@gusto/embedded-react-sdk'
100
141
  *
101
- * const observability: ObservabilityHook = {
142
+ * export const observability: ObservabilityHook = {
102
143
  * onError: error => {
103
- * Sentry.captureException(error.raw ?? new Error(error.message), {
144
+ * Sentry.captureException(new Error(error.message), {
104
145
  * level: error.category === 'validation_error' ? 'warning' : 'error',
105
146
  * tags: {
106
147
  * error_category: error.category,
@@ -114,9 +155,7 @@ export interface SanitizationConfig {
114
155
  * },
115
156
  * }
116
157
  *
117
- * <GustoProvider config={{ baseUrl: '/api/', observability }}>
118
- * <YourApp />
119
- * </GustoProvider>
158
+ * // Pass observability to GustoProvider through config.observability.
120
159
  * ```
121
160
  */
122
161
  export interface ObservabilityHook {
@@ -1790,6 +1790,11 @@
1790
1790
  "path": "/v1/companies/:companyId/pay_schedules/assignment_preview",
1791
1791
  "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-companies-company_id-pay_schedules-assignment_preview"
1792
1792
  },
1793
+ {
1794
+ "method": "GET",
1795
+ "path": "/v1/companies/:companyId/pay_schedules/assignments",
1796
+ "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-pay_schedules-assignments"
1797
+ },
1793
1798
  {
1794
1799
  "method": "GET",
1795
1800
  "path": "/v1/companies/:companyId/pay_schedules/preview",
@@ -2005,6 +2010,11 @@
2005
2010
  "method": "POST",
2006
2011
  "path": "/v1/companies/:companyId/pay_schedules/assignment_preview",
2007
2012
  "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-companies-company_id-pay_schedules-assignment_preview"
2013
+ },
2014
+ {
2015
+ "method": "GET",
2016
+ "path": "/v1/companies/:companyId/pay_schedules/assignments",
2017
+ "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-pay_schedules-assignments"
2008
2018
  }
2009
2019
  ],
2010
2020
  "variables": [
@@ -2028,6 +2038,11 @@
2028
2038
  "method": "POST",
2029
2039
  "path": "/v1/companies/:companyId/pay_schedules/assignment_preview",
2030
2040
  "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/post-v1-companies-company_id-pay_schedules-assignment_preview"
2041
+ },
2042
+ {
2043
+ "method": "GET",
2044
+ "path": "/v1/companies/:companyId/pay_schedules/assignments",
2045
+ "docsUrl": "https://docs.gusto.com/embedded-payroll/v2026-06-15/reference/get-v1-companies-company_id-pay_schedules-assignments"
2031
2046
  }
2032
2047
  ],
2033
2048
  "variables": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gusto/embedded-react-sdk",
3
- "version": "0.56.7",
3
+ "version": "0.57.0",
4
4
  "homepage": "https://github.com/Gusto/embedded-react-sdk",
5
5
  "bugs": {
6
6
  "url": "https://github.com/Gusto/embedded-react-sdk/issues"
@@ -65,7 +65,7 @@
65
65
  "pack": "npm run build && npm pack",
66
66
  "release": "release-it",
67
67
  "postversion": "git push",
68
- "prepare": "husky",
68
+ "prepare": "husky || true",
69
69
  "prepublishOnly": "npm run build",
70
70
  "preversion": "npm test",
71
71
  "test": "vitest",
@@ -100,11 +100,11 @@
100
100
  "@commitlint/config-conventional": "^21.2.2",
101
101
  "@eslint/js": "^9.39.5",
102
102
  "@microsoft/api-extractor": "^7.59.1",
103
- "@playwright/test": "^1.63.0",
103
+ "@playwright/test": "^1.64.0",
104
104
  "@release-it/conventional-changelog": "^12.0.2",
105
- "@storybook/addon-a11y": "^10.6.0",
105
+ "@storybook/addon-a11y": "^10.6.1",
106
106
  "@storybook/addon-docs": "^10.6.0",
107
- "@storybook/addon-onboarding": "^10.6.0",
107
+ "@storybook/addon-onboarding": "^10.6.1",
108
108
  "@storybook/react-vite": "^10.6.0",
109
109
  "@storybook/test-runner": "^0.24.5",
110
110
  "@testing-library/dom": "^10.4.2",
@@ -123,8 +123,8 @@
123
123
  "@vitejs/plugin-react-swc": "^4.3.3",
124
124
  "@vitest/coverage-v8": "^5.0.0",
125
125
  "ajv": "^8.20.0",
126
- "axe-core": "^4.13.0",
127
- "cspell": "^10.3.3",
126
+ "axe-core": "^4.14.0",
127
+ "cspell": "^10.3.6",
128
128
  "dotenv": "^18.0.3",
129
129
  "eslint": "^9.39.5",
130
130
  "eslint-plugin-import": "^2.31.0",
@@ -133,7 +133,7 @@
133
133
  "eslint-plugin-react-hooks": "^7.1.1",
134
134
  "eslint-plugin-react-refresh": "^0.4.24",
135
135
  "eslint-plugin-storybook": "^10.6.0",
136
- "eslint-plugin-tsdoc": "^0.5.3",
136
+ "eslint-plugin-tsdoc": "^0.5.4",
137
137
  "fuse.js": "^7.5.0",
138
138
  "globals": "^17.12.0",
139
139
  "husky": "^9.1.7",
@@ -143,7 +143,7 @@
143
143
  "json-schema-to-typescript": "^16.0.0",
144
144
  "lint-staged": "^17.5.1",
145
145
  "markdownlint-cli2": "^0.23.3",
146
- "msw": "^2.15.0",
146
+ "msw": "^3.0.3",
147
147
  "npm-run-all": "^4.1.5",
148
148
  "pixelmatch": "^7.2.0",
149
149
  "pngjs": "^7.0.0",
@@ -159,10 +159,10 @@
159
159
  "ts-morph": "^28.0.0",
160
160
  "tsx": "^4.23.15",
161
161
  "typescript-eslint": "^8.70.1",
162
- "vite": "^6.4.3",
162
+ "vite": "^6.4.4",
163
163
  "vite-plugin-checker": "^0.14.5",
164
164
  "vite-plugin-circular-dependency": "^0.6.0",
165
- "vite-plugin-dts": "^5.1.1",
165
+ "vite-plugin-dts": "^5.1.2",
166
166
  "vite-plugin-externalize-deps": "^0.10.0",
167
167
  "vite-plugin-stylelint": "^6.3.0",
168
168
  "vite-plugin-svgr": "^5.2.0",
@@ -189,7 +189,7 @@
189
189
  "@hookform/error-message": "^2.0.1",
190
190
  "@hookform/resolvers": "^5.9.1",
191
191
  "@internationalized/date": "^3.12.4",
192
- "@internationalized/number": "^3.6.8",
192
+ "@internationalized/number": "^3.6.9",
193
193
  "classnames": "^2.5.1",
194
194
  "deepmerge": "^4.3.1",
195
195
  "dompurify": "^3.4.16",