@ningboyz/apis 1.8.103 → 1.8.105

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.103",
3
+ "version": "1.8.105",
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.103",
20
+ "@ningboyz/types": "1.8.105",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TSsb } from "@ningboyz/types";
2
2
  import { HttpRequest } from "../axios";
3
- import { ISysenvrInventoryUploaddbQuerys, ISysenvrInventoryEncryptQuerys, ISysenvrInventoryDecryptQuerys } from "./types";
3
+ import { ISysenvrInventoryUploaddbQuerys, ISysenvrInventoryEncryptQuerys, ISysenvrInventoryDecryptQuerys, ISysenvrInventoryUploaddbPathQuerys } from "./types";
4
4
 
5
5
  class InventoryRequest {
6
6
  private httpRequest: HttpRequest;
@@ -19,6 +19,17 @@ class InventoryRequest {
19
19
  return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/core/tsysenvr/hmactext/uploaddb", querys, params);
20
20
  }
21
21
 
22
+ /**
23
+ * 存量附件
24
+ *
25
+ * @param querys
26
+ * @param params
27
+ * @returns
28
+ */
29
+ uploaddbPath(querys: ISysenvrInventoryUploaddbPathQuerys, params: object) {
30
+ return this.httpRequest.post<TSsb.ISocialInsuranceResponse[]>("/gapi/tpath/filehash/uploaddb", querys, params);
31
+ }
32
+
22
33
  /**
23
34
  * 存量加密
24
35
  *
@@ -7,10 +7,26 @@ export class TSysenvrInventoryUploaddbQuerys implements ISysenvrInventoryUploadd
7
7
  apply: number = -1;
8
8
  }
9
9
 
10
- export interface ISysenvrInventoryEncryptQuerys {}
10
+ export interface ISysenvrInventoryUploaddbPathQuerys {
11
+ apply: number;
12
+ }
13
+
14
+ export class TSysenvrInventoryUploaddbPathQuerys implements ISysenvrInventoryUploaddbPathQuerys {
15
+ apply: number = -1;
16
+ }
17
+
18
+ export interface ISysenvrInventoryEncryptQuerys {
19
+ apply: number;
20
+ }
11
21
 
12
- export class TSysenvrInventoryEncryptQuerys implements ISysenvrInventoryEncryptQuerys {}
22
+ export class TSysenvrInventoryEncryptQuerys implements ISysenvrInventoryEncryptQuerys {
23
+ apply: number = -1;
24
+ }
13
25
 
14
- export interface ISysenvrInventoryDecryptQuerys {}
26
+ export interface ISysenvrInventoryDecryptQuerys {
27
+ apply: number;
28
+ }
15
29
 
16
- export class TSysenvrInventoryDecryptQuerys implements ISysenvrInventoryDecryptQuerys {}
30
+ export class TSysenvrInventoryDecryptQuerys implements ISysenvrInventoryDecryptQuerys {
31
+ apply: number = -1;
32
+ }
@@ -0,0 +1,57 @@
1
+ import type { TYzpz } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IYzpzGlfaDeletedbQuerys, IYzpzGlfaDetaildbQuerys, IYzpzGlfaInsertdbQuerys, IYzpzGlfaSelectdbQuerys, IYzpzGlfaUpdatedbQuerys } from "./types";
4
+
5
+ class CnfgRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取管理方案列表
13
+ * @param params
14
+ * @returns
15
+ */
16
+ selectdb(query: IYzpzGlfaSelectdbQuerys) {
17
+ return this.httpRequest.post<TYzpz.IYzpzGlfaResponse[]>("/gapi/yzpz/tglfa/selectdb", query, undefined);
18
+ }
19
+
20
+ /**
21
+ * 删除管理方案列表
22
+ * @param params
23
+ * @returns
24
+ */
25
+ deletedb(query: IYzpzGlfaDeletedbQuerys, params: object) {
26
+ return this.httpRequest.post<TYzpz.IYzpzGlfaResponse[]>("/gapi/yzpz/tglfa/deletedb", query, params);
27
+ }
28
+
29
+ /**
30
+ * 修改管理方案列表
31
+ * @param params
32
+ * @returns
33
+ */
34
+ updatedb(query: IYzpzGlfaUpdatedbQuerys, params: object) {
35
+ return this.httpRequest.post<TYzpz.IYzpzGlfaResponse[]>("/gapi/yzpz/tglfa/updatedb", query, params);
36
+ }
37
+
38
+ /**
39
+ * 新增管理方案列表
40
+ * @param params
41
+ * @returns
42
+ */
43
+ insertdb(query: IYzpzGlfaInsertdbQuerys, params: object) {
44
+ return this.httpRequest.post<TYzpz.IYzpzGlfaResponse[]>("/gapi/yzpz/tglfa/insertdb", query, params);
45
+ }
46
+
47
+ /**
48
+ * 查看管理方案列表
49
+ * @param params
50
+ * @returns
51
+ */
52
+ detaildb(query: IYzpzGlfaDetaildbQuerys) {
53
+ return this.httpRequest.post<TYzpz.IYzpzGlfaResponse[]>("/gapi/yzpz/tglfa/detaildb", query, undefined);
54
+ }
55
+ }
56
+
57
+ export default CnfgRequest;
@@ -5,6 +5,7 @@ import K0kmRequest from "./k0km";
5
5
  import K8kmRequest from "./k8km";
