meemup-library 1.3.49 → 1.3.51
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.
- package/dist/controllers/ApiController.js +9 -9
- package/dist/controllers/ProductModalController.js +1 -1
- package/dist/enums/EnumElavonTenderType.d.ts +4 -4
- package/dist/enums/EnumElavonTransactionCardType.d.ts +10 -10
- package/dist/enums/EnumElavonTransactionStatus.d.ts +14 -14
- package/dist/enums/EnumElavonTransactionType.d.ts +42 -42
- package/dist/interfaces/IProduct.d.ts +2 -1
- package/dist/interfaces/IProduct.js +2 -1
- package/dist/interfaces/ISystem.js +39 -39
- package/dist/interfaces/management/IManagementSystem.js +39 -39
- package/dist/interfaces/management/ingredient-material/IManagementIngredientMaterialForm.d.ts +3 -0
- package/dist/interfaces/management/ingredient-material/IManagementIngredientMaterialForm.js +8 -1
- package/package.json +5 -7
|
@@ -123,11 +123,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
123
123
|
export default class ApiController {
|
|
124
124
|
constructor(account) {
|
|
125
125
|
this.account = account;
|
|
126
|
-
this.postWithAuth = (
|
|
127
|
-
this.putWithAuth = (
|
|
128
|
-
this.getWithAuth = (
|
|
129
|
-
this.get = (
|
|
130
|
-
this.deleteWithAuth = (
|
|
126
|
+
this.postWithAuth = (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, body = {}, headers = {}) { return this.fetchRequest(url, "POST", body, headers, true); });
|
|
127
|
+
this.putWithAuth = (url_1, body_1, ...args_1) => __awaiter(this, [url_1, body_1, ...args_1], void 0, function* (url, body, headers = {}) { return this.fetchRequest(url, "PUT", body, headers, true); });
|
|
128
|
+
this.getWithAuth = (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, headers = {}) { return this.fetchRequest(url, "GET", null, headers, true); });
|
|
129
|
+
this.get = (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, headers = {}) { return this.fetchRequest(url, "GET", null, headers, false); });
|
|
130
|
+
this.deleteWithAuth = (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, headers = {}) { return this.fetchRequest(url, "DELETE", null, headers, true); });
|
|
131
131
|
this.getCompanyId = () => {
|
|
132
132
|
var _a;
|
|
133
133
|
if ((_a = this.account) === null || _a === void 0 ? void 0 : _a.companyId)
|
|
@@ -135,13 +135,13 @@ export default class ApiController {
|
|
|
135
135
|
return this.account.company.id + "";
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
defaultHeader(
|
|
139
|
-
return __awaiter(this,
|
|
138
|
+
defaultHeader() {
|
|
139
|
+
return __awaiter(this, arguments, void 0, function* (authorization = true) {
|
|
140
140
|
return Object.assign({ companyId: this.getCompanyId() }, (authorization ? { Authorization: "Bearer " + this.account.token } : {}));
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
|
-
fetchRequest(
|
|
144
|
-
return __awaiter(this,
|
|
143
|
+
fetchRequest(url_1, method_1) {
|
|
144
|
+
return __awaiter(this, arguments, void 0, function* (url, method, body = null, headers = {}, authorization = true, timeout = 15000) {
|
|
145
145
|
const controller = new AbortController();
|
|
146
146
|
const signal = controller.signal;
|
|
147
147
|
// Set timeout for the request
|
|
@@ -137,7 +137,7 @@ export default new class ProductModalController {
|
|
|
137
137
|
productId: product.id,
|
|
138
138
|
title: this.productName(product),
|
|
139
139
|
imageUrl: this.productImage(product),
|
|
140
|
-
price: MoneyController.round(price),
|
|
140
|
+
price: MoneyController.round(price), //OrderScreenController.productPrice(product, orderType),
|
|
141
141
|
extras: extraItemList,
|
|
142
142
|
quantity: count,
|
|
143
143
|
totalAmount: MoneyController.round(count * price),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare enum EnumElavonTenderType {
|
|
2
|
-
AllCardTypes = "0"
|
|
3
|
-
Debit = "1"
|
|
4
|
-
Credit = "2"
|
|
5
|
-
Gift = "3"
|
|
2
|
+
AllCardTypes = "0",// All card types
|
|
3
|
+
Debit = "1",// Debit
|
|
4
|
+
Credit = "2",// Credit
|
|
5
|
+
Gift = "3",// Gift
|
|
6
6
|
Cash = "7"
|
|
7
7
|
}
|
|
8
8
|
export default EnumElavonTenderType;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare enum EnumElavonTransactionCardType {
|
|
2
|
-
Debit = "00"
|
|
3
|
-
Visa = "01"
|
|
4
|
-
MasterCard = "02"
|
|
5
|
-
Amex = "03"
|
|
6
|
-
DinersClub = "04"
|
|
7
|
-
DiscoverCard = "05"
|
|
8
|
-
JCB = "06"
|
|
9
|
-
UnionPay = "07"
|
|
10
|
-
OtherCreditCard = "08"
|
|
11
|
-
GiftCard = "09"
|
|
2
|
+
Debit = "00",// Debit
|
|
3
|
+
Visa = "01",// Visa
|
|
4
|
+
MasterCard = "02",// MasterCard
|
|
5
|
+
Amex = "03",// American Express (Amex)
|
|
6
|
+
DinersClub = "04",// Diners Club
|
|
7
|
+
DiscoverCard = "05",// Discover Card
|
|
8
|
+
JCB = "06",// JCB
|
|
9
|
+
UnionPay = "07",// Union Pay Card
|
|
10
|
+
OtherCreditCard = "08",// Other Credit Card
|
|
11
|
+
GiftCard = "09",// Gift Card
|
|
12
12
|
Cash = "10"
|
|
13
13
|
}
|
|
14
14
|
export default EnumElavonTransactionCardType;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
declare enum EnumElavonTransactionStatus {
|
|
2
|
-
Approved = "00"
|
|
3
|
-
PartialApproved = "01"
|
|
4
|
-
Declined = "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"
|
|
2
|
+
Approved = "00",// Approved / Function Completed
|
|
3
|
+
PartialApproved = "01",// Partial Approved
|
|
4
|
+
Declined = "10",// Declined by host or by card
|
|
5
|
+
CommunicationError = "11",// Communication Error
|
|
6
|
+
CancelledByUser = "12",// Cancelled by User
|
|
7
|
+
TimedOutOnUserInput = "13",// Timed out on User Input
|
|
8
|
+
TransactionNotCompleted = "14",// Transaction/Function Not Completed
|
|
9
|
+
BatchEmpty = "15",// Batch Empty
|
|
10
|
+
DeclinedByMerchant = "16",// Declined by Merchant
|
|
11
|
+
RecordNotFound = "17",// Record Not Found
|
|
12
|
+
TransactionAlreadyVoided = "18",// Transaction Already Voided
|
|
13
|
+
InvalidECRParameter = "30",// Invalid ECR Parameter
|
|
14
|
+
BatteryLow = "31",// Battery low
|
|
15
|
+
CashDrawerSuccess = "40",// Success
|
|
16
16
|
CashDrawerFailed = "41"
|
|
17
17
|
}
|
|
18
18
|
export default EnumElavonTransactionStatus;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
declare enum EnumElavonTransactionType {
|
|
2
|
-
Sale = "00"
|
|
3
|
-
PreAuth = "01"
|
|
4
|
-
PreAuthCompletion = "02"
|
|
5
|
-
Refund = "03"
|
|
6
|
-
Force = "04"
|
|
7
|
-
Void = "05"
|
|
8
|
-
CardBalanceInquiry = "06"
|
|
9
|
-
AuthOnly = "07"
|
|
10
|
-
IncrementalAuth = "08"
|
|
11
|
-
ForcePreAuth = "09"
|
|
12
|
-
Settlement = "20"
|
|
13
|
-
AutoSettlement = "21"
|
|
14
|
-
ReprintReceipt = "22"
|
|
15
|
-
DetailReport = "30"
|
|
16
|
-
SummaryReport = "31"
|
|
17
|
-
EMVLastTransactionReport = "32"
|
|
18
|
-
ClerkSummaryReport = "33"
|
|
19
|
-
ParametersReport = "34"
|
|
20
|
-
OpenPreAuth = "35"
|
|
21
|
-
RecentError = "36"
|
|
22
|
-
ActivityReport = "37"
|
|
23
|
-
ClerkIDList = "38"
|
|
24
|
-
EMVParameters = "39"
|
|
25
|
-
EMVStatistic = "40"
|
|
26
|
-
EMVPublicKey = "41"
|
|
27
|
-
TerminalInfo = "42"
|
|
28
|
-
Issuance = "50"
|
|
29
|
-
Activation = "51"
|
|
30
|
-
BlockActivation = "52"
|
|
31
|
-
Redemption = "53"
|
|
32
|
-
AddTip = "54"
|
|
33
|
-
ForceIssuance = "55"
|
|
34
|
-
ForceActivation = "56"
|
|
35
|
-
ForceRedemption = "57"
|
|
36
|
-
Deactivation = "58"
|
|
37
|
-
BlockDeactivation = "59"
|
|
38
|
-
Reactivation = "60"
|
|
39
|
-
ZeroGiftCardBalance = "61"
|
|
40
|
-
BlockReactivation = "63"
|
|
41
|
-
CDStatus = "70"
|
|
42
|
-
CDOpen = "71"
|
|
43
|
-
CDCapability = "72"
|
|
2
|
+
Sale = "00",// Sale / Purchase
|
|
3
|
+
PreAuth = "01",// Pre Auth
|
|
4
|
+
PreAuthCompletion = "02",// Pre Auth Completion
|
|
5
|
+
Refund = "03",// Refund
|
|
6
|
+
Force = "04",// Force
|
|
7
|
+
Void = "05",// Void
|
|
8
|
+
CardBalanceInquiry = "06",// Card Balance Inquiry
|
|
9
|
+
AuthOnly = "07",// Auth Only
|
|
10
|
+
IncrementalAuth = "08",// Incremental Auth
|
|
11
|
+
ForcePreAuth = "09",// Force Pre Auth
|
|
12
|
+
Settlement = "20",// Settlement
|
|
13
|
+
AutoSettlement = "21",// Auto Settlement
|
|
14
|
+
ReprintReceipt = "22",// Reprint Receipt
|
|
15
|
+
DetailReport = "30",// Detail Report
|
|
16
|
+
SummaryReport = "31",// Summary Report
|
|
17
|
+
EMVLastTransactionReport = "32",// EMV Last Transaction Report
|
|
18
|
+
ClerkSummaryReport = "33",// Clerk Summary Report
|
|
19
|
+
ParametersReport = "34",// Parameters Report
|
|
20
|
+
OpenPreAuth = "35",// Open Pre Auth
|
|
21
|
+
RecentError = "36",// Recent Error
|
|
22
|
+
ActivityReport = "37",// Activity Report
|
|
23
|
+
ClerkIDList = "38",// Clerk ID List
|
|
24
|
+
EMVParameters = "39",// EMV Parameters
|
|
25
|
+
EMVStatistic = "40",// EMV Statistic
|
|
26
|
+
EMVPublicKey = "41",// EMV Public Key
|
|
27
|
+
TerminalInfo = "42",// Terminal Info
|
|
28
|
+
Issuance = "50",// Issuance (Multi Issuance) / Reload
|
|
29
|
+
Activation = "51",// Activation (Multi Activation)
|
|
30
|
+
BlockActivation = "52",// Block Activation
|
|
31
|
+
Redemption = "53",// Redemption
|
|
32
|
+
AddTip = "54",// Add Tip
|
|
33
|
+
ForceIssuance = "55",// Force Issuance
|
|
34
|
+
ForceActivation = "56",// Force Activation
|
|
35
|
+
ForceRedemption = "57",// Force Redemption
|
|
36
|
+
Deactivation = "58",// Deactivation
|
|
37
|
+
BlockDeactivation = "59",// Block Deactivation
|
|
38
|
+
Reactivation = "60",// Reactivation
|
|
39
|
+
ZeroGiftCardBalance = "61",// Zero Gift Card Balance
|
|
40
|
+
BlockReactivation = "63",// Block Reactivation
|
|
41
|
+
CDStatus = "70",// CD Status
|
|
42
|
+
CDOpen = "71",// CD Open
|
|
43
|
+
CDCapability = "72",// CD Capability
|
|
44
44
|
PrintReceipt = "99"
|
|
45
45
|
}
|
|
46
46
|
export default EnumElavonTransactionType;
|
|
@@ -64,9 +64,10 @@ export default interface IProduct {
|
|
|
64
64
|
length: number;
|
|
65
65
|
};
|
|
66
66
|
showRecipes: boolean;
|
|
67
|
-
|
|
67
|
+
ingredientMaterialId: number | null;
|
|
68
68
|
eANBarcode: string;
|
|
69
69
|
sellWhenOutOfStock: boolean;
|
|
70
70
|
inventoryControl: boolean;
|
|
71
|
+
accesses: number[];
|
|
71
72
|
}
|
|
72
73
|
export declare const initProduct: IProduct;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
export const initSystem = {
|
|
2
|
-
websocketsVerbinding: false,
|
|
3
|
-
playSound: true,
|
|
4
|
-
sendEmail: true,
|
|
5
|
-
acceptLinkInMail: true,
|
|
6
|
-
sendSMS: true,
|
|
7
|
-
acceptLink: true,
|
|
8
|
-
orderLink: true,
|
|
9
|
-
sendFax: true,
|
|
10
|
-
sendAPushMessage: true,
|
|
11
|
-
driverRequired: true,
|
|
12
|
-
rewardsProgram: true,
|
|
13
|
-
orderInitially: 1,
|
|
14
|
-
sound: 1,
|
|
15
|
-
soundPlayTimes: 1,
|
|
16
|
-
smsContent: 0,
|
|
17
|
-
pushMessagePriority: 0,
|
|
18
|
-
pushMessageSound: 0,
|
|
19
|
-
rewardsMaxPointsPerOrder: 0,
|
|
2
|
+
websocketsVerbinding: false, //this.takeBoolean(data, "websocketsVerbinding", false),
|
|
3
|
+
playSound: true, //this.takeBoolean(data, "playSound", true),
|
|
4
|
+
sendEmail: true, //this.takeBoolean(data, "sendEmail", true),
|
|
5
|
+
acceptLinkInMail: true, //this.takeBoolean(data, "acceptLinkInMail", true),
|
|
6
|
+
sendSMS: true, //this.takeBoolean(data, "sendSMS", true),
|
|
7
|
+
acceptLink: true, // this.takeBoolean(data, "acceptLink", true),
|
|
8
|
+
orderLink: true, //this.takeBoolean(data, "orderLink", true),
|
|
9
|
+
sendFax: true, //this.takeBoolean(data, "sendFax", true),
|
|
10
|
+
sendAPushMessage: true, // this.takeBoolean(data, "sendAPushMessage", true),
|
|
11
|
+
driverRequired: true, // this.takeBoolean(data, "driverRequired", true),
|
|
12
|
+
rewardsProgram: true, // this.takeBoolean(data, "rewardsProgram", true),
|
|
13
|
+
orderInitially: 1, // this.takeNumber(data, "orderInitially", 1),
|
|
14
|
+
sound: 1, //this.takeNumber(data, "sound", 1),
|
|
15
|
+
soundPlayTimes: 1, //this.takeNumber(data, "soundPlayTimes", 1),
|
|
16
|
+
smsContent: 0, //this.takeNumber(data, "smsContent", 0),
|
|
17
|
+
pushMessagePriority: 0, // this.takeNumber(data, "pushMessagePriority", 0),
|
|
18
|
+
pushMessageSound: 0, // this.takeNumber(data, "pushMessageSound", 0),
|
|
19
|
+
rewardsMaxPointsPerOrder: 0, // this.takeNumber(data, "rewardsMaxPointsPerOrder", 0),
|
|
20
20
|
rewardsEveryValue: 0,
|
|
21
|
-
deliveryTiming: 1,
|
|
22
|
-
languageId: 1,
|
|
23
|
-
downloadFileFormat: 1,
|
|
24
|
-
zoneOverlappingMode: 1,
|
|
25
|
-
mailTo: "",
|
|
26
|
-
smsTo: "",
|
|
27
|
-
pushMessageUserKey: "key",
|
|
28
|
-
faxToNumber: "",
|
|
29
|
-
pushMessageDeviceName: "",
|
|
30
|
-
listSeperator: ",",
|
|
31
|
-
rewardsValuePerPoint: 1.1,
|
|
32
|
-
rewardsNumberOfPoints: 102,
|
|
33
|
-
rewardsPoints: 2,
|
|
34
|
-
incrementTime: 2,
|
|
35
|
-
transportType: 3,
|
|
36
|
-
calculateDistance: 2,
|
|
37
|
-
timeZoneId: 2,
|
|
38
|
-
currencyId: 125,
|
|
39
|
-
language: "English (En)",
|
|
40
|
-
timeZone: "(UTC-05:00) Eastern Time (US & Canada)",
|
|
41
|
-
currency: "US ($)",
|
|
21
|
+
deliveryTiming: 1, // this.takeNumber(data, "deliveryTiming", 1),
|
|
22
|
+
languageId: 1, //this.takeNumber(data, "languageId", 1),
|
|
23
|
+
downloadFileFormat: 1, // this.takeNumber(data, "downloadFileFormat", 1),
|
|
24
|
+
zoneOverlappingMode: 1, // this.takeNumber(data, "zoneOverlappingMode", 1),
|
|
25
|
+
mailTo: "", // this.takeString(data, "mailTo", ""),
|
|
26
|
+
smsTo: "", // this.takeString(data, "smsTo", ""),
|
|
27
|
+
pushMessageUserKey: "key", //this.takeString(data, "pushMessageUserKey", "key"),
|
|
28
|
+
faxToNumber: "", // this.takeString(data, "faxToNumber", ""),
|
|
29
|
+
pushMessageDeviceName: "", // this.takeString(data, "pushMessageDeviceName", ""),
|
|
30
|
+
listSeperator: ",", //this.takeString(data, "listSeperator", ","),
|
|
31
|
+
rewardsValuePerPoint: 1.1, // this.takeNumber(data, "rewardsValuePerPoint", 1.1),
|
|
32
|
+
rewardsNumberOfPoints: 102, // this.takeNumber(data, "rewardsNumberOfPoints", 102),
|
|
33
|
+
rewardsPoints: 2, //this.takeNumber(data, "rewardsPoints", 2),
|
|
34
|
+
incrementTime: 2, // this.takeNumber(data, "incrementTime", 2),
|
|
35
|
+
transportType: 3, // this.takeNumber(data, "transportType", 3),
|
|
36
|
+
calculateDistance: 2, //this.takeNumber(data, "calculateDistance", 2),
|
|
37
|
+
timeZoneId: 2, //this.takeNumber(data, "timeZoneId", 2),
|
|
38
|
+
currencyId: 125, // this.takeNumber(data, "currencyId", 125),
|
|
39
|
+
language: "English (En)", // this.takeString(data, "language", "English (En)"),
|
|
40
|
+
timeZone: "(UTC-05:00) Eastern Time (US & Canada)", // this.takeString(data, "timeZone", "(UTC-05:00) Eastern Time (US & Canada)"),
|
|
41
|
+
currency: "US ($)", //this.takeString(data, "currency", "US ($)")
|
|
42
42
|
smsToCustomer: false,
|
|
43
43
|
printerSettings: {
|
|
44
44
|
autoPrint: false,
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
export const initSystem = {
|
|
2
|
-
websocketsVerbinding: false,
|
|
3
|
-
playSound: true,
|
|
4
|
-
sendEmail: true,
|
|
5
|
-
acceptLinkInMail: true,
|
|
6
|
-
sendSMS: true,
|
|
7
|
-
acceptLink: true,
|
|
8
|
-
orderLink: true,
|
|
9
|
-
sendFax: true,
|
|
10
|
-
sendAPushMessage: true,
|
|
11
|
-
driverRequired: true,
|
|
12
|
-
rewardsProgram: true,
|
|
13
|
-
orderInitially: 1,
|
|
14
|
-
sound: 1,
|
|
15
|
-
soundPlayTimes: 1,
|
|
16
|
-
smsContent: 0,
|
|
17
|
-
pushMessagePriority: 0,
|
|
18
|
-
pushMessageSound: 0,
|
|
19
|
-
rewardsMaxPointsPerOrder: 0,
|
|
2
|
+
websocketsVerbinding: false, //this.takeBoolean(data, "websocketsVerbinding", false),
|
|
3
|
+
playSound: true, //this.takeBoolean(data, "playSound", true),
|
|
4
|
+
sendEmail: true, //this.takeBoolean(data, "sendEmail", true),
|
|
5
|
+
acceptLinkInMail: true, //this.takeBoolean(data, "acceptLinkInMail", true),
|
|
6
|
+
sendSMS: true, //this.takeBoolean(data, "sendSMS", true),
|
|
7
|
+
acceptLink: true, // this.takeBoolean(data, "acceptLink", true),
|
|
8
|
+
orderLink: true, //this.takeBoolean(data, "orderLink", true),
|
|
9
|
+
sendFax: true, //this.takeBoolean(data, "sendFax", true),
|
|
10
|
+
sendAPushMessage: true, // this.takeBoolean(data, "sendAPushMessage", true),
|
|
11
|
+
driverRequired: true, // this.takeBoolean(data, "driverRequired", true),
|
|
12
|
+
rewardsProgram: true, // this.takeBoolean(data, "rewardsProgram", true),
|
|
13
|
+
orderInitially: 1, // this.takeNumber(data, "orderInitially", 1),
|
|
14
|
+
sound: 1, //this.takeNumber(data, "sound", 1),
|
|
15
|
+
soundPlayTimes: 1, //this.takeNumber(data, "soundPlayTimes", 1),
|
|
16
|
+
smsContent: 0, //this.takeNumber(data, "smsContent", 0),
|
|
17
|
+
pushMessagePriority: 0, // this.takeNumber(data, "pushMessagePriority", 0),
|
|
18
|
+
pushMessageSound: 0, // this.takeNumber(data, "pushMessageSound", 0),
|
|
19
|
+
rewardsMaxPointsPerOrder: 0, // this.takeNumber(data, "rewardsMaxPointsPerOrder", 0),
|
|
20
20
|
rewardsEveryValue: 0,
|
|
21
|
-
deliveryTiming: 1,
|
|
22
|
-
languageId: 1,
|
|
23
|
-
downloadFileFormat: 1,
|
|
24
|
-
zoneOverlappingMode: 1,
|
|
25
|
-
mailTo: "",
|
|
26
|
-
smsTo: "",
|
|
27
|
-
pushMessageUserKey: "key",
|
|
28
|
-
faxToNumber: "",
|
|
29
|
-
pushMessageDeviceName: "",
|
|
30
|
-
listSeperator: ",",
|
|
31
|
-
rewardsValuePerPoint: 1.1,
|
|
32
|
-
rewardsNumberOfPoints: 102,
|
|
33
|
-
rewardsPoints: 2,
|
|
34
|
-
incrementTime: 2,
|
|
35
|
-
transportType: 3,
|
|
36
|
-
calculateDistance: 2,
|
|
37
|
-
timeZoneId: 2,
|
|
38
|
-
currencyId: 125,
|
|
39
|
-
language: "English (En)",
|
|
40
|
-
timeZone: "(UTC-05:00) Eastern Time (US & Canada)",
|
|
41
|
-
currency: "US ($)",
|
|
21
|
+
deliveryTiming: 1, // this.takeNumber(data, "deliveryTiming", 1),
|
|
22
|
+
languageId: 1, //this.takeNumber(data, "languageId", 1),
|
|
23
|
+
downloadFileFormat: 1, // this.takeNumber(data, "downloadFileFormat", 1),
|
|
24
|
+
zoneOverlappingMode: 1, // this.takeNumber(data, "zoneOverlappingMode", 1),
|
|
25
|
+
mailTo: "", // this.takeString(data, "mailTo", ""),
|
|
26
|
+
smsTo: "", // this.takeString(data, "smsTo", ""),
|
|
27
|
+
pushMessageUserKey: "key", //this.takeString(data, "pushMessageUserKey", "key"),
|
|
28
|
+
faxToNumber: "", // this.takeString(data, "faxToNumber", ""),
|
|
29
|
+
pushMessageDeviceName: "", // this.takeString(data, "pushMessageDeviceName", ""),
|
|
30
|
+
listSeperator: ",", //this.takeString(data, "listSeperator", ","),
|
|
31
|
+
rewardsValuePerPoint: 1.1, // this.takeNumber(data, "rewardsValuePerPoint", 1.1),
|
|
32
|
+
rewardsNumberOfPoints: 102, // this.takeNumber(data, "rewardsNumberOfPoints", 102),
|
|
33
|
+
rewardsPoints: 2, //this.takeNumber(data, "rewardsPoints", 2),
|
|
34
|
+
incrementTime: 2, // this.takeNumber(data, "incrementTime", 2),
|
|
35
|
+
transportType: 3, // this.takeNumber(data, "transportType", 3),
|
|
36
|
+
calculateDistance: 2, //this.takeNumber(data, "calculateDistance", 2),
|
|
37
|
+
timeZoneId: 2, //this.takeNumber(data, "timeZoneId", 2),
|
|
38
|
+
currencyId: 125, // this.takeNumber(data, "currencyId", 125),
|
|
39
|
+
language: "English (En)", // this.takeString(data, "language", "English (En)"),
|
|
40
|
+
timeZone: "(UTC-05:00) Eastern Time (US & Canada)", // this.takeString(data, "timeZone", "(UTC-05:00) Eastern Time (US & Canada)"),
|
|
41
|
+
currency: "US ($)", //this.takeString(data, "currency", "US ($)")
|
|
42
42
|
smsToCustomer: false,
|
|
43
43
|
printerSettings: {
|
|
44
44
|
autoPrint: false,
|
package/dist/interfaces/management/ingredient-material/IManagementIngredientMaterialForm.d.ts
CHANGED
|
@@ -3,4 +3,7 @@ export default interface IManagementIngredientMaterialForm {
|
|
|
3
3
|
unitId: number;
|
|
4
4
|
name: string;
|
|
5
5
|
enabled: boolean;
|
|
6
|
+
initialMinorValue: number;
|
|
7
|
+
initialMajorValue: number;
|
|
6
8
|
}
|
|
9
|
+
export declare const initManagementIngredientMaterialForm: IManagementIngredientMaterialForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.51",
|
|
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.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.3.51 \" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|
|
@@ -20,10 +20,8 @@
|
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"rimraf": "^
|
|
24
|
-
"typescript": "^5.
|
|
23
|
+
"rimraf": "^6.0.1",
|
|
24
|
+
"typescript": "^5.7.2"
|
|
25
25
|
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"axios": "^1.7.2"
|
|
28
|
-
}
|
|
26
|
+
"dependencies": {}
|
|
29
27
|
}
|