meemup-library 1.3.45 → 1.3.46

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.
@@ -0,0 +1,18 @@
1
+ declare enum EnumTransactionStatus {
2
+ Approved = "00",
3
+ PartialApproved = "01",
4
+ DeclinedByHostOrCard = "10",
5
+ CommunicationError = "11",
6
+ CancelledByUser = "12",
7
+ TimedOutOnUserInput = "13",
8
+ TransactionNotCompleted = "14",
9
+ BatchEmpty = "15",
10
+ DeclinedByMerchant = "16",
11
+ RecordNotFound = "17",
12
+ TransactionAlreadyVoided = "18",
13
+ InvalidECRParameter = "30",
14
+ BatteryLow = "31",
15
+ CashDrawerSuccess = "40",
16
+ CashDrawerFailed = "41"
17
+ }
18
+ export default EnumTransactionStatus;
@@ -0,0 +1,23 @@
1
+ var EnumTransactionStatus;
2
+ (function (EnumTransactionStatus) {
3
+ // Approved or Partial Approved
4
+ EnumTransactionStatus["Approved"] = "00";
5
+ EnumTransactionStatus["PartialApproved"] = "01";
6
+ // Declined or Not Completed
7
+ EnumTransactionStatus["DeclinedByHostOrCard"] = "10";
8
+ EnumTransactionStatus["CommunicationError"] = "11";
9
+ EnumTransactionStatus["CancelledByUser"] = "12";
10
+ EnumTransactionStatus["TimedOutOnUserInput"] = "13";
11
+ EnumTransactionStatus["TransactionNotCompleted"] = "14";
12
+ EnumTransactionStatus["BatchEmpty"] = "15";
13
+ EnumTransactionStatus["DeclinedByMerchant"] = "16";
14
+ EnumTransactionStatus["RecordNotFound"] = "17";
15
+ EnumTransactionStatus["TransactionAlreadyVoided"] = "18";
16
+ // ECR Request Rejected by Terminal
17
+ EnumTransactionStatus["InvalidECRParameter"] = "30";
18
+ EnumTransactionStatus["BatteryLow"] = "31";
19
+ // Cash Drawer Transaction Status
20
+ EnumTransactionStatus["CashDrawerSuccess"] = "40";
21
+ EnumTransactionStatus["CashDrawerFailed"] = "41";
22
+ })(EnumTransactionStatus || (EnumTransactionStatus = {}));
23
+ export default EnumTransactionStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.45",
3
+ "version": "1.3.46",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.3.45 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.46 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"