@freedom_sky/feige-lib 4.23.0 → 4.26.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.
@@ -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;
@@ -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,18 @@ var Const = /** @class */ (function () {
1379
1382
  zh: '西班牙',
1380
1383
  phoneCode: '34',
1381
1384
  zhHead: 'X',
1385
+ cost: 12,
1386
+ setting: {
1387
+ defaultCurrency: '€',
1388
+ timeZoneNum: 1,
1389
+ agent: {
1390
+ instruction: undefined,
1391
+ showPriceInStore: false,
1392
+ qrCode: '',
1393
+ phone: '624871896 / 642726636',
1394
+ email: 'tecnopaloma.com',
1395
+ },
1396
+ },
1382
1397
  },
1383
1398
  {
1384
1399
  en: 'Sri Lanka',
@@ -1436,9 +1451,10 @@ var Const = /** @class */ (function () {
1436
1451
  },
1437
1452
  {
1438
1453
  en: 'Taiwan',
1439
- zh: '台湾',
1454
+ zh: '中国台湾',
1440
1455
  phoneCode: '886',
1441
1456
  zhHead: 'T',
1457
+ cost: 7,
1442
1458
  },
1443
1459
  {
1444
1460
  en: 'Tajikstan',
@@ -1523,6 +1539,7 @@ var Const = /** @class */ (function () {
1523
1539
  zh: '美国',
1524
1540
  phoneCode: '1',
1525
1541
  zhHead: 'M',
1542
+ cost: 1
1526
1543
  },
1527
1544
  {
1528
1545
  en: 'Uruguay',
@@ -1547,6 +1564,7 @@ var Const = /** @class */ (function () {
1547
1564
  zh: '越南',
1548
1565
  phoneCode: '84',
1549
1566
  zhHead: 'Y',
1567
+ cost: 7,
1550
1568
  setting: {
1551
1569
  defaultCurrency: 'đ',
1552
1570
  timeZoneNum: 7,
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.23.0",
3
+ "version": "4.26.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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,18 @@ class Const {
1376
1379
  zh: '西班牙',
1377
1380
  phoneCode: '34',
1378
1381
  zhHead: 'X',
1382
+ cost:12,
1383
+ setting: {
1384
+ defaultCurrency: '€',
1385
+ timeZoneNum: 1,
1386
+ agent: {
1387
+ instruction: undefined,
1388
+ showPriceInStore: false,
1389
+ qrCode: '',
1390
+ phone: '624871896 / 642726636',
1391
+ email: 'tecnopaloma.com',
1392
+ },
1393
+ },
1379
1394
  },
1380
1395
  {
1381
1396
  en: 'Sri Lanka',
@@ -1433,9 +1448,10 @@ class Const {
1433
1448
  },
1434
1449
  {
1435
1450
  en: 'Taiwan',
1436
- zh: '台湾',
1451
+ zh: '中国台湾',
1437
1452
  phoneCode: '886',
1438
1453
  zhHead: 'T',
1454
+ cost:7,
1439
1455
  },
1440
1456
  {
1441
1457
  en: 'Tajikstan',
@@ -1520,6 +1536,7 @@ class Const {
1520
1536
  zh: '美国',
1521
1537
  phoneCode: '1',
1522
1538
  zhHead: 'M',
1539
+ cost:1
1523
1540
  },
1524
1541
  {
1525
1542
  en: 'Uruguay',
@@ -1544,6 +1561,7 @@ class Const {
1544
1561
  zh: '越南',
1545
1562
  phoneCode: '84',
1546
1563
  zhHead: 'Y',
1564
+ cost:7,
1547
1565
  setting: {
1548
1566
  defaultCurrency: 'đ',
1549
1567
  timeZoneNum: 7,
@@ -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[];