@layerfi/components 0.1.107-alpha.2 → 0.1.107
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/cjs/index.cjs +78 -58
- package/dist/esm/index.mjs +78 -58
- package/dist/index.d.ts +75 -68
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1546,13 +1546,13 @@ declare module '@layerfi/components/components/BankTransactions/BankTransactions
|
|
|
1546
1546
|
filters?: BankTransactionFilters;
|
|
1547
1547
|
hideHeader?: boolean;
|
|
1548
1548
|
stringOverrides?: BankTransactionsStringOverrides;
|
|
1549
|
-
|
|
1549
|
+
renderInAppLink?: (details: LinkingMetadata) => ReactNode;
|
|
1550
1550
|
}
|
|
1551
1551
|
export interface BankTransactionsWithErrorProps extends BankTransactionsProps {
|
|
1552
1552
|
onError?: (error: LayerError) => void;
|
|
1553
1553
|
showTags?: boolean;
|
|
1554
1554
|
}
|
|
1555
|
-
export const BankTransactions: ({ onError, showTags, showCustomerVendor, monthlyView, applyGlobalDateRange, mode,
|
|
1555
|
+
export const BankTransactions: ({ onError, showTags, showCustomerVendor, monthlyView, applyGlobalDateRange, mode, renderInAppLink, ...props }: BankTransactionsWithErrorProps) => import("react/jsx-runtime").JSX.Element;
|
|
1556
1556
|
|
|
1557
1557
|
}
|
|
1558
1558
|
declare module '@layerfi/components/components/BankTransactions/BankTransactionsHeader' {
|
|
@@ -2223,7 +2223,7 @@ declare module '@layerfi/components/components/ChartOfAccounts/ChartOfAccounts'
|
|
|
2223
2223
|
showAddAccountButton?: boolean;
|
|
2224
2224
|
templateAccountsEditable?: boolean;
|
|
2225
2225
|
showReversalEntries?: boolean;
|
|
2226
|
-
|
|
2226
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
2227
2227
|
}
|
|
2228
2228
|
export const ChartOfAccounts: (props: ChartOfAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2229
2229
|
|
|
@@ -3607,7 +3607,7 @@ declare module '@layerfi/components/components/Journal/Journal' {
|
|
|
3607
3607
|
asWidget?: boolean;
|
|
3608
3608
|
config?: JournalConfig;
|
|
3609
3609
|
stringOverrides?: JournalStringOverrides;
|
|
3610
|
-
|
|
3610
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
3611
3611
|
}
|
|
3612
3612
|
export const JOURNAL_CONFIG: JournalConfig;
|
|
3613
3613
|
export const Journal: (props: JournalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4427,7 +4427,7 @@ declare module '@layerfi/components/components/ProfitAndLoss/ProfitAndLoss' {
|
|
|
4427
4427
|
stringOverrides?: import("@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts").ProfitAndLossDetailedChartsStringOverrides;
|
|
4428
4428
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
4429
4429
|
Header: ({ text, className, headingClassName, withDatePicker, withStatus, }: import("@layerfi/components/components/ProfitAndLossHeader/ProfitAndLossHeader").ProfitAndLossHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4430
|
-
Report: ({ stringOverrides, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, view, }: import("@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport").ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
4430
|
+
Report: ({ stringOverrides, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, view, renderInAppLink, }: import("@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport").ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
4431
4431
|
DownloadButton: ({ stringOverrides, useComparisonPnl, moneyFormat, view, }: import("@layerfi/components/components/ProfitAndLossDownloadButton/ProfitAndLossDownloadButton").ProfitAndLossDownloadButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4432
4432
|
};
|
|
4433
4433
|
export { ProfitAndLoss };
|
|
@@ -4632,15 +4632,18 @@ declare module '@layerfi/components/components/ProfitAndLossHeader/index' {
|
|
|
4632
4632
|
|
|
4633
4633
|
}
|
|
4634
4634
|
declare module '@layerfi/components/components/ProfitAndLossReport/ProfitAndLossReport' {
|
|
4635
|
+
import { ReactNode } from 'react';
|
|
4635
4636
|
import { View as ViewType } from '@layerfi/components/types/general';
|
|
4636
4637
|
import { ReportsStringOverrides } from '@layerfi/components/views/Reports/Reports';
|
|
4637
4638
|
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
4639
|
+
import { LinkingMetadata } from '@layerfi/components/contexts/InAppLinkContext';
|
|
4638
4640
|
type ViewBreakpoint = ViewType | undefined;
|
|
4639
4641
|
export type ProfitAndLossReportProps = {
|
|
4640
4642
|
stringOverrides?: ReportsStringOverrides;
|
|
4641
4643
|
view?: ViewBreakpoint;
|
|
4644
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
4642
4645
|
} & TimeRangePickerConfig;
|
|
4643
|
-
export const ProfitAndLossReport: ({ stringOverrides, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, view, }: ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
4646
|
+
export const ProfitAndLossReport: ({ stringOverrides, allowedDatePickerModes, datePickerMode, defaultDatePickerMode, customDateRanges, csvMoneyFormat, view, renderInAppLink, }: ProfitAndLossReportProps) => import("react/jsx-runtime").JSX.Element;
|
|
4644
4647
|
export {};
|
|
4645
4648
|
|
|
4646
4649
|
}
|
|
@@ -6548,14 +6551,14 @@ declare module '@layerfi/components/contexts/InAppLinkContext' {
|
|
|
6548
6551
|
relatedEntityLinkingMetadata?: RelatedEntityLinkingMetadata[];
|
|
6549
6552
|
}
|
|
6550
6553
|
export interface InAppLinkContextType {
|
|
6551
|
-
|
|
6554
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
6552
6555
|
}
|
|
6553
6556
|
export interface InAppLinkProviderProps {
|
|
6554
|
-
|
|
6557
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
6555
6558
|
children: ReactNode;
|
|
6556
6559
|
}
|
|
6557
6560
|
export const useInAppLinkContext: () => InAppLinkContextType;
|
|
6558
|
-
export const InAppLinkProvider: ({
|
|
6561
|
+
export const InAppLinkProvider: ({ renderInAppLink, children, }: InAppLinkProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6559
6562
|
|
|
6560
6563
|
}
|
|
6561
6564
|
declare module '@layerfi/components/contexts/JournalContext/JournalContext' {
|
|
@@ -9703,12 +9706,12 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
9703
9706
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
9704
9707
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
9705
9708
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
9706
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
9709
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
9707
9710
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
9708
9711
|
date: typeof Schema.String;
|
|
9709
9712
|
amount: typeof Schema.Number;
|
|
9710
9713
|
direction: Schema.Enums<typeof Direction>;
|
|
9711
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
9714
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
9712
9715
|
description: Schema.optional<typeof Schema.String>;
|
|
9713
9716
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
9714
9717
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -9718,9 +9721,9 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
9718
9721
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
9719
9722
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
9720
9723
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
9721
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
9724
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
9722
9725
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
9723
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
9726
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
9724
9727
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
9725
9728
|
date: typeof Schema.String;
|
|
9726
9729
|
amount: typeof Schema.Number;
|
|
@@ -9741,7 +9744,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
9741
9744
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
9742
9745
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
9743
9746
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
9744
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
9747
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
9745
9748
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
9746
9749
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
9747
9750
|
amount: typeof Schema.Number;
|
|
@@ -9821,7 +9824,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
9821
9824
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
9822
9825
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
9823
9826
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
9824
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
9827
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
9825
9828
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
9826
9829
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
9827
9830
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -10075,12 +10078,12 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
10075
10078
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
10076
10079
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
10077
10080
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
10078
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
10081
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
10079
10082
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
10080
10083
|
date: typeof Schema.String;
|
|
10081
10084
|
amount: typeof Schema.Number;
|
|
10082
10085
|
direction: Schema.Enums<typeof Direction>;
|
|
10083
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
10086
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
10084
10087
|
description: Schema.optional<typeof Schema.String>;
|
|
10085
10088
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
10086
10089
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -10090,9 +10093,9 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
10090
10093
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
10091
10094
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
10092
10095
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
10093
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
10096
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
10094
10097
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
10095
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
10098
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
10096
10099
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
10097
10100
|
date: typeof Schema.String;
|
|
10098
10101
|
amount: typeof Schema.Number;
|
|
@@ -10113,7 +10116,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
10113
10116
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
10114
10117
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
10115
10118
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
10116
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
10119
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
10117
10120
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
10118
10121
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
10119
10122
|
amount: typeof Schema.Number;
|
|
@@ -10193,7 +10196,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/schemas' {
|
|
|
10193
10196
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
10194
10197
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
10195
10198
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
10196
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
10199
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
10197
10200
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
10198
10201
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
10199
10202
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -10777,7 +10780,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossDetai
|
|
|
10777
10780
|
readonly date: string;
|
|
10778
10781
|
readonly source?: {
|
|
10779
10782
|
readonly type: "Transaction_Ledger_Entry_Source";
|
|
10780
|
-
readonly externalId: string;
|
|
10783
|
+
readonly externalId: string | null;
|
|
10781
10784
|
readonly memo?: string | null | undefined;
|
|
10782
10785
|
readonly amount: number;
|
|
10783
10786
|
readonly description?: string | undefined;
|
|
@@ -10789,10 +10792,10 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossDetai
|
|
|
10789
10792
|
readonly displayDescription: string;
|
|
10790
10793
|
readonly entityName: string;
|
|
10791
10794
|
readonly accountName?: string | undefined;
|
|
10792
|
-
readonly counterparty?: string | undefined;
|
|
10795
|
+
readonly counterparty?: string | null | undefined;
|
|
10793
10796
|
} | {
|
|
10794
10797
|
readonly type: "Invoice_Ledger_Entry_Source";
|
|
10795
|
-
readonly externalId: string;
|
|
10798
|
+
readonly externalId: string | null;
|
|
10796
10799
|
readonly memo?: string | null | undefined;
|
|
10797
10800
|
readonly amount: number;
|
|
10798
10801
|
readonly referenceNumber?: string | null | undefined;
|
|
@@ -10802,7 +10805,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossDetai
|
|
|
10802
10805
|
readonly entityName: string;
|
|
10803
10806
|
readonly invoiceId: string;
|
|
10804
10807
|
readonly invoiceNumber: string | null;
|
|
10805
|
-
readonly recipientName: string;
|
|
10808
|
+
readonly recipientName: string | null;
|
|
10806
10809
|
readonly customerDescription?: string | undefined;
|
|
10807
10810
|
} | {
|
|
10808
10811
|
readonly type: "Manual_Ledger_Entry_Source";
|
|
@@ -10816,7 +10819,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossDetai
|
|
|
10816
10819
|
readonly createdBy: string;
|
|
10817
10820
|
} | {
|
|
10818
10821
|
readonly type: "Invoice_Payment_Ledger_Entry_Source";
|
|
10819
|
-
readonly externalId: string;
|
|
10822
|
+
readonly externalId: string | null;
|
|
10820
10823
|
readonly memo?: string | null | undefined;
|
|
10821
10824
|
readonly amount: number;
|
|
10822
10825
|
readonly referenceNumber?: string | null | undefined;
|
|
@@ -10880,7 +10883,7 @@ declare module '@layerfi/components/hooks/useProfitAndLoss/useProfitAndLossDetai
|
|
|
10880
10883
|
readonly openingBalanceId: string;
|
|
10881
10884
|
} | {
|
|
10882
10885
|
readonly type: "Payout_Ledger_Entry_Source";
|
|
10883
|
-
readonly externalId: string;
|
|
10886
|
+
readonly externalId: string | null;
|
|
10884
10887
|
readonly memo?: string | null | undefined;
|
|
10885
10888
|
readonly referenceNumber?: string | null | undefined;
|
|
10886
10889
|
readonly metadata?: unknown;
|
|
@@ -12798,12 +12801,12 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
12798
12801
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
12799
12802
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
12800
12803
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
12801
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
12804
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
12802
12805
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
12803
12806
|
date: typeof Schema.String;
|
|
12804
12807
|
amount: typeof Schema.Number;
|
|
12805
12808
|
direction: Schema.Enums<typeof import("@layerfi/components/index").Direction>;
|
|
12806
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
12809
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
12807
12810
|
description: Schema.optional<typeof Schema.String>;
|
|
12808
12811
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
12809
12812
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -12813,9 +12816,9 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
12813
12816
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
12814
12817
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
12815
12818
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
12816
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
12819
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
12817
12820
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
12818
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
12821
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
12819
12822
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
12820
12823
|
date: typeof Schema.String;
|
|
12821
12824
|
amount: typeof Schema.Number;
|
|
@@ -12836,7 +12839,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
12836
12839
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
12837
12840
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
12838
12841
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
12839
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
12842
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
12840
12843
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
12841
12844
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
12842
12845
|
amount: typeof Schema.Number;
|
|
@@ -12916,7 +12919,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
12916
12919
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
12917
12920
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
12918
12921
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
12919
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
12922
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
12920
12923
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
12921
12924
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
12922
12925
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -13328,12 +13331,12 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13328
13331
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13329
13332
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
13330
13333
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
13331
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13334
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13332
13335
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
13333
13336
|
date: typeof Schema.String;
|
|
13334
13337
|
amount: typeof Schema.Number;
|
|
13335
13338
|
direction: Schema.Enums<typeof import("@layerfi/components/index").Direction>;
|
|
13336
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
13339
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13337
13340
|
description: Schema.optional<typeof Schema.String>;
|
|
13338
13341
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13339
13342
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -13343,9 +13346,9 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13343
13346
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13344
13347
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
13345
13348
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
13346
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13349
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13347
13350
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
13348
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
13351
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
13349
13352
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
13350
13353
|
date: typeof Schema.String;
|
|
13351
13354
|
amount: typeof Schema.Number;
|
|
@@ -13366,7 +13369,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13366
13369
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
13367
13370
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13368
13371
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
13369
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13372
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13370
13373
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
13371
13374
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
13372
13375
|
amount: typeof Schema.Number;
|
|
@@ -13446,7 +13449,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13446
13449
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13447
13450
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
13448
13451
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
13449
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13452
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13450
13453
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
13451
13454
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13452
13455
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -13825,12 +13828,12 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13825
13828
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13826
13829
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
13827
13830
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
13828
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13831
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13829
13832
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
13830
13833
|
date: typeof Schema.String;
|
|
13831
13834
|
amount: typeof Schema.Number;
|
|
13832
13835
|
direction: Schema.Enums<typeof import("@layerfi/components/index").Direction>;
|
|
13833
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
13836
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13834
13837
|
description: Schema.optional<typeof Schema.String>;
|
|
13835
13838
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13836
13839
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -13840,9 +13843,9 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13840
13843
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13841
13844
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
13842
13845
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
13843
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13846
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13844
13847
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
13845
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
13848
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
13846
13849
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
13847
13850
|
date: typeof Schema.String;
|
|
13848
13851
|
amount: typeof Schema.Number;
|
|
@@ -13863,7 +13866,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13863
13866
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
13864
13867
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13865
13868
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
13866
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13869
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13867
13870
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
13868
13871
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
13869
13872
|
amount: typeof Schema.Number;
|
|
@@ -13943,7 +13946,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntry' {
|
|
|
13943
13946
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
13944
13947
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
13945
13948
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
13946
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
13949
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
13947
13950
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
13948
13951
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
13949
13952
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -14172,12 +14175,12 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14172
14175
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14173
14176
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
14174
14177
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
14175
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14178
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14176
14179
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
14177
14180
|
date: typeof Schema.String;
|
|
14178
14181
|
amount: typeof Schema.Number;
|
|
14179
14182
|
direction: Schema.Enums<typeof Direction>;
|
|
14180
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
14183
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14181
14184
|
description: Schema.optional<typeof Schema.String>;
|
|
14182
14185
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14183
14186
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -14188,9 +14191,9 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14188
14191
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14189
14192
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
14190
14193
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
14191
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14194
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14192
14195
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
14193
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
14196
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
14194
14197
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
14195
14198
|
date: typeof Schema.String;
|
|
14196
14199
|
amount: typeof Schema.Number;
|
|
@@ -14213,7 +14216,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14213
14216
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
14214
14217
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14215
14218
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
14216
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14219
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14217
14220
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
14218
14221
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
14219
14222
|
amount: typeof Schema.Number;
|
|
@@ -14297,7 +14300,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14297
14300
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14298
14301
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
14299
14302
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
14300
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14303
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14301
14304
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
14302
14305
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14303
14306
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -14520,12 +14523,12 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14520
14523
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14521
14524
|
type: Schema.Literal<["Transaction_Ledger_Entry_Source"]>;
|
|
14522
14525
|
transactionId: Schema.PropertySignature<":", string, "transaction_id", ":", string, false, never>;
|
|
14523
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14526
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14524
14527
|
accountName: Schema.PropertySignature<"?:", string | undefined, "account_name", "?:", string | undefined, false, never>;
|
|
14525
14528
|
date: typeof Schema.String;
|
|
14526
14529
|
amount: typeof Schema.Number;
|
|
14527
14530
|
direction: Schema.Enums<typeof Direction>;
|
|
14528
|
-
counterparty: Schema.optional<typeof Schema.String
|
|
14531
|
+
counterparty: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14529
14532
|
description: Schema.optional<typeof Schema.String>;
|
|
14530
14533
|
memo: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14531
14534
|
metadata: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
@@ -14535,9 +14538,9 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14535
14538
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14536
14539
|
type: Schema.Literal<["Invoice_Ledger_Entry_Source"]>;
|
|
14537
14540
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
14538
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14541
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14539
14542
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
14540
|
-
recipientName: Schema.PropertySignature<":", string, "recipient_name", ":", string, false, never>;
|
|
14543
|
+
recipientName: Schema.PropertySignature<":", string | null, "recipient_name", ":", string | null, false, never>;
|
|
14541
14544
|
customerDescription: Schema.PropertySignature<"?:", string | undefined, "customer_description", "?:", string | undefined, false, never>;
|
|
14542
14545
|
date: typeof Schema.String;
|
|
14543
14546
|
amount: typeof Schema.Number;
|
|
@@ -14558,7 +14561,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14558
14561
|
displayDescription: Schema.PropertySignature<":", string, "display_description", ":", string, false, never>;
|
|
14559
14562
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14560
14563
|
type: Schema.Literal<["Invoice_Payment_Ledger_Entry_Source"]>;
|
|
14561
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14564
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14562
14565
|
invoiceId: Schema.PropertySignature<":", string, "invoice_id", ":", string, false, never>;
|
|
14563
14566
|
invoiceNumber: Schema.PropertySignature<":", string | null, "invoice_number", ":", string | null, false, never>;
|
|
14564
14567
|
amount: typeof Schema.Number;
|
|
@@ -14638,7 +14641,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14638
14641
|
entityName: Schema.PropertySignature<":", string, "entity_name", ":", string, false, never>;
|
|
14639
14642
|
type: Schema.Literal<["Payout_Ledger_Entry_Source"]>;
|
|
14640
14643
|
payoutId: Schema.PropertySignature<":", string, "payout_id", ":", string, false, never>;
|
|
14641
|
-
externalId: Schema.PropertySignature<":", string, "external_id", ":", string, false, never>;
|
|
14644
|
+
externalId: Schema.PropertySignature<":", string | null, "external_id", ":", string | null, false, never>;
|
|
14642
14645
|
paidOutAmount: Schema.PropertySignature<":", number, "paid_out_amount", ":", number, false, never>;
|
|
14643
14646
|
processor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
14644
14647
|
completedAt: Schema.PropertySignature<":", string, "completed_at", ":", string, false, never>;
|
|
@@ -14847,7 +14850,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14847
14850
|
}>]>;
|
|
14848
14851
|
export const decodeLedgerEntrySource: (data: unknown) => {
|
|
14849
14852
|
readonly type: "Transaction_Ledger_Entry_Source";
|
|
14850
|
-
readonly externalId: string;
|
|
14853
|
+
readonly externalId: string | null;
|
|
14851
14854
|
readonly memo?: string | null | undefined;
|
|
14852
14855
|
readonly amount: number;
|
|
14853
14856
|
readonly description?: string | undefined;
|
|
@@ -14859,10 +14862,10 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14859
14862
|
readonly displayDescription: string;
|
|
14860
14863
|
readonly entityName: string;
|
|
14861
14864
|
readonly accountName?: string | undefined;
|
|
14862
|
-
readonly counterparty?: string | undefined;
|
|
14865
|
+
readonly counterparty?: string | null | undefined;
|
|
14863
14866
|
} | {
|
|
14864
14867
|
readonly type: "Invoice_Ledger_Entry_Source";
|
|
14865
|
-
readonly externalId: string;
|
|
14868
|
+
readonly externalId: string | null;
|
|
14866
14869
|
readonly memo?: string | null | undefined;
|
|
14867
14870
|
readonly amount: number;
|
|
14868
14871
|
readonly referenceNumber?: string | null | undefined;
|
|
@@ -14872,7 +14875,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14872
14875
|
readonly entityName: string;
|
|
14873
14876
|
readonly invoiceId: string;
|
|
14874
14877
|
readonly invoiceNumber: string | null;
|
|
14875
|
-
readonly recipientName: string;
|
|
14878
|
+
readonly recipientName: string | null;
|
|
14876
14879
|
readonly customerDescription?: string | undefined;
|
|
14877
14880
|
} | {
|
|
14878
14881
|
readonly type: "Manual_Ledger_Entry_Source";
|
|
@@ -14886,7 +14889,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14886
14889
|
readonly createdBy: string;
|
|
14887
14890
|
} | {
|
|
14888
14891
|
readonly type: "Invoice_Payment_Ledger_Entry_Source";
|
|
14889
|
-
readonly externalId: string;
|
|
14892
|
+
readonly externalId: string | null;
|
|
14890
14893
|
readonly memo?: string | null | undefined;
|
|
14891
14894
|
readonly amount: number;
|
|
14892
14895
|
readonly referenceNumber?: string | null | undefined;
|
|
@@ -14950,7 +14953,7 @@ declare module '@layerfi/components/schemas/generalLedger/ledgerEntrySource' {
|
|
|
14950
14953
|
readonly openingBalanceId: string;
|
|
14951
14954
|
} | {
|
|
14952
14955
|
readonly type: "Payout_Ledger_Entry_Source";
|
|
14953
|
-
readonly externalId: string;
|
|
14956
|
+
readonly externalId: string | null;
|
|
14954
14957
|
readonly memo?: string | null | undefined;
|
|
14955
14958
|
readonly referenceNumber?: string | null | undefined;
|
|
14956
14959
|
readonly metadata?: unknown;
|
|
@@ -17589,9 +17592,9 @@ declare module '@layerfi/components/views/BankTransactionsWithLinkedAccounts/Ban
|
|
|
17589
17592
|
mode?: BankTransactionsMode;
|
|
17590
17593
|
mobileComponent?: MobileComponentType;
|
|
17591
17594
|
stringOverrides?: BankTransactionsWithLinkedAccountsStringOverrides;
|
|
17592
|
-
|
|
17595
|
+
renderInAppLink?: (details: LinkingMetadata) => ReactNode;
|
|
17593
17596
|
}
|
|
17594
|
-
export const BankTransactionsWithLinkedAccounts: ({ title, showTitle, elevatedLinkedAccounts, mode, showBreakConnection, showCustomerVendor, showDescriptions, showLedgerBalance, showReceiptUploads, showTags, showTooltips, showUnlinkItem, showUploadOptions, mobileComponent, stringOverrides,
|
|
17597
|
+
export const BankTransactionsWithLinkedAccounts: ({ title, showTitle, elevatedLinkedAccounts, mode, showBreakConnection, showCustomerVendor, showDescriptions, showLedgerBalance, showReceiptUploads, showTags, showTooltips, showUnlinkItem, showUploadOptions, mobileComponent, stringOverrides, renderInAppLink, }: BankTransactionsWithLinkedAccountsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17595
17598
|
export {};
|
|
17596
17599
|
|
|
17597
17600
|
}
|
|
@@ -17686,9 +17689,9 @@ declare module '@layerfi/components/views/GeneralLedger/GeneralLedger' {
|
|
|
17686
17689
|
showTitle?: boolean;
|
|
17687
17690
|
stringOverrides?: GeneralLedgerStringOverrides;
|
|
17688
17691
|
chartOfAccountsOptions?: ChartOfAccountsOptions;
|
|
17689
|
-
|
|
17692
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
17690
17693
|
}
|
|
17691
|
-
export const GeneralLedgerView: ({ title, showTitle, stringOverrides, chartOfAccountsOptions,
|
|
17694
|
+
export const GeneralLedgerView: ({ title, showTitle, stringOverrides, chartOfAccountsOptions, renderInAppLink, }: GeneralLedgerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17692
17695
|
|
|
17693
17696
|
}
|
|
17694
17697
|
declare module '@layerfi/components/views/GeneralLedger/index' {
|
|
@@ -17721,6 +17724,7 @@ declare module '@layerfi/components/views/ProjectProfitability/index' {
|
|
|
17721
17724
|
|
|
17722
17725
|
}
|
|
17723
17726
|
declare module '@layerfi/components/views/Reports/Reports' {
|
|
17727
|
+
import { ReactNode } from 'react';
|
|
17724
17728
|
import { BalanceSheetStringOverrides } from '@layerfi/components/components/BalanceSheet/BalanceSheet';
|
|
17725
17729
|
import { ProfitAndLossDetailedChartsStringOverrides } from '@layerfi/components/components/ProfitAndLossDetailedCharts/ProfitAndLossDetailedCharts';
|
|
17726
17730
|
import { PnLDownloadButtonStringOverrides } from '@layerfi/components/components/ProfitAndLossDownloadButton/index';
|
|
@@ -17729,6 +17733,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
17729
17733
|
import { View as ViewType } from '@layerfi/components/types/general';
|
|
17730
17734
|
import type { TimeRangePickerConfig } from '@layerfi/components/views/Reports/reportTypes';
|
|
17731
17735
|
import { ProfitAndLossCompareConfig } from '@layerfi/components/types/profit_and_loss';
|
|
17736
|
+
import { LinkingMetadata } from '@layerfi/components/contexts/InAppLinkContext';
|
|
17732
17737
|
type ViewBreakpoint = ViewType | undefined;
|
|
17733
17738
|
export interface ReportsStringOverrides {
|
|
17734
17739
|
title?: string;
|
|
@@ -17748,6 +17753,7 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
17748
17753
|
comparisonConfig?: ProfitAndLossCompareConfig;
|
|
17749
17754
|
profitAndLossConfig?: TimeRangePickerConfig;
|
|
17750
17755
|
statementOfCashFlowConfig?: TimeRangePickerConfig;
|
|
17756
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
17751
17757
|
}
|
|
17752
17758
|
type ReportType = 'profitAndLoss' | 'balanceSheet' | 'statementOfCashFlow';
|
|
17753
17759
|
export interface ReportsPanelProps {
|
|
@@ -17756,8 +17762,9 @@ declare module '@layerfi/components/views/Reports/Reports' {
|
|
|
17756
17762
|
profitAndLossConfig?: TimeRangePickerConfig;
|
|
17757
17763
|
statementOfCashFlowConfig?: TimeRangePickerConfig;
|
|
17758
17764
|
view: ViewBreakpoint;
|
|
17765
|
+
renderInAppLink?: (source: LinkingMetadata) => ReactNode;
|
|
17759
17766
|
}
|
|
17760
|
-
export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, }: ReportsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17767
|
+
export const Reports: ({ title, showTitle, stringOverrides, enabledReports, comparisonConfig, profitAndLossConfig, statementOfCashFlowConfig, renderInAppLink, }: ReportsProps) => import("react/jsx-runtime").JSX.Element;
|
|
17761
17768
|
export {};
|
|
17762
17769
|
|
|
17763
17770
|
}
|