6
6
  import KbkmRequest from "./kbkm";
7
7
  import TypeRequest from "./type";
8
+ import GlfaRequest from "./glfa";
8
9
 
9
10
  class YzpzRequest {
10
11
  public cnfg: CnfgRequest;
@@ -13,6 +14,7 @@ class YzpzRequest {
13
14
  public item: ItemRequest;
14
15
  public k0km: K0kmRequest;
15
16
  public kbkm: KbkmRequest;
17
+ public glfa: GlfaRequest;
16
18
 
17
19
  constructor(config: IAxiosConfig) {
18
20
  const request = createRequest(config);
@@ -22,6 +24,7 @@ class YzpzRequest {
22
24
  this.item = new ItemRequest(request);
23
25
  this.k0km = new K0kmRequest(request);
24
26
  this.kbkm = new KbkmRequest(request);
27
+ this.glfa = new GlfaRequest(request);
25
28
  }
26
29
  }
27
30
 
@@ -360,3 +360,44 @@ export class TYzpzItemUploadd2Querys implements IYzpzItemUploadd2Querys {
360
360
  export interface IYzpzItemQueuesdbQuerys {}
361
361
 
362
362
  export class TYzpzItemQueuesdbQuerys implements IYzpzItemQueuesdbQuerys {}
363
+
364
+ export interface IYzpzGlfaDetaildbQuerys {
365
+ glfamain: number;
366
+ sourcend: number;
367
+ }
368
+
369
+ export class TYzpzGlfaDetaildbQuerys implements IYzpzGlfaDetaildbQuerys {
370
+ glfamain: number = -1;
371
+ sourcend: number = -1;
372
+ }
373
+
374
+ export interface IYzpzGlfaSelectdbQuerys {
375
+ sourcend: number;
376
+ }
377
+
378
+ export class TYzpzGlfaSelectdbQuerys implements IYzpzGlfaSelectdbQuerys {
379
+ sourcend: number = -1;
380
+ }
381
+
382
+ export interface IYzpzGlfaInsertdbQuerys {
383
+ sourcend: number;
384
+ }
385
+
386
+ export class TYzpzGlfaInsertdbQuerys implements IYzpzGlfaInsertdbQuerys {
387
+ sourcend: number = -1;
388
+ }
389
+
390
+ export interface IYzpzGlfaUpdatedbQuerys {
391
+ sourcend: number;
392
+ }
393
+
394
+ export class TYzpzGlfaUpdatedbQuerys implements IYzpzGlfaUpdatedbQuerys {
395
+ sourcend: number = -1;
396
+ }
397
+ export interface IYzpzGlfaDeletedbQuerys {
398
+ sourcend: number;
399
+ }
400
+
401
+ export class TYzpzGlfaDeletedbQuerys implements IYzpzGlfaDeletedbQuerys {
402
+ sourcend: number = -1;
403
+ }