@adyen/adyen-platform-experience-web
Version:

25 lines (24 loc) • 1.95 kB
JavaScript
import { createDynamicTranslationFactory as s, createKeyFactoryFromConfig as e } from "./factory.js";
import { DISPUTE_TYPES as a, DISPUTE_REASON_CATEGORIES as i, DISPUTE_STATUSES as r } from "../disputes/constants.js";
import { REFUND_REASONS_KEYS as c } from "../../external/TransactionDetails/constants.js";
const o = (t, n) => n, y = e({ prefix: "payouts.details.breakdown.adjustments.types." }), I = s(y, o), p = e({ prefix: "payouts.details.breakdown.fundsCaptured.types." }), P = s(p, o), u = e({ prefix: "reports.common.types." }), U = s(u, o), m = e({ prefix: "transactions.details.summary.adjustments.types." }), b = s(m, o), d = e({
prefix: "transactions.details.summary.adjustments.types.",
suffix: ".information"
}), k = s(d), T = e({ prefix: "transactions.common.types." }), N = s(T, o), f = e({ prefix: "transactions.common.types.", suffix: ".description" }), O = s(f);
e({ prefix: "transactions.common.statuses." });
const x = e({ prefix: "transactions.details.timeline.statuses." }), w = s(x, o), g = e({ prefix: "transactions.details.timeline.types." }), Y = s(g, o), F = e({ prefix: "transactions.details.common.refundReasons." }), l = (t) => t && (c[t] ?? F(t)), G = s(l, o), K = e({ prefix: "disputes.common.reasonCategories." }), S = (t) => t && (i[t] ?? K(t)), V = s(S, o), R = e({ prefix: "disputes.common.statuses." }), A = (t) => t && (r[t] ?? R(t)), h = s(A, o), E = e({ prefix: "disputes.management.details.types." }), C = (t) => t && (a[t] ?? E(t)), q = s(C, o);
export {
V as getDisputeReason,
h as getDisputeStatus,
q as getDisputeType,
I as getPayoutAdjustmentType,
P as getPayoutFundsCapturedType,
U as getReportType,
b as getTransactionAmountAdjustmentType,
k as getTransactionAmountAdjustmentTypeInformation,
N as getTransactionCategory,
O as getTransactionCategoryDescription,
G as getTransactionRefundReason,
w as getTransactionTimelineTxStatus,
Y as getTransactionTimelineTxType
};