@pisell/pisellos 2.2.151 → 2.2.153

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.
@@ -311,7 +311,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
311
311
  date: string;
312
312
  status: string;
313
313
  week: string;
314
- weekNum: 0 | 1 | 2 | 5 | 4 | 3 | 6;
314
+ weekNum: 0 | 2 | 1 | 5 | 3 | 4 | 6;
315
315
  }[]>;
316
316
  submitTimeSlot(timeSlots: TimeSliceItem): void;
317
317
  private getScheduleDataByIds;
@@ -233,7 +233,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
233
233
  * 获取当前的客户搜索条件
234
234
  * @returns 当前搜索条件
235
235
  */
236
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
236
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
237
237
  /**
238
238
  * 获取客户列表状态(包含滚动加载相关状态)
239
239
  * @returns 客户状态
@@ -30,6 +30,7 @@ export declare class ShopDiscountImpl extends BaseModule implements Module {
30
30
  type?: 'form' | 'customer';
31
31
  [key: string]: any;
32
32
  }): void;
33
+ setOrderId(id?: number): void;
33
34
  calcDiscount(productList: Record<string, any>[], options?: SetDiscountSelectedParams): {
34
35
  productList: Record<string, any>[];
35
36
  discountList: Discount[];
@@ -56,7 +57,7 @@ export declare class ShopDiscountImpl extends BaseModule implements Module {
56
57
  private bestDiscount;
57
58
  loadPrepareConfig(params: {
58
59
  customerId: number;
59
- action?: 'create' | 'update';
60
+ action?: 'create' | 'edit';
60
61
  with_good_pass?: 0 | 1;
61
62
  with_discount_card?: 0 | 1;
62
63
  }): Promise<void>;
@@ -57,7 +57,8 @@ export var ShopDiscountImpl = /*#__PURE__*/function (_BaseModule) {
57
57
  currentBookingTime: "",
58
58
  filteredDiscountList: [],
59
59
  bookingSubject: undefined,
60
- orderTotalAmount: 0
60
+ orderTotalAmount: 0,
61
+ orderId: undefined
61
62
  };
62
63
  return _this;
63
64
  }
