@pisell/pisellos 2.2.151 → 2.2.152
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/modules/Order/index.d.ts +1 -1
- package/dist/server/index.d.ts +6 -0
- package/dist/server/index.js +267 -213
- package/dist/server/modules/order/index.d.ts +6 -0
- package/dist/server/modules/order/index.js +210 -150
- package/dist/solution/BookingByStep/index.d.ts +1 -1
- package/dist/solution/BookingTicket/index.d.ts +1 -1
- package/lib/model/strategy/adapter/promotion/index.js +0 -49
- package/lib/modules/Order/index.d.ts +1 -1
- package/lib/server/index.d.ts +6 -0
- package/lib/server/index.js +26 -0
- package/lib/server/modules/order/index.d.ts +6 -0
- package/lib/server/modules/order/index.js +32 -0
- package/lib/solution/BookingByStep/index.d.ts +1 -1
- package/lib/solution/BookingTicket/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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: "
|
|
174
|
+
type: "virtual" | "appointment_booking";
|
|
175
175
|
platform: string;
|
|
176
176
|
sales_channel: string;
|
|
177
177
|
order_sales_channel: string;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -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>
|