@driveflux/pdf 1.6.5 → 1.6.6

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.
@@ -2,9 +2,9 @@ import type { DiscountType, MileagePackage, PlanType, VehicleType } from '@drive
2
2
  import type { INSPECTION_TYPES } from '@driveflux/db/models/vehicle';
3
3
  import type { Address } from '@driveflux/db/types/helpers';
4
4
  export declare const formatAddress: (originalAddress: Address) => string;
5
- export declare const getSimplifiedPlanTranslation: (plan: PlanType) => "60 Months" | "36 Months" | "24 Months" | "12 Months" | "Monthly" | "Weekly" | "Unknown Plan";
6
- export declare const getMileagePackageTranslation: (mileagePackage?: MileagePackage) => "Lite" | "Standard" | "Plus" | "Unlimited" | "Unknown Mileage Package";
7
- export declare const getFullMileagePackageTranslation: (plan?: MileagePackage | null) => "Unlimited" | "Unknown Mileage Package" | "Lite - 1,250KM" | "Standard - 2,000KM" | "Plus - 2,750KM";
5
+ export declare const getSimplifiedPlanTranslation: (plan: PlanType) => "60 Months" | "36 Months" | "24 Months" | "12 Months" | "Weekly" | "Unknown Plan" | "Monthly";
6
+ export declare const getMileagePackageTranslation: (mileagePackage?: MileagePackage) => "Unlimited" | "Unknown Mileage Package" | "Lite" | "Standard" | "Plus";
7
+ export declare const getFullMileagePackageTranslation: (plan?: MileagePackage | null) => "Lite - 1,250KM" | "Standard - 2,000KM" | "Plus - 2,750KM" | "Unlimited" | "Unknown Mileage Package";
8
8
  export declare const getPromoNotes: (amount: number, discount: {
9
9
  discountType: DiscountType;
10
10
  discountValue: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/pdf",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -12,7 +12,7 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "@driveflux/db": "2.0.4",
15
+ "@driveflux/db": "2.0.5",
16
16
  "@driveflux/env": "1.5.0",
17
17
  "@driveflux/format-money": "5.4.0",
18
18
  "@driveflux/time": "4.4.0",