@be-link/pos-cli-nodejs 0.0.153 → 0.0.155

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,6 +35,8 @@ declare class OrderFulfillService extends BaseService implements Service.orderFu
35
35
  markServiceNoticeAuth(request: Service.Request.markServiceNoticeAuth): Promise<void>;
36
36
  mgetSkuChangeCount(request: string[]): Promise<Record<string, number>>;
37
37
  markOrderHasSentWXNotification(request: Service.Request.markOrderHasSentWXNotification): Promise<void>;
38
+ markNeedCheckShuttleBus(request: Service.Request.markNeedCheckShuttleBus): Promise<void>;
39
+ cancelNeedCheckShuttleBus(request: Service.Request.cancelNeedCheckShuttleBus): Promise<void>;
38
40
  }
39
41
  declare const orderFulfillService: OrderFulfillService;
40
42
  export default orderFulfillService;
@@ -106,6 +106,12 @@ class OrderFulfillService extends service_1.default {
106
106
  markOrderHasSentWXNotification(request) {
107
107
  return (0, http_1.callApi)(this.getApiUrl(this.markOrderHasSentWXNotification), request);
108
108
  }
109
+ markNeedCheckShuttleBus(request) {
110
+ return (0, http_1.callApi)(this.getApiUrl(this.markNeedCheckShuttleBus), request);
111
+ }
112
+ cancelNeedCheckShuttleBus(request) {
113
+ return (0, http_1.callApi)(this.getApiUrl(this.cancelNeedCheckShuttleBus), request);
114
+ }
109
115
  }
110
116
  const orderFulfillService = new OrderFulfillService();
111
117
  exports.default = orderFulfillService;
@@ -254,6 +254,12 @@ export declare namespace Service {
254
254
  interface getOrderFulfillInfoByOrderId {
255
255
  orderId: string;
256
256
  }
257
+ interface markNeedCheckShuttleBus {
258
+ orderId: string;
259
+ }
260
+ interface cancelNeedCheckShuttleBus {
261
+ orderId: string;
262
+ }
257
263
  }
258
264
  namespace Response {
259
265
  interface queryItineraryInfoByOrderIdList {
@@ -472,5 +478,15 @@ export declare namespace Service {
472
478
  * @path /fulfill/mget-sku-change-count
473
479
  */
474
480
  mgetSkuChangeCount(request: string[]): Promise<Record<string, number>>;
481
+ /**
482
+ * 标记需要确认班车信息
483
+ * @path /fulfill/mark-need-check-shuttle-bus
484
+ */
485
+ markNeedCheckShuttleBus(request: Request.markNeedCheckShuttleBus): Promise<void>;
486
+ /**
487
+ * 标记取消确认班车信息
488
+ * @path /fulfill/cancel-need-check-shuttle-bus
489
+ */
490
+ cancelNeedCheckShuttleBus(request: Request.cancelNeedCheckShuttleBus): Promise<void>;
475
491
  }
476
492
  }
@@ -19,6 +19,7 @@ declare class OrderJobService extends BaseService implements Service.OrderJobCon
19
19
  jobNotifySupplierPendingOrder(): Promise<void>;
20
20
  jobNotifySupplierTomorrowOrder(): Promise<void>;
21
21
  jobNotifySupplierInvoiceOrder(): Promise<void>;
22
+ jobNotifyFeishuOfConfirmBus(): Promise<void>;
22
23
  }
23
24
  declare const orderJobService: OrderJobService;
24
25
  export default orderJobService;
@@ -61,6 +61,9 @@ class OrderJobService extends service_1.default {
61
61
  jobNotifySupplierInvoiceOrder() {
62
62
  return (0, http_1.callApi)(this.getApiUrl(this.jobNotifySupplierInvoiceOrder));
63
63
  }
64
+ jobNotifyFeishuOfConfirmBus() {
65
+ return (0, http_1.callApi)(this.getApiUrl(this.jobNotifyFeishuOfConfirmBus));
66
+ }
64
67
  }
65
68
  const orderJobService = new OrderJobService();
66
69
  exports.default = orderJobService;
@@ -34,5 +34,7 @@ export declare namespace Service {
34
34
  jobNotifySupplierTomorrowOrder(): Promise<void>;
35
35
  /** 每天15点通知酒店和一日聚门店处理待开发票的订单 */
36
36
  jobNotifySupplierInvoiceOrder(): Promise<void>;
37
+ /** 每天早上10点,出团前5天飞书通知客服再次确认班车 */
38
+ jobNotifyFeishuOfConfirmBus(): Promise<void>;
37
39
  }
38
40
  }
package/types.d.ts CHANGED
@@ -90,6 +90,8 @@ export interface IPositiveAttributes {
90
90
  isAuthSendItineraryInfoSubscribeMessage: boolean;
91
91
  /** 出行人是否填写完整 */
92
92
  isTouristsCompletely: boolean;
93
+ /** 是否班车信息需要确认 */
94
+ isShuttleBusNeedCheck: boolean;
93
95
  /** 快照创建时间 */
94
96
  createdAt: number;
95
97
  /** 快照更新时间 */
@@ -712,6 +714,7 @@ export interface IRawOrderStructure {
712
714
  hasSentWXNotification: number;
713
715
  isAuthSendItineraryInfoSubscribeMessage: number;
714
716
  isTouristsCompletely: number;
717
+ isShuttleBusNeedCheck: number;
715
718
  };
716
719
  commodityInfo?: (IPositiveItemInfo & {
717
720
  skus: IPositiveSkuInfo[];