@freedom_sky/feige-lib 4.24.0 → 4.27.0
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/const/const.d.ts +27 -0
- package/dist/const/const.js +10 -3
- package/dist/enum/sms.enum.d.ts +2 -1
- package/dist/enum/sms.enum.js +1 -0
- package/dist/interfaces/store/store.interface.d.ts +7 -0
- package/package.json +1 -1
- package/src/const/const.ts +10 -3
- package/src/enum/sms.enum.ts +1 -0
- package/src/interfaces/store/store.interface.ts +7 -0
package/dist/const/const.d.ts
CHANGED
|
@@ -317,6 +317,7 @@ declare class Const {
|
|
|
317
317
|
phoneCode: string;
|
|
318
318
|
zhHead: string;
|
|
319
319
|
setting?: undefined;
|
|
320
|
+
cost?: undefined;
|
|
320
321
|
} | {
|
|
321
322
|
en: string;
|
|
322
323
|
zh: string;
|
|
@@ -333,11 +334,13 @@ declare class Const {
|
|
|
333
334
|
email?: undefined;
|
|
334
335
|
};
|
|
335
336
|
};
|
|
337
|
+
cost?: undefined;
|
|
336
338
|
} | {
|
|
337
339
|
en: string;
|
|
338
340
|
zh: string;
|
|
339
341
|
phoneCode: string;
|
|
340
342
|
zhHead: string;
|
|
343
|
+
cost: number;
|
|
341
344
|
setting: {
|
|
342
345
|
defaultCurrency: string;
|
|
343
346
|
timeZoneNum: number;
|
|
@@ -349,6 +352,30 @@ declare class Const {
|
|
|
349
352
|
email: string;
|
|
350
353
|
};
|
|
351
354
|
};
|
|
355
|
+
} | {
|
|
356
|
+
en: string;
|
|
357
|
+
zh: string;
|
|
358
|
+
phoneCode: string;
|
|
359
|
+
zhHead: string;
|
|
360
|
+
cost: number;
|
|
361
|
+
setting?: undefined;
|
|
362
|
+
} | {
|
|
363
|
+
en: string;
|
|
364
|
+
zh: string;
|
|
365
|
+
phoneCode: string;
|
|
366
|
+
zhHead: string;
|
|
367
|
+
cost: number;
|
|
368
|
+
setting: {
|
|
369
|
+
defaultCurrency: string;
|
|
370
|
+
timeZoneNum: number;
|
|
371
|
+
agent: {
|
|
372
|
+
instruction: string;
|
|
373
|
+
showPriceInStore: boolean;
|
|
374
|
+
qrCode: string;
|
|
375
|
+
phone?: undefined;
|
|
376
|
+
email?: undefined;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
352
379
|
})[];
|
|
353
380
|
}
|
|
354
381
|
export declare const CONST: Const;
|
package/dist/const/const.js
CHANGED
|
@@ -606,6 +606,7 @@ var Const = /** @class */ (function () {
|
|
|
606
606
|
zh: '加拿大',
|
|
607
607
|
phoneCode: '1',
|
|
608
608
|
zhHead: 'J',
|
|
609
|
+
cost: 1,
|
|
609
610
|
setting: {
|
|
610
611
|
defaultCurrency: '$',
|
|
611
612
|
timeZoneNum: -5,
|
|
@@ -647,6 +648,7 @@ var Const = /** @class */ (function () {
|
|
|
647
648
|
zh: '中国',
|
|
648
649
|
phoneCode: '86',
|
|
649
650
|
zhHead: 'Z',
|
|
651
|
+
cost: 1,
|
|
650
652
|
},
|
|
651
653
|
{
|
|
652
654
|
en: 'Colombia',
|
|
@@ -848,7 +850,7 @@ var Const = /** @class */ (function () {
|
|
|
848
850
|
},
|
|
849
851
|
{
|
|
850
852
|
en: 'Hongkong',
|
|
851
|
-
zh: '
|
|
853
|
+
zh: '中国香港',
|
|
852
854
|
phoneCode: '852',
|
|
853
855
|
zhHead: 'X',
|
|
854
856
|
},
|
|
@@ -1022,7 +1024,7 @@ var Const = /** @class */ (function () {
|
|
|
1022
1024
|
},
|
|
1023
1025
|
{
|
|
1024
1026
|
en: 'Macao',
|
|
1025
|
-
zh: '
|
|
1027
|
+
zh: '中国澳门',
|
|
1026
1028
|
phoneCode: '853',
|
|
1027
1029
|
zhHead: 'A',
|
|
1028
1030
|
},
|
|
@@ -1319,6 +1321,7 @@ var Const = /** @class */ (function () {
|
|
|
1319
1321
|
zh: '沙特阿拉伯',
|
|
1320
1322
|
phoneCode: '966',
|
|
1321
1323
|
zhHead: 'S',
|
|
1324
|
+
cost: 5,
|
|
1322
1325
|
},
|
|
1323
1326
|
{
|
|
1324
1327
|
en: 'Senegal',
|
|
@@ -1379,6 +1382,7 @@ var Const = /** @class */ (function () {
|
|
|
1379
1382
|
zh: '西班牙',
|
|
1380
1383
|
phoneCode: '34',
|
|
1381
1384
|
zhHead: 'X',
|
|
1385
|
+
cost: 12,
|
|
1382
1386
|
setting: {
|
|
1383
1387
|
defaultCurrency: '€',
|
|
1384
1388
|
timeZoneNum: 1,
|
|
@@ -1447,9 +1451,10 @@ var Const = /** @class */ (function () {
|
|
|
1447
1451
|
},
|
|
1448
1452
|
{
|
|
1449
1453
|
en: 'Taiwan',
|
|
1450
|
-
zh: '
|
|
1454
|
+
zh: '中国台湾',
|
|
1451
1455
|
phoneCode: '886',
|
|
1452
1456
|
zhHead: 'T',
|
|
1457
|
+
cost: 7,
|
|
1453
1458
|
},
|
|
1454
1459
|
{
|
|
1455
1460
|
en: 'Tajikstan',
|
|
@@ -1534,6 +1539,7 @@ var Const = /** @class */ (function () {
|
|
|
1534
1539
|
zh: '美国',
|
|
1535
1540
|
phoneCode: '1',
|
|
1536
1541
|
zhHead: 'M',
|
|
1542
|
+
cost: 1,
|
|
1537
1543
|
},
|
|
1538
1544
|
{
|
|
1539
1545
|
en: 'Uruguay',
|
|
@@ -1558,6 +1564,7 @@ var Const = /** @class */ (function () {
|
|
|
1558
1564
|
zh: '越南',
|
|
1559
1565
|
phoneCode: '84',
|
|
1560
1566
|
zhHead: 'Y',
|
|
1567
|
+
cost: 7,
|
|
1561
1568
|
setting: {
|
|
1562
1569
|
defaultCurrency: 'đ',
|
|
1563
1570
|
timeZoneNum: 7,
|
package/dist/enum/sms.enum.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ export declare enum SmsConsumptionTypeEnum {
|
|
|
9
9
|
MemberPayout = "memberPayout",
|
|
10
10
|
TakeoutConfirm = "takeoutConfirm",
|
|
11
11
|
TakeoutCancel = "takeoutCancel",
|
|
12
|
-
TakeoutComplete = "takeoutComplete"
|
|
12
|
+
TakeoutComplete = "takeoutComplete",
|
|
13
|
+
TakeoutSmsVerification = "takeoutSmsVerification"
|
|
13
14
|
}
|
package/dist/enum/sms.enum.js
CHANGED
|
@@ -14,4 +14,5 @@ var SmsConsumptionTypeEnum;
|
|
|
14
14
|
SmsConsumptionTypeEnum["TakeoutConfirm"] = "takeoutConfirm";
|
|
15
15
|
SmsConsumptionTypeEnum["TakeoutCancel"] = "takeoutCancel";
|
|
16
16
|
SmsConsumptionTypeEnum["TakeoutComplete"] = "takeoutComplete";
|
|
17
|
+
SmsConsumptionTypeEnum["TakeoutSmsVerification"] = "takeoutSmsVerification";
|
|
17
18
|
})(SmsConsumptionTypeEnum = exports.SmsConsumptionTypeEnum || (exports.SmsConsumptionTypeEnum = {}));
|
|
@@ -57,6 +57,13 @@ export interface Store {
|
|
|
57
57
|
endTime: number;
|
|
58
58
|
open: boolean;
|
|
59
59
|
autoConfirm: boolean;
|
|
60
|
+
selfPickUp: boolean;
|
|
61
|
+
enableDelivery: boolean;
|
|
62
|
+
reserveSwitch: boolean;
|
|
63
|
+
reserveTimeLow: number;
|
|
64
|
+
reserveTimeHigh: number;
|
|
65
|
+
nonPaymentSmsVerification: boolean;
|
|
66
|
+
smsVerificationAreaCode: string[];
|
|
60
67
|
};
|
|
61
68
|
readonly memberSetting: {
|
|
62
69
|
savingRules: MemberSavingRule[];
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -603,6 +603,7 @@ class Const {
|
|
|
603
603
|
zh: '加拿大',
|
|
604
604
|
phoneCode: '1',
|
|
605
605
|
zhHead: 'J',
|
|
606
|
+
cost: 1,
|
|
606
607
|
setting: {
|
|
607
608
|
defaultCurrency: '$',
|
|
608
609
|
timeZoneNum: -5,
|
|
@@ -644,6 +645,7 @@ class Const {
|
|
|
644
645
|
zh: '中国',
|
|
645
646
|
phoneCode: '86',
|
|
646
647
|
zhHead: 'Z',
|
|
648
|
+
cost: 1,
|
|
647
649
|
},
|
|
648
650
|
{
|
|
649
651
|
en: 'Colombia',
|
|
@@ -845,7 +847,7 @@ class Const {
|
|
|
845
847
|
},
|
|
846
848
|
{
|
|
847
849
|
en: 'Hongkong',
|
|
848
|
-
zh: '
|
|
850
|
+
zh: '中国香港',
|
|
849
851
|
phoneCode: '852',
|
|
850
852
|
zhHead: 'X',
|
|
851
853
|
},
|
|
@@ -1019,7 +1021,7 @@ class Const {
|
|
|
1019
1021
|
},
|
|
1020
1022
|
{
|
|
1021
1023
|
en: 'Macao',
|
|
1022
|
-
zh: '
|
|
1024
|
+
zh: '中国澳门',
|
|
1023
1025
|
phoneCode: '853',
|
|
1024
1026
|
zhHead: 'A',
|
|
1025
1027
|
},
|
|
@@ -1316,6 +1318,7 @@ class Const {
|
|
|
1316
1318
|
zh: '沙特阿拉伯',
|
|
1317
1319
|
phoneCode: '966',
|
|
1318
1320
|
zhHead: 'S',
|
|
1321
|
+
cost: 5,
|
|
1319
1322
|
},
|
|
1320
1323
|
{
|
|
1321
1324
|
en: 'Senegal',
|
|
@@ -1376,6 +1379,7 @@ class Const {
|
|
|
1376
1379
|
zh: '西班牙',
|
|
1377
1380
|
phoneCode: '34',
|
|
1378
1381
|
zhHead: 'X',
|
|
1382
|
+
cost: 12,
|
|
1379
1383
|
setting: {
|
|
1380
1384
|
defaultCurrency: '€',
|
|
1381
1385
|
timeZoneNum: 1,
|
|
@@ -1444,9 +1448,10 @@ class Const {
|
|
|
1444
1448
|
},
|
|
1445
1449
|
{
|
|
1446
1450
|
en: 'Taiwan',
|
|
1447
|
-
zh: '
|
|
1451
|
+
zh: '中国台湾',
|
|
1448
1452
|
phoneCode: '886',
|
|
1449
1453
|
zhHead: 'T',
|
|
1454
|
+
cost: 7,
|
|
1450
1455
|
},
|
|
1451
1456
|
{
|
|
1452
1457
|
en: 'Tajikstan',
|
|
@@ -1531,6 +1536,7 @@ class Const {
|
|
|
1531
1536
|
zh: '美国',
|
|
1532
1537
|
phoneCode: '1',
|
|
1533
1538
|
zhHead: 'M',
|
|
1539
|
+
cost: 1,
|
|
1534
1540
|
},
|
|
1535
1541
|
{
|
|
1536
1542
|
en: 'Uruguay',
|
|
@@ -1555,6 +1561,7 @@ class Const {
|
|
|
1555
1561
|
zh: '越南',
|
|
1556
1562
|
phoneCode: '84',
|
|
1557
1563
|
zhHead: 'Y',
|
|
1564
|
+
cost: 7,
|
|
1558
1565
|
setting: {
|
|
1559
1566
|
defaultCurrency: 'đ',
|
|
1560
1567
|
timeZoneNum: 7,
|
package/src/enum/sms.enum.ts
CHANGED
|
@@ -58,6 +58,13 @@ export interface Store {
|
|
|
58
58
|
endTime: number;
|
|
59
59
|
open: boolean;
|
|
60
60
|
autoConfirm: boolean;
|
|
61
|
+
selfPickUp: boolean;
|
|
62
|
+
enableDelivery: boolean;
|
|
63
|
+
reserveSwitch: boolean;
|
|
64
|
+
reserveTimeLow: number;
|
|
65
|
+
reserveTimeHigh: number;
|
|
66
|
+
nonPaymentSmsVerification: boolean;
|
|
67
|
+
smsVerificationAreaCode: string[];
|
|
61
68
|
};
|
|
62
69
|
readonly memberSetting: {
|
|
63
70
|
savingRules: MemberSavingRule[];
|