@final-commerce/common 2.7.0 → 2.8.0-preprod.2
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.mts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +2 -0
- package/dist/pos-types/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3612,6 +3612,30 @@ var BNPL_SKIP_REASON = {
|
|
|
3612
3612
|
NO_CURRENCY: "no_currency",
|
|
3613
3613
|
NO_BUSINESS_LINE: "no_business_line"
|
|
3614
3614
|
};
|
|
3615
|
+
|
|
3616
|
+
// constants/expense.constants.ts
|
|
3617
|
+
var EXPENSE_PAYMENT_METHOD_PRESETS = [
|
|
3618
|
+
"Cash",
|
|
3619
|
+
"Cheque",
|
|
3620
|
+
"Credit card",
|
|
3621
|
+
"Direct debit",
|
|
3622
|
+
"E-Transfer",
|
|
3623
|
+
"Wire transfer"
|
|
3624
|
+
];
|
|
3625
|
+
var EXPENSE_NAME_MAX_LENGTH = 40;
|
|
3626
|
+
var EXPENSE_DEFAULT_CATEGORIES = [
|
|
3627
|
+
{ key: "advertising-marketing", name: "Advertising & marketing" },
|
|
3628
|
+
{ key: "freelancers-staff", name: "Freelancers & staff" },
|
|
3629
|
+
{ key: "insurance", name: "Insurance" },
|
|
3630
|
+
{ key: "legal-professional-services", name: "Legal & professional services" },
|
|
3631
|
+
{ key: "meals-entertainment", name: "Meals & entertainment" },
|
|
3632
|
+
{ key: "rent-lease", name: "Rent & lease" },
|
|
3633
|
+
{ key: "repairs-maintenance", name: "Repairs & maintenance" },
|
|
3634
|
+
{ key: "supplies", name: "Supplies" },
|
|
3635
|
+
{ key: "utilities", name: "Utilities" },
|
|
3636
|
+
{ key: "vehicle-fuel", name: "Vehicle & fuel" },
|
|
3637
|
+
{ key: "other", name: "Other" }
|
|
3638
|
+
];
|
|
3615
3639
|
export {
|
|
3616
3640
|
ADYEN_JOB_TITLE_ASSOCIATION_TYPES,
|
|
3617
3641
|
ADYEN_LEGAL_ENTITY_STATE_PROVINCE_COUNTRIES,
|
|
@@ -3646,6 +3670,9 @@ export {
|
|
|
3646
3670
|
DualWriteStrategy,
|
|
3647
3671
|
EUFixedRates,
|
|
3648
3672
|
EUROPE,
|
|
3673
|
+
EXPENSE_DEFAULT_CATEGORIES,
|
|
3674
|
+
EXPENSE_NAME_MAX_LENGTH,
|
|
3675
|
+
EXPENSE_PAYMENT_METHOD_PRESETS,
|
|
3649
3676
|
ExtensionCategory,
|
|
3650
3677
|
FINANCIAL_INVARIANTS,
|
|
3651
3678
|
FULFILLMENT_STATES,
|