braid-ui 1.0.23 → 1.0.25

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
@@ -2,13 +2,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { z } from 'zod';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode } from 'react';
5
+ import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
5
6
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
6
7
  import { VariantProps } from 'class-variance-authority';
7
8
  import { DayPicker } from 'react-day-picker';
8
9
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
9
10
  import * as DialogPrimitive from '@radix-ui/react-dialog';
10
11
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
11
- import { FieldValues, FieldPath, UseFormReturn, UseFormProps, Path } from 'react-hook-form';
12
12
  import * as LabelPrimitive from '@radix-ui/react-label';
13
13
  import * as PopoverPrimitive from '@radix-ui/react-popover';
14
14
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
@@ -143,6 +143,138 @@ interface MainLayoutProps {
143
143
  }
144
144
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
145
145
 
146
+ interface BusinessFilters$1 {
147
+ name: string;
148
+ productName: string;
149
+ status: string;
150
+ createdDateStart?: Date;
151
+ createdDateEnd?: Date;
152
+ }
153
+ interface BusinessFiltersSheetProps {
154
+ filters: BusinessFilters$1;
155
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
156
+ onResetFilters: () => void;
157
+ }
158
+ declare const BusinessFiltersSheet: ({ filters, onFilterChange, onResetFilters }: BusinessFiltersSheetProps) => react_jsx_runtime.JSX.Element;
159
+
160
+ declare const businessProfileSchema: z.ZodObject<{
161
+ legalName: z.ZodString;
162
+ dbaName: z.ZodOptional<z.ZodString>;
163
+ businessType: z.ZodString;
164
+ taxId: z.ZodString;
165
+ formationDate: z.ZodOptional<z.ZodString>;
166
+ idType: z.ZodOptional<z.ZodString>;
167
+ incorporationState: z.ZodOptional<z.ZodString>;
168
+ website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
169
+ email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
170
+ mobilePhone: z.ZodOptional<z.ZodString>;
171
+ mcc: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
172
+ naics: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
173
+ achCompanyId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
174
+ achCompanyName: z.ZodOptional<z.ZodString>;
175
+ externalId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
176
+ productId: z.ZodOptional<z.ZodNumber>;
177
+ contactFirstName: z.ZodOptional<z.ZodString>;
178
+ contactLastName: z.ZodOptional<z.ZodString>;
179
+ contactEmail: z.ZodOptional<z.ZodString>;
180
+ contactPhone: z.ZodOptional<z.ZodString>;
181
+ address: z.ZodObject<{
182
+ streetAddress: z.ZodString;
183
+ apartment: z.ZodOptional<z.ZodString>;
184
+ city: z.ZodString;
185
+ state: z.ZodString;
186
+ postalCode: z.ZodString;
187
+ country: z.ZodString;
188
+ addressType: z.ZodOptional<z.ZodString>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ state?: string;
191
+ country?: string;
192
+ streetAddress?: string;
193
+ apartment?: string;
194
+ city?: string;
195
+ postalCode?: string;
196
+ addressType?: string;
197
+ }, {
198
+ state?: string;
199
+ country?: string;
200
+ streetAddress?: string;
201
+ apartment?: string;
202
+ city?: string;
203
+ postalCode?: string;
204
+ addressType?: string;
205
+ }>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ email?: string;
208
+ address?: {
209
+ state?: string;
210
+ country?: string;
211
+ streetAddress?: string;
212
+ apartment?: string;
213
+ city?: string;
214
+ postalCode?: string;
215
+ addressType?: string;
216
+ };
217
+ legalName?: string;
218
+ dbaName?: string;
219
+ businessType?: string;
220
+ taxId?: string;
221
+ website?: string;
222
+ formationDate?: string;
223
+ idType?: string;
224
+ incorporationState?: string;
225
+ mobilePhone?: string;
226
+ mcc?: string;
227
+ naics?: string;
228
+ achCompanyId?: string;
229
+ achCompanyName?: string;
230
+ externalId?: string;
231
+ productId?: number;
232
+ contactFirstName?: string;
233
+ contactLastName?: string;
234
+ contactEmail?: string;
235
+ contactPhone?: string;
236
+ }, {
237
+ email?: string;
238
+ address?: {
239
+ state?: string;
240
+ country?: string;
241
+ streetAddress?: string;
242
+ apartment?: string;
243
+ city?: string;
244
+ postalCode?: string;
245
+ addressType?: string;
246
+ };
247
+ legalName?: string;
248
+ dbaName?: string;
249
+ businessType?: string;
250
+ taxId?: string;
251
+ website?: string;
252
+ formationDate?: string;
253
+ idType?: string;
254
+ incorporationState?: string;
255
+ mobilePhone?: string;
256
+ mcc?: string;
257
+ naics?: string;
258
+ achCompanyId?: string;
259
+ achCompanyName?: string;
260
+ externalId?: string;
261
+ productId?: number;
262
+ contactFirstName?: string;
263
+ contactLastName?: string;
264
+ contactEmail?: string;
265
+ contactPhone?: string;
266
+ }>;
267
+ type BusinessProfile = z.infer<typeof businessProfileSchema>;
268
+
269
+ interface CreateBusinessViewProps {
270
+ form: UseFormReturn<BusinessProfile>;
271
+ businessType: string;
272
+ onBusinessTypeChange: (value: string) => void;
273
+ onSubmit: (data: BusinessProfile) => void;
274
+ onCancel: () => void;
275
+ }
276
+ declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
277
+
146
278
  declare const achTransferSchema: z.ZodObject<{
147
279
  basicInfo: z.ZodObject<{
148
280
  counterpartyName: z.ZodString;
@@ -341,8 +473,8 @@ declare const intermediaryFISchema: z.ZodObject<{
341
473
  postalCode?: string;
342
474
  addressType?: string;
343
475
  };
344
- accountNumber?: string;
345
476
  idType?: string;
477
+ accountNumber?: string;
346
478
  idNumber?: string;
347
479
  }, {
348
480
  name?: string;
@@ -355,121 +487,12 @@ declare const intermediaryFISchema: z.ZodObject<{
355
487
  postalCode?: string;
356
488
  addressType?: string;
357
489
  };
358
- accountNumber?: string;
359
490
  idType?: string;
491
+ accountNumber?: string;
360
492
  idNumber?: string;
361
493
  }>;
362
494
  type IntermediaryFI$1 = z.infer<typeof intermediaryFISchema>;
363
495
 
364
- declare const businessProfileSchema: z.ZodObject<{
365
- legalName: z.ZodString;
366
- dbaName: z.ZodOptional<z.ZodString>;
367
- businessType: z.ZodString;
368
- taxId: z.ZodString;
369
- formationDate: z.ZodOptional<z.ZodString>;
370
- idType: z.ZodOptional<z.ZodString>;
371
- incorporationState: z.ZodOptional<z.ZodString>;
372
- website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
373
- email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
374
- mobilePhone: z.ZodOptional<z.ZodString>;
375
- mcc: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
376
- naics: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
377
- achCompanyId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
378
- achCompanyName: z.ZodOptional<z.ZodString>;
379
- externalId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
380
- productId: z.ZodOptional<z.ZodNumber>;
381
- contactFirstName: z.ZodOptional<z.ZodString>;
382
- contactLastName: z.ZodOptional<z.ZodString>;
383
- contactEmail: z.ZodOptional<z.ZodString>;
384
- contactPhone: z.ZodOptional<z.ZodString>;
385
- address: z.ZodObject<{
386
- streetAddress: z.ZodString;
387
- apartment: z.ZodOptional<z.ZodString>;
388
- city: z.ZodString;
389
- state: z.ZodString;
390
- postalCode: z.ZodString;
391
- country: z.ZodString;
392
- addressType: z.ZodOptional<z.ZodString>;
393
- }, "strip", z.ZodTypeAny, {
394
- state?: string;
395
- country?: string;
396
- streetAddress?: string;
397
- apartment?: string;
398
- city?: string;
399
- postalCode?: string;
400
- addressType?: string;
401
- }, {
402
- state?: string;
403
- country?: string;
404
- streetAddress?: string;
405
- apartment?: string;
406
- city?: string;
407
- postalCode?: string;
408
- addressType?: string;
409
- }>;
410
- }, "strip", z.ZodTypeAny, {
411
- email?: string;
412
- address?: {
413
- state?: string;
414
- country?: string;
415
- streetAddress?: string;
416
- apartment?: string;
417
- city?: string;
418
- postalCode?: string;
419
- addressType?: string;
420
- };
421
- legalName?: string;
422
- dbaName?: string;
423
- businessType?: string;
424
- taxId?: string;
425
- website?: string;
426
- idType?: string;
427
- formationDate?: string;
428
- incorporationState?: string;
429
- mobilePhone?: string;
430
- mcc?: string;
431
- naics?: string;
432
- achCompanyId?: string;
433
- achCompanyName?: string;
434
- externalId?: string;
435
- productId?: number;
436
- contactFirstName?: string;
437
- contactLastName?: string;
438
- contactEmail?: string;
439
- contactPhone?: string;
440
- }, {
441
- email?: string;
442
- address?: {
443
- state?: string;
444
- country?: string;
445
- streetAddress?: string;
446
- apartment?: string;
447
- city?: string;
448
- postalCode?: string;
449
- addressType?: string;
450
- };
451
- legalName?: string;
452
- dbaName?: string;
453
- businessType?: string;
454
- taxId?: string;
455
- website?: string;
456
- idType?: string;
457
- formationDate?: string;
458
- incorporationState?: string;
459
- mobilePhone?: string;
460
- mcc?: string;
461
- naics?: string;
462
- achCompanyId?: string;
463
- achCompanyName?: string;
464
- externalId?: string;
465
- productId?: number;
466
- contactFirstName?: string;
467
- contactLastName?: string;
468
- contactEmail?: string;
469
- contactPhone?: string;
470
- }>;
471
- type BusinessProfile = z.infer<typeof businessProfileSchema>;
472
-
473
496
  interface BankAddressCardProps {
474
497
  data?: Partial<Address>;
475
498
  onDataChange?: (data: Address) => void;
@@ -1518,4 +1541,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
1518
1541
  */
1519
1542
  declare function downloadCSV(content: string, filename: string): void;
1520
1543
 
1521
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, type BusinessFilters, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, CreateIndividual, 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, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, 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, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useBusinessFilters, useBusinessSort, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
1544
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, type BusinessFilters, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, 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, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, 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, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useBusinessFilters, useBusinessSort, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
package/dist/index.d.ts CHANGED
@@ -2,13 +2,13 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { z } from 'zod';
3
3
  import * as React$1 from 'react';
4
4
  import React__default, { ReactNode } from 'react';
5
+ import { UseFormReturn, FieldValues, FieldPath, UseFormProps, Path } from 'react-hook-form';
5
6
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
6
7
  import { VariantProps } from 'class-variance-authority';
7
8
  import { DayPicker } from 'react-day-picker';
8
9
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
9
10
  import * as DialogPrimitive from '@radix-ui/react-dialog';
10
11
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
11
- import { FieldValues, FieldPath, UseFormReturn, UseFormProps, Path } from 'react-hook-form';
12
12
  import * as LabelPrimitive from '@radix-ui/react-label';
13
13
  import * as PopoverPrimitive from '@radix-ui/react-popover';
14
14
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
@@ -143,6 +143,138 @@ interface MainLayoutProps {
143
143
  }
144
144
  declare const MainLayout: ({ children }: MainLayoutProps) => react_jsx_runtime.JSX.Element;
145
145
 
146
+ interface BusinessFilters$1 {
147
+ name: string;
148
+ productName: string;
149
+ status: string;
150
+ createdDateStart?: Date;
151
+ createdDateEnd?: Date;
152
+ }
153
+ interface BusinessFiltersSheetProps {
154
+ filters: BusinessFilters$1;
155
+ onFilterChange: (field: keyof BusinessFilters$1, value: string | Date | undefined) => void;
156
+ onResetFilters: () => void;
157
+ }
158
+ declare const BusinessFiltersSheet: ({ filters, onFilterChange, onResetFilters }: BusinessFiltersSheetProps) => react_jsx_runtime.JSX.Element;
159
+
160
+ declare const businessProfileSchema: z.ZodObject<{
161
+ legalName: z.ZodString;
162
+ dbaName: z.ZodOptional<z.ZodString>;
163
+ businessType: z.ZodString;
164
+ taxId: z.ZodString;
165
+ formationDate: z.ZodOptional<z.ZodString>;
166
+ idType: z.ZodOptional<z.ZodString>;
167
+ incorporationState: z.ZodOptional<z.ZodString>;
168
+ website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
169
+ email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
170
+ mobilePhone: z.ZodOptional<z.ZodString>;
171
+ mcc: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
172
+ naics: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
173
+ achCompanyId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
174
+ achCompanyName: z.ZodOptional<z.ZodString>;
175
+ externalId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
176
+ productId: z.ZodOptional<z.ZodNumber>;
177
+ contactFirstName: z.ZodOptional<z.ZodString>;
178
+ contactLastName: z.ZodOptional<z.ZodString>;
179
+ contactEmail: z.ZodOptional<z.ZodString>;
180
+ contactPhone: z.ZodOptional<z.ZodString>;
181
+ address: z.ZodObject<{
182
+ streetAddress: z.ZodString;
183
+ apartment: z.ZodOptional<z.ZodString>;
184
+ city: z.ZodString;
185
+ state: z.ZodString;
186
+ postalCode: z.ZodString;
187
+ country: z.ZodString;
188
+ addressType: z.ZodOptional<z.ZodString>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ state?: string;
191
+ country?: string;
192
+ streetAddress?: string;
193
+ apartment?: string;
194
+ city?: string;
195
+ postalCode?: string;
196
+ addressType?: string;
197
+ }, {
198
+ state?: string;
199
+ country?: string;
200
+ streetAddress?: string;
201
+ apartment?: string;
202
+ city?: string;
203
+ postalCode?: string;
204
+ addressType?: string;
205
+ }>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ email?: string;
208
+ address?: {
209
+ state?: string;
210
+ country?: string;
211
+ streetAddress?: string;
212
+ apartment?: string;
213
+ city?: string;
214
+ postalCode?: string;
215
+ addressType?: string;
216
+ };
217
+ legalName?: string;
218
+ dbaName?: string;
219
+ businessType?: string;
220
+ taxId?: string;
221
+ website?: string;
222
+ formationDate?: string;
223
+ idType?: string;
224
+ incorporationState?: string;
225
+ mobilePhone?: string;
226
+ mcc?: string;
227
+ naics?: string;
228
+ achCompanyId?: string;
229
+ achCompanyName?: string;
230
+ externalId?: string;
231
+ productId?: number;
232
+ contactFirstName?: string;
233
+ contactLastName?: string;
234
+ contactEmail?: string;
235
+ contactPhone?: string;
236
+ }, {
237
+ email?: string;
238
+ address?: {
239
+ state?: string;
240
+ country?: string;
241
+ streetAddress?: string;
242
+ apartment?: string;
243
+ city?: string;
244
+ postalCode?: string;
245
+ addressType?: string;
246
+ };
247
+ legalName?: string;
248
+ dbaName?: string;
249
+ businessType?: string;
250
+ taxId?: string;
251
+ website?: string;
252
+ formationDate?: string;
253
+ idType?: string;
254
+ incorporationState?: string;
255
+ mobilePhone?: string;
256
+ mcc?: string;
257
+ naics?: string;
258
+ achCompanyId?: string;
259
+ achCompanyName?: string;
260
+ externalId?: string;
261
+ productId?: number;
262
+ contactFirstName?: string;
263
+ contactLastName?: string;
264
+ contactEmail?: string;
265
+ contactPhone?: string;
266
+ }>;
267
+ type BusinessProfile = z.infer<typeof businessProfileSchema>;
268
+
269
+ interface CreateBusinessViewProps {
270
+ form: UseFormReturn<BusinessProfile>;
271
+ businessType: string;
272
+ onBusinessTypeChange: (value: string) => void;
273
+ onSubmit: (data: BusinessProfile) => void;
274
+ onCancel: () => void;
275
+ }
276
+ declare const CreateBusinessView: ({ form, businessType, onBusinessTypeChange, onSubmit, onCancel }: CreateBusinessViewProps) => react_jsx_runtime.JSX.Element;
277
+
146
278
  declare const achTransferSchema: z.ZodObject<{
147
279
  basicInfo: z.ZodObject<{
148
280
  counterpartyName: z.ZodString;
@@ -341,8 +473,8 @@ declare const intermediaryFISchema: z.ZodObject<{
341
473
  postalCode?: string;
342
474
  addressType?: string;
343
475
  };
344
- accountNumber?: string;
345
476
  idType?: string;
477
+ accountNumber?: string;
346
478
  idNumber?: string;
347
479
  }, {
348
480
  name?: string;
@@ -355,121 +487,12 @@ declare const intermediaryFISchema: z.ZodObject<{
355
487
  postalCode?: string;
356
488
  addressType?: string;
357
489
  };
358
- accountNumber?: string;
359
490
  idType?: string;
491
+ accountNumber?: string;
360
492
  idNumber?: string;
361
493
  }>;
362
494
  type IntermediaryFI$1 = z.infer<typeof intermediaryFISchema>;
363
495
 
364
- declare const businessProfileSchema: z.ZodObject<{
365
- legalName: z.ZodString;
366
- dbaName: z.ZodOptional<z.ZodString>;
367
- businessType: z.ZodString;
368
- taxId: z.ZodString;
369
- formationDate: z.ZodOptional<z.ZodString>;
370
- idType: z.ZodOptional<z.ZodString>;
371
- incorporationState: z.ZodOptional<z.ZodString>;
372
- website: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
373
- email: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
374
- mobilePhone: z.ZodOptional<z.ZodString>;
375
- mcc: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
376
- naics: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
377
- achCompanyId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
378
- achCompanyName: z.ZodOptional<z.ZodString>;
379
- externalId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
380
- productId: z.ZodOptional<z.ZodNumber>;
381
- contactFirstName: z.ZodOptional<z.ZodString>;
382
- contactLastName: z.ZodOptional<z.ZodString>;
383
- contactEmail: z.ZodOptional<z.ZodString>;
384
- contactPhone: z.ZodOptional<z.ZodString>;
385
- address: z.ZodObject<{
386
- streetAddress: z.ZodString;
387
- apartment: z.ZodOptional<z.ZodString>;
388
- city: z.ZodString;
389
- state: z.ZodString;
390
- postalCode: z.ZodString;
391
- country: z.ZodString;
392
- addressType: z.ZodOptional<z.ZodString>;
393
- }, "strip", z.ZodTypeAny, {
394
- state?: string;
395
- country?: string;
396
- streetAddress?: string;
397
- apartment?: string;
398
- city?: string;
399
- postalCode?: string;
400
- addressType?: string;
401
- }, {
402
- state?: string;
403
- country?: string;
404
- streetAddress?: string;
405
- apartment?: string;
406
- city?: string;
407
- postalCode?: string;
408
- addressType?: string;
409
- }>;
410
- }, "strip", z.ZodTypeAny, {
411
- email?: string;
412
- address?: {
413
- state?: string;
414
- country?: string;
415
- streetAddress?: string;
416
- apartment?: string;
417
- city?: string;
418
- postalCode?: string;
419
- addressType?: string;
420
- };
421
- legalName?: string;
422
- dbaName?: string;
423
- businessType?: string;
424
- taxId?: string;
425
- website?: string;
426
- idType?: string;
427
- formationDate?: string;
428
- incorporationState?: string;
429
- mobilePhone?: string;
430
- mcc?: string;
431
- naics?: string;
432
- achCompanyId?: string;
433
- achCompanyName?: string;
434
- externalId?: string;
435
- productId?: number;
436
- contactFirstName?: string;
437
- contactLastName?: string;
438
- contactEmail?: string;
439
- contactPhone?: string;
440
- }, {
441
- email?: string;
442
- address?: {
443
- state?: string;
444
- country?: string;
445
- streetAddress?: string;
446
- apartment?: string;
447
- city?: string;
448
- postalCode?: string;
449
- addressType?: string;
450
- };
451
- legalName?: string;
452
- dbaName?: string;
453
- businessType?: string;
454
- taxId?: string;
455
- website?: string;
456
- idType?: string;
457
- formationDate?: string;
458
- incorporationState?: string;
459
- mobilePhone?: string;
460
- mcc?: string;
461
- naics?: string;
462
- achCompanyId?: string;
463
- achCompanyName?: string;
464
- externalId?: string;
465
- productId?: number;
466
- contactFirstName?: string;
467
- contactLastName?: string;
468
- contactEmail?: string;
469
- contactPhone?: string;
470
- }>;
471
- type BusinessProfile = z.infer<typeof businessProfileSchema>;
472
-
473
496
  interface BankAddressCardProps {
474
497
  data?: Partial<Address>;
475
498
  onDataChange?: (data: Address) => void;
@@ -1518,4 +1541,4 @@ declare function generateStatementCSV(header: StatementHeader, transactions: Sta
1518
1541
  */
1519
1542
  declare function downloadCSV(content: string, filename: string): void;
1520
1543
 
1521
- export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, type BusinessFilters, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateCounterparty, CreateIndividual, 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, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, 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, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useBusinessFilters, useBusinessSort, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };
1544
+ export { ACHBankCard, ACHBasicInfoCard, ACHDetailsSection, ACHTransferSection, AccountCard, AddressForm, AlertDetail, AlertDetailRouter, type AlertDetailRouterProps, AlertDocuments, AlertHeaderControls, AlertNotes, AlertTimeline, Alerts, AppSidebar, Badge, type BadgeProps, BankAddressCard, BankingDetailsCard, BasicInfoCard, BasicInfoSection, BeneficiaryAddress, BeneficiaryCard, BeneficiaryDomesticWire, Breadcrumb, type BreadcrumbItem, Business as BusinessDetail, type BusinessFilters, BusinessFiltersSheet, BusinessProfileCard, BusinessStatusCard, BusinessTypeBadge, Businesses, Button, type ButtonProps, CIPStatusBadge, Calendar, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Cases, Checkbox, ContactInfoCard, Container, ContextSection, Counterparties, CounterpartyBasicInfo, CounterpartyDetail, CounterpartyProfileCard, CounterpartyRecordsCard, CounterpartyTypeBadge, CreateBusiness, CreateBusinessView, CreateCounterparty, CreateIndividual, 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, FormCard, type FormCardProps, FormField, FormInput, FormProvider, FormSection, FormSelect, IndividualDetail, Individuals, InfoField, type InputProps, IntermediaryCard, IntermediaryFI, IntermediaryFIAddress, JsonViewer, Label, ListPage, MainLayout, MetricCard, NewTransaction, NotFound, OFACAlertView, type OFACAlertViewProps, OriginatorCard, OriginatorFI, OriginatorFIAddress, type PageAction, type PageCard, PageLayout, PatternLibrary, PaymentInformationSection, Popover, PopoverContent, PopoverTrigger, ReceiverCard, ResolveAlertDialog, ResponsiveGrid, ScrollArea, ScrollBar, 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, TransactionHistory, TransactionTypeBadge, UIKit, UIKitShowcase, type UseAlertDetailReturn, WireDetailsSection, WireTransferSection, badgeVariants, buttonVariants, cardVariants, downloadCSV, generateStatementCSV, inputVariants, reducer, textareaVariants, toast, useAlertDetail, useBusinessFilters, useBusinessSort, useEditState, useFormWithEditState, useIsMobile, useSidebar, useToast };