@ningboyz/apis 1.8.122 → 1.8.124

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.
Files changed (309) hide show
  1. package/.prettierrc +15 -15
  2. package/index.ts +146 -146
  3. package/package.json +27 -27
  4. package/packages/antv/cnfg.ts +57 -57
  5. package/packages/antv/index.ts +20 -20
  6. package/packages/antv/main.ts +65 -65
  7. package/packages/antv/para.ts +57 -57
  8. package/packages/antv/type.ts~ +57 -0
  9. package/packages/antv/types.ts +59 -59
  10. package/packages/axios.ts +208 -208
  11. package/packages/bill/cnfg.ts +72 -72
  12. package/packages/bill/index.ts +17 -17
  13. package/packages/bill/main.ts +265 -265
  14. package/packages/bill/types.ts +220 -220
  15. package/packages/card/data.ts +111 -111
  16. package/packages/card/form.ts +19 -19
  17. package/packages/card/fwcz.ts +87 -87
  18. package/packages/card/gblb.ts +118 -118
  19. package/packages/card/hyhb.ts +72 -72
  20. package/packages/card/index.ts +68 -68
  21. package/packages/card/index.ts~ +47 -0
  22. package/packages/card/main.ts +402 -402
  23. package/packages/card/p4pz.ts +97 -97
  24. package/packages/card/pgxx.ts +60 -60
  25. package/packages/card/room.ts +72 -72
  26. package/packages/card/types.ts +1285 -1285
  27. package/packages/card/tzclbsort.ts~ +36 -0
  28. package/packages/card/zcbd.ts +123 -123
  29. package/packages/card/zccf.ts +114 -114
  30. package/packages/card/zccz.ts +122 -122
  31. package/packages/card/zccz.ts~ +106 -0
  32. package/packages/card/zcdb.ts +132 -132
  33. package/packages/card/zclb.ts +105 -105
  34. package/packages/card/zclbGblb.ts +33 -33
  35. package/packages/card/zcpd.ts +70 -70
  36. package/packages/card/zcpdbill.ts +43 -43
  37. package/packages/card/zczj.ts +21 -21
  38. package/packages/card/zczjProp.ts +21 -21
  39. package/packages/cnfg/index.ts +14 -14
  40. package/packages/cnfg/main.ts +55 -55
  41. package/packages/cnfg/types.ts +4 -4
  42. package/packages/core/dddw.ts +112 -112
  43. package/packages/core/dept.ts +202 -202
  44. package/packages/core/dict.ts +108 -108
  45. package/packages/core/index.ts +71 -71
  46. package/packages/core/laid.ts +112 -112
  47. package/packages/core/local.ts +29 -29
  48. package/packages/core/mast.ts +42 -42
  49. package/packages/core/part.ts +81 -81
  50. package/packages/core/path.ts +105 -105
  51. package/packages/core/skdw.ts +68 -68
  52. package/packages/core/sysbilltype.ts +57 -57
  53. package/packages/core/sysclas.ts +16 -16
  54. package/packages/core/sysenvr.ts +15 -15
  55. package/packages/core/syskjnd.ts +19 -19
  56. package/packages/core/sysmenu.ts +185 -185
  57. package/packages/core/syssecret.ts +27 -27
  58. package/packages/core/sysstatus.ts +21 -21
  59. package/packages/core/systravel.ts +53 -53
  60. package/packages/core/type.ts +93 -93
  61. package/packages/core/types.ts +1764 -1764
  62. package/packages/core/unit.ts +182 -182
  63. package/packages/core/user.ts +1058 -1058
  64. package/packages/cron/index.ts +17 -17
  65. package/packages/cron/main.ts +66 -66
  66. package/packages/cron/todo.ts +30 -30
  67. package/packages/cron/types.ts +44 -44
  68. package/packages/ding/index.ts +14 -14
  69. package/packages/ding/main.ts +29 -29
  70. package/packages/ding/types.ts +26 -26
  71. package/packages/elem/data.ts +75 -75
  72. package/packages/elem/index.ts +15 -15
  73. package/packages/elem/main.ts +79 -79
  74. package/packages/elem/types.ts +65 -65
  75. package/packages/expd/index.ts +14 -14
  76. package/packages/expd/main.ts +31 -31
  77. package/packages/expd/type.ts~ +17 -0
  78. package/packages/expd/types.ts +18 -18
  79. package/packages/flow/duty.ts +59 -59
  80. package/packages/flow/flow.ts +202 -202
  81. package/packages/flow/index.ts +25 -25
  82. package/packages/flow/main.ts +75 -75
  83. package/packages/flow/node.ts +104 -104
  84. package/packages/flow/types.ts +301 -301
  85. package/packages/flow/void.ts +71 -71
  86. package/packages/gams/cnfg.ts +95 -95
  87. package/packages/gams/dial.ts +21 -21
  88. package/packages/gams/index.ts +28 -28
  89. package/packages/gams/item.ts +61 -61
  90. package/packages/gams/k0km.ts +61 -61
  91. package/packages/gams/k8km.ts +124 -124
  92. package/packages/gams/type.ts +59 -59
  93. package/packages/gams/types.ts +269 -269
  94. package/packages/grow/grow.ts +19 -19
  95. package/packages/grow/index.ts +14 -14
  96. package/packages/grow/types.ts +4 -4
  97. package/packages/gzjg/bind.ts +77 -77
  98. package/packages/gzjg/gzlm.ts +120 -120
  99. package/packages/gzjg/index.ts +23 -23
  100. package/packages/gzjg/main.ts +84 -84
  101. package/packages/gzjg/qzgs.ts +41 -41
  102. package/packages/gzjg/types.ts +196 -196
  103. package/packages/gztb/index.ts +14 -14
  104. package/packages/gztb/main.ts +197 -186
  105. package/packages/gztb/types.ts +156 -131
  106. package/packages/gzzd/index.ts +14 -14
  107. package/packages/gzzd/main.ts +311 -311
  108. package/packages/gzzd/types.ts +222 -222
  109. package/packages/hzcb/index.ts +29 -29
  110. package/packages/hzcb/main.ts +112 -112
  111. package/packages/hzcb/ndjh.ts +37 -37
  112. package/packages/hzcb/tdss.ts +36 -36
  113. package/packages/hzcb/types.ts +344 -344
  114. package/packages/hzcb/xmss.ts +36 -36
  115. package/packages/hzcb/xmtz.ts +62 -62
  116. package/packages/hzcb/xmyk.ts +95 -95
  117. package/packages/hznj/base.ts +60 -60
  118. package/packages/hznj/bzgx.ts +36 -36
  119. package/packages/hznj/dzqr.ts +52 -52
  120. package/packages/hznj/index.ts +50 -50
  121. package/packages/hznj/main.ts +77 -77
  122. package/packages/hznj/noti.ts +105 -105
  123. package/packages/hznj/rwqx.ts +37 -37
  124. package/packages/hznj/type.ts +1082 -1082
  125. package/packages/hznj/xmjj.ts +37 -37
  126. package/packages/hznj/xmsy.ts +72 -72
  127. package/packages/hznj/zbcz.ts +36 -36
  128. package/packages/hznj/zbjg.ts +52 -52
  129. package/packages/hznj/zblr.ts +55 -55
  130. package/packages/hznj/zbly.ts +48 -48
  131. package/packages/hznj/zbth.ts +46 -46
  132. package/packages/hznk/base.ts +58 -58
  133. package/packages/hznk/data.ts +68 -68
  134. package/packages/hznk/fydw.ts +66 -66
  135. package/packages/hznk/fytq.ts +56 -56
  136. package/packages/hznk/index.ts +35 -35
  137. package/packages/hznk/main.ts +61 -61
  138. package/packages/hznk/note.ts +36 -36
  139. package/packages/hznk/type.ts +752 -752
  140. package/packages/hznk/xmys.ts +36 -36
  141. package/packages/hznk/yssq.ts +36 -36
  142. package/packages/index.ts +45 -45
  143. package/packages/japz/cnfg.ts +36 -36
  144. package/packages/japz/index.ts +29 -29
  145. package/packages/japz/item.ts +68 -68
  146. package/packages/japz/k0km.ts +36 -36
  147. package/packages/japz/k7km.ts +44 -44
  148. package/packages/japz/k8km.ts +36 -36
  149. package/packages/japz/k9km.ts +40 -40
  150. package/packages/japz/types.ts +474 -474
  151. package/packages/load/cell.ts +21 -21
  152. package/packages/load/data.ts +22 -22
  153. package/packages/load/index.ts +32 -32
  154. package/packages/load/main.ts +68 -68
  155. package/packages/load/nsdw.ts +50 -50
  156. package/packages/load/types.ts +91 -91
  157. package/packages/load/yqdw.ts +15 -15
  158. package/packages/load/yqkm.ts +15 -15
  159. package/packages/load/zydw.ts +16 -16
  160. package/packages/myoa/index.ts +19 -19
  161. package/packages/myoa/main.ts +260 -260
  162. package/packages/myoa/room.ts +57 -57
  163. package/packages/myoa/types.ts +380 -380
  164. package/packages/myoa/withcard.ts +174 -174
  165. package/packages/note/index.ts +13 -13
  166. package/packages/note/main.ts +58 -58
  167. package/packages/note/types.ts +19 -19
  168. package/packages/noti/index.ts +14 -14
  169. package/packages/noti/main.ts +238 -238
  170. package/packages/noti/type.ts~ +29 -0
  171. package/packages/noti/types.ts +169 -169
  172. package/packages/ocri/index.ts +14 -14
  173. package/packages/ocri/path.ts +24 -24
  174. package/packages/ocri/types.ts +37 -37
  175. package/packages/pzpt/cash.ts +39 -39
  176. package/packages/pzpt/cnfg.ts +128 -128
  177. package/packages/pzpt/cnfgmore.ts +30 -30
  178. package/packages/pzpt/glfa.ts +70 -70
  179. package/packages/pzpt/glkm.ts +60 -60
  180. package/packages/pzpt/index.ts +53 -53
  181. package/packages/pzpt/item.ts +52 -52
  182. package/packages/pzpt/k0km.ts +51 -51
  183. package/packages/pzpt/k8km.ts +50 -50
  184. package/packages/pzpt/kbkm.ts +22 -22
  185. package/packages/pzpt/pzpz.ts +66 -66
  186. package/packages/pzpt/pzpzp6pz.ts +61 -61
  187. package/packages/pzpt/type.ts +50 -50
  188. package/packages/pzpt/types.ts +549 -549
  189. package/packages/pzpt/yqkb.ts +20 -20
  190. package/packages/pzpt/yqkm.ts +34 -34
  191. package/packages/ssb/index.ts +15 -15
  192. package/packages/ssb/socialInsurance.ts +45 -45
  193. package/packages/ssb/types.ts +26 -26
  194. package/packages/sysenvr/index.ts +14 -14
  195. package/packages/sysenvr/inventory.ts +56 -56
  196. package/packages/sysenvr/types.ts +40 -40
  197. package/packages/tabl/index.ts +14 -14
  198. package/packages/tabl/main.ts +315 -315
  199. package/packages/tabl/types.ts +329 -329
  200. package/packages/take/index.ts +14 -14
  201. package/packages/take/main.ts +76 -76
  202. package/packages/take/types.ts +179 -179
  203. package/packages/talk/index.ts +14 -14
  204. package/packages/talk/main.ts +32 -32
  205. package/packages/talk/types.ts +29 -29
  206. package/packages/task/index.ts +14 -14
  207. package/packages/task/main.ts +78 -78
  208. package/packages/task/types.ts +36 -36
  209. package/packages/tyc/baseInfo.ts +45 -45
  210. package/packages/tyc/changeInfo.ts +45 -45
  211. package/packages/tyc/copyReg.ts +45 -45
  212. package/packages/tyc/copyRegWorks.ts +45 -45
  213. package/packages/tyc/courtAnnouncement.ts +45 -45
  214. package/packages/tyc/creditChina.ts +45 -45
  215. package/packages/tyc/dishonest.ts +45 -45
  216. package/packages/tyc/equityInfo.ts +45 -45
  217. package/packages/tyc/findHistoryRongzi.ts +45 -45
  218. package/packages/tyc/findJingpin.ts +45 -45
  219. package/packages/tyc/findTeamMember.ts +45 -45
  220. package/packages/tyc/getPledgeReg.ts +45 -45
  221. package/packages/tyc/holder.ts +45 -45
  222. package/packages/tyc/holderHistory.ts +45 -45
  223. package/packages/tyc/illegalInfo.ts +45 -45
  224. package/packages/tyc/index.ts +93 -93
  225. package/packages/tyc/inverst.ts +44 -44
  226. package/packages/tyc/investHistory.ts +45 -45
  227. package/packages/tyc/judicialSale.ts +45 -45
  228. package/packages/tyc/ktannouncement.ts +45 -45
  229. package/packages/tyc/lawSuit.ts +45 -45
  230. package/packages/tyc/mortgageInfo.ts +45 -45
  231. package/packages/tyc/ownTax.ts +45 -45
  232. package/packages/tyc/profile.ts +45 -45
  233. package/packages/tyc/publicNotice.ts +45 -45
  234. package/packages/tyc/punishmentInfo.ts +45 -45
  235. package/packages/tyc/staff.ts +45 -45
  236. package/packages/tyc/sync.ts +22 -22
  237. package/packages/tyc/types.ts +608 -608
  238. package/packages/type.ts +9 -9
  239. package/packages/vary/index.ts +14 -14
  240. package/packages/vary/main.ts +106 -106
  241. package/packages/vary/types.ts +141 -141
  242. package/packages/wldy/data.ts +86 -86
  243. package/packages/wldy/index.ts +23 -23
  244. package/packages/wldy/item.ts +57 -57
  245. package/packages/wldy/main.ts +21 -21
  246. package/packages/wldy/page.ts +125 -125
  247. package/packages/wldy/types.ts +123 -123
  248. package/packages/wlzf/envr.ts +66 -66
  249. package/packages/wlzf/index.ts +20 -20
  250. package/packages/wlzf/liha.ts +21 -21
  251. package/packages/wlzf/main.ts +50 -50
  252. package/packages/wlzf/types.ts +80 -80
  253. package/packages/wtui/ctrl.ts +77 -77
  254. package/packages/wtui/envr.ts +33 -33
  255. package/packages/wtui/form.ts +67 -67
  256. package/packages/wtui/index.ts +44 -44
  257. package/packages/wtui/item.ts +67 -67
  258. package/packages/wtui/main.ts +103 -103
  259. package/packages/wtui/menu.ts +68 -68
  260. package/packages/wtui/node.ts +95 -95
  261. package/packages/wtui/todo.ts +83 -83
  262. package/packages/wtui/type.ts~ +380 -0
  263. package/packages/wtui/types.ts +476 -476
  264. package/packages/wtui/user.ts +67 -67
  265. package/packages/wtui/view.ts +107 -107
  266. package/packages/wtui/zone.ts +74 -74
  267. package/packages/wzpz/cnfg.ts +57 -57
  268. package/packages/wzpz/index.ts +34 -34
  269. package/packages/wzpz/item.ts +71 -71
  270. package/packages/wzpz/k0km.ts +137 -137
  271. package/packages/wzpz/k8km.ts +108 -108
  272. package/packages/wzpz/kbkm.ts +21 -21
  273. package/packages/wzpz/type.ts +62 -62
  274. package/packages/wzpz/types.ts +566 -566
  275. package/packages/wzpz/userK0km.ts +42 -42
  276. package/packages/wzpz/userK8km.ts +42 -42
  277. package/packages/yymd/index.ts +14 -14
  278. package/packages/yymd/main.ts +19 -19
  279. package/packages/yymd/types.ts +7 -7
  280. package/packages/yzcg/index.ts +14 -14
  281. package/packages/yzcg/main.ts +66 -66
  282. package/packages/yzcg/types.ts +36 -36
  283. package/packages/yzcq/index.ts +15 -15
  284. package/packages/yzcq/main.ts +58 -58
  285. package/packages/yzcq/types.ts +30 -30
  286. package/packages/yzht/bill.ts +22 -22
  287. package/packages/yzht/fymx.ts +22 -22
  288. package/packages/yzht/glpz.ts +41 -41
  289. package/packages/yzht/index.ts +24 -24
  290. package/packages/yzht/main.ts +337 -337
  291. package/packages/yzht/types.ts +310 -310
  292. package/packages/yzpz/cnfg.ts +85 -85
  293. package/packages/yzpz/glfa.ts +57 -57
  294. package/packages/yzpz/index.ts +32 -32
  295. package/packages/yzpz/item.ts +99 -99
  296. package/packages/yzpz/k0km.ts +51 -51
  297. package/packages/yzpz/k8km.ts +108 -108
  298. package/packages/yzpz/kbkm.ts +50 -50
  299. package/packages/yzpz/type.ts +57 -57
  300. package/packages/yzpz/types.ts +403 -403
  301. package/packages/zbhd/cnfg.ts +60 -60
  302. package/packages/zbhd/index.ts +17 -17
  303. package/packages/zbhd/main.ts +305 -305
  304. package/packages/zbhd/types.ts +281 -281
  305. package/packages/zbzd/index.ts +17 -17
  306. package/packages/zbzd/main.ts +215 -215
  307. package/packages/zbzd/types.ts +169 -169
  308. package/packages/zbzd/zbfl.ts +32 -32
  309. package/readme.md +2 -2
