braid-ui 1.0.109 → 1.0.111

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
@@ -18,7 +18,7 @@ import { Toaster as Toaster$1 } from 'sonner';
18
18
  import * as TabsPrimitive from '@radix-ui/react-tabs';
19
19
  import * as ToastPrimitives from '@radix-ui/react-toast';
20
20
 
21
- interface TimelineEvent {
21
+ interface TimelineEvent$1 {
22
22
  id: string;
23
23
  timestamp: string;
24
24
  user: string;
@@ -53,7 +53,7 @@ interface Alert {
53
53
  description: string;
54
54
  contextId?: string;
55
55
  assignee?: string;
56
- timeline?: TimelineEvent[];
56
+ timeline?: TimelineEvent$1[];
57
57
  notes?: AlertNote[];
58
58
  documents?: AlertDocument[];
59
59
  contextData?: any;
@@ -87,7 +87,7 @@ interface AlertNotesProps {
87
87
  declare const AlertNotes: ({ alertId, notes }: AlertNotesProps) => react_jsx_runtime.JSX.Element;
88
88
 
89
89
  interface AlertTimelineProps {
90
- events: TimelineEvent[];
90
+ events: TimelineEvent$1[];
91
91
  }
92
92
  declare const AlertTimeline: ({ events }: AlertTimelineProps) => react_jsx_runtime.JSX.Element;
93
93
 
@@ -124,6 +124,54 @@ interface MainLayoutProps {
124
124
  }
125
125
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
126
126
 
127
+ interface BusinessListItem {
128
+ id: string;
129
+ businessName: string;
130
+ productName: string;
131
+ cipStatus: "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW";
132
+ status: "ACTIVE" | "INACTIVE" | "BLOCKED" | "PENDING_APPROVAL";
133
+ type: "Individual" | "Business";
134
+ subType: "UBO" | "Customer";
135
+ isDeveloperInitiated: boolean;
136
+ provider: string;
137
+ result: string;
138
+ created: string;
139
+ modified: string;
140
+ }
141
+
142
+ interface BusinessFilters$1 {
143
+ businessId: string;
144
+ name: string;
145
+ productName: string;
146
+ status: string;
147
+ createdDateStart?: Date;
148
+ createdDateEnd?: Date;
149
+ }
150
+ interface BusinessesViewProps {
151
+ filters: BusinessFilters$1;
152
+ sortedData: BusinessListItem[];
153
+ sortBy: string;
154
+ sortDirection: "asc" | "desc";
155
+ isLoading?: boolean;
156
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
157
+ onResetFilters: () => void;
158
+ onSort: (key: string) => void;
159
+ onRowClick: (business: BusinessListItem) => void;
160
+ onCreateBusiness: () => void;
161
+ }
162
+ declare const BusinessesView: ({ filters, sortedData, sortBy, sortDirection, isLoading, onFilterChange, onResetFilters, onSort, onRowClick, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
163
+
164
+ interface TimelineEvent {
165
+ id: string;
166
+ action: string;
167
+ timestamp: string;
168
+ }
169
+ interface BusinessTimelineCardProps {
170
+ timeline: TimelineEvent[];
171
+ className?: string;
172
+ }
173
+ declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
174
+
127
175
  interface UBO {
128
176
  id: string;
129
177
  name: string;
@@ -216,9 +264,9 @@ declare const uboSchema: z.ZodObject<{
216
264
  type UBOFormData = z.infer<typeof uboSchema>;
217
265
 
218
266
  declare const accountSchema: z.ZodObject<{
219
- routingNumber: z.ZodOptional<z.ZodString>;
220
- accountNumber: z.ZodOptional<z.ZodString>;
267
+ accountName: z.ZodOptional<z.ZodString>;
221
268
  accountType: z.ZodOptional<z.ZodString>;
269
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
222
270
  }, z.core.$strip>;
223
271
  type AccountFormData = z.infer<typeof accountSchema>;
224
272
 
@@ -248,6 +296,7 @@ interface BusinessDetailViewProps {
248
296
  latestOFAC?: OFACCheck;
249
297
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
250
298
  showTimeline?: boolean;
299
+ timeline?: TimelineEvent[];
251
300
  businessUBOs: UBO[];
252
301
  businessDocuments: BusinessDocument[];
253
302
  businessAccounts: BusinessAccount$1[];
@@ -281,7 +330,7 @@ interface BusinessDetailViewProps {
281
330
  revealedIdNumber?: string | null;
282
331
  onProductIdClick?: (productId: number) => void;
283
332
  }
284
- declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, 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;
333
+ 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;
285
334
 
286
335
  interface BusinessFilters {
287
336
  businessId: string;
@@ -543,13 +592,14 @@ interface IndividualsViewProps {
543
592
  value: string;
544
593
  label: string;
545
594
  }[];
595
+ isLoading?: boolean;
546
596
  onFilterChange: (field: keyof IndividualsFilters, value: string | Date | undefined) => void;
547
597
  onResetFilters: () => void;
548
598
  onApplyFilters: () => void;
549
599
  onCreateIndividual: () => void;
550
600
  table: React.ReactNode;
551
601
  }
552
- declare const IndividualsView: ({ title, filters, statusOptions, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
602
+ declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
553
603
 
554
604
  declare const individualProfileEditSchema: z.ZodObject<{
555
605
  firstName: z.ZodOptional<z.ZodString>;
@@ -571,11 +621,16 @@ declare const individualProfileEditSchema: z.ZodObject<{
571
621
  }, z.core.$strip>;
572
622
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
573
623
 
624
+ interface IndividualTimelineEvent {
625
+ id: string;
626
+ action: string;
627
+ timestamp: string;
628
+ }
629
+
574
630
  declare const externalAccountSchema: z.ZodObject<{
575
- routingNumber: z.ZodOptional<z.ZodString>;
576
- accountNumber: z.ZodOptional<z.ZodString>;
577
- bankName: z.ZodOptional<z.ZodString>;
578
- bankAccountType: z.ZodOptional<z.ZodString>;
631
+ accountName: z.ZodOptional<z.ZodString>;
632
+ accountType: z.ZodOptional<z.ZodString>;
633
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
579
634
  }, z.core.$strip>;
580
635
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
581
636
 
@@ -603,6 +658,7 @@ interface IndividualDetailViewProps {
603
658
  onCreateCounterparty: () => void;
604
659
  onNavigateToTransactions: () => void;
605
660
  showTimeline?: boolean;
661
+ timeline?: IndividualTimelineEvent[];
606
662
  profileIsEditing: boolean;
607
663
  onToggleProfileEdit: () => void;
608
664
  onProductIdClick?: (productId: string) => void;
@@ -624,7 +680,7 @@ interface IndividualDetailViewProps {
624
680
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
625
681
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
626
682
  }
627
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
683
+ 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;
628
684
 
629
685
  type CreateIndividualViewForm = {
630
686
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -771,13 +827,6 @@ interface BusinessProfileCardProps {
771
827
  }
772
828
  declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
773
829
 
774
- interface BusinessStatusCardProps {
775
- isEditing?: boolean;
776
- onToggleEdit?: () => void;
777
- className?: string;
778
- }
779
- declare const BusinessStatusCard: ({ isEditing, onToggleEdit, className }: BusinessStatusCardProps) => react_jsx_runtime.JSX.Element;
780
-
781
830
  interface ContactInfoCardProps {
782
831
  isEditing?: boolean;
783
832
  onToggleEdit?: () => void;
@@ -1285,7 +1334,7 @@ interface TransactionData {
1285
1334
  }
1286
1335
  interface TransactionDetailViewProps {
1287
1336
  transaction?: TransactionData | null;
1288
- timelineEvents: TimelineEvent[];
1337
+ timelineEvents: TimelineEvent$1[];
1289
1338
  isWireTransfer: boolean;
1290
1339
  isACHTransfer: boolean;
1291
1340
  showCancelButton: boolean;
@@ -2124,4 +2173,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
2124
2173
  */
2125
2174
  declare function downloadCSV(content: string, filename: string): void;
2126
2175
 
2127
- 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, BusinessStatusCard, 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, 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 };
2176
+ 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
@@ -18,7 +18,7 @@ import { Toaster as Toaster$1 } from 'sonner';
18
18
  import * as TabsPrimitive from '@radix-ui/react-tabs';
19
19
  import * as ToastPrimitives from '@radix-ui/react-toast';
20
20
 
21
- interface TimelineEvent {
21
+ interface TimelineEvent$1 {
22
22
  id: string;
23
23
  timestamp: string;
24
24
  user: string;
@@ -53,7 +53,7 @@ interface Alert {
53
53
  description: string;
54
54
  contextId?: string;
55
55
  assignee?: string;
56
- timeline?: TimelineEvent[];
56
+ timeline?: TimelineEvent$1[];
57
57
  notes?: AlertNote[];
58
58
  documents?: AlertDocument[];
59
59
  contextData?: any;
@@ -87,7 +87,7 @@ interface AlertNotesProps {
87
87
  declare const AlertNotes: ({ alertId, notes }: AlertNotesProps) => react_jsx_runtime.JSX.Element;
88
88
 
89
89
  interface AlertTimelineProps {
90
- events: TimelineEvent[];
90
+ events: TimelineEvent$1[];
91
91
  }
92
92
  declare const AlertTimeline: ({ events }: AlertTimelineProps) => react_jsx_runtime.JSX.Element;
93
93
 
@@ -124,6 +124,54 @@ interface MainLayoutProps {
124
124
  }
125
125
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
126
126
 
127
+ interface BusinessListItem {
128
+ id: string;
129
+ businessName: string;
130
+ productName: string;
131
+ cipStatus: "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW";
132
+ status: "ACTIVE" | "INACTIVE" | "BLOCKED" | "PENDING_APPROVAL";
133
+ type: "Individual" | "Business";
134
+ subType: "UBO" | "Customer";
135
+ isDeveloperInitiated: boolean;
136
+ provider: string;
137
+ result: string;
138
+ created: string;
139
+ modified: string;
140
+ }
141
+
142
+ interface BusinessFilters$1 {
143
+ businessId: string;
144
+ name: string;
145
+ productName: string;
146
+ status: string;
147
+ createdDateStart?: Date;
148
+ createdDateEnd?: Date;
149
+ }
150
+ interface BusinessesViewProps {
151
+ filters: BusinessFilters$1;
152
+ sortedData: BusinessListItem[];
153
+ sortBy: string;
154
+ sortDirection: "asc" | "desc";
155
+ isLoading?: boolean;
156
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
157
+ onResetFilters: () => void;
158
+ onSort: (key: string) => void;
159
+ onRowClick: (business: BusinessListItem) => void;
160
+ onCreateBusiness: () => void;
161
+ }
162
+ declare const BusinessesView: ({ filters, sortedData, sortBy, sortDirection, isLoading, onFilterChange, onResetFilters, onSort, onRowClick, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
163
+
164
+ interface TimelineEvent {
165
+ id: string;
166
+ action: string;
167
+ timestamp: string;
168
+ }
169
+ interface BusinessTimelineCardProps {
170
+ timeline: TimelineEvent[];
171
+ className?: string;
172
+ }
173
+ declare const BusinessTimelineCard: ({ timeline, className }: BusinessTimelineCardProps) => react_jsx_runtime.JSX.Element;
174
+
127
175
  interface UBO {
128
176
  id: string;
129
177
  name: string;
@@ -216,9 +264,9 @@ declare const uboSchema: z.ZodObject<{
216
264
  type UBOFormData = z.infer<typeof uboSchema>;
217
265
 
218
266
  declare const accountSchema: z.ZodObject<{
219
- routingNumber: z.ZodOptional<z.ZodString>;
220
- accountNumber: z.ZodOptional<z.ZodString>;
267
+ accountName: z.ZodOptional<z.ZodString>;
221
268
  accountType: z.ZodOptional<z.ZodString>;
269
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
222
270
  }, z.core.$strip>;
223
271
  type AccountFormData = z.infer<typeof accountSchema>;
224
272
 
@@ -248,6 +296,7 @@ interface BusinessDetailViewProps {
248
296
  latestOFAC?: OFACCheck;
249
297
  onNavigateToOFAC?: (ofacCheckId?: string) => void;
250
298
  showTimeline?: boolean;
299
+ timeline?: TimelineEvent[];
251
300
  businessUBOs: UBO[];
252
301
  businessDocuments: BusinessDocument[];
253
302
  businessAccounts: BusinessAccount$1[];
@@ -281,7 +330,7 @@ interface BusinessDetailViewProps {
281
330
  revealedIdNumber?: string | null;
282
331
  onProductIdClick?: (productId: number) => void;
283
332
  }
284
- declare const BusinessDetailView: ({ business, businessProfile, identityVerification, latestOFAC, onNavigateToOFAC, showTimeline, 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;
333
+ 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;
285
334
 
286
335
  interface BusinessFilters {
287
336
  businessId: string;
@@ -543,13 +592,14 @@ interface IndividualsViewProps {
543
592
  value: string;
544
593
  label: string;
545
594
  }[];
595
+ isLoading?: boolean;
546
596
  onFilterChange: (field: keyof IndividualsFilters, value: string | Date | undefined) => void;
547
597
  onResetFilters: () => void;
548
598
  onApplyFilters: () => void;
549
599
  onCreateIndividual: () => void;
550
600
  table: React.ReactNode;
551
601
  }
552
- declare const IndividualsView: ({ title, filters, statusOptions, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
602
+ declare const IndividualsView: ({ title, filters, statusOptions, isLoading, onFilterChange, onResetFilters, onApplyFilters, onCreateIndividual, table, }: IndividualsViewProps) => react_jsx_runtime.JSX.Element;
553
603
 
554
604
  declare const individualProfileEditSchema: z.ZodObject<{
555
605
  firstName: z.ZodOptional<z.ZodString>;
@@ -571,11 +621,16 @@ declare const individualProfileEditSchema: z.ZodObject<{
571
621
  }, z.core.$strip>;
572
622
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
573
623
 
624
+ interface IndividualTimelineEvent {
625
+ id: string;
626
+ action: string;
627
+ timestamp: string;
628
+ }
629
+
574
630
  declare const externalAccountSchema: z.ZodObject<{
575
- routingNumber: z.ZodOptional<z.ZodString>;
576
- accountNumber: z.ZodOptional<z.ZodString>;
577
- bankName: z.ZodOptional<z.ZodString>;
578
- bankAccountType: z.ZodOptional<z.ZodString>;
631
+ accountName: z.ZodOptional<z.ZodString>;
632
+ accountType: z.ZodOptional<z.ZodString>;
633
+ fundingAccountNumber: z.ZodOptional<z.ZodString>;
579
634
  }, z.core.$strip>;
580
635
  type ExternalAccountFormData = z.infer<typeof externalAccountSchema>;
581
636
 
@@ -603,6 +658,7 @@ interface IndividualDetailViewProps {
603
658
  onCreateCounterparty: () => void;
604
659
  onNavigateToTransactions: () => void;
605
660
  showTimeline?: boolean;
661
+ timeline?: IndividualTimelineEvent[];
606
662
  profileIsEditing: boolean;
607
663
  onToggleProfileEdit: () => void;
608
664
  onProductIdClick?: (productId: string) => void;
@@ -624,7 +680,7 @@ interface IndividualDetailViewProps {
624
680
  onDocumentDelete?: (documentId: string) => Promise<void | boolean> | void | boolean;
625
681
  renderDocumentViewer?: (document: BusinessDocument) => React.ReactNode;
626
682
  }
627
- declare const IndividualDetailView: ({ individual, profile, onProfileSave, status, statusOptions, onStatusChange, latestOFAC, onNavigateToOFAC, onNavigateToAccounts, onNavigateToCounterparty, onCreateCounterparty, onNavigateToTransactions, showTimeline, profileIsEditing, onToggleProfileEdit, onProductIdClick, externalAccounts, onAddExternalAccount, onDeleteExternalAccount, documents, onDocumentUpload, onDocumentDelete, renderDocumentViewer, }: IndividualDetailViewProps) => react_jsx_runtime.JSX.Element;
683
+ 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;
628
684
 
629
685
  type CreateIndividualViewForm = {
630
686
  handleSubmit: (onValid: any) => (e?: any) => void;
@@ -771,13 +827,6 @@ interface BusinessProfileCardProps {
771
827
  }
772
828
  declare const BusinessProfileCard: ({ data, businessId, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
773
829
 
774
- interface BusinessStatusCardProps {
775
- isEditing?: boolean;
776
- onToggleEdit?: () => void;
777
- className?: string;
778
- }
779
- declare const BusinessStatusCard: ({ isEditing, onToggleEdit, className }: BusinessStatusCardProps) => react_jsx_runtime.JSX.Element;
780
-
781
830
  interface ContactInfoCardProps {
782
831
  isEditing?: boolean;
783
832
  onToggleEdit?: () => void;
@@ -1285,7 +1334,7 @@ interface TransactionData {
1285
1334
  }
1286
1335
  interface TransactionDetailViewProps {
1287
1336
  transaction?: TransactionData | null;
1288
- timelineEvents: TimelineEvent[];
1337
+ timelineEvents: TimelineEvent$1[];
1289
1338
  isWireTransfer: boolean;
1290
1339
  isACHTransfer: boolean;
1291
1340
  showCancelButton: boolean;
@@ -2124,4 +2173,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
2124
2173
  */
2125
2174
  declare function downloadCSV(content: string, filename: string): void;
2126
2175
 
2127
- 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, BusinessStatusCard, 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, 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 };
2176
+ 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 };