@mindbill/react 0.77.35 → 0.77.37

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/dist/index.d.ts CHANGED
@@ -1107,6 +1107,11 @@ type RfaDashboardProps = OrganizationClientOptions & TreatmentDraftAppearance &
1107
1107
  /** Host in-place editors for the selected practice or location (official form). */
1108
1108
  onEditPractice?: (practiceId: string) => void;
1109
1109
  onEditLocation?: (locationId: string | null, practiceId: string) => void;
1110
+ /** Practices or locations the host just saved; shown at once, ahead of the next profile reload. Pass a new object per save. */
1111
+ savedProfileChanges?: {
1112
+ billingProviders?: OrganizationProfileData["billingProviders"];
1113
+ locations?: OrganizationProfileData["locations"];
1114
+ };
1110
1115
  managePracticeHref?: string;
1111
1116
  manageLocationsHref?: string;
1112
1117
  /** Opens the actual saved packet. Creation first saves and attaches files, then selects its detail view. */
@@ -2191,11 +2196,13 @@ type RfaAuthorizationDestinationProps = {
2191
2196
  onChange: (destination: RfaAuthorizationDestinationOption | null) => void;
2192
2197
  /** Render as a plain field group inside a host form section, without its own frame or legend. */
2193
2198
  compact?: boolean;
2199
+ /** Choose the directory's destination for the user when it publishes exactly one. */
2200
+ autoSelectSingle?: boolean;
2194
2201
  /** Compact mode: offer one "enter manually" choice that hands entry to the host's own fields. */
2195
2202
  onManualEntry?: () => void;
2196
2203
  };
2197
2204
  /** Choose a destination without sending an RFA or treating email as fax. */
2198
- declare function RfaAuthorizationDestination({ contextKey, directory, savedContact, loading, error, disabled, onChange, onSelectionStart, compact, onManualEntry }: RfaAuthorizationDestinationProps): ReactElement;
2205
+ declare function RfaAuthorizationDestination({ contextKey, directory, savedContact, loading, error, disabled, onChange, onSelectionStart, compact, onManualEntry, autoSelectSingle }: RfaAuthorizationDestinationProps): ReactElement;
2199
2206
 
2200
2207
  type RfaLifecycleControlsProps = OrganizationClientOptions & TreatmentDraftAppearance & {
2201
2208
  rfa: RfaRecord;