braid-ui 1.0.110 → 1.0.112

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
@@ -124,6 +124,24 @@ interface MainLayoutProps {
124
124
  }
125
125
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
126
126
 
127
+ interface BusinessFilters$1 {
128
+ businessId: string;
129
+ name: string;
130
+ productName: string;
131
+ status: string;
132
+ createdDateStart?: Date;
133
+ createdDateEnd?: Date;
134
+ }
135
+ interface BusinessesViewProps {
136
+ filters: BusinessFilters$1;
137
+ isLoading?: boolean;
138
+ table: ReactNode;
139
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
140
+ onResetFilters: () => void;
141
+ onCreateBusiness: () => void;
142
+ }
143
+ declare const BusinessesView: ({ filters, isLoading, table, onFilterChange, onResetFilters, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
144
+
127
145
  interface TimelineEvent {
128
146
  id: string;
129
147
  action: string;
@@ -135,6 +153,21 @@ interface BusinessTimelineCardProps {
135
153
  }
136
154
  declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
137
155
 
156
+ declare const accountSchema: z.ZodObject<{
157
+ accountName: z.ZodOptional<z.ZodString>;
158
+ accountType: z.ZodOptional<z.ZodString>;
159
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>;
161
+ type AccountFormData = z.infer<typeof accountSchema>;
162
+
163
+ declare const externalAccountSchema$1: z.ZodObject<{
164
+ accountNumber: z.ZodOptional<z.ZodString>;
165
+ bankAccountType: z.ZodOptional<z.ZodString>;
166
+ bankName: z.ZodOptional<z.ZodString>;
167
+ routingNumber: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>;
169
+ type ExternalAccountFormData$1 = z.infer<typeof externalAccountSchema$1>;
170
+
138
171
  interface UBO {
139
172
  id: string;
140
173
  name: string;
@@ -226,13 +259,6 @@ declare const uboSchema: z.ZodObject<{
226
259
  }, z.core.$strip>;
227
260
  type UBOFormData = z.infer<typeof uboSchema>;
228
261
 
229
- declare const accountSchema: z.ZodObject<{
230
- accountName: z.ZodOptional<z.ZodString>;
231
- accountType: z.ZodOptional<z.ZodString>;
232
- fundingAccountNumber: z.ZodOptional<z.ZodString>;
233
- }, z.core.$strip>;
234
- type AccountFormData = z.infer<typeof accountSchema>;
235
-
236
262
  interface Business {
237
263
  id: string;
238
264
  businessName: string;
@@ -274,8 +300,9 @@ interface BusinessDetailViewProps {
274
300
  onNavigateToCounterparty: () => void;
275
301
  onCreateCounterparty?: () => void;
276
302
  onNavigateToTransactions?: () => void;
303
+ onAddExternalAccount?: (data: ExternalAccountFormData$1) => Promise<void | boolean> | void | boolean;
304
+ onDeleteExternalAccount?: (accountId: string) => Promise<void | boolean> | void | boolean;
277
305
  onAddAccount?: (data: AccountFormData) => Promise<void | boolean> | void | boolean;
278
- onDeleteAccount?: (accountId: string) => Promise<void | boolean> | void | boolean;
279
306
  onUBOClick: (customerId: string) => void;
280
307
  onAddUBO?: (data: UBOFormData) => Promise<void | boolean> | void | boolean;
281
308
  onRemoveUBO?: (uboId: string) => void;
@@ -293,7 +320,7 @@ interface BusinessDetailViewProps {
293
320
  revealedIdNumber?: string | null;
294
321
  onProductIdClick?: (productId: number) => void;
295
322
  }
296
- declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
323
+ declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
297
324
 
298
325
  interface BusinessFilters {
299
326
  businessId: string;
@@ -591,9 +618,10 @@ interface IndividualTimelineEvent {
591
618
  }
592
619
 
593
620
  declare const externalAccountSchema: z.ZodObject<{
594
- accountName: z.ZodOptional<z.ZodString>;
595
- accountType: z.ZodOptional<z.ZodString>;
596
- fundingAccountNumber: z.ZodOptional<z.ZodString>;
621
+ accountNumber: z.ZodOptional<z.ZodString>;
622
+ bankAccountType: z.ZodOptional<z.ZodString>;
623
+ bankName: z.ZodOptional<z.ZodString>;
624
+ routingNumber: z.ZodOptional<z.ZodString>;
597
625
  }, z.core.$strip>;
598
626
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
599
627
 
@@ -634,6 +662,7 @@ interface IndividualDetailViewProps {
634
662
  }>;
635
663
  onAddExternalAccount: (data: ExternalAccountFormData) => Promise<void | boolean> | void | boolean;
636
664
  onDeleteExternalAccount: (accountId: string) => Promise<void | boolean> | void | boolean;
665
+ onAddAccount?: (data: AccountFormData) => Promise<void | boolean> | void | boolean;
637
666
  documents: BusinessDocument[];
638
667
  onDocumentUpload: (file: File, metadata: {
639
668
  name: string;
@@ -643,7 +672,7 @@ interface IndividualDetailViewProps {
643
672
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
644
673
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
645
674
  }
646
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
675
+ 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;
647
676
 
648
677
  type CreateIndividualViewForm = {
649
678
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -2136,4 +2165,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
2136
2165
  */
2137
2166
  declare function downloadCSV(content: string, filename: string): void;
2138
2167
 
2139
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessTimelineCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, type SelectOption, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, type TimelineEvent, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
2168
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessTimelineCard, BusinessTypeBadge, Businesses, BusinessesView, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, type SelectOption, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, type TimelineEvent, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
package/dist/index.d.ts CHANGED
@@ -124,6 +124,24 @@ interface MainLayoutProps {
124
124
  }
125
125
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
126
126
 
127
+ interface BusinessFilters$1 {
128
+ businessId: string;
129
+ name: string;
130
+ productName: string;
131
+ status: string;
132
+ createdDateStart?: Date;
133
+ createdDateEnd?: Date;
134
+ }
135
+ interface BusinessesViewProps {
136
+ filters: BusinessFilters$1;
137
+ isLoading?: boolean;
138
+ table: ReactNode;
139
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
140
+ onResetFilters: () => void;
141
+ onCreateBusiness: () => void;
142
+ }
143
+ declare const BusinessesView: ({ filters, isLoading, table, onFilterChange, onResetFilters, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
144
+
127
145
  interface TimelineEvent {
128
146
  id: string;
129
147
  action: string;
@@ -135,6 +153,21 @@ interface BusinessTimelineCardProps {
135
153
  }
136
154
  declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
137
155
 
156
+ declare const accountSchema: z.ZodObject<{
157
+ accountName: z.ZodOptional<z.ZodString>;
158
+ accountType: z.ZodOptional<z.ZodString>;
159
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
160
+ }, z.core.$strip>;
161
+ type AccountFormData = z.infer<typeof accountSchema>;
162
+
163
+ declare const externalAccountSchema$1: z.ZodObject<{
164
+ accountNumber: z.ZodOptional<z.ZodString>;
165
+ bankAccountType: z.ZodOptional<z.ZodString>;
166
+ bankName: z.ZodOptional<z.ZodString>;
167
+ routingNumber: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>;
169
+ type ExternalAccountFormData$1 = z.infer<typeof externalAccountSchema$1>;
170
+
138
171
  interface UBO {
139
172
  id: string;
140
173
  name: string;
@@ -226,13 +259,6 @@ declare const uboSchema: z.ZodObject<{
226
259
  }, z.core.$strip>;
227
260
  type UBOFormData = z.infer<typeof uboSchema>;
228
261
 
229
- declare const accountSchema: z.ZodObject<{
230
- accountName: z.ZodOptional<z.ZodString>;
231
- accountType: z.ZodOptional<z.ZodString>;
232
- fundingAccountNumber: z.ZodOptional<z.ZodString>;
233
- }, z.core.$strip>;
234
- type AccountFormData = z.infer<typeof accountSchema>;
235
-
236
262
  interface Business {
237
263
  id: string;
238
264
  businessName: string;
@@ -274,8 +300,9 @@ interface BusinessDetailViewProps {
274
300
  onNavigateToCounterparty: () => void;
275
301
  onCreateCounterparty?: () => void;
276
302
  onNavigateToTransactions?: () => void;
303
+ onAddExternalAccount?: (data: ExternalAccountFormData$1) => Promise<void | boolean> | void | boolean;
304
+ onDeleteExternalAccount?: (accountId: string) => Promise<void | boolean> | void | boolean;
277
305
  onAddAccount?: (data: AccountFormData) => Promise<void | boolean> | void | boolean;
278
- onDeleteAccount?: (accountId: string) => Promise<void | boolean> | void | boolean;
279
306
  onUBOClick: (customerId: string) => void;
280
307
  onAddUBO?: (data: UBOFormData) => Promise<void | boolean> | void | boolean;
281
308
  onRemoveUBO?: (uboId: string) => void;
@@ -293,7 +320,7 @@ interface BusinessDetailViewProps {
293
320
  revealedIdNumber?: string | null;
294
321
  onProductIdClick?: (productId: number) => void;
295
322
  }
296
- declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddAccount, onDeleteAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
323
+ declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, timeline, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, onAddExternalAccount, onDeleteExternalAccount, onAddAccount, onUBOClick, onAddUBO, onRemoveUBO, onDocumentUpload, onDocumentDelete, renderDocumentViewer, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
297
324
 
298
325
  interface BusinessFilters {
299
326
  businessId: string;
@@ -591,9 +618,10 @@ interface IndividualTimelineEvent {
591
618
  }
592
619
 
593
620
  declare const externalAccountSchema: z.ZodObject<{
594
- accountName: z.ZodOptional<z.ZodString>;
595
- accountType: z.ZodOptional<z.ZodString>;
596
- fundingAccountNumber: z.ZodOptional<z.ZodString>;
621
+ accountNumber: z.ZodOptional<z.ZodString>;
622
+ bankAccountType: z.ZodOptional<z.ZodString>;
623
+ bankName: z.ZodOptional<z.ZodString>;
624
+ routingNumber: z.ZodOptional<z.ZodString>;
597
625
  }, z.core.$strip>;
598
626
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
599
627
 
@@ -634,6 +662,7 @@ interface IndividualDetailViewProps {
634
662
  }>;
635
663
  onAddExternalAccount: (data: ExternalAccountFormData) => Promise<void | boolean> | void | boolean;
636
664
  onDeleteExternalAccount: (accountId: string) => Promise<void | boolean> | void | boolean;
665
+ onAddAccount?: (data: AccountFormData) => Promise<void | boolean> | void | boolean;
637
666
  documents: BusinessDocument[];
638
667
  onDocumentUpload: (file: File, metadata: {
639
668
  name: string;
@@ -643,7 +672,7 @@ interface IndividualDetailViewProps {
643
672
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
644
673
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
645
674
  }
646
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, timeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
675
+ 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;
647
676
 
648
677
  type CreateIndividualViewForm = {
649
678
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -2136,4 +2165,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
2136
2165
  */
2137
2166
  declare function downloadCSV(content: string, filename: string): void;
2138
2167
 
2139
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessTimelineCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, type SelectOption, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, type TimelineEvent, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
2168
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, ADJUSTMENT_DIRECTION_OPTIONS, AccountCard, type AccountData, AccountDetail, AccountDetailView, type AccountFormValues, AccountTypeBadge, Accounts, AccountsView, AddressForm, type AdjustmentTypeOption, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, BusinessDetail, BusinessDetailView, BusinessFiltersSheet, BusinessProfileCard, BusinessTimelineCard, BusinessTypeBadge, Businesses, BusinessesView, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, CancelTransactionDialog, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartiesView, CounterpartyBasicInfo, type CounterpartyData, CounterpartyDetail, CounterpartyDetailView, CounterpartyProfileCard, CounterpartyRecordsCard, type CounterpartySearchResult, CounterpartyTypeBadge, type CounterpartyWithEntity, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateCounterpartyView, CreateFeeView, type CreateFeeViewProps, CreateIndividual, CreateIndividualView, CreateVelocityLimit, Dashboard, DashboardDemo, DataGrid, type DataGridItem, type DataGridSection, DataTable, type DataTableColumn, type DataTableProps, DetailPageLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, EditableFormCard, EditableInfoField, EnhancedInput, EnhancedSelect, EnhancedTextarea, EntityCard, FeeDetailView, Fees, FeesView, type FilterOptions, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, IndividualDetailView, Individuals, IndividualsView, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, type NewTransactionFormValues, NewTransactionView, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ReconExceptions, ReconUpload, ResolveAlertDialog, ResponsiveGrid, ReturnTransactionDialog, ScrollArea, ScrollBar, type SelectOption, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Stack, Statement, type StatementHeader, type StatementTransaction, StatementView, StatusBadge, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextareaProps, type TimelineEvent, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TransactionDetail, TransactionDetailView, type TransactionDetailViewProps, TransactionHistory, type TransactionHistoryFilters, TransactionHistoryFiltersSheet, TransactionHistoryView, TransactionTypeBadge, type TransactionTypeOption, UIKit, UIKitShowcase, type UseAlertDetailReturn, VelocityLimitDetail, VelocityLimits, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, newTransactionSchema, reducer, textareaVariants, toast, useAlertDetail, useCounterpartyEntity, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };