meemup-library 1.3.87 → 1.3.89

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.
@@ -506,7 +506,7 @@ class OrderToolController {
506
506
  return result;
507
507
  if (Array.isArray(orderTypes) && orderTypes.length > 0 && !orderTypes.includes(orderType))
508
508
  return result;
509
- if (paymentType == EnumPaymentType.none)
509
+ if (paymentType == EnumPaymentType.None)
510
510
  return result;
511
511
  let notOnOnlinePay = paymentType == EnumPaymentType.Online && !ToolController.find_number_to_2(paymentTypes, 1);
512
512
  let notOnCashPay = paymentType == EnumPaymentType.Cash && !ToolController.find_number_to_2(paymentTypes, 2);
@@ -0,0 +1,13 @@
1
+ declare enum EnumFeeOnPaymentMethodType {
2
+ None = 0,
3
+ Online = 1,
4
+ Cash = 2,
5
+ DebitAt = 4,
6
+ ApplePay = 8,
7
+ GooglePay = 16,
8
+ StripeTerminal = 32,
9
+ Wallet = 64,
10
+ GiftCards = 128,
11
+ ElavonTerminal = 256
12
+ }
13
+ export default EnumFeeOnPaymentMethodType;
@@ -0,0 +1,14 @@
1
+ var EnumFeeOnPaymentMethodType;
2
+ (function (EnumFeeOnPaymentMethodType) {
3
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["None"] = 0] = "None";
4
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["Online"] = 1] = "Online";
5
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["Cash"] = 2] = "Cash";
6
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["DebitAt"] = 4] = "DebitAt";
7
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["ApplePay"] = 8] = "ApplePay";
8
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["GooglePay"] = 16] = "GooglePay";
9
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["StripeTerminal"] = 32] = "StripeTerminal";
10
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["Wallet"] = 64] = "Wallet";
11
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["GiftCards"] = 128] = "GiftCards";
12
+ EnumFeeOnPaymentMethodType[EnumFeeOnPaymentMethodType["ElavonTerminal"] = 256] = "ElavonTerminal";
13
+ })(EnumFeeOnPaymentMethodType || (EnumFeeOnPaymentMethodType = {}));
14
+ export default EnumFeeOnPaymentMethodType;
@@ -1,5 +1,5 @@
1
1
  declare enum EnumPaymentType {
2
- none = 0,
2
+ None = 0,
3
3
  Online = 1,
4
4
  Cash = 2,
5
5
  DebitAt = 3,
@@ -1,6 +1,6 @@
1
1
  var EnumPaymentType;
2
2
  (function (EnumPaymentType) {
3
- EnumPaymentType[EnumPaymentType["none"] = 0] = "none";
3
+ EnumPaymentType[EnumPaymentType["None"] = 0] = "None";
4
4
  EnumPaymentType[EnumPaymentType["Online"] = 1] = "Online";
5
5
  EnumPaymentType[EnumPaymentType["Cash"] = 2] = "Cash";
6
6
  EnumPaymentType[EnumPaymentType["DebitAt"] = 3] = "DebitAt";
@@ -55,4 +55,4 @@ public enum PaymentType : byte
55
55
  [Description("Split payments")]
56
56
  MultipleMethods = 11,
57
57
  }
58
- */
58
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.87",
3
+ "version": "1.3.89",
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.87 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.89 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"