@ningboyz/apis 1.8.27 → 1.8.28

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.8.27",
3
+ "version": "1.8.28",
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.8.27",
20
+ "@ningboyz/types": "1.8.28",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TFlow } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IFlowMainDetaildbQuerys, IFlowMainSelectdbQuerys } from "./types";
3
+ import { IFlowMainDetaildbQuerys, IFlowMainSelectdbQuerys, IFlowMainUploaditQuerys } from "./types";
4
4
 
5
5
  class MainRequest {
6
6
  private httpRequest: HttpRequest;
@@ -61,6 +61,15 @@ class MainRequest {
61
61
  queuesdb(params: object) {
62
62
  return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/gapi/flow/tmain/queuesdb", undefined, params);
63
63
  }
64
+
65
+ /**
66
+ * 还原流程列表
67
+ * @param params
68
+ * @returns
69
+ */
70
+ uploadit(querys: IFlowMainUploaditQuerys, params: object) {
71
+ return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/gapi/flow/tmain/uploadit", querys, params);
72
+ }
64
73
  }
65
74
 
66
75
  export default MainRequest;
@@ -111,6 +111,14 @@ export class TFlowMainDetaildbQuerys implements IFlowMainDetaildbQuerys {
111
111
  flowmain: number = -1;
112
112
  }
113
113
 
114
+ export interface IFlowMainUploaditQuerys {
115
+ override: number;
116
+ }
117
+
118
+ export class TFlowMainUploaditQuerys implements IFlowMainUploaditQuerys {
119
+ override: number = -1;
120
+ }
121
+
114
122
  export interface IFlowMainQueuesdbQuerys {
115
123
  voidtype: number;
116
124
  }
@@ -252,21 +260,21 @@ export class TFlowNodeSelectdb2Querys implements IFlowNodeSelectdb2Querys {
252
260
  flowmain: number = -1;
253
261
  }
254
262
 
255
- export interface IFlowFlowUserMemoSelectdbQuerys { }
263
+ export interface IFlowFlowUserMemoSelectdbQuerys {}
256
264
 
257
- export class TFlowFlowUserMemoSelectdbQuerys implements IFlowFlowUserMemoSelectdbQuerys { }
265
+ export class TFlowFlowUserMemoSelectdbQuerys implements IFlowFlowUserMemoSelectdbQuerys {}
258
266
 
259
- export interface IFlowFlowUserMemoInsertdbQuerys { }
267
+ export interface IFlowFlowUserMemoInsertdbQuerys {}
260
268
 
261
- export class TFlowFlowUserMemoInsertdbQuerys implements IFlowFlowUserMemoInsertdbQuerys { }
269
+ export class TFlowFlowUserMemoInsertdbQuerys implements IFlowFlowUserMemoInsertdbQuerys {}
262
270
 
263
- export interface IFlowFlowUserMemoDeletedbQuerys { }
271
+ export interface IFlowFlowUserMemoDeletedbQuerys {}
264
272
 
265
- export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeletedbQuerys { }
273
+ export class TFlowFlowUserMemoDeletedbQuerys implements IFlowFlowUserMemoDeletedbQuerys {}
266
274
 
267
- export interface IFlowFlowRedoflowQuerys { }
275
+ export interface IFlowFlowRedoflowQuerys {}
268
276
 
269
- export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys { }
277
+ export class TFlowFlowRedoflowQuerys implements IFlowFlowRedoflowQuerys {}
270
278
 
271
279
  export interface IFlowFlowTodolistQuerys {
272
280
  withhour: number;