@plmtest/plmtrustlink-enum-management 2.4.23 → 2.4.25

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/enum.js +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plmtest/plmtrustlink-enum-management",
3
- "version": "2.4.23",
3
+ "version": "2.4.25",
4
4
  "description": "Package that manages enums used in plmtrustlink",
5
5
  "main": "src/index.js",
6
6
  "author": "PLM Fleet, LLC",
package/src/enum.js CHANGED
@@ -892,10 +892,35 @@ const PROCESS_ASSIGNMENT_CAPABILITIES = Object.freeze({
892
892
  NFC: 'NFC'
893
893
  })
894
894
 
895
+ const BATCH_STATES = Object.freeze({
896
+
897
+ NORMAL: {
898
+ text: 'Normal',
899
+ exception: false
900
+ },
901
+
902
+ ON_HOLD: {
903
+ text: 'On-Hold',
904
+ exception: true
905
+ },
906
+
907
+ RECALLED: {
908
+ text: 'Recalled',
909
+ exception: true
910
+ },
911
+
912
+ DAMAGED: {
913
+ text: 'Damaged',
914
+ exception: true
915
+ }
916
+
917
+ })
918
+
895
919
  module.exports = {
896
920
  NOTIFICATION_CHANNEL,
897
921
  ALERT_PROPERTIES,
898
922
  BATCH_STATE,
923
+ BATCH_STATES,
899
924
  BUSINESS_OBJECT_TYPE,
900
925
  DELIVERY_STATUS,
901
926
  SHIPMENT_STATUS,