@@ -307,6 +308,11 @@ export var ShopDiscountImpl = /*#__PURE__*/function (_BaseModule) {
307
308
  value: function setBookingSubject(bookingSubject) {
308
309
  this.store.bookingSubject = bookingSubject;
309
310
  }
311
+ }, {
312
+ key: "setOrderId",
313
+ value: function setOrderId(id) {
314
+ this.store.orderId = id;
315
+ }
310
316
 
311
317
  // 计算优惠券
312
318
  }, {
@@ -406,7 +412,10 @@ export var ShopDiscountImpl = /*#__PURE__*/function (_BaseModule) {
406
412
  case 0:
407
413
  _context5.prev = 0;
408
414
  _context5.next = 3;
409
- return (_this$store$discount3 = this.store.discount) === null || _this$store$discount3 === void 0 ? void 0 : _this$store$discount3.batchSearch(code, customerId);
415
+ return (_this$store$discount3 = this.store.discount) === null || _this$store$discount3 === void 0 ? void 0 : _this$store$discount3.batchSearch(code, {
416
+ customerId: customerId,
417
+ orderId: this.store.orderId
418
+ });
410
419
  case 3:
411
420
  _context5.t0 = _context5.sent;
412
421
  if (_context5.t0) {
@@ -742,24 +751,27 @@ export var ShopDiscountImpl = /*#__PURE__*/function (_BaseModule) {
742
751
  key: "loadPrepareConfig",
743
752
  value: function () {
744
753
  var _loadPrepareConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
745
- var _this$getCustomer2, _this$store$discount7, _this$getDiscountList, _this$store$discount8, _this$store$productLi2, customerId, goodPassList, scanDiscount, scanDiscountIds, newGoodPassList, newDiscountList, filteredDiscountList, _result3;
754
+ var _this$getCustomer2, _this$store$discount7, _this$getDiscountList, _this$store$discount8, _this$store$productLi2, orderId, customerId, goodPassList, scanDiscount, scanDiscountIds, newGoodPassList, newDiscountList, filteredDiscountList, _result3;
746
755
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
747
756
  while (1) switch (_context9.prev = _context9.next) {
748
757
  case 0:
749
758
  _context9.prev = 0;
759
+ orderId = this.store.orderId;
750
760
  customerId = params.customerId || ((_this$getCustomer2 = this.getCustomer()) === null || _this$getCustomer2 === void 0 ? void 0 : _this$getCustomer2.id); // if (customerId === 1 || !customerId) {
751
761
  // return
752
762
  // }
753
- _context9.next = 4;
754
- return (_this$store$discount7 = this.store.discount) === null || _this$store$discount7 === void 0 ? void 0 : _this$store$discount7.loadPrepareConfig({
763
+ _context9.next = 5;
764
+ return (_this$store$discount7 = this.store.discount) === null || _this$store$discount7 === void 0 ? void 0 : _this$store$discount7.loadPrepareConfig(_objectSpread({
755
765
  customer_id: customerId,
756
- action: 'create',
766
+ action: orderId ? 'edit' : 'create',
757
767
  with_good_pass: 1,
758
768
  with_discount_card: 1,
759
769
  with_wallet_pass_holder: 1,
760
770
  request_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
761
- });
762
- case 4:
771
+ }, orderId ? {
772
+ order_id: orderId
773
+ } : {}));
774
+ case 5:
763
775
  goodPassList = _context9.sent;
764
776
  scanDiscount = (_this$getDiscountList = this.getDiscountList()) === null || _this$getDiscountList === void 0 ? void 0 : _this$getDiscountList.filter(function (item) {
765
777
  return item.isScan;
@@ -772,35 +784,35 @@ export var ShopDiscountImpl = /*#__PURE__*/function (_BaseModule) {
772
784
  });
773
785
  newDiscountList = [].concat(_toConsumableArray(scanDiscount), _toConsumableArray(newGoodPassList || [])); // 存储原始优惠券列表
774
786
  this.store.originalDiscountList = newDiscountList;
775
- _context9.next = 12;
787
+ _context9.next = 13;
776
788
  return (_this$store$discount8 = this.store.discount) === null || _this$store$discount8 === void 0 ? void 0 : _this$store$discount8.setOriginalDiscountList(newDiscountList);
777
- case 12:
789
+ case 13:
778
790
  // 根据当前预约时间过滤优惠券列表
779
791
  filteredDiscountList = this.filterDiscountListByBookingTime(newDiscountList, this.store.currentBookingTime);
780
792
  this.store.filteredDiscountList = filteredDiscountList;
781
793
  this.setDiscountList(filteredDiscountList || []);
782
794
  if (!((_this$store$productLi2 = this.store.productList) !== null && _this$store$productLi2 !== void 0 && _this$store$productLi2.length)) {
783
- _context9.next = 19;
795
+ _context9.next = 20;
784
796
  break;
785
797
  }
786
798
  _result3 = this.calcDiscount(this.store.productList);
787
- _context9.next = 19;
799
+ _context9.next = 20;
788
800
  return this.core.effects.emit("".concat(this.name, ":onLoadPrepareCalcResult"), _result3);
789
- case 19:
790
- _context9.next = 21;
801
+ case 20:
802
+ _context9.next = 22;
791
803
  return this.core.effects.emit("".concat(this.name, ":onLoadDiscountList"), filteredDiscountList);
792
- case 21:
793
- _context9.next = 26;
804
+ case 22:
805
+ _context9.next = 27;
794
806
  break;
795
- case 23:
796
- _context9.prev = 23;
807
+ case 24:
808
+ _context9.prev = 24;
797
809
  _context9.t0 = _context9["catch"](0);
798
810
  console.error('[ShopDiscount] 加载准备配置出错:', _context9.t0);
799
- case 26:
811
+ case 27:
800
812
  case "end":
801
813
  return _context9.stop();
802
814
  }
803
- }, _callee9, this, [[0, 23]]);
815
+ }, _callee9, this, [[0, 24]]);
804
816
  }));
805
817
  function loadPrepareConfig(_x9) {
806
818
  return _loadPrepareConfig.apply(this, arguments);
@@ -36,6 +36,7 @@ export interface ShopDiscountState {
36
36
  type?: 'form' | 'customer';
37
37
  [key: string]: any;
38
38
  };
39
+ orderId?: number;
39
40
  }