package/.prettierrc CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "printWidth": 200,
3
- "tabWidth": 2,
4
- "useTabs": false,
5
- "semi": true,
6
- "singleQuote": false,
7
- "trailingComma": "none",
8
- "bracketSpacing": true,
9
- "bracketSameLine": true,
10
- "arrowParens": "always",
11
- "htmlWhitespaceSensitivity": "ignore",
12
- "vueIndentScriptAndStyle": false,
13
- "endOfLine": "auto",
14
- "singleAttributePerLine": false
15
- }
1
+ {
2
+ "printWidth": 200,
3
+ "tabWidth": 2,
4
+ "useTabs": false,
5
+ "semi": true,
6
+ "singleQuote": false,
7
+ "trailingComma": "none",
8
+ "bracketSpacing": true,
9
+ "bracketSameLine": true,
10
+ "arrowParens": "always",
11
+ "htmlWhitespaceSensitivity": "ignore",
12
+ "vueIndentScriptAndStyle": false,
13
+ "endOfLine": "auto",
14
+ "singleAttributePerLine": false
15
+ }
package/index.ts CHANGED
@@ -1,146 +1,146 @@
1
- import AntvRequest from "./packages/antv";
2
- import { IAxiosConfig } from "./packages/axios";
3
- import BillRequest from "./packages/bill";
4
- import CardRequest from "./packages/card";
5
- import CnfgRequest from "./packages/cnfg";
6
- import CoreRequest from "./packages/core";
7
- import CronRequest from "./packages/cron";
8
- import DingRequest from "./packages/ding";
9
- import ElemRequest from "./packages/elem";
10
- import ExpdRequest from "./packages/expd";
11
- import FLowRequest from "./packages/flow";
12
- import GamsRequest from "./packages/gams";
13
- import GrowRequest from "./packages/grow";
14
- import GzjgRequest from "./packages/gzjg";
15
- import GztbRequest from "./packages/gztb";
16
- import GzzdRequest from "./packages/gzzd";
17
- import HzcbRequest from "./packages/hzcb";
18
- import HznjRequest from "./packages/hznj";
19
- import HznkRequest from "./packages/hznk";
20
- import JapzRequest from "./packages/japz";
21
- import LoadRequest from "./packages/load";
22
- import MyoaRequest from "./packages/myoa";
23
- import NotiRequest from "./packages/noti";
24
- import OcriRequest from "./packages/ocri";
25
- import PzptRequest from "./packages/pzpt";
26
- import SsbRequest from "./packages/ssb";
27
- import TablRequest from "./packages/tabl";
28
- import TakeRequest from "./packages/take";
29
- import TalkRequest from "./packages/talk";
30
- import TaskRequest from "./packages/task";
31
- import TycRequest from "./packages/tyc";
32
- import VaryRequest from "./packages/vary";
33
- import WldyRequest from "./packages/wldy";
34
- import WlzfRequest from "./packages/wlzf";
35
- import WtuiRequest from "./packages/wtui";
36
- import WzpzRequest from "./packages/wzpz";
37
- import YzcgRequest from "./packages/yzcg";
38
- import YzcqRequest from "./packages/yzcq";
39
- import YzhtRequest from "./packages/yzht";
40
- import YzpzRequest from "./packages/yzpz";
41
- import ZbhdRequest from "./packages/zbhd";
42
- import ZbzdRequest from "./packages/zbzd";
43
- import NoteRequest from "./packages/note";
44
- import SysenvrRequest from "./packages/sysenvr";
45
-
46
- class JavaRequest {
47
- public static ssb: SsbRequest;
48
- public static tyc: TycRequest;
49
-
50
- public static createRequest(config: IAxiosConfig) {
51
- this.ssb = new SsbRequest(config);
52
- this.tyc = new TycRequest(config);
53
- }
54
- }
55
-
56
- class Request {
57
- public static core: CoreRequest;
58
- public static flow: FLowRequest;
59
- public static wtui: WtuiRequest;
60
- public static expd: ExpdRequest;
61
- public static pzpt: PzptRequest;
62
- public static gams: GamsRequest;
63
- public static wldy: WldyRequest;
64
- public static gzjg: GzjgRequest;
65
- public static tabl: TablRequest;
66
- public static card: CardRequest;
67
- public static cnfg: CnfgRequest;
68
- public static load: LoadRequest;
69
- public static ocri: OcriRequest;
70
- public static grow: GrowRequest;
71
- public static task: TaskRequest;
72
- public static gztb: GztbRequest;
73
- public static antv: AntvRequest;
74
- public static noti: NotiRequest;
75
- public static elem: ElemRequest;
76
- public static yzcg: YzcgRequest;
77
- public static myoa: MyoaRequest;
78
- public static cron: CronRequest;
79
- public static zbzd: ZbzdRequest;
80
- public static gzzd: GzzdRequest;
81
- public static hzcb: HzcbRequest;
82
- public static yzht: YzhtRequest;
83
- public static yzpz: YzpzRequest;
84
- public static wzpz: WzpzRequest;
85
- public static wlzf: WlzfRequest;
86
- public static zbhd: ZbhdRequest;
87
- public static bill: BillRequest;
88
- public static japz: JapzRequest;
89
- public static take: TakeRequest;
90
- public static hznk: HznkRequest;
91
- public static hznj: HznjRequest;
92
- public static vary: VaryRequest;
93
- public static talk: TalkRequest;
94
- public static ding: DingRequest;
95
- public static yzcq: YzcqRequest;
96
- public static note: NoteRequest;
97
- public static sysenvr: SysenvrRequest;
98
-
99
- public static createRequest(config: IAxiosConfig) {
100
- this.core = new CoreRequest(config);
101
- this.flow = new FLowRequest(config);
102
- this.wtui = new WtuiRequest(config);
103
- this.pzpt = new PzptRequest(config);
104
- this.expd = new ExpdRequest(config);
105
- this.gams = new GamsRequest(config);
106
- this.wldy = new WldyRequest(config);
107
- this.gzjg = new GzjgRequest(config);
108
- this.tabl = new TablRequest(config);
109
- this.card = new CardRequest(config);
110
- this.cnfg = new CnfgRequest(config);
111
- this.load = new LoadRequest(config);
112
- this.ocri = new OcriRequest(config);
113
- this.grow = new GrowRequest(config);
114
- this.task = new TaskRequest(config);
115
- this.gztb = new GztbRequest(config);
116
- this.antv = new AntvRequest(config);
117
- this.noti = new NotiRequest(config);
118
- this.elem = new ElemRequest(config);
119
- this.yzcg = new YzcgRequest(config);
120
- this.myoa = new MyoaRequest(config);
121
- this.cron = new CronRequest(config);
122
- this.zbzd = new ZbzdRequest(config);
123
- this.gzzd = new GzzdRequest(config);
124
- this.hzcb = new HzcbRequest(config);
125
- this.yzht = new YzhtRequest(config);
126
- this.yzpz = new YzpzRequest(config);
127
- this.wzpz = new WzpzRequest(config);
128
- this.wlzf = new WlzfRequest(config);
129
- this.zbhd = new ZbhdRequest(config);
130
- this.bill = new BillRequest(config);
131
- this.japz = new JapzRequest(config);
132
- this.take = new TakeRequest(config);
133
- this.hznk = new HznkRequest(config);
134
- this.hznj = new HznjRequest(config);
135
- this.vary = new VaryRequest(config);
136
- this.talk = new TalkRequest(config);
137
- this.ding = new DingRequest(config);
138
- this.yzcq = new YzcqRequest(config);
139
- this.note = new NoteRequest(config);
140
- this.sysenvr = new SysenvrRequest(config);
141
- }
142
- }
143
-
144
- export default Request;
145
- export * from "./packages";
146
- export { JavaRequest };
1
+ import AntvRequest from "./packages/antv";
2
+ import { IAxiosConfig } from "./packages/axios";
3
+ import BillRequest from "./packages/bill";
4
+ import CardRequest from "./packages/card";
5
+ import CnfgRequest from "./packages/cnfg";
6
+ import CoreRequest from "./packages/core";
7
+ import CronRequest from "./packages/cron";
8
+ import DingRequest from "./packages/ding";
9
+ import ElemRequest from "./packages/elem";
10
+ import ExpdRequest from "./packages/expd";
11
+ import FLowRequest from "./packages/flow";
12
+ import GamsRequest from "./packages/gams";
13
+ import GrowRequest from "./packages/grow";
14
+ import GzjgRequest from "./packages/gzjg";
15
+ import GztbRequest from "./packages/gztb";
16
+ import GzzdRequest from "./packages/gzzd";
17
+ import HzcbRequest from "./packages/hzcb";
18
+ import HznjRequest from "./packages/hznj";
19
+ import HznkRequest from "./packages/hznk";
20
+ import JapzRequest from "./packages/japz";
21
+ import LoadRequest from "./packages/load";
22
+ import MyoaRequest from "./packages/myoa";
23
+ import NotiRequest from "./packages/noti";
24
+ import OcriRequest from "./packages/ocri";
25
+ import PzptRequest from "./packages/pzpt";
26
+ import SsbRequest from "./packages/ssb";
27
+ import TablRequest from "./packages/tabl";
28
+ import TakeRequest from "./packages/take";
29
+ import TalkRequest from "./packages/talk";
30
+ import TaskRequest from "./packages/task";
31
+ import TycRequest from "./packages/tyc";
32
+ import VaryRequest from "./packages/vary";
33
+ import WldyRequest from "./packages/wldy";
34
+ import WlzfRequest from "./packages/wlzf";
35
+ import WtuiRequest from "./packages/wtui";
36
+ import WzpzRequest from "./packages/wzpz";
37
+ import YzcgRequest from "./packages/yzcg";
38
+ import YzcqRequest from "./packages/yzcq";
39
+ import YzhtRequest from "./packages/yzht";
40
+ import YzpzRequest from "./packages/yzpz";
41
+ import ZbhdRequest from "./packages/zbhd";
42
+ import ZbzdRequest from "./packages/zbzd";
43
+ import NoteRequest from "./packages/note";
44
+ import SysenvrRequest from "./packages/sysenvr";
45
+
46
+ class JavaRequest {
47
+ public static ssb: SsbRequest;
48
+ public static tyc: TycRequest;
49
+
50
+ public static createRequest(config: IAxiosConfig) {
51
+ this.ssb = new SsbRequest(config);
52
+ this.tyc = new TycRequest(config);
53
+ }
54
+ }
55
+
56
+ class Request {
57
+ public static core: CoreRequest;
58
+ public static flow: FLowRequest;
59
+ public static wtui: WtuiRequest;
60
+ public static expd: ExpdRequest;
61
+ public static pzpt: PzptRequest;
62
+ public static gams: GamsRequest;
63
+ public static wldy: WldyRequest;
64
+ public static gzjg: GzjgRequest;
65
+ public static tabl: TablRequest;
66
+ public static card: CardRequest;
67
+ public static cnfg: CnfgRequest;
68
+ public static load: LoadRequest;
69
+ public static ocri: OcriRequest;
70
+ public static grow: GrowRequest;
71
+ public static task: TaskRequest;
72
+ public static gztb: GztbRequest;
73
+ public static antv: AntvRequest;
74
+ public static noti: NotiRequest;
75
+ public static elem: ElemRequest;
76
+ public static yzcg: YzcgRequest;
77
+ public static myoa: MyoaRequest;
78
+ public static cron: CronRequest;
79
+ public static zbzd: ZbzdRequest;
80
+ public static gzzd: GzzdRequest;
81
+ public static hzcb: HzcbRequest;
82
+ public static yzht: YzhtRequest;
83
+ public static yzpz: YzpzRequest;
84
+ public static wzpz: WzpzRequest;
85
+ public static wlzf: WlzfRequest;
86
+ public static zbhd: ZbhdRequest;
87
+ public static bill: BillRequest;
88
+ public static japz: JapzRequest;
89
+ public static take: TakeRequest;
90
+ public static hznk: HznkRequest;
91
+ public static hznj: HznjRequest;
92
+ public static vary: VaryRequest;
93
+ public static talk: TalkRequest;
94
+ public static ding: DingRequest;
95
+ public static yzcq: YzcqRequest;
96
+ public static note: NoteRequest;
97
+ public static sysenvr: SysenvrRequest;
98
+
99
+ public static createRequest(config: IAxiosConfig) {
100
+ this.core = new CoreRequest(config);
101
+ this.flow = new FLowRequest(config);
102
+ this.wtui = new WtuiRequest(config);
103
+ this.pzpt = new PzptRequest(config);
104
+ this.expd = new ExpdRequest(config);
105
+ this.gams = new GamsRequest(config);
106
+ this.wldy = new WldyRequest(config);
107
+ this.gzjg = new GzjgRequest(config);
108
+ this.tabl = new TablRequest(config);
109
+ this.card = new CardRequest(config);
110
+ this.cnfg = new CnfgRequest(config);
111
+ this.load = new LoadRequest(config);
112
+ this.ocri = new OcriRequest(config);
113
+ this.grow = new GrowRequest(config);
114
+ this.task = new TaskRequest(config);
115
+ this.gztb = new GztbRequest(config);
116
+ this.antv = new AntvRequest(config);
117
+ this.noti = new NotiRequest(config);
118
+ this.elem = new ElemRequest(config);
119
+ this.yzcg = new YzcgRequest(config);
120
+ this.myoa = new MyoaRequest(config);
121
+ this.cron = new CronRequest(config);
122
+ this.zbzd = new ZbzdRequest(config);
123
+ this.gzzd = new GzzdRequest(config);
124
+ this.hzcb = new HzcbRequest(config);
125
+ this.yzht = new YzhtRequest(config);
126
+ this.yzpz = new YzpzRequest(config);
127
+ this.wzpz = new WzpzRequest(config);
128
+ this.wlzf = new WlzfRequest(config);
129
+ this.zbhd = new ZbhdRequest(config);
130
+ this.bill = new BillRequest(config);
131
+ this.japz = new JapzRequest(config);
132
+ this.take = new TakeRequest(config);
133
+ this.hznk = new HznkRequest(config);
134
+ this.hznj = new HznjRequest(config);
135
+ this.vary = new VaryRequest(config);
136
+ this.talk = new TalkRequest(config);
137
+ this.ding = new DingRequest(config);
138
+ this.yzcq = new YzcqRequest(config);
139
+ this.note = new NoteRequest(config);
140
+ this.sysenvr = new SysenvrRequest(config);
141
+ }
142
+ }
143
+
144
+ export default Request;
145
+ export * from "./packages";
146
+ export { JavaRequest };
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@ningboyz/apis",
3
- "version": "1.8.122",
4
- "private": false,
5
- "description": "宁波甬政请求库",
6
- "author": "nbyt-syq",
7
- "license": "ISC",
8
- "keywords": [],
9
- "main": "index.ts",
10
- "types": "index.ts",
11
- "scripts": {
12
- "prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" ",
13
- "test": "echo \"Error: no test specified\" && exit 1"
14
- },
15
- "publishConfig": {
16
- "access": "public",
17
- "registry": "https://registry.npmjs.org/"
18
- },
19
- "dependencies": {
20
- "@ningboyz/types": "1.8.122",
21
- "axios": "1.8.4",
22
- "lodash": "^4.17.21"
23
- },
24
- "devDependencies": {
25
- "@types/lodash": "^4.17.20"
26
- }
27
- }
1
+ {
2
+ "name": "@ningboyz/apis",
3
+ "version": "1.8.124",
4
+ "private": false,
5
+ "description": "宁波甬政请求库",
6
+ "author": "nbyt-syq",
7
+ "license": "ISC",
8
+ "keywords": [],
9
+ "main": "index.ts",
10
+ "types": "index.ts",
11
+ "scripts": {
12
+ "prettier": "prettier --config ./.prettierrc --write \"./**/*.{ts,tsx}\" ",
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public",
17
+ "registry": "https://registry.npmjs.org/"
18
+ },
19
+ "dependencies": {
20
+ "@ningboyz/types": "1.8.124",
21
+ "axios": "1.8.4",
22
+ "lodash": "^4.17.21"
23
+ },
24
+ "devDependencies": {
25
+ "@types/lodash": "^4.17.20"
26
+ }
27
+ }
@@ -1,57 +1,57 @@
1
- import { TAntv } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { IAntvCnfgDetaildbQuerys, IAntvCnfgSelectdbQuerys } from "./types";
4
-
5
- class CnfgRequest {
6
- private httpRequest: HttpRequest;
7
- constructor(httpRequest: HttpRequest) {
8
- this.httpRequest = httpRequest;
9
- }
10
-
11
- /**
12
- * 获取数字提取列表
13
- * @param querys
14
- * @returns
15
- */
16
- selectdb(querys: IAntvCnfgSelectdbQuerys) {
17
- return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/selectdb", querys, undefined);
18
- }
19
-
20
- /**
21
- * 新增数字提取
22
- * @param params
23
- * @returns
24
- */
25
- insertdb(params: object) {
26
- return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/insertdb", undefined, params);
27
- }
28
-
29
- /**
30
- * 修改数字提取
31
- * @param params
32
- * @returns
33
- */
34
- updatedb(params: object) {
35
- return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/updatedb", undefined, params);
36
- }
37
-
38
- /**
39
- * 删除数字提取
40
- * @param params
41
- * @returns
42
- */
43
- deletedb(params: object) {
44
- return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/deletedb", undefined, params);
45
- }
46
-
47
- /**
48
- * 获取数字提取详情
49
- * @param querys
50
- * @returns
51
- */
52
- detaildb(querys: IAntvCnfgDetaildbQuerys) {
53
- return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/detaildb", querys, undefined);
54
- }
55
- }
56
-
57
- export default CnfgRequest;
1
+ import { TAntv } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IAntvCnfgDetaildbQuerys, IAntvCnfgSelectdbQuerys } from "./types";
4
+
5
+ class CnfgRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取数字提取列表
13
+ * @param querys
14
+ * @returns
15
+ */
16
+ selectdb(querys: IAntvCnfgSelectdbQuerys) {
17
+ return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/selectdb", querys, undefined);
18
+ }
19
+
20
+ /**
21
+ * 新增数字提取
22
+ * @param params
23
+ * @returns
24
+ */
25
+ insertdb(params: object) {
26
+ return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/insertdb", undefined, params);
27
+ }
28
+
29
+ /**
30
+ * 修改数字提取
31
+ * @param params
32
+ * @returns
33
+ */
34
+ updatedb(params: object) {
35
+ return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/updatedb", undefined, params);
36
+ }
37
+
38
+ /**
39
+ * 删除数字提取
40
+ * @param params
41
+ * @returns
42
+ */
43
+ deletedb(params: object) {
44
+ return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/deletedb", undefined, params);
45
+ }
46
+
47
+ /**
48
+ * 获取数字提取详情
49
+ * @param querys
50
+ * @returns
51
+ */
52
+ detaildb(querys: IAntvCnfgDetaildbQuerys) {
53
+ return this.httpRequest.post<TAntv.IAntvCnfgResponse[]>("/gapi/antv/tcnfg/detaildb", querys, undefined);
54
+ }
55
+ }
56
+
57
+ export default CnfgRequest;
@@ -1,20 +1,20 @@
1
- import { createRequest, IAxiosConfig } from "../axios";
2
- import CnfgRequest from "./cnfg";
3
- import MainRequest from "./main";
4
- import ParaRequest from "./para";
5
-
6
- class AntvRequest {
7
- public main: MainRequest;
8
- public cnfg: CnfgRequest;
9
- public para: ParaRequest;
10
-
11
- constructor(config: IAxiosConfig) {
12
- const request = createRequest(config);
13
- this.main = new MainRequest(request);
14
- this.cnfg = new CnfgRequest(request);
15
- this.para = new ParaRequest(request);
16
- }
17
- }
18
-
19
- export default AntvRequest;
20
- export * from "./types";
1
+ import { createRequest, IAxiosConfig } from "../axios";
2
+ import CnfgRequest from "./cnfg";
3
+ import MainRequest from "./main";
4
+ import ParaRequest from "./para";
5
+
6
+ class AntvRequest {
7
+ public main: MainRequest;
8
+ public cnfg: CnfgRequest;
9
+ public para: ParaRequest;
10
+
11
+ constructor(config: IAxiosConfig) {
12
+ const request = createRequest(config);
13
+ this.main = new MainRequest(request);
14
+ this.cnfg = new CnfgRequest(request);
15
+ this.para = new ParaRequest(request);
16
+ }
17
+ }
18
+
19
+ export default AntvRequest;
20
+ export * from "./types";
@@ -1,65 +1,65 @@
1
- import { TAntv } from "@ningboyz/types";
2
- import type { HttpRequest } from "../axios";
3
- import { IAntvMainDetaildbQuerys, IAntvMainGet5DataQuerys } from "./types";
4
-
5
- class MainRequest {
6
- private httpRequest: HttpRequest;
7
- constructor(httpRequest: HttpRequest) {
8
- this.httpRequest = httpRequest;
9
- }
10
-
11
- /**
12
- * 获取数字提取类型列表
13
- * @returns
14
- */
15
- selectdb() {
16
- return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/selectdb");
17
- }
18
-
19
- /**
20
- * 新增数字提取类型
21
- * @param querys
22
- * @returns
23
- */
24
- insertdb(Querys: object) {
25
- return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/insertdb", undefined, Querys);
26
- }
27
-
28
- /**
29
- * 修改数字提取类型
30
- * @param querys
31
- * @returns
32
- */
33
- updatedb(Querys: object) {
34
- return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/updatedb", undefined, Querys);
35
- }
36
-
37
- /**
38
- * 删除数字提取类型
39
- * @param querys
40
- * @returns
41
- */
42
- deletedb(Querys: object) {
43
- return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/deletedb", undefined, Querys);
44
- }
45
-
46
- /**
47
- * 获取数字提取类型详情
48
- * @param querys
49
- * @returns
50
- */
51
- detaildb(querys: IAntvMainDetaildbQuerys) {
52
- return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/detaildb", querys, undefined);
53
- }
54
-
55
- /**
56
- * 动态取数
57
- * @param querys
58
- * @returns
59
- */
60
- get5data(querys: IAntvMainGet5DataQuerys) {
61
- return this.httpRequest.post<any>("/gapi/antv/tmain/get5data", querys, undefined);
62
- }
63
- }
64
-
65
- export default MainRequest;
1
+ import { TAntv } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IAntvMainDetaildbQuerys, IAntvMainGet5DataQuerys } from "./types";
4
+
5
+ class MainRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 获取数字提取类型列表
13
+ * @returns
14
+ */
15
+ selectdb() {
16
+ return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/selectdb");
17
+ }
18
+
19
+ /**
20
+ * 新增数字提取类型
21
+ * @param querys
22
+ * @returns
23
+ */
24
+ insertdb(Querys: object) {
25
+ return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/insertdb", undefined, Querys);
26
+ }
27
+
28
+ /**
29
+ * 修改数字提取类型
30
+ * @param querys
31
+ * @returns
32
+ */
33
+ updatedb(Querys: object) {
34
+ return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/updatedb", undefined, Querys);
35
+ }
36
+
37
+ /**
38
+ * 删除数字提取类型
39
+ * @param querys
40
+ * @returns
41
+ */
42
+ deletedb(Querys: object) {
43
+ return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/deletedb", undefined, Querys);
44
+ }
45
+
46
+ /**
47
+ * 获取数字提取类型详情
48
+ * @param querys
49
+ * @returns
50
+ */
51
+ detaildb(querys: IAntvMainDetaildbQuerys) {
52
+ return this.httpRequest.post<TAntv.IAntvMainResponse[]>("/gapi/antv/tmain/detaildb", querys, undefined);
53
+ }
54
+
55
+ /**
56
+ * 动态取数
57
+ * @param querys
58
+ * @returns
59
+ */
60
+ get5data(querys: IAntvMainGet5DataQuerys) {
61
+ return this.httpRequest.post<any>("/gapi/antv/tmain/get5data", querys, undefined);
62
+ }
63
+ }
64
+
65
+ export default MainRequest;