@be-link/ecs-cli-nodejs 0.0.20 → 0.0.22

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.
@@ -41,6 +41,11 @@ declare class VzanDataService extends BaseService implements Service.VzanDataCon
41
41
  syncFeishuStoreInfo(): Promise<void>;
42
42
  calculateAndInsertArpuData(): Promise<void>;
43
43
  syncCustomerTime(): Promise<void>;
44
+ getAssistantWxCorpIds(): Promise<Service.Response.IGetAssistantWxCorpIds>;
45
+ getStoreQrCode(request: {
46
+ storeId: string;
47
+ }): Promise<Service.Response.IGetStoreQrCode>;
48
+ getAllStoreBasicInfo(): Promise<Service.Response.IGetAllStoreBasicInfo[]>;
44
49
  }
45
50
  declare const vzanDataService: VzanDataService;
46
51
  export default vzanDataService;
@@ -73,6 +73,15 @@ class VzanDataService extends service_1.default {
73
73
  async syncCustomerTime() {
74
74
  return (0, http_1.callApi)(this.getApiUrl(this.syncCustomerTime));
75
75
  }
76
+ async getAssistantWxCorpIds() {
77
+ return (0, http_1.callApi)(this.getApiUrl(this.getAssistantWxCorpIds));
78
+ }
79
+ async getStoreQrCode(request) {
80
+ return (0, http_1.callApi)(this.getApiUrl(this.getStoreQrCode), request);
81
+ }
82
+ async getAllStoreBasicInfo() {
83
+ return (0, http_1.callApi)(this.getApiUrl(this.getAllStoreBasicInfo));
84
+ }
76
85
  }
77
86
  const vzanDataService = new VzanDataService();
78
87
  exports.default = vzanDataService;
@@ -52,6 +52,19 @@ export declare namespace Service {
52
52
  userId: string;
53
53
  storeId: string;
54
54
  }[];
55
+ interface IGetAssistantWxCorpIds {
56
+ assistantWxCorpId: string[];
57
+ }
58
+ interface IGetStoreQrCode {
59
+ qrCodeUrl: string;
60
+ }
61
+ interface IGetAllStoreBasicInfo {
62
+ storeId: string;
63
+ storeName: string;
64
+ addressDetail: string;
65
+ latitude: string;
66
+ longitude: string;
67
+ }
55
68
  }
56
69
  interface VzanDataController {
57
70
  syncDataEntry(param: Request.syncDataEntry): Promise<void>;
@@ -93,5 +106,10 @@ export declare namespace Service {
93
106
  syncFeishuStoreInfo(): Promise<void>;
94
107
  calculateAndInsertArpuData(): Promise<void>;
95
108
  syncCustomerTime(): Promise<void>;
109
+ getAssistantWxCorpIds(): Promise<Response.IGetAssistantWxCorpIds>;
110
+ getStoreQrCode(request: {
111
+ storeId: string;
112
+ }): Promise<Response.IGetStoreQrCode>;
113
+ getAllStoreBasicInfo(): Promise<Response.IGetAllStoreBasicInfo[]>;
96
114
  }
97
115
  }
@@ -4,7 +4,7 @@ export declare namespace Service {
4
4
  interface JobCreateOrUpdatePackingOrderRequest {
5
5
  startTime: number;
6
6
  endTime: number;
7
- category: Enum.ProductCategory;
7
+ categories: Enum.ProductCategory[];
8
8
  batchSize?: number;
9
9
  }
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecs-cli-nodejs",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "ECS服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
package/types.d.ts CHANGED
@@ -4,6 +4,8 @@ export declare namespace Enum {
4
4
  /** 百货 */
5
5
  DEPARTMENT_STORE = "DEPARTMENT_STORE",
6
6
  /** 生鲜 */
7
- FRESH = "FRESH"
7
+ FRESH = "FRESH",
8
+ /** 健康 */
9
+ HEALTH = "HEALTH"
8
10
  }
9
11
  }