braid-ui 1.0.67 → 1.0.68
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/css/braid-ui.css +25 -0
- package/dist/css/braid-ui.min.css +1 -1
- package/dist/index.cjs +820 -556
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -30
- package/dist/index.d.ts +61 -30
- package/dist/index.js +821 -557
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -170,19 +170,19 @@ interface IdentityVerification {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
declare const businessProfileSchema: z.ZodObject<{
|
|
173
|
-
name: z.ZodString
|
|
174
|
-
productId: z.ZodNumber
|
|
175
|
-
businessIdType: z.ZodString
|
|
176
|
-
idNumber: z.ZodString
|
|
173
|
+
name: z.ZodOptional<z.ZodString>;
|
|
174
|
+
productId: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
businessIdType: z.ZodOptional<z.ZodString>;
|
|
176
|
+
idNumber: z.ZodOptional<z.ZodString>;
|
|
177
177
|
dba: z.ZodOptional<z.ZodString>;
|
|
178
178
|
businessEntityType: z.ZodOptional<z.ZodString>;
|
|
179
179
|
incorporationState: z.ZodOptional<z.ZodString>;
|
|
180
180
|
formationDate: z.ZodOptional<z.ZodString>;
|
|
181
181
|
website: z.ZodOptional<z.ZodString>;
|
|
182
182
|
achCompanyId: z.ZodOptional<z.ZodString>;
|
|
183
|
-
mcc: z.
|
|
184
|
-
naics: z.
|
|
185
|
-
mobilePhone: z.
|
|
183
|
+
mcc: z.ZodOptional<z.ZodString>;
|
|
184
|
+
naics: z.ZodOptional<z.ZodString>;
|
|
185
|
+
mobilePhone: z.ZodOptional<z.ZodString>;
|
|
186
186
|
contactPersonFirstName: z.ZodOptional<z.ZodString>;
|
|
187
187
|
contactPersonLastName: z.ZodOptional<z.ZodString>;
|
|
188
188
|
contactPersonEmail: z.ZodOptional<z.ZodString>;
|
|
@@ -311,6 +311,10 @@ interface BusinessAccount {
|
|
|
311
311
|
routingNumber: string;
|
|
312
312
|
type: string;
|
|
313
313
|
}
|
|
314
|
+
interface SelectOption$2 {
|
|
315
|
+
value: string;
|
|
316
|
+
label: string;
|
|
317
|
+
}
|
|
314
318
|
interface BusinessDetailViewProps {
|
|
315
319
|
business: Business;
|
|
316
320
|
businessProfile?: BusinessProfile;
|
|
@@ -320,6 +324,8 @@ interface BusinessDetailViewProps {
|
|
|
320
324
|
businessAccounts: BusinessAccount[];
|
|
321
325
|
currentStatus: string;
|
|
322
326
|
isEditingProfile: boolean;
|
|
327
|
+
statusOptions: SelectOption$2[];
|
|
328
|
+
businessEntityTypeOptions: SelectOption$2[];
|
|
323
329
|
onStatusChange: (newStatus: string) => void;
|
|
324
330
|
onProfileDataChange: (profile: BusinessProfile) => void;
|
|
325
331
|
onToggleProfileEdit: () => void;
|
|
@@ -327,13 +333,20 @@ interface BusinessDetailViewProps {
|
|
|
327
333
|
onNavigateToCounterparty: () => void;
|
|
328
334
|
onAddAccount: () => void;
|
|
329
335
|
onUBOClick: (customerId: string) => void;
|
|
336
|
+
onRemoveUBO?: (uboId: string) => void;
|
|
330
337
|
onDocumentUpload: (file: File, metadata: {
|
|
331
338
|
name: string;
|
|
332
339
|
description: string;
|
|
333
340
|
type: string;
|
|
334
341
|
}) => Promise<void>;
|
|
342
|
+
onRevealIdNumber?: () => Promise<string>;
|
|
343
|
+
isIdNumberRevealed?: boolean;
|
|
344
|
+
onToggleIdNumberVisibility?: () => void;
|
|
345
|
+
isLoadingIdNumber?: boolean;
|
|
346
|
+
revealedIdNumber?: string | null;
|
|
347
|
+
onProductIdClick?: (productId: number) => void;
|
|
335
348
|
}
|
|
336
|
-
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onAddAccount, onUBOClick, onDocumentUpload, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
349
|
+
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onAddAccount, onUBOClick, onRemoveUBO, onDocumentUpload, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
337
350
|
|
|
338
351
|
interface BusinessFilters {
|
|
339
352
|
name: string;
|
|
@@ -724,6 +737,10 @@ declare const BeneficiaryCard: ({ isEditing, onToggleEdit, className, hideAction
|
|
|
724
737
|
|
|
725
738
|
declare const BeneficiaryDomesticWire: () => react_jsx_runtime.JSX.Element;
|
|
726
739
|
|
|
740
|
+
interface SelectOption$1 {
|
|
741
|
+
value: string;
|
|
742
|
+
label: string;
|
|
743
|
+
}
|
|
727
744
|
interface BusinessProfileCardProps {
|
|
728
745
|
data?: Partial<BusinessProfile>;
|
|
729
746
|
identityVerification?: IdentityVerification;
|
|
@@ -732,8 +749,15 @@ interface BusinessProfileCardProps {
|
|
|
732
749
|
onToggleEdit?: () => void;
|
|
733
750
|
className?: string;
|
|
734
751
|
hideActions?: boolean;
|
|
752
|
+
onProductIdClick?: (productId: number) => void;
|
|
753
|
+
onRevealIdNumber?: () => Promise<string>;
|
|
754
|
+
isIdNumberRevealed?: boolean;
|
|
755
|
+
onToggleIdNumberVisibility?: () => void;
|
|
756
|
+
isLoadingIdNumber?: boolean;
|
|
757
|
+
revealedIdNumber?: string | null;
|
|
758
|
+
businessEntityTypeOptions?: SelectOption$1[];
|
|
735
759
|
}
|
|
736
|
-
declare const BusinessProfileCard: ({ data, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
760
|
+
declare const BusinessProfileCard: ({ data, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
737
761
|
|
|
738
762
|
interface BusinessStatusCardProps {
|
|
739
763
|
isEditing?: boolean;
|
|
@@ -927,19 +951,26 @@ interface StatementViewProps {
|
|
|
927
951
|
declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, programsLoading, productsLoading, programsError, productsError, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, onRetryFetch, shouldShowRetry, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
|
|
928
952
|
|
|
929
953
|
interface ACHDetails {
|
|
930
|
-
type: string;
|
|
931
954
|
originatorName: string;
|
|
932
|
-
|
|
955
|
+
originatorRtn: string;
|
|
956
|
+
originatorId: string;
|
|
933
957
|
receiverName: string;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
amount: number;
|
|
958
|
+
receiverRtn: string;
|
|
959
|
+
receiverAccount: string;
|
|
937
960
|
secCode: string;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
individualName?: string;
|
|
961
|
+
accountType?: string;
|
|
962
|
+
effectiveDate?: string;
|
|
963
|
+
service?: string;
|
|
942
964
|
traceNumber: string;
|
|
965
|
+
correctedData?: string;
|
|
966
|
+
returnCode?: string;
|
|
967
|
+
changeCode?: string;
|
|
968
|
+
returnReason?: string;
|
|
969
|
+
changeReason?: string;
|
|
970
|
+
returnedAt?: string;
|
|
971
|
+
nocAt?: string;
|
|
972
|
+
addenda?: string;
|
|
973
|
+
iatAddenda?: string;
|
|
943
974
|
raw?: any;
|
|
944
975
|
}
|
|
945
976
|
interface ACHDetailsSectionProps {
|
|
@@ -948,20 +979,20 @@ interface ACHDetailsSectionProps {
|
|
|
948
979
|
declare const ACHDetailsSection: ({ data }: ACHDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
949
980
|
|
|
950
981
|
interface WireDetails {
|
|
951
|
-
type:
|
|
982
|
+
type: "DOMESTIC" | "INTERNATIONAL";
|
|
983
|
+
imad?: string;
|
|
984
|
+
omad?: string;
|
|
952
985
|
originatorName: string;
|
|
953
986
|
originatorAccountNumber: string;
|
|
987
|
+
originatorFIName: string;
|
|
988
|
+
originatorFIId: string;
|
|
954
989
|
beneficiaryName: string;
|
|
955
990
|
beneficiaryAccountNumber: string;
|
|
956
991
|
beneficiaryFIName: string;
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
intermediaryFIName?: string;
|
|
961
|
-
intermediaryFIRoutingNumber?: string;
|
|
962
|
-
imad?: string;
|
|
992
|
+
beneficiaryFIId: string;
|
|
993
|
+
returnCode?: string;
|
|
994
|
+
returnReason?: string;
|
|
963
995
|
originatorToBeneficiaryInfo?: string;
|
|
964
|
-
fileHandle?: string;
|
|
965
996
|
raw?: any;
|
|
966
997
|
}
|
|
967
998
|
interface WireDetailsSectionProps {
|
|
@@ -1154,8 +1185,6 @@ interface TransactionData {
|
|
|
1154
1185
|
requesterUsername?: string;
|
|
1155
1186
|
requesterIpAddress?: string;
|
|
1156
1187
|
settlementFilename?: string;
|
|
1157
|
-
duplicateOfPaymentId?: string;
|
|
1158
|
-
returnedInFile?: string;
|
|
1159
1188
|
alerts?: string[];
|
|
1160
1189
|
}
|
|
1161
1190
|
interface TransactionDetailViewProps {
|
|
@@ -1173,12 +1202,13 @@ interface TransactionDetailViewProps {
|
|
|
1173
1202
|
onOFACClick: (ofacId: string) => void;
|
|
1174
1203
|
onProductClick: (productId: string) => void;
|
|
1175
1204
|
onAlertClick?: (alertId: string) => void;
|
|
1205
|
+
onLinkedPaymentClick?: (paymentId: string) => void;
|
|
1176
1206
|
onIMADChange?: (newImad: string) => void;
|
|
1177
1207
|
isLoading?: boolean;
|
|
1178
1208
|
error?: string | null;
|
|
1179
1209
|
onRetry?: () => void;
|
|
1180
1210
|
}
|
|
1181
|
-
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, onAlertClick, onIMADChange, isLoading, error, onRetry, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, onAlertClick, onLinkedPaymentClick, onIMADChange, isLoading, error, onRetry, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1182
1212
|
|
|
1183
1213
|
declare const cancelTransactionSchema: z.ZodObject<{
|
|
1184
1214
|
reason: z.ZodString;
|
|
@@ -1423,6 +1453,7 @@ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<Drop
|
|
|
1423
1453
|
|
|
1424
1454
|
interface FormCardProps extends Omit<CardProps, 'children'> {
|
|
1425
1455
|
title: string;
|
|
1456
|
+
titleBadge?: React$1.ReactNode;
|
|
1426
1457
|
description?: string;
|
|
1427
1458
|
children: React$1.ReactNode;
|
|
1428
1459
|
headerActions?: React$1.ReactNode;
|
|
@@ -1532,7 +1563,7 @@ declare const FormField: React$1.ForwardRefExoticComponent<FormFieldProps & Reac
|
|
|
1532
1563
|
interface FormInputProps<T extends FieldValues = FieldValues> extends Omit<InputProps, 'error' | 'name'> {
|
|
1533
1564
|
name: FieldPath<T>;
|
|
1534
1565
|
}
|
|
1535
|
-
declare const FormInput: <T extends FieldValues = FieldValues>({ name, ...props }: FormInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1566
|
+
declare const FormInput: <T extends FieldValues = FieldValues>({ name, type, ...props }: FormInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1536
1567
|
|
|
1537
1568
|
interface FormProviderProps<T extends FieldValues> {
|
|
1538
1569
|
form: UseFormReturn<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -170,19 +170,19 @@ interface IdentityVerification {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
declare const businessProfileSchema: z.ZodObject<{
|
|
173
|
-
name: z.ZodString
|
|
174
|
-
productId: z.ZodNumber
|
|
175
|
-
businessIdType: z.ZodString
|
|
176
|
-
idNumber: z.ZodString
|
|
173
|
+
name: z.ZodOptional<z.ZodString>;
|
|
174
|
+
productId: z.ZodOptional<z.ZodNumber>;
|
|
175
|
+
businessIdType: z.ZodOptional<z.ZodString>;
|
|
176
|
+
idNumber: z.ZodOptional<z.ZodString>;
|
|
177
177
|
dba: z.ZodOptional<z.ZodString>;
|
|
178
178
|
businessEntityType: z.ZodOptional<z.ZodString>;
|
|
179
179
|
incorporationState: z.ZodOptional<z.ZodString>;
|
|
180
180
|
formationDate: z.ZodOptional<z.ZodString>;
|
|
181
181
|
website: z.ZodOptional<z.ZodString>;
|
|
182
182
|
achCompanyId: z.ZodOptional<z.ZodString>;
|
|
183
|
-
mcc: z.
|
|
184
|
-
naics: z.
|
|
185
|
-
mobilePhone: z.
|
|
183
|
+
mcc: z.ZodOptional<z.ZodString>;
|
|
184
|
+
naics: z.ZodOptional<z.ZodString>;
|
|
185
|
+
mobilePhone: z.ZodOptional<z.ZodString>;
|
|
186
186
|
contactPersonFirstName: z.ZodOptional<z.ZodString>;
|
|
187
187
|
contactPersonLastName: z.ZodOptional<z.ZodString>;
|
|
188
188
|
contactPersonEmail: z.ZodOptional<z.ZodString>;
|
|
@@ -311,6 +311,10 @@ interface BusinessAccount {
|
|
|
311
311
|
routingNumber: string;
|
|
312
312
|
type: string;
|
|
313
313
|
}
|
|
314
|
+
interface SelectOption$2 {
|
|
315
|
+
value: string;
|
|
316
|
+
label: string;
|
|
317
|
+
}
|
|
314
318
|
interface BusinessDetailViewProps {
|
|
315
319
|
business: Business;
|
|
316
320
|
businessProfile?: BusinessProfile;
|
|
@@ -320,6 +324,8 @@ interface BusinessDetailViewProps {
|
|
|
320
324
|
businessAccounts: BusinessAccount[];
|
|
321
325
|
currentStatus: string;
|
|
322
326
|
isEditingProfile: boolean;
|
|
327
|
+
statusOptions: SelectOption$2[];
|
|
328
|
+
businessEntityTypeOptions: SelectOption$2[];
|
|
323
329
|
onStatusChange: (newStatus: string) => void;
|
|
324
330
|
onProfileDataChange: (profile: BusinessProfile) => void;
|
|
325
331
|
onToggleProfileEdit: () => void;
|
|
@@ -327,13 +333,20 @@ interface BusinessDetailViewProps {
|
|
|
327
333
|
onNavigateToCounterparty: () => void;
|
|
328
334
|
onAddAccount: () => void;
|
|
329
335
|
onUBOClick: (customerId: string) => void;
|
|
336
|
+
onRemoveUBO?: (uboId: string) => void;
|
|
330
337
|
onDocumentUpload: (file: File, metadata: {
|
|
331
338
|
name: string;
|
|
332
339
|
description: string;
|
|
333
340
|
type: string;
|
|
334
341
|
}) => Promise<void>;
|
|
342
|
+
onRevealIdNumber?: () => Promise<string>;
|
|
343
|
+
isIdNumberRevealed?: boolean;
|
|
344
|
+
onToggleIdNumberVisibility?: () => void;
|
|
345
|
+
isLoadingIdNumber?: boolean;
|
|
346
|
+
revealedIdNumber?: string | null;
|
|
347
|
+
onProductIdClick?: (productId: number) => void;
|
|
335
348
|
}
|
|
336
|
-
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onAddAccount, onUBOClick, onDocumentUpload, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
349
|
+
declare const BusinessDetailView: ({ business, businessProfile, identityVerification, businessUBOs, businessDocuments, businessAccounts, currentStatus, isEditingProfile, statusOptions, businessEntityTypeOptions, onStatusChange, onProfileDataChange, onToggleProfileEdit, onNavigateToAccounts, onNavigateToCounterparty, onAddAccount, onUBOClick, onRemoveUBO, onDocumentUpload, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, onProductIdClick, }: BusinessDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
337
350
|
|
|
338
351
|
interface BusinessFilters {
|
|
339
352
|
name: string;
|
|
@@ -724,6 +737,10 @@ declare const BeneficiaryCard: ({ isEditing, onToggleEdit, className, hideAction
|
|
|
724
737
|
|
|
725
738
|
declare const BeneficiaryDomesticWire: () => react_jsx_runtime.JSX.Element;
|
|
726
739
|
|
|
740
|
+
interface SelectOption$1 {
|
|
741
|
+
value: string;
|
|
742
|
+
label: string;
|
|
743
|
+
}
|
|
727
744
|
interface BusinessProfileCardProps {
|
|
728
745
|
data?: Partial<BusinessProfile>;
|
|
729
746
|
identityVerification?: IdentityVerification;
|
|
@@ -732,8 +749,15 @@ interface BusinessProfileCardProps {
|
|
|
732
749
|
onToggleEdit?: () => void;
|
|
733
750
|
className?: string;
|
|
734
751
|
hideActions?: boolean;
|
|
752
|
+
onProductIdClick?: (productId: number) => void;
|
|
753
|
+
onRevealIdNumber?: () => Promise<string>;
|
|
754
|
+
isIdNumberRevealed?: boolean;
|
|
755
|
+
onToggleIdNumberVisibility?: () => void;
|
|
756
|
+
isLoadingIdNumber?: boolean;
|
|
757
|
+
revealedIdNumber?: string | null;
|
|
758
|
+
businessEntityTypeOptions?: SelectOption$1[];
|
|
735
759
|
}
|
|
736
|
-
declare const BusinessProfileCard: ({ data, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
760
|
+
declare const BusinessProfileCard: ({ data, identityVerification, onDataChange, isEditing, onToggleEdit, className, hideActions, onProductIdClick, onRevealIdNumber, isIdNumberRevealed, onToggleIdNumberVisibility, isLoadingIdNumber, revealedIdNumber, businessEntityTypeOptions }: BusinessProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
737
761
|
|
|
738
762
|
interface BusinessStatusCardProps {
|
|
739
763
|
isEditing?: boolean;
|
|
@@ -927,19 +951,26 @@ interface StatementViewProps {
|
|
|
927
951
|
declare const StatementView: ({ statementType, selectedProgram, selectedProduct, accountNumber, startDate, endDate, statementGenerated, programs, products, statementHeader, statementTransactions, programsLoading, productsLoading, programsError, productsError, onStatementTypeChange, onProgramChange, onProductChange, onAccountNumberChange, onStartDateChange, onEndDateChange, onGenerateStatement, onEdit, onDownloadCSV, onPrintPDF, onRetryFetch, shouldShowRetry, isGenerateDisabled, isLoading }: StatementViewProps) => react_jsx_runtime.JSX.Element;
|
|
928
952
|
|
|
929
953
|
interface ACHDetails {
|
|
930
|
-
type: string;
|
|
931
954
|
originatorName: string;
|
|
932
|
-
|
|
955
|
+
originatorRtn: string;
|
|
956
|
+
originatorId: string;
|
|
933
957
|
receiverName: string;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
amount: number;
|
|
958
|
+
receiverRtn: string;
|
|
959
|
+
receiverAccount: string;
|
|
937
960
|
secCode: string;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
individualName?: string;
|
|
961
|
+
accountType?: string;
|
|
962
|
+
effectiveDate?: string;
|
|
963
|
+
service?: string;
|
|
942
964
|
traceNumber: string;
|
|
965
|
+
correctedData?: string;
|
|
966
|
+
returnCode?: string;
|
|
967
|
+
changeCode?: string;
|
|
968
|
+
returnReason?: string;
|
|
969
|
+
changeReason?: string;
|
|
970
|
+
returnedAt?: string;
|
|
971
|
+
nocAt?: string;
|
|
972
|
+
addenda?: string;
|
|
973
|
+
iatAddenda?: string;
|
|
943
974
|
raw?: any;
|
|
944
975
|
}
|
|
945
976
|
interface ACHDetailsSectionProps {
|
|
@@ -948,20 +979,20 @@ interface ACHDetailsSectionProps {
|
|
|
948
979
|
declare const ACHDetailsSection: ({ data }: ACHDetailsSectionProps) => react_jsx_runtime.JSX.Element;
|
|
949
980
|
|
|
950
981
|
interface WireDetails {
|
|
951
|
-
type:
|
|
982
|
+
type: "DOMESTIC" | "INTERNATIONAL";
|
|
983
|
+
imad?: string;
|
|
984
|
+
omad?: string;
|
|
952
985
|
originatorName: string;
|
|
953
986
|
originatorAccountNumber: string;
|
|
987
|
+
originatorFIName: string;
|
|
988
|
+
originatorFIId: string;
|
|
954
989
|
beneficiaryName: string;
|
|
955
990
|
beneficiaryAccountNumber: string;
|
|
956
991
|
beneficiaryFIName: string;
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
intermediaryFIName?: string;
|
|
961
|
-
intermediaryFIRoutingNumber?: string;
|
|
962
|
-
imad?: string;
|
|
992
|
+
beneficiaryFIId: string;
|
|
993
|
+
returnCode?: string;
|
|
994
|
+
returnReason?: string;
|
|
963
995
|
originatorToBeneficiaryInfo?: string;
|
|
964
|
-
fileHandle?: string;
|
|
965
996
|
raw?: any;
|
|
966
997
|
}
|
|
967
998
|
interface WireDetailsSectionProps {
|
|
@@ -1154,8 +1185,6 @@ interface TransactionData {
|
|
|
1154
1185
|
requesterUsername?: string;
|
|
1155
1186
|
requesterIpAddress?: string;
|
|
1156
1187
|
settlementFilename?: string;
|
|
1157
|
-
duplicateOfPaymentId?: string;
|
|
1158
|
-
returnedInFile?: string;
|
|
1159
1188
|
alerts?: string[];
|
|
1160
1189
|
}
|
|
1161
1190
|
interface TransactionDetailViewProps {
|
|
@@ -1173,12 +1202,13 @@ interface TransactionDetailViewProps {
|
|
|
1173
1202
|
onOFACClick: (ofacId: string) => void;
|
|
1174
1203
|
onProductClick: (productId: string) => void;
|
|
1175
1204
|
onAlertClick?: (alertId: string) => void;
|
|
1205
|
+
onLinkedPaymentClick?: (paymentId: string) => void;
|
|
1176
1206
|
onIMADChange?: (newImad: string) => void;
|
|
1177
1207
|
isLoading?: boolean;
|
|
1178
1208
|
error?: string | null;
|
|
1179
1209
|
onRetry?: () => void;
|
|
1180
1210
|
}
|
|
1181
|
-
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, onAlertClick, onIMADChange, isLoading, error, onRetry, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare const TransactionDetailView: ({ transaction, timelineEvents, isWireTransfer, isACHTransfer, showCancelButton, showReturnButton, onReturnClick, onCancelClick, onAccountClick, onCustomerClick, onCounterpartyClick, onOFACClick, onProductClick, onAlertClick, onLinkedPaymentClick, onIMADChange, isLoading, error, onRetry, }: TransactionDetailViewProps) => react_jsx_runtime.JSX.Element;
|
|
1182
1212
|
|
|
1183
1213
|
declare const cancelTransactionSchema: z.ZodObject<{
|
|
1184
1214
|
reason: z.ZodString;
|
|
@@ -1423,6 +1453,7 @@ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<Drop
|
|
|
1423
1453
|
|
|
1424
1454
|
interface FormCardProps extends Omit<CardProps, 'children'> {
|
|
1425
1455
|
title: string;
|
|
1456
|
+
titleBadge?: React$1.ReactNode;
|
|
1426
1457
|
description?: string;
|
|
1427
1458
|
children: React$1.ReactNode;
|
|
1428
1459
|
headerActions?: React$1.ReactNode;
|
|
@@ -1532,7 +1563,7 @@ declare const FormField: React$1.ForwardRefExoticComponent<FormFieldProps & Reac
|
|
|
1532
1563
|
interface FormInputProps<T extends FieldValues = FieldValues> extends Omit<InputProps, 'error' | 'name'> {
|
|
1533
1564
|
name: FieldPath<T>;
|
|
1534
1565
|
}
|
|
1535
|
-
declare const FormInput: <T extends FieldValues = FieldValues>({ name, ...props }: FormInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1566
|
+
declare const FormInput: <T extends FieldValues = FieldValues>({ name, type, ...props }: FormInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1536
1567
|
|
|
1537
1568
|
interface FormProviderProps<T extends FieldValues> {
|
|
1538
1569
|
form: UseFormReturn<T>;
|