@be-link/pos-cli-nodejs 1.0.227 → 1.0.229

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": "1.0.227",
3
+ "version": "1.0.229",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -42,7 +42,7 @@
42
42
  "axios-retry": "^4.0.0",
43
43
  "lodash": "4.17.21",
44
44
  "uuid": "^9.0.1",
45
- "vitality-meta": "1.0.238"
45
+ "vitality-meta": "1.0.240"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "rm -rf ./dist && tsc && cp package.json README.md ./dist/",
@@ -6,6 +6,7 @@ declare class OrderAbnormalFollowService extends BaseService implements Service.
6
6
  listByOrderIds(request: Service.Request.listByOrderIds): Promise<Service.Response.listByOrderIds>;
7
7
  markUserReminded(request: Service.Request.markUserReminded): Promise<boolean>;
8
8
  createHotelChangeFollow(request: Service.Request.createHotelChangeFollow): Promise<void>;
9
+ updateHotelChangeNotifyStatus(request: Service.Request.updateHotelChangeNotifyStatus): Promise<void>;
9
10
  softDelete(request: Service.Request.softDelete): Promise<void>;
10
11
  countByTypeInScope(request: Service.Request.countByTypeInScope): Promise<number>;
11
12
  }
@@ -22,6 +22,9 @@ class OrderAbnormalFollowService extends service_1.default {
22
22
  createHotelChangeFollow(request) {
23
23
  return (0, http_1.callApi)(this.getApiUrl(this.createHotelChangeFollow), request);
24
24
  }
25
+ updateHotelChangeNotifyStatus(request) {
26
+ return (0, http_1.callApi)(this.getApiUrl(this.updateHotelChangeNotifyStatus), request);
27
+ }
25
28
  softDelete(request) {
26
29
  return (0, http_1.callApi)(this.getApiUrl(this.softDelete), request);
27
30
  }
@@ -27,6 +27,18 @@ export declare namespace Service {
27
27
  changeContent: string;
28
28
  rejectReason?: string;
29
29
  processedAt: number;
30
+ sourceType?: string;
31
+ sourceId?: string;
32
+ sourceDocType?: string;
33
+ sourceDocId?: string;
34
+ auditResult?: string;
35
+ }
36
+ interface updateHotelChangeNotifyStatus {
37
+ sourceType: string;
38
+ sourceId: string;
39
+ auditResult: string;
40
+ notifyStatus: 'SUCCEED' | 'FAILED';
41
+ notifyLastError?: string;
30
42
  }
31
43
  interface softDelete {
32
44
  orderId: string;
@@ -62,6 +74,7 @@ export declare namespace Service {
62
74
  * @path /abnormal-follow/create-hotel-change-follow
63
75
  */
64
76
  createHotelChangeFollow(request: Request.createHotelChangeFollow): Promise<void>;
77
+ updateHotelChangeNotifyStatus(request: Request.updateHotelChangeNotifyStatus): Promise<void>;
65
78
  /**
66
79
  * 软删除跟进记录
67
80
  * @path /abnormal-follow/soft-delete
package/types.d.ts CHANGED
@@ -1368,4 +1368,12 @@ export interface IOrderAbnormalFollowRow {
1368
1368
  changeContent?: string;
1369
1369
  rejectReason?: string;
1370
1370
  processedAt?: number;
1371
+ sourceType?: string;
1372
+ sourceId?: string;
1373
+ sourceDocType?: string;
1374
+ sourceDocId?: string;
1375
+ auditResult?: string;
1376
+ notifyStatus?: string;
1377
+ notifyRetryCount?: number;
1378
+ notifyLastError?: string;
1371
1379
  }