@be-link/cs-cli-nodejs 0.0.9 → 0.0.11

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.
@@ -7,7 +7,7 @@ declare class ServiceVenueService extends BaseService implements ServiceVenue.Co
7
7
  queryServiceVenueList(request: ServiceVenue.Request.IQueryServiceVenueList): Promise<ServiceVenue.Response.IQueryServiceVenueListRes[]>;
8
8
  saveRoomTypeInfo(request: ServiceVenue.Request.ISaveRoomTypeInfo): Promise<ServiceVenue.Response.ISaveRoomTypeInfoRes>;
9
9
  updateServiceVenue(request: ServiceVenue.Request.IUpdateServiceVenue): Promise<ServiceVenue.Response.IUpdateServiceVenueRes>;
10
- getServiceVenueInfo(request: ServiceVenue.Request.IGetServiceVenueInfo): Promise<ServiceVenue.Response.IUpdateServiceVenueRes>;
10
+ getServiceVenueInfo(request: ServiceVenue.Request.IGetServiceVenueInfo): Promise<ServiceVenue.Response.IGetServiceVenueInfoRes>;
11
11
  }
12
12
  declare const serviceVenueService: ServiceVenueService;
13
13
  export default serviceVenueService;
@@ -238,6 +238,6 @@ export declare namespace ServiceVenue {
238
238
  getRoomTypeInfo(request: Request.IGetRoomTypeInfo): Promise<Response.IGetRoomTypeInfoRes>;
239
239
  /** 编辑房型信息 */
240
240
  saveRoomTypeInfo(request: Request.ISaveRoomTypeInfo): Promise<Response.ISaveRoomTypeInfoRes>;
241
- getServiceVenueInfo(request: Request.IGetServiceVenueInfo): Promise<Response.IUpdateServiceVenueRes>;
241
+ getServiceVenueInfo(request: Request.IGetServiceVenueInfo): Promise<Response.IGetServiceVenueInfoRes>;
242
242
  }
243
243
  }
@@ -1,4 +1,4 @@
1
- import { CommonStatus } from 'vitality-meta/enums/commodity';
1
+ import { CommonStatus, SupplierAccountPeriodType } from 'vitality-meta/enums/commodity';
2
2
  export declare namespace Supplier {
3
3
  namespace DTO {
4
4
  interface ISupplier {
@@ -19,7 +19,7 @@ export declare namespace Supplier {
19
19
  /** 开户行名称 */
20
20
  bankName: string;
21
21
  /** 结算周期类型:按天/按周/按月 */
22
- accountPeriod: 'BY_DAY' | 'BY_WEEK' | 'BY_MONTH';
22
+ accountPeriod: SupplierAccountPeriodType;
23
23
  /** 结算周期描述 */
24
24
  accountPeriodDesc: string;
25
25
  };
@@ -52,7 +52,7 @@ export declare namespace Supplier {
52
52
  /** 开户行名称 */
53
53
  bankName?: string;
54
54
  /** 结算周期类型:按天/按周/按月 */
55
- accountPeriod?: 'BY_DAY' | 'BY_WEEK' | 'BY_MONTH';
55
+ accountPeriod?: SupplierAccountPeriodType;
56
56
  /** 结算周期描述 */
57
57
  accountPeriodDesc?: string;
58
58
  };
@@ -81,18 +81,7 @@ export declare namespace Supplier {
81
81
  namespace Response {
82
82
  interface IQuery {
83
83
  /** 供应商列表数据 */
84
- data: {
85
- /** 供应商ID */
86
- id: string;
87
- /** 供应商名称 */
88
- name: string;
89
- /** 联系人姓名 */
90
- contactName: string;
91
- /** 联系人手机号码 */
92
- contactMobile: string;
93
- /** 登录账号 */
94
- loginAccount: string;
95
- }[];
84
+ data: DTO.ISupplier[];
96
85
  /** 总记录数 */
97
86
  total: number;
98
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,22 +25,22 @@
25
25
  "@types/inquirer": "^9.0.7",
26
26
  "@types/node": "^20.14.2",
27
27
  "@types/uuid": "^9.0.6",
28
- "husky": "^8.0.3",
29
- "inquirer": "8.2.6",
30
- "ioredis": "5.3.2",
31
- "standard-version": "^9.5.0",
32
- "typescript": "5.2.2",
33
28
  "@typescript-eslint/eslint-plugin": "^6.9.0",
34
29
  "@typescript-eslint/parser": "^6.9.0",
35
30
  "eslint": "^8.52.0",
36
31
  "eslint-config-prettier": "^9.0.0",
37
32
  "eslint-config-standard": "^17.1.0",
38
- "eslint-plugin-prettier": "^5.0.1"
33
+ "eslint-plugin-prettier": "^5.0.1",
34
+ "husky": "^8.0.3",
35
+ "inquirer": "8.2.6",
36
+ "ioredis": "5.3.2",
37
+ "standard-version": "^9.5.0",
38
+ "typescript": "5.2.2"
39
39
  },
40
40
  "dependencies": {
41
41
  "axios": "0.27.2",
42
42
  "uuid": "9.0.1",
43
- "vitality-meta": "1.0.169"
43
+ "vitality-meta": "1.0.170"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=18"