40
41
  export interface SetDiscountSelectedParams {
41
42
  discountId: number;
@@ -1,49 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/model/strategy/adapter/promotion/index.ts
30
- var promotion_exports = {};
31
- __export(promotion_exports, {
32
- BUY_X_GET_Y_FREE_STRATEGY: () => import_examples.BUY_X_GET_Y_FREE_STRATEGY,
33
- PromotionAdapter: () => import_adapter.PromotionAdapter,
34
- PromotionEvaluator: () => import_evaluator.PromotionEvaluator,
35
- X_ITEMS_FOR_Y_PRICE_STRATEGY: () => import_examples.X_ITEMS_FOR_Y_PRICE_STRATEGY,
36
- default: () => import_adapter2.default
37
- });
38
- module.exports = __toCommonJS(promotion_exports);
39
- var import_evaluator = require("./evaluator");
40
- var import_adapter = require("./adapter");
41
- var import_adapter2 = __toESM(require("./adapter"));
42
- var import_examples = require("./examples");
43
- // Annotate the CommonJS export names for ESM import in node:
44
- 0 && (module.exports = {
45
- BUY_X_GET_Y_FREE_STRATEGY,
46
- PromotionAdapter,
47
- PromotionEvaluator,
48
- X_ITEMS_FOR_Y_PRICE_STRATEGY
49
- });
@@ -17,14 +17,18 @@ export declare class DiscountModule extends BaseModule implements Module, Discou
17
17
  setOriginalDiscountList(originalDiscountList: Discount[]): Promise<void>;
18
18
  getOriginalDiscountList(): Discount[];
19
19
  loadPrepareConfig(params: {
20
- action?: 'create';
20
+ action?: 'create' | 'edit';
21
21
  with_good_pass: 0 | 1;
22
22
  with_discount_card: 0 | 1;
23
23
  customer_id: number;
24
24
  with_wallet_pass_holder: 0 | 1;
25
25
  request_timezone: string;
26
+ order_id?: number;
27
+ }): Promise<Discount[]>;
28
+ batchSearch(code: string, options?: {
29
+ customerId?: number;
30
+ orderId?: number;
26
31
  }): Promise<Discount[]>;
27
- batchSearch(code: string, customerId?: number): Promise<Discount[]>;
28
32
  filterEnabledDiscountList(discountList: Discount[]): Discount[];
29
33
  private checkUsageCreditsLimit;
30
34
  uniqueByProductId(discountList: Discount[]): Discount[];
@@ -102,7 +102,8 @@ var DiscountModule = class extends import_BaseModule.BaseModule {
102
102
  ) || [];
103
103
  return goodPassList;
104
104
  }
