@be-link/ecommerce-trade-service-node-sdk 0.0.45 → 0.0.46

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.
@@ -11,6 +11,8 @@ export declare namespace PosCoreService {
11
11
  namespace ByWeb {
12
12
  namespace Request {
13
13
  interface IShipOrder {
14
+ /** 操作人 */
15
+ operator: string;
14
16
  /** 订单ID */
15
17
  orderId: string;
16
18
  /** 发货方式:WITH_LOGISTICS-需物流发货,WITHOUT_LOGISTICS-无物流发货 */
@@ -21,6 +23,8 @@ export declare namespace PosCoreService {
21
23
  logisticsNo?: string;
22
24
  }
23
25
  interface IBatchShipOrder {
26
+ /** 操作人 */
27
+ operator: string;
24
28
  /** 发货方式:WITH_LOGISTICS-需物流发货,WITHOUT_LOGISTICS-无物流发货 */
25
29
  shipType: 'WITH_LOGISTICS' | 'WITHOUT_LOGISTICS';
26
30
  /** Excel文件URL */
@@ -210,11 +210,22 @@ export declare namespace PosOrderQueryService {
210
210
  discountAmount: number;
211
211
  actualAmount: number;
212
212
  };
213
- coupons: {
213
+ promotions: {
214
214
  id: string;
215
- code: string;
216
- name: string;
215
+ orderId: string;
216
+ type: string;
217
+ quantity: number;
217
218
  discount: number;
219
+ snapshot: {
220
+ coupon?: {
221
+ id: string;
222
+ code: string;
223
+ name: string;
224
+ discount?: number;
225
+ }[];
226
+ };
227
+ createdAt: number;
228
+ updatedAt: number;
218
229
  }[];
219
230
  verificationRecords: {
220
231
  productId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",