@be-link/cs-cli-nodejs 0.0.24 → 0.0.26

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.
@@ -2,7 +2,9 @@ import BaseService from '../baseService';
2
2
  import { Supplier } from './types';
3
3
  declare class SupplierService extends BaseService implements Supplier.Controller {
4
4
  prefixUrl: string;
5
- upsert(request: Supplier.Request.IUpsert): Promise<void>;
5
+ upsert(request: Supplier.Request.IUpsert): Promise<{
6
+ id?: string;
7
+ }>;
6
8
  query(request: Supplier.Request.IQuery): Promise<Supplier.Response.IQuery>;
7
9
  get(request: {
8
10
  id: string;
@@ -93,7 +93,9 @@ export declare namespace Supplier {
93
93
  id: string;
94
94
  }): Promise<Response.IGet>;
95
95
  /** 创建/更新供应商 */
96
- upsert(request: Request.IUpsert): Promise<void>;
96
+ upsert(request: Request.IUpsert): Promise<{
97
+ id?: string;
98
+ }>;
97
99
  /** 查询供应商列表 */
98
100
  query(request: Request.IQuery): Promise<Response.IQuery>;
99
101
  /** 删除供应商 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -9,6 +9,10 @@ export interface QueryBlockDataMap {
9
9
  attributes: IItemAttributes;
10
10
  /** 酒店商品 */
11
11
  hotelItemInfo: IHotelItemInfo;
12
+ /** 基础套餐 */
13
+ combo: IItemCombo;
14
+ /** 基础套餐快捷方式 */
15
+ comboShortcut: IItemComboShortcut;
12
16
  }
13
17
  /**
14
18
  * @description: 描述内容通用结构