105
- async batchSearch(code, customerId) {
105
+ async batchSearch(code, options) {
106
+ const { customerId, orderId } = options || {};
106
107
  const result = await this.request.get(`/machinecode/batch-search`, {
107
108
  code,
108
109
  translate_flag: 1,
@@ -112,6 +113,7 @@ var DiscountModule = class extends import_BaseModule.BaseModule {
112
113
  with: ["extensionData", "customScheduleSnapshot", "holder.detail"],
113
114
  order_behavior_count: 1,
114
115
  order_behavior_count_customer_id: customerId || 1,
116
+ ...orderId ? { order_behavior_count_order_id: orderId } : {},
115
117
  request_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
116
118
  });
117
119
  const resultDiscountList = this.filterEnabledDiscountList((result == null ? void 0 : result.data) || []) || [];
@@ -171,7 +171,7 @@ export declare class OrderModule extends BaseModule implements Module, OrderModu
171
171
  private logSubmitBackendRejected;
172
172
  syncPaymentsToOrder<T = any>(params: SyncPaymentsToOrderParams): Promise<SyncPaymentsToOrderResult<T>>;
173
173
  createOrder(params: CommitOrderParams['query']): {
174
- type: "appointment_booking" | "virtual";
174
+ type: "virtual" | "appointment_booking";
175
175
  platform: string;
176
176
  sales_channel: string;
177
177
  order_sales_channel: string;
@@ -195,7 +195,7 @@ var OrderModule = class extends import_BaseModule.BaseModule {
195
195
  }
196
196
  async scanCode(code, customerId) {
197
197
  var _a, _b, _c, _d, _e;
198
- const resultDiscountList = await ((_a = this.store.discount) == null ? void 0 : _a.batchSearch(code, customerId)) || [];
198
+ const resultDiscountList = await ((_a = this.store.discount) == null ? void 0 : _a.batchSearch(code, { customerId })) || [];
199
199
  const rulesModule = this.store.rules;
200
200
  if (!rulesModule) {
201
201
  return {
@@ -115,6 +115,12 @@ declare class Server {
115
115
  * 不影响当前界面展示,适用于切回前台、定时刷新等场景
116
116
  */
117
117
  refreshProductsInBackground(): Promise<void>;
118
+ /**
119
+ * 后台静默刷新订单数据
120
+ * 重新拉取全量 SSE 接口,更新本地数据后触发 onOrdersSyncCompleted
121
+ * 不影响当前界面展示,适用于切回前台、定时刷新等场景
122
+ */
123
+ refreshOrdersInBackground(): Promise<void>;
118
124
  /**
119
125
  * 清空所有server模块的IndexedDB缓存
120
126
  * @returns Promise<void>
@@ -1008,6 +1008,32 @@ var Server = class {
1008
1008
  });
1009
1009
  }
1010
1010
  }
1011
+ /**
1012
+ * 后台静默刷新订单数据
1013
+ * 重新拉取全量 SSE 接口,更新本地数据后触发 onOrdersSyncCompleted
1014
+ * 不影响当前界面展示,适用于切回前台、定时刷新等场景
1015
+ */
1016
+ async refreshOrdersInBackground() {
1017
+ if (!this.order) {
1018
+ this.logWarning("refreshOrdersInBackground: Order 模块未注册");
1019
+ return;
1020
+ }
1021
+ this.logInfo("refreshOrdersInBackground 开始");
1022
+ const startTime = Date.now();
1023
+ try {
1024
+ await this.order.silentRefresh();
1025
+ const duration = Date.now() - startTime;
1026
+ this.logInfo("refreshOrdersInBackground 完成", { duration: `${duration}ms` });
1027
+ } catch (error) {
1028
+ const duration = Date.now() - startTime;
1029
+ const errorMessage = error instanceof Error ? error.message : String(error);
1030
+ console.error("[Server] refreshOrdersInBackground 失败:", error);
1031
+ this.logError("refreshOrdersInBackground 失败", {
1032
+ duration: `${duration}ms`,
1033
+ error: errorMessage
1034
+ });
1035
+ }
1036
+ }
1011
1037
  /**
1012
1038
  * 清空所有server模块的IndexedDB缓存
1013
1039
  * @returns Promise<void>
@@ -40,6 +40,12 @@ export declare class OrderModule extends BaseModule implements Module {
40
40
  getOrderByOrderId(orderId: OrderId): OrderData | undefined;
41
41
  getLocalOrderByOrderId(orderId: OrderId): Promise<OrderData | null>;
42
42
  loadOrdersByServer(): Promise<OrderData[]>;
43
+ /**
44
+ * 静默全量刷新:后台重新拉取全量 SSE 订单数据并更新本地
45
+ * 拿到完整数据后一次性替换 store,触发订单变更与同步完成事件
46
+ * @returns 刷新后的订单列表
47
+ */
48
+ silentRefresh(): Promise<OrderData[]>;
43
49
  getOrdersByResourceId(resourceId: string | number): OrderData[];
44
50
  /**
45
51
  * 仅覆盖本地已存在的订单;不存在则直接跳过,不落库、不 emit。
@@ -234,6 +234,38 @@ var OrderModule = class extends import_BaseModule.BaseModule {
234
234
  await this.core.effects.emit(import_types.OrderHooks.onOrdersLoaded, orderList);
235
235
  return orderList;
236
236
  }
237
+ /**
238
+ * 静默全量刷新:后台重新拉取全量 SSE 订单数据并更新本地
239
+ * 拿到完整数据后一次性替换 store,触发订单变更与同步完成事件
240
+ * @returns 刷新后的订单列表
241
+ */
242
+ async silentRefresh() {
243
+ const startTime = Date.now();
244
+ this.logInfo("silentRefresh 开始");
245
+ try {
246
+ const orders = await this.loadOrdersByServer();
247
+ if (orders.length > 0) {
248
+ this.store.list = (0, import_lodash_es.cloneDeep)(orders);
249
+ this.syncOrdersMap();
250
+ this.core.effects.emit(import_types.OrderHooks.onOrdersChanged, this.store.list);
251
+ await this.core.effects.emit(import_types.OrderHooks.onOrdersSyncCompleted, null);
252
+ this.logInfo("silentRefresh 完成", {
253
+ orderCount: orders.length,
254
+ duration: `${Date.now() - startTime}ms`
255
+ });
256
+ } else {
257
+ this.logInfo("silentRefresh: 服务器未返回数据");
258
+ }
259
+ return this.store.list;
260
+ } catch (error) {
261
+ const errorMessage = error instanceof Error ? error.message : String(error);
262
+ this.logError("silentRefresh 失败", {
263
+ duration: `${Date.now() - startTime}ms`,
264
+ error: errorMessage
265
+ });
266
+ return this.store.list;
267
+ }
268
+ }
237
269
  getOrdersByResourceId(resourceId) {
238
270
  const ids = this.resourceIdIndex.get(String(resourceId)) || [];
239
271
  return ids.map((id) => this.store.map.get(id)).filter((order) => !!order);
@@ -311,7 +311,7 @@ export declare class BookingByStepImpl extends BaseModule implements Module {
311
311
  date: string;
312
312
  status: string;
313
313
  week: string;
314
- weekNum: 0 | 1 | 2 | 5 | 4 | 3 | 6;
314
+ weekNum: 0 | 2 | 1 | 5 | 3 | 4 | 6;
315
315
  }[]>;
316
316
  submitTimeSlot(timeSlots: TimeSliceItem): void;
317
317
  private getScheduleDataByIds;
@@ -233,7 +233,7 @@ export declare class BookingTicketImpl extends BaseSalesImpl implements Module {
233
233
  * 获取当前的客户搜索条件
234
234
  * @returns 当前搜索条件
235
235
  */
236
- getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "num" | "skip">;
236
+ getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
237
237
  /**
238
238
  * 获取客户列表状态(包含滚动加载相关状态)
239
239
  * @returns 客户状态
@@ -30,6 +30,7 @@ export declare class ShopDiscountImpl extends BaseModule implements Module {
30
30
  type?: 'form' | 'customer';
31
31
  [key: string]: any;
32
32
  }): void;
33
+ setOrderId(id?: number): void;
33
34
  calcDiscount(productList: Record<string, any>[], options?: SetDiscountSelectedParams): {
34
35
  productList: Record<string, any>[];
35
36
  discountList: Discount[];
@@ -56,7 +57,7 @@ export declare class ShopDiscountImpl extends BaseModule implements Module {
56
57
  private bestDiscount;
57
58
  loadPrepareConfig(params: {
58
59
  customerId: number;
59
- action?: 'create' | 'update';
60
+ action?: 'create' | 'edit';
60
61
  with_good_pass?: 0 | 1;
61
62
  with_discount_card?: 0 | 1;
62
63
  }): Promise<void>;
@@ -57,7 +57,8 @@ var ShopDiscountImpl = class extends import_BaseModule.BaseModule {
57
57
  currentBookingTime: "",
58
58
  filteredDiscountList: [],
59
59
  bookingSubject: void 0,
60
- orderTotalAmount: 0
60
+ orderTotalAmount: 0,
61
+ orderId: void 0
61
62
  };
62
63
  }
63
64
  // =========== 生命周期方法 ===========
@@ -205,6 +206,9 @@ var ShopDiscountImpl = class extends import_BaseModule.BaseModule {
205
206
  setBookingSubject(bookingSubject) {
206
207
  this.store.bookingSubject = bookingSubject;
207
208
  }
209
+ setOrderId(id) {
210
+ this.store.orderId = id;
211
+ }
208
212
  // 计算优惠券
209
213
  calcDiscount(productList, options) {
210
214
  var _a;
@@ -270,7 +274,7 @@ var ShopDiscountImpl = class extends import_BaseModule.BaseModule {
270
274
  async scanCode(code, customerId) {
271
275
  var _a, _b, _c;
272
276
  try {
273
- const resultDiscountList = await ((_a = this.store.discount) == null ? void 0 : _a.batchSearch(code, customerId)) || [];
277
+ const resultDiscountList = await ((_a = this.store.discount) == null ? void 0 : _a.batchSearch(code, { customerId, orderId: this.store.orderId })) || [];
274
278
  const rulesModule = this.store.rules;
275
279
  if (!rulesModule) {
276
280
  return {
@@ -497,14 +501,16 @@ var ShopDiscountImpl = class extends import_BaseModule.BaseModule {
497
501
  async loadPrepareConfig(params) {
498
502
  var _a, _b, _c, _d, _e;
499
503
  try {
504
+ const orderId = this.store.orderId;
500
505
  const customerId = params.customerId || ((_a = this.getCustomer()) == null ? void 0 : _a.id);
501
506
  const goodPassList = await ((_b = this.store.discount) == null ? void 0 : _b.loadPrepareConfig({
502
507
  customer_id: customerId,
503
- action: "create",
508
+ action: orderId ? "edit" : "create",
504
509
  with_good_pass: 1,
505
510
  with_discount_card: 1,
506
511
  with_wallet_pass_holder: 1,
507
- request_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
512
+ request_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
513
+ ...orderId ? { order_id: orderId } : {}
508
514
  }));
509
515
  const scanDiscount = (_c = this.getDiscountList()) == null ? void 0 : _c.filter(
510
516
  (item) => item.isScan
@@ -36,6 +36,7 @@ export interface ShopDiscountState {
36
36
  type?: 'form' | 'customer';
37
37
  [key: string]: any;
38
38
  };
39
+ orderId?: number;
39
40
  }
40
41
  export interface SetDiscountSelectedParams {
41
42
  discountId: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "2.2.151",
4
+ "version": "2.2.153",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",