@be-link/pos-cli-nodejs 0.0.111 → 0.0.114
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 +1 -1
- package/pos/modules/orderFulfill/service.d.ts +1 -0
- package/pos/modules/orderFulfill/service.js +3 -0
- package/pos/modules/orderFulfill/types.d.ts +15 -0
- package/pos/modules/orderJob/service.d.ts +1 -0
- package/pos/modules/orderJob/service.js +3 -0
- package/pos/modules/orderJob/types.d.ts +2 -0
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import { Service } from './types';
|
|
|
3
3
|
import * as DTO from '../../../types';
|
|
4
4
|
declare class OrderFulfillService extends BaseService implements Service.orderFulfillController {
|
|
5
5
|
protected prefixUrl: string;
|
|
6
|
+
fulFillChange(request: Service.Request.fulFillChange): Promise<void>;
|
|
6
7
|
mgetShuttleInfoByOrderIdList(request: Service.Request.mgetShuttleInfoByOrderIdList): Promise<Service.Response.mgetShuttleInfoByOrderIdList>;
|
|
7
8
|
getTourismInfoByOrderId(request: Service.Request.getTourismInfoByOrderId): Promise<DTO.ITradeTourismInfo>;
|
|
8
9
|
queryTourismInfoInOrderIdList(request: Service.Request.queryTourismInfoInOrderIdList): Promise<DTO.ITradeTourismInfo[]>;
|
|
@@ -10,6 +10,9 @@ class OrderFulfillService extends service_1.default {
|
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.prefixUrl = '/fulfill';
|
|
12
12
|
}
|
|
13
|
+
fulFillChange(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.fulFillChange), request);
|
|
15
|
+
}
|
|
13
16
|
mgetShuttleInfoByOrderIdList(request) {
|
|
14
17
|
return (0, http_1.callApi)(this.getApiUrl(this.mgetShuttleInfoByOrderIdList), request);
|
|
15
18
|
}
|
|
@@ -10,6 +10,16 @@ export declare namespace Service {
|
|
|
10
10
|
/** 订单id */
|
|
11
11
|
orderIdList: string[];
|
|
12
12
|
}
|
|
13
|
+
interface fulFillChange {
|
|
14
|
+
/** 备注内容 */
|
|
15
|
+
content: string;
|
|
16
|
+
/** 操作人角色 */
|
|
17
|
+
operatorRole: PosConstants.OperatorRoleEnum;
|
|
18
|
+
/** 操作人 */
|
|
19
|
+
operatorUser: string;
|
|
20
|
+
/** 订单id */
|
|
21
|
+
tradeOrderId: string;
|
|
22
|
+
}
|
|
13
23
|
interface getTourismInfoByOrderId {
|
|
14
24
|
/** 订单id */
|
|
15
25
|
tradeOrderId: string;
|
|
@@ -301,6 +311,11 @@ export declare namespace Service {
|
|
|
301
311
|
}
|
|
302
312
|
/** 订单履约服务 */
|
|
303
313
|
interface orderFulfillController {
|
|
314
|
+
/**
|
|
315
|
+
* 履约发送修改订单通知
|
|
316
|
+
* @path /fulfill/ful-fill-change
|
|
317
|
+
*/
|
|
318
|
+
fulFillChange(request: Request.fulFillChange): Promise<void>;
|
|
304
319
|
/**
|
|
305
320
|
* 获取订单行程单信息
|
|
306
321
|
* @path /fulfill/get-tourism-info-by-order-id
|
|
@@ -8,6 +8,7 @@ declare class OrderJobService extends BaseService implements Service.OrderJobCon
|
|
|
8
8
|
jobCreateHotelNotifyTask(): Promise<void>;
|
|
9
9
|
jobCreateOneSecondPartyNotifyTask(): Promise<void>;
|
|
10
10
|
jobSendCommentRemindSms(): Promise<void>;
|
|
11
|
+
jobSendCommentRemindSmsForOneSecondParty(): Promise<void>;
|
|
11
12
|
jobSmsNoticeForInsurance(): Promise<void>;
|
|
12
13
|
jobSmsNoticeForDepartureSecurity(): Promise<void>;
|
|
13
14
|
jobSendSubscribeNoticeForInsurance(): Promise<void>;
|
|
@@ -28,6 +28,9 @@ class OrderJobService extends service_1.default {
|
|
|
28
28
|
jobSendCommentRemindSms() {
|
|
29
29
|
return (0, http_1.callApi)(this.getApiUrl(this.jobSendCommentRemindSms));
|
|
30
30
|
}
|
|
31
|
+
jobSendCommentRemindSmsForOneSecondParty() {
|
|
32
|
+
return (0, http_1.callApi)(this.getApiUrl(this.jobSendCommentRemindSmsForOneSecondParty));
|
|
33
|
+
}
|
|
31
34
|
jobSmsNoticeForInsurance() {
|
|
32
35
|
return (0, http_1.callApi)(this.getApiUrl(this.jobSmsNoticeForInsurance));
|
|
33
36
|
}
|
|
@@ -12,6 +12,8 @@ export declare namespace Service {
|
|
|
12
12
|
jobCreateOneSecondPartyNotifyTask(): Promise<void>;
|
|
13
13
|
/** 每天下午两点发送昨天出团商品评论提醒短信 */
|
|
14
14
|
jobSendCommentRemindSms(): Promise<void>;
|
|
15
|
+
/** 每天下午8.发送当天出团一日聚商品评论提醒短信 */
|
|
16
|
+
jobSendCommentRemindSmsForOneSecondParty(): Promise<void>;
|
|
15
17
|
/** 发送保险提醒统计 */
|
|
16
18
|
jobSmsNoticeForInsurance(): Promise<void>;
|
|
17
19
|
/** 发送保障服务通知 */
|