@be-link/ecommerce-backend-bff-service-node-sdk 0.1.13 → 0.1.15

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,10 +3,10 @@ import BaseService from '../../../../BaseService';
3
3
  import type { StandardResponse } from '../../../../../../types';
4
4
  export declare class PandoraRosOrderQueryService extends BaseService implements RosOrderQueryService.QueryByWebController {
5
5
  protected prefixUrl: string;
6
- orderList(request: RosOrderQueryService.Request.IOrderList): Promise<StandardResponse<any[]>>;
7
- list(request: RosOrderQueryService.Request.IList): Promise<StandardResponse<RosOrderQueryService.Response.IList>>;
8
- orderExport(request: RosOrderQueryService.Request.IExportOrderData): Promise<StandardResponse<RosOrderQueryService.Response.IExportOrderData>>;
9
- getApplyRefundInfo(request: RosOrderQueryService.Request.IGetApplyRefundInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetApplyRefundInfo>>;
10
- getRefundCouponInfo(request: RosOrderQueryService.Request.IGetRefundCouponInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetRefundCouponInfo>>;
6
+ orderList(request: RosOrderQueryService.Request.IRefundOrderList): Promise<StandardResponse<any[]>>;
7
+ list(request: RosOrderQueryService.Request.IRefundList): Promise<StandardResponse<RosOrderQueryService.Response.IList>>;
8
+ orderExport(request: RosOrderQueryService.Request.IRefundExportOrderData): Promise<StandardResponse<RosOrderQueryService.Response.IExportOrderData>>;
9
+ getApplyRefundInfo(request: RosOrderQueryService.Request.IRefundGetApplyRefundInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetApplyRefundInfo>>;
10
+ getRefundCouponInfo(request: RosOrderQueryService.Request.IRefundGetRefundCouponInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetRefundCouponInfo>>;
11
11
  countPendingOrders(request: RosOrderQueryService.Request.ICountPendingOrders): Promise<StandardResponse<RosOrderQueryService.Response.ICountPendingOrders>>;
12
12
  }
@@ -2,30 +2,25 @@ import type { ROS } from '@be-link/ecommerce-trade-service-node-sdk';
2
2
  import { StandardResponse } from '../../../../../../types';
3
3
  export declare namespace RosOrderQueryService {
4
4
  namespace Request {
5
- type IOrderList = ROS.RosOrderQueryTypes.Request.IOrderList;
6
- type IList = ROS.RosOrderQueryTypes.Request.IList;
7
- type IExportOrderData = ROS.RosOrderQueryTypes.Request.IExportOrderData;
8
- type IGetApplyRefundInfo = ROS.RosOrderQueryTypes.Request.IGetApplyRefundInfo;
9
- type IGetRefundCouponInfo = ROS.RosOrderQueryTypes.Request.IGetRefundCouponInfo;
10
- interface ICountPendingOrders {
11
- }
5
+ type IRefundOrderList = ROS.RosOrderQueryTypes.Request.IOrderList;
6
+ type IRefundList = ROS.RosOrderQueryTypes.Request.IList;
7
+ type IRefundExportOrderData = ROS.RosOrderQueryTypes.Request.IExportOrderData;
8
+ type IRefundGetApplyRefundInfo = ROS.RosOrderQueryTypes.Request.IGetApplyRefundInfo;
9
+ type IRefundGetRefundCouponInfo = ROS.RosOrderQueryTypes.Request.IGetRefundCouponInfo;
12
10
  }
13
11
  namespace Response {
14
12
  type IList = ROS.RosOrderQueryTypes.Response.IList;
15
13
  type IExportOrderData = ROS.RosOrderQueryTypes.Response.IExportOrderData;
16
14
  type IGetApplyRefundInfo = ROS.RosOrderQueryTypes.Response.IGetApplyRefundInfo;
17
15
  type IGetRefundCouponInfo = ROS.RosOrderQueryTypes.Response.IGetRefundCouponInfo;
18
- interface ICountPendingOrders {
19
- /** 待商家审核的订单数量 */
20
- count: number;
21
- }
16
+ type ICountPendingOrders = ROS.RosOrderQueryTypes.Response.ICountPendingOrders;
22
17
  }
23
18
  interface QueryByWebController {
24
- orderList(request: Request.IOrderList, req?: any): Promise<StandardResponse<any[]>>;
25
- list(request: Request.IList, req?: any): Promise<StandardResponse<Response.IList>>;
26
- orderExport(request: Request.IExportOrderData, req?: any): Promise<StandardResponse<Response.IExportOrderData>>;
27
- getApplyRefundInfo(request: Request.IGetApplyRefundInfo, req?: any): Promise<StandardResponse<Response.IGetApplyRefundInfo>>;
28
- getRefundCouponInfo(request: Request.IGetRefundCouponInfo, req?: any): Promise<StandardResponse<Response.IGetRefundCouponInfo>>;
29
- countPendingOrders(request: Request.ICountPendingOrders, req?: any): Promise<StandardResponse<Response.ICountPendingOrders>>;
19
+ orderList(request: Request.IRefundOrderList, req?: any): Promise<StandardResponse<any[]>>;
20
+ list(request: Request.IRefundList, req?: any): Promise<StandardResponse<Response.IList>>;
21
+ orderExport(request: Request.IRefundExportOrderData, req?: any): Promise<StandardResponse<Response.IExportOrderData>>;
22
+ getApplyRefundInfo(request: Request.IRefundGetApplyRefundInfo, req?: any): Promise<StandardResponse<Response.IGetApplyRefundInfo>>;
23
+ getRefundCouponInfo(request: Request.IRefundGetRefundCouponInfo, req?: any): Promise<StandardResponse<Response.IGetRefundCouponInfo>>;
24
+ countPendingOrders(): Promise<StandardResponse<Response.ICountPendingOrders>>;
30
25
  }
31
26
  }
@@ -3,10 +3,10 @@ import BaseService from '../../../../BaseService';
3
3
  import type { StandardResponse } from '../../../../../../types';
4
4
  export declare class PandoraRosOrderQueryService extends BaseService implements RosOrderQueryService.QueryByWebController {
5
5
  protected prefixUrl: string;
6
- orderList(request: RosOrderQueryService.Request.IOrderList): Promise<StandardResponse<any[]>>;
7
- list(request: RosOrderQueryService.Request.IList): Promise<StandardResponse<RosOrderQueryService.Response.IList>>;
8
- orderExport(request: RosOrderQueryService.Request.IExportOrderData): Promise<StandardResponse<RosOrderQueryService.Response.IExportOrderData>>;
9
- getApplyRefundInfo(request: RosOrderQueryService.Request.IGetApplyRefundInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetApplyRefundInfo>>;
10
- getRefundCouponInfo(request: RosOrderQueryService.Request.IGetRefundCouponInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetRefundCouponInfo>>;
6
+ orderList(request: RosOrderQueryService.Request.IRefundOrderList): Promise<StandardResponse<any[]>>;
7
+ list(request: RosOrderQueryService.Request.IRefundList): Promise<StandardResponse<RosOrderQueryService.Response.IList>>;
8
+ orderExport(request: RosOrderQueryService.Request.IRefundExportOrderData): Promise<StandardResponse<RosOrderQueryService.Response.IExportOrderData>>;
9
+ getApplyRefundInfo(request: RosOrderQueryService.Request.IRefundGetApplyRefundInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetApplyRefundInfo>>;
10
+ getRefundCouponInfo(request: RosOrderQueryService.Request.IRefundGetRefundCouponInfo): Promise<StandardResponse<RosOrderQueryService.Response.IGetRefundCouponInfo>>;
11
11
  countPendingOrders(request: RosOrderQueryService.Request.ICountPendingOrders): Promise<StandardResponse<RosOrderQueryService.Response.ICountPendingOrders>>;
12
12
  }
@@ -2,30 +2,25 @@ import type { ROS } from '@be-link/ecommerce-trade-service-node-sdk';
2
2
  import { StandardResponse } from '../../../../../../types';
3
3
  export declare namespace RosOrderQueryService {
4
4
  namespace Request {
5
- type IOrderList = ROS.RosOrderQueryTypes.Request.IOrderList;
6
- type IList = ROS.RosOrderQueryTypes.Request.IList;
7
- type IExportOrderData = ROS.RosOrderQueryTypes.Request.IExportOrderData;
8
- type IGetApplyRefundInfo = ROS.RosOrderQueryTypes.Request.IGetApplyRefundInfo;
9
- type IGetRefundCouponInfo = ROS.RosOrderQueryTypes.Request.IGetRefundCouponInfo;
10
- interface ICountPendingOrders {
11
- }
5
+ type IRefundOrderList = ROS.RosOrderQueryTypes.Request.IOrderList;
6
+ type IRefundList = ROS.RosOrderQueryTypes.Request.IList;
7
+ type IRefundExportOrderData = ROS.RosOrderQueryTypes.Request.IExportOrderData;
8
+ type IRefundGetApplyRefundInfo = ROS.RosOrderQueryTypes.Request.IGetApplyRefundInfo;
9
+ type IRefundGetRefundCouponInfo = ROS.RosOrderQueryTypes.Request.IGetRefundCouponInfo;
12
10
  }
13
11
  namespace Response {
14
12
  type IList = ROS.RosOrderQueryTypes.Response.IList;
15
13
  type IExportOrderData = ROS.RosOrderQueryTypes.Response.IExportOrderData;
16
14
  type IGetApplyRefundInfo = ROS.RosOrderQueryTypes.Response.IGetApplyRefundInfo;
17
15
  type IGetRefundCouponInfo = ROS.RosOrderQueryTypes.Response.IGetRefundCouponInfo;
18
- interface ICountPendingOrders {
19
- /** 待商家审核的订单数量 */
20
- count: number;
21
- }
16
+ type ICountPendingOrders = ROS.RosOrderQueryTypes.Response.ICountPendingOrders;
22
17
  }
23
18
  interface QueryByWebController {
24
- orderList(request: Request.IOrderList, req?: any): Promise<StandardResponse<any[]>>;
25
- list(request: Request.IList, req?: any): Promise<StandardResponse<Response.IList>>;
26
- orderExport(request: Request.IExportOrderData, req?: any): Promise<StandardResponse<Response.IExportOrderData>>;
27
- getApplyRefundInfo(request: Request.IGetApplyRefundInfo, req?: any): Promise<StandardResponse<Response.IGetApplyRefundInfo>>;
28
- getRefundCouponInfo(request: Request.IGetRefundCouponInfo, req?: any): Promise<StandardResponse<Response.IGetRefundCouponInfo>>;
29
- countPendingOrders(request: Request.ICountPendingOrders, req?: any): Promise<StandardResponse<Response.ICountPendingOrders>>;
19
+ orderList(request: Request.IRefundOrderList, req?: any): Promise<StandardResponse<any[]>>;
20
+ list(request: Request.IRefundList, req?: any): Promise<StandardResponse<Response.IList>>;
21
+ orderExport(request: Request.IRefundExportOrderData, req?: any): Promise<StandardResponse<Response.IExportOrderData>>;
22
+ getApplyRefundInfo(request: Request.IRefundGetApplyRefundInfo, req?: any): Promise<StandardResponse<Response.IGetApplyRefundInfo>>;
23
+ getRefundCouponInfo(request: Request.IRefundGetRefundCouponInfo, req?: any): Promise<StandardResponse<Response.IGetRefundCouponInfo>>;
24
+ countPendingOrders(): Promise<StandardResponse<Response.ICountPendingOrders>>;
30
25
  }
31
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-backend-bff-service-node-sdk",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",