@ningboyz/apis 1.4.138 → 1.4.140

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": "@ningboyz/apis",
3
- "version": "1.4.138",
3
+ "version": "1.4.140",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.4.138",
20
+ "@ningboyz/types": "1.4.140",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,15 @@
1
1
  import type { TVary } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IVaryMainSelectdbQuerys, IVaryMainDetaildbQuerys, IVaryMainInsertdbQuerys, IVaryMainUpdatedbQuerys, IVaryMainDeletedbQuerys, IVaryMainFinishedQuerys } from "./types";
3
+ import {
4
+ IVaryMainSelectdbQuerys,
5
+ IVaryMainDetaildbQuerys,
6
+ IVaryMainInsertdbQuerys,
7
+ IVaryMainUpdatedbQuerys,
8
+ IVaryMainDeletedbQuerys,
9
+ IVaryMainFinishedQuerys,
10
+ IVaryMainExecutedQuerys,
11
+ IVaryMainCanceledQuerys
12
+ } from "./types";
4
13
 
5
14
  class MainRequest {
6
15
  private httpRequest: HttpRequest;
@@ -56,6 +65,14 @@ class MainRequest {
56
65
  finished(querys: IVaryMainFinishedQuerys) {
57
66
  return this.httpRequest.post<TVary.IVaryMainResponse[]>("/gapi/vary/tmain/finished", querys, undefined);
58
67
  }
68
+
69
+ executed(querys: IVaryMainExecutedQuerys) {
70
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/vary/tmain/withhznk/executed", querys, undefined);
71
+ }
72
+
73
+ canceled(querys: IVaryMainCanceledQuerys) {
74
+ return this.httpRequest.post<TVary.IVaryMainResponse[]>("/vary/tmain/withhznk/canceled", querys, undefined);
75
+ }
59
76
  }
60
77
 
61
78
  export default MainRequest;
@@ -33,6 +33,22 @@ export class TVaryMainFinishedQuerys implements IVaryMainFinishedQuerys {
33
33
  useronly: number = -1;
34
34
  }
35
35
 
36
+ export interface IVaryMainExecutedQuerys {
37
+ entityid: string;
38
+ }
39
+
40
+ export class TVaryMainExecutedQuerys implements IVaryMainExecutedQuerys {
41
+ entityid: string = "";
42
+ }
43
+
44
+ export interface IVaryMainCanceledQuerys {
45
+ entityid: string;
46
+ }
47
+
48
+ export class TVaryMainCanceledQuerys implements IVaryMainCanceledQuerys {
49
+ entityid: string = "";
50
+ }
51
+
36
52
  export interface IVaryMainInsertdbQuerys {
37
53
  sourcend: number;
38
54
  }