braid-ui 1.0.115 → 1.0.117

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.cts CHANGED
@@ -274,7 +274,7 @@ interface BusinessAccount$1 {
274
274
  bankName: string;
275
275
  bankAccountType: string;
276
276
  }
277
- interface SelectOption$4 {
277
+ interface SelectOption$5 {
278
278
  value: string;
279
279
  label: string;
280
280
  }
@@ -291,8 +291,8 @@ interface BusinessDetailViewProps {
291
291
  businessAccounts: BusinessAccount$1[];
292
292
  currentStatus: string;
293
293
  isEditingProfile: boolean;
294
- statusOptions: SelectOption$4[];
295
- businessEntityTypeOptions: SelectOption$4[];
294
+ statusOptions: SelectOption$5[];
295
+ businessEntityTypeOptions: SelectOption$5[];
296
296
  onStatusChange: (newStatus: string) => void;
297
297
  onProfileDataChange: (profile: BusinessProfile) => void;
298
298
  onToggleProfileEdit: () => void;
@@ -560,7 +560,7 @@ interface AccountFormValues {
560
560
  fundingAccountNumber?: string;
561
561
  sweepAccountNumber?: string;
562
562
  }
563
- interface SelectOption$3 {
563
+ interface SelectOption$4 {
564
564
  value: string;
565
565
  label: string;
566
566
  }
@@ -568,8 +568,8 @@ interface AccountDetailViewProps {
568
568
  account: BusinessAccount;
569
569
  currentStatus: string;
570
570
  onStatusChange: (status: string) => void;
571
- statusOptions: SelectOption$3[];
572
- canAcceptSweepOptions: SelectOption$3[];
571
+ statusOptions: SelectOption$4[];
572
+ canAcceptSweepOptions: SelectOption$4[];
573
573
  form: UseFormReturn<AccountFormValues> & {
574
574
  isEditing: boolean;
575
575
  handleToggleEdit: () => void;
@@ -679,7 +679,7 @@ declare const externalAccountSchema: z.ZodObject<{
679
679
  }, z.core.$strip>;
680
680
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
681
681
 
682
- interface SelectOption$2 {
682
+ interface SelectOption$3 {
683
683
  value: string;
684
684
  label: string;
685
685
  }
@@ -690,11 +690,13 @@ interface IndividualDetailViewProps {
690
690
  lastName: string;
691
691
  cipStatus: any;
692
692
  subType?: "UBO" | "Customer";
693
+ associatedBusinessId?: string;
694
+ associatedBusinessName?: string;
693
695
  };
694
696
  profile: IndividualProfileEdit;
695
697
  onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
696
698
  status: string;
697
- statusOptions: SelectOption$2[];
699
+ statusOptions: SelectOption$3[];
698
700
  onStatusChange: (newStatus: string) => void;
699
701
  latestOFAC?: OFACCheck;
700
702
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
@@ -702,6 +704,7 @@ interface IndividualDetailViewProps {
702
704
  onNavigateToCounterparty: () => void;
703
705
  onCreateCounterparty: () => void;
704
706
  onNavigateToTransactions: () => void;
707
+ onNavigateToBusiness?: (businessId: string) => void;
705
708
  showTimeline?: boolean;
706
709
  timeline?: IndividualTimelineEvent[];
707
710
  profileIsEditing: boolean;
@@ -726,7 +729,7 @@ interface IndividualDetailViewProps {
726
729
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
727
730
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
728
731
  }
729
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
732
+ declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
730
733
 
731
734
  type CreateIndividualViewForm = {
732
735
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -814,7 +817,7 @@ declare const BeneficiaryCard: ({ isEditing, onToggleEdit, className, hideAction
814
817
 
815
818
  declare const BeneficiaryDomesticWire: () => react_jsx_runtime.JSX.Element;
816
819
 
817
- interface SelectOption$1 {
820
+ interface SelectOption$2 {
818
821
  value: string;
819
822
  label: string;
820
823
  }
@@ -833,7 +836,7 @@ interface BusinessProfileCardProps {
833
836
  onToggleIdNumberVisibility?: () => void;
834
837
  isLoadingIdNumber?: boolean;
835
838
  revealedIdNumber?: string | null;
836
- businessEntityTypeOptions?: SelectOption$1[];
839
+ businessEntityTypeOptions?: SelectOption$2[];
837
840
  }
838
841
  declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
839
842
 
@@ -1040,6 +1043,10 @@ interface FeeFilters {
1040
1043
  transactionTypes: string[];
1041
1044
  }
1042
1045
 
1046
+ interface SelectOption$1 {
1047
+ value: string;
1048
+ label: string;
1049
+ }
1043
1050
  interface FeesViewProps {
1044
1051
  filters: FeeFilters;
1045
1052
  onFilterChange: (field: keyof FeeFilters, value: string | string[]) => void;
@@ -1047,8 +1054,10 @@ interface FeesViewProps {
1047
1054
  onApplyFilters: () => void;
1048
1055
  onCreateFee: () => void;
1049
1056
  table: React.ReactNode;
1057
+ productOptions: SelectOption$1[];
1058
+ programOptions: SelectOption$1[];
1050
1059
  }
1051
- declare const FeesView: ({ filters, onFilterChange, onResetFilters, onApplyFilters, onCreateFee, table, }: FeesViewProps) => react_jsx_runtime.JSX.Element;
1060
+ declare const FeesView: ({ filters, onFilterChange, onResetFilters, onApplyFilters, onCreateFee, table, productOptions, programOptions, }: FeesViewProps) => react_jsx_runtime.JSX.Element;
1052
1061
 
1053
1062
  interface StatementHeader {
1054
1063
  account?: string;
package/dist/index.d.ts CHANGED
@@ -274,7 +274,7 @@ interface BusinessAccount$1 {
274
274
  bankName: string;
275
275
  bankAccountType: string;
276
276
  }
277
- interface SelectOption$4 {
277
+ interface SelectOption$5 {
278
278
  value: string;
279
279
  label: string;
280
280
  }
@@ -291,8 +291,8 @@ interface BusinessDetailViewProps {
291
291
  businessAccounts: BusinessAccount$1[];
292
292
  currentStatus: string;
293
293
  isEditingProfile: boolean;
294
- statusOptions: SelectOption$4[];
295
- businessEntityTypeOptions: SelectOption$4[];
294
+ statusOptions: SelectOption$5[];
295
+ businessEntityTypeOptions: SelectOption$5[];
296
296
  onStatusChange: (newStatus: string) => void;
297
297
  onProfileDataChange: (profile: BusinessProfile) => void;
298
298
  onToggleProfileEdit: () => void;
@@ -560,7 +560,7 @@ interface AccountFormValues {
560
560
  fundingAccountNumber?: string;
561
561
  sweepAccountNumber?: string;
562
562
  }
563
- interface SelectOption$3 {
563
+ interface SelectOption$4 {
564
564
  value: string;
565
565
  label: string;
566
566
  }
@@ -568,8 +568,8 @@ interface AccountDetailViewProps {
568
568
  account: BusinessAccount;
569
569
  currentStatus: string;
570
570
  onStatusChange: (status: string) => void;
571
- statusOptions: SelectOption$3[];
572
- canAcceptSweepOptions: SelectOption$3[];
571
+ statusOptions: SelectOption$4[];
572
+ canAcceptSweepOptions: SelectOption$4[];
573
573
  form: UseFormReturn<AccountFormValues> & {
574
574
  isEditing: boolean;
575
575
  handleToggleEdit: () => void;
@@ -679,7 +679,7 @@ declare const externalAccountSchema: z.ZodObject<{
679
679
  }, z.core.$strip>;
680
680
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
681
681
 
682
- interface SelectOption$2 {
682
+ interface SelectOption$3 {
683
683
  value: string;
684
684
  label: string;
685
685
  }
@@ -690,11 +690,13 @@ interface IndividualDetailViewProps {
690
690
  lastName: string;
691
691
  cipStatus: any;
692
692
  subType?: "UBO" | "Customer";
693
+ associatedBusinessId?: string;
694
+ associatedBusinessName?: string;
693
695
  };
694
696
  profile: IndividualProfileEdit;
695
697
  onProfileSave?: (data: IndividualProfileEdit) => Promise<void> | void;
696
698
  status: string;
697
- statusOptions: SelectOption$2[];
699
+ statusOptions: SelectOption$3[];
698
700
  onStatusChange: (newStatus: string) => void;
699
701
  latestOFAC?: OFACCheck;
700
702
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
@@ -702,6 +704,7 @@ interface IndividualDetailViewProps {
702
704
  onNavigateToCounterparty: () => void;
703
705
  onCreateCounterparty: () => void;
704
706
  onNavigateToTransactions: () => void;
707
+ onNavigateToBusiness?: (businessId: string) => void;
705
708
  showTimeline?: boolean;
706
709
  timeline?: IndividualTimelineEvent[];
707
710
  profileIsEditing: boolean;
@@ -726,7 +729,7 @@ interface IndividualDetailViewProps {
726
729
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
727
730
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
728
731
  }
729
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
732
+ declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onNavigateToBusiness, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
730
733
 
731
734
  type CreateIndividualViewForm = {
732
735
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -814,7 +817,7 @@ declare const BeneficiaryCard: ({ isEditing, onToggleEdit, className, hideAction
814
817
 
815
818
  declare const BeneficiaryDomesticWire: () => react_jsx_runtime.JSX.Element;
816
819
 
817
- interface SelectOption$1 {
820
+ interface SelectOption$2 {
818
821
  value: string;
819
822
  label: string;
820
823
  }
@@ -833,7 +836,7 @@ interface BusinessProfileCardProps {
833
836
  onToggleIdNumberVisibility?: () => void;
834
837
  isLoadingIdNumber?: boolean;
835
838
  revealedIdNumber?: string | null;
836
- businessEntityTypeOptions?: SelectOption$1[];
839
+ businessEntityTypeOptions?: SelectOption$2[];
837
840
  }
838
841
  declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
839
842
 
@@ -1040,6 +1043,10 @@ interface FeeFilters {
1040
1043
  transactionTypes: string[];
1041
1044
  }
1042
1045
 
1046
+ interface SelectOption$1 {
1047
+ value: string;
1048
+ label: string;
1049
+ }
1043
1050
  interface FeesViewProps {
1044
1051
  filters: FeeFilters;
1045
1052
  onFilterChange: (field: keyof FeeFilters, value: string | string[]) => void;
@@ -1047,8 +1054,10 @@ interface FeesViewProps {
1047
1054
  onApplyFilters: () => void;
1048
1055
  onCreateFee: () => void;
1049
1056
  table: React.ReactNode;
1057
+ productOptions: SelectOption$1[];
1058
+ programOptions: SelectOption$1[];
1050
1059
  }
1051
- declare const FeesView: ({ filters, onFilterChange, onResetFilters, onApplyFilters, onCreateFee, table, }: FeesViewProps) => react_jsx_runtime.JSX.Element;
1060
+ declare const FeesView: ({ filters, onFilterChange, onResetFilters, onApplyFilters, onCreateFee, table, productOptions, programOptions, }: FeesViewProps) => react_jsx_runtime.JSX.Element;
1052
1061
 
1053
1062
  interface StatementHeader {
1054
1063
  account?: string;