@be-link/ecommerce-trade-service-node-sdk 0.0.24 → 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.
@@ -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 {
@@ -144,6 +148,8 @@ export declare namespace PosOrderQueryService {
144
148
  districtName: string;
145
149
  /** 详细地址 */
146
150
  detailAddress: string;
151
+ /** 商品送货范围(门店可见范围) */
152
+ visibleStores: string[] | null;
147
153
  }
148
154
  interface IOrderDetail {
149
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.24",
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",