@be-link/tfs-cli-nodejs 0.0.222 → 0.0.223

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/tfs-cli-nodejs",
3
- "version": "0.0.222",
3
+ "version": "0.0.223",
4
4
  "description": "交易履约服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "author": "dev@8848top.com",
@@ -3,7 +3,7 @@ import BaseService from '../baseService';
3
3
  declare class ContractService extends BaseService implements Contract.Controller {
4
4
  protected prefixUrl: string;
5
5
  exportPdf(request: Contract.Request.IExportPdf): Promise<Contract.Response.IExportPdf>;
6
- exportPdfForWeb(request: Contract.Request.IExportPdf): Promise<Contract.Response.IExportPdf>;
6
+ exportPdfForWeb(request: Contract.Request.IExportPdfForWeb): Promise<Contract.Response.IExportPdfForWeb>;
7
7
  }
8
8
  declare const contractService: ContractService;
9
9
  export default contractService;
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/contract/service.ts"],"names":[],"mappings":";;;;;AACA,qCAAoC;AACpC,iEAAwC;AAExC,MAAM,eAAgB,SAAQ,qBAAW;IAAzC;;QACY,cAAS,GAAG,WAAW,CAAA;IAQnC,CAAC;IANC,SAAS,CAAC,OAAoC;QAC5C,OAAO,IAAA,cAAO,EAAmC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;IACD,eAAe,CAAC,OAAoC;QAClD,OAAO,IAAA,cAAO,EAAyC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,CAAA;IACvG,CAAC;CACF;AAED,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAA;AAC7C,kBAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/contract/service.ts"],"names":[],"mappings":";;;;;AACA,qCAAoC;AACpC,iEAAwC;AAExC,MAAM,eAAgB,SAAQ,qBAAW;IAAzC;;QACY,cAAS,GAAG,WAAW,CAAA;IAQnC,CAAC;IANC,SAAS,CAAC,OAAoC;QAC5C,OAAO,IAAA,cAAO,EAAmC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;IACD,eAAe,CAAC,OAA0C;QACxD,OAAO,IAAA,cAAO,EAAyC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,CAAA;IACvG,CAAC;CACF;AAED,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAA;AAC7C,kBAAe,eAAe,CAAA"}
@@ -3,16 +3,22 @@ export declare namespace Contract {
3
3
  interface IExportPdf {
4
4
  orderId: string;
5
5
  }
6
+ interface IExportPdfForWeb {
7
+ orderId: string;
8
+ }
6
9
  }
7
10
  namespace Response {
8
11
  interface IExportPdf {
9
12
  downloadUrl: string;
10
13
  }
14
+ interface IExportPdfForWeb {
15
+ downloadUrl: string;
16
+ }
11
17
  }
12
18
  interface Controller {
13
19
  /** 导出合同pdf */
14
20
  exportPdf(request: Request.IExportPdf): Promise<Response.IExportPdf>;
15
21
  /** 导出后台合同pdf */
16
- exportPdfForWeb(request: Request.IExportPdf): Promise<Response.IExportPdf>;
22
+ exportPdfForWeb(request: Request.IExportPdfForWeb): Promise<Response.IExportPdfForWeb>;
17
23
  }
18
24
  }