@myparcel/constants
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -75,3 +75,4 @@ declare enum CarrierId { | ||
Evening = 3, | ||
Pickup = 4 | ||
Pickup = 4, | ||
Express = 7 | ||
} | ||
@@ -83,3 +84,4 @@ /** @see https://myparcelnl.github.io/api/#6_A_2 */ | ||
Evening = "evening", | ||
Pickup = "pickup" | ||
Pickup = "pickup", | ||
Express = "express" | ||
} | ||
@@ -94,2 +96,3 @@ type DeliveryTypeNameOrId = DeliveryTypeName | DeliveryTypeId; | ||
readonly pickup: DeliveryTypeId.Pickup; | ||
readonly express: DeliveryTypeId.Express; | ||
}; | ||
@@ -101,2 +104,3 @@ declare const DELIVERY_TYPE_IDS_TO_NAMES: { | ||
readonly 4: DeliveryTypeName.Pickup; | ||
readonly 7: DeliveryTypeName.Express; | ||
}; | ||
@@ -103,0 +107,0 @@ |
@@ -75,2 +75,3 @@ // src/types/carrier.ts | ||
DeliveryTypeId3[DeliveryTypeId3["Pickup"] = 4] = "Pickup"; | ||
DeliveryTypeId3[DeliveryTypeId3["Express"] = 7] = "Express"; | ||
return DeliveryTypeId3; | ||
@@ -83,2 +84,3 @@ })(DeliveryTypeId || {}); | ||
DeliveryTypeName3["Pickup"] = "pickup"; | ||
DeliveryTypeName3["Express"] = "express"; | ||
return DeliveryTypeName3; | ||
@@ -90,3 +92,4 @@ })(DeliveryTypeName || {}); | ||
["evening" /* Evening */]: 3 /* Evening */, | ||
["pickup" /* Pickup */]: 4 /* Pickup */ | ||
["pickup" /* Pickup */]: 4 /* Pickup */, | ||
["express" /* Express */]: 7 /* Express */ | ||
}; | ||
@@ -97,3 +100,4 @@ var DELIVERY_TYPE_IDS_TO_NAMES = { | ||
[3 /* Evening */]: "evening" /* Evening */, | ||
[4 /* Pickup */]: "pickup" /* Pickup */ | ||
[4 /* Pickup */]: "pickup" /* Pickup */, | ||
[7 /* Express */]: "express" /* Express */ | ||
}; | ||
@@ -100,0 +104,0 @@ |
{ | ||
"name": "@myparcel/constants", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Collection of constant values for use with the MyParcel API", | ||
@@ -9,3 +9,6 @@ "keywords": [ | ||
], | ||
"repository": "github:myparcelnl/constants", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/myparcelnl/constants.git" | ||
}, | ||
"license": "MIT", | ||
@@ -93,3 +96,3 @@ "author": "Edie Lemoine <edie@myparcel.nl>", | ||
"fast-glob": "^3.2.12", | ||
"husky": "^8.0.3", | ||
"husky": "^9.0.0", | ||
"is-ci": "^3.0.1", | ||
@@ -103,5 +106,6 @@ "lint-staged": "^15.0.0", | ||
}, | ||
"packageManager": "yarn@3.4.1", | ||
"packageManager": "yarn@4.5.1", | ||
"volta": { | ||
"node": "20.10.0" | ||
"node": "20.10.0", | ||
"yarn": "4.5.1" | ||
}, | ||
@@ -108,0 +112,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
126211
3630
0