@be-link/pos-cli-nodejs 1.0.202 → 1.0.204
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
|
@@ -7,6 +7,7 @@ declare class OrderNoteService extends BaseService implements Service.OrderNoteC
|
|
|
7
7
|
queryUnFinishedNoteOrderIdList(): Promise<string[]>;
|
|
8
8
|
aiBuildNoteInfo(request: Service.Request.aiBuildNoteInfo): Promise<string>;
|
|
9
9
|
changeNoteStatus(request: Service.Request.changeNoteStatus): Promise<void>;
|
|
10
|
+
queryNoteById(request: Service.Request.queryNoteById): Promise<Service.Response.queryNoteById>;
|
|
10
11
|
}
|
|
11
12
|
declare const orderNoteService: OrderNoteService;
|
|
12
13
|
export default orderNoteService;
|
|
@@ -25,6 +25,9 @@ class OrderNoteService extends service_1.default {
|
|
|
25
25
|
changeNoteStatus(request) {
|
|
26
26
|
return (0, http_1.callApi)(this.getApiUrl(this.changeNoteStatus), request);
|
|
27
27
|
}
|
|
28
|
+
queryNoteById(request) {
|
|
29
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryNoteById), request);
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
const orderNoteService = new OrderNoteService();
|
|
30
33
|
exports.default = orderNoteService;
|
|
@@ -40,9 +40,14 @@ export declare namespace Service {
|
|
|
40
40
|
/** 修改人类型 */
|
|
41
41
|
modifyOperatorRole: PosConstants.ModifyOperatorRoleEnum;
|
|
42
42
|
}
|
|
43
|
+
interface queryNoteById {
|
|
44
|
+
/** 备注Id */
|
|
45
|
+
noteId: string;
|
|
46
|
+
}
|
|
43
47
|
}
|
|
44
48
|
namespace Response {
|
|
45
49
|
type queryNoteByOrderIdList = DTO.IPositiveNoteInfo[];
|
|
50
|
+
type queryNoteById = DTO.IPositiveNoteInfo | null;
|
|
46
51
|
}
|
|
47
52
|
interface OrderNoteController {
|
|
48
53
|
/**
|
|
@@ -72,5 +77,11 @@ export declare namespace Service {
|
|
|
72
77
|
* @path /note/change-note-status
|
|
73
78
|
*/
|
|
74
79
|
changeNoteStatus(request: Request.changeNoteStatus): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* 根据备注id查询单条备注
|
|
82
|
+
* @returns 备注,不存在时为 null
|
|
83
|
+
* @path /note/query-note-by-id
|
|
84
|
+
*/
|
|
85
|
+
queryNoteById(request: Request.queryNoteById): Promise<Response.queryNoteById>;
|
|
75
86
|
}
|
|
76
87
|
}
|
package/types.d.ts
CHANGED