@be-link/ecommerce-trade-service-node-sdk 0.0.23 → 0.0.25

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.
@@ -3,8 +3,6 @@ export declare namespace PosCoreService {
3
3
  namespace ByWeb {
4
4
  namespace Request {
5
5
  interface IShipOrder {
6
- /** 操作人 */
7
- operator: string;
8
6
  /** 订单ID */
9
7
  orderId: string;
10
8
  /** 发货方式:WITH_LOGISTICS-需物流发货,WITHOUT_LOGISTICS-无物流发货 */
@@ -15,8 +13,6 @@ export declare namespace PosCoreService {
15
13
  logisticsNo?: string;
16
14
  }
17
15
  interface IBatchShipOrder {
18
- /** 操作人 */
19
- operator: string;
20
16
  /** 发货方式:WITH_LOGISTICS-需物流发货,WITHOUT_LOGISTICS-无物流发货 */
21
17
  shipType: 'WITH_LOGISTICS' | 'WITHOUT_LOGISTICS';
22
18
  /** Excel文件URL */
@@ -31,12 +27,18 @@ export declare namespace PosCoreService {
31
27
  receiverName: string;
32
28
  /** 收货人手机号 */
33
29
  receiverPhone: string;
34
- /** 省 */
35
- province: string;
36
- /** */
37
- city: string;
38
- /** */
39
- district: string;
30
+ /** 省ID */
31
+ provinceId: string;
32
+ /** 省名称 */
33
+ provinceName: string;
34
+ /** 市ID */
35
+ cityId: string;
36
+ /** 市名称 */
37
+ cityName: string;
38
+ /** 区ID */
39
+ districtId: string;
40
+ /** 区名称 */
41
+ districtName: string;
40
42
  /** 详细地址 */
41
43
  detailAddress: string;
42
44
  }
@@ -19,7 +19,7 @@ const BaseService_1 = __importDefault(require("../../BaseService"));
19
19
  let OrderCoreByUserService = class OrderCoreByUserService extends BaseService_1.default {
20
20
  constructor() {
21
21
  super(...arguments);
22
- this.prefixUrl = '/pos/core';
22
+ this.prefixUrl = '/pos/core/user';
23
23
  }
24
24
  orderCreate(request) {
25
25
  return (0, http_1.callApi)(this.getApiUrl(this.orderCreate), request);
@@ -55,7 +55,7 @@ __decorate([
55
55
  __param(0, (0, tsoa_1.Body)())
56
56
  ], OrderCoreByUserService.prototype, "confirmReceive", null);
57
57
  OrderCoreByUserService = __decorate([
58
- (0, tsoa_1.Route)('pos/core'),
58
+ (0, tsoa_1.Route)('pos/core/user'),
59
59
  (0, tsoa_1.Tags)('PosOrderCore')
60
60
  ], OrderCoreByUserService);
61
61
  exports.orderCoreByUserService = new OrderCoreByUserService();
@@ -92,6 +92,10 @@ export declare namespace PosOrderQueryService {
92
92
  /** 订单ID */
93
93
  orderId: string;
94
94
  }
95
+ interface IGetProductDeliveryRange {
96
+ /** 商品ID */
97
+ productId: string;
98
+ }
95
99
  }
96
100
  namespace Response {
97
101
  interface IListItem {
@@ -130,14 +134,22 @@ export declare namespace PosOrderQueryService {
130
134
  receiverName: string;
131
135
  /** 收货人手机号 */
132
136
  receiverPhone: string;
133
- /** 省 */
134
- province: string;
135
- /** */
136
- city: string;
137
- /** */
138
- district: string;
137
+ /** 省ID */
138
+ provinceId: string;
139
+ /** 省名称 */
140
+ provinceName: string;
141
+ /** 市ID */
142
+ cityId: string;
143
+ /** 市名称 */
144
+ cityName: string;
145
+ /** 区ID */
146
+ districtId: string;
147
+ /** 区名称 */
148
+ districtName: string;
139
149
  /** 详细地址 */
140
150
  detailAddress: string;
151
+ /** 商品送货范围(门店可见范围) */
152
+ visibleStores: string[] | null;
141
153
  }
142
154
  interface IOrderDetail {
143
155
  order: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",