@ningboyz/types 1.2.169 → 1.2.171
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 +1 -1
- package/src/hznj/IHznjBasePathResponse.ts +8 -0
- package/src/hznj/IHznjDzqrResponse.ts +8 -1
- package/src/hznj/IHznjNotiBillResponse.ts +8 -0
- package/src/hznj/IHznjNotiResponse.ts +8 -1
- package/src/hznj/IHznjRwqxResponse.ts +8 -1
- package/src/hznj/IHznjXmjjItemResponse.ts +8 -0
- package/src/hznj/IHznjXmjjResponse.ts +7 -0
- package/src/hznj/IHznjXmsyCjdwResponse.ts +8 -0
- package/src/hznj/IHznjXmsyItemResponse.ts +8 -0
- package/src/hznj/IHznjXmsyResponse.ts +7 -0
- package/src/hznj/IHznjXmsyWtdwResponse.ts +8 -0
- package/src/hznj/IHznjZblrBillResponse.ts +8 -0
- package/src/hznj/IHznjZblrResponse.ts +7 -0
- package/src/hznk/index.ts +0 -3
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjBasePathResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -42,4 +44,10 @@ export class THznjBasePathResponse implements IHznjBasePathResponse {
|
|
|
42
44
|
fromUserIndx: number = 0;
|
|
43
45
|
fromSysPathc: number = 0;
|
|
44
46
|
fromPathUUID: string = "";
|
|
47
|
+
|
|
48
|
+
constructor(data: Partial<IHznjBasePathResponse> = {}) {
|
|
49
|
+
if (data) {
|
|
50
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
45
53
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjDzqrResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -136,5 +137,11 @@ export class THznjDzqrResponse implements IHznjDzqrResponse {
|
|
|
136
137
|
userGUID: string = "";
|
|
137
138
|
|
|
138
139
|
listPath: TCore.IPathResponse[] = [];
|
|
139
|
-
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
140
|
+
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
141
|
+
|
|
142
|
+
constructor(data: Partial<IHznjDzqrResponse> = {}) {
|
|
143
|
+
if (data) {
|
|
144
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
140
147
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjNotiBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -105,4 +107,10 @@ export class THznjNotiBillResponse implements IHznjNotiBillResponse {
|
|
|
105
107
|
fromWhoBuild: number = 0;
|
|
106
108
|
fromUserIndx: number = 0;
|
|
107
109
|
fromXmjjItem: number = 0;
|
|
110
|
+
|
|
111
|
+
constructor(data: Partial<IHznjNotiBillResponse> = {}) {
|
|
112
|
+
if (data) {
|
|
113
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
114
|
+
}
|
|
115
|
+
}
|
|
108
116
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjNotiResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -137,5 +138,11 @@ export class THznjNotiResponse implements IHznjNotiResponse {
|
|
|
137
138
|
userGUID: string = "";
|
|
138
139
|
|
|
139
140
|
|
|
140
|
-
listBill: THznj.IHznjNotiBillResponse[] = [];
|
|
141
|
+
listBill: THznj.IHznjNotiBillResponse[] = [];
|
|
142
|
+
|
|
143
|
+
constructor(data: Partial<IHznjNotiResponse> = {}) {
|
|
144
|
+
if (data) {
|
|
145
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
141
148
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjRwqxResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -136,5 +137,11 @@ export class THznjRwqxResponse implements IHznjRwqxResponse {
|
|
|
136
137
|
userGUID: string = "";
|
|
137
138
|
|
|
138
139
|
listPath: TCore.IPathResponse[] = [];
|
|
139
|
-
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
140
|
+
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
141
|
+
|
|
142
|
+
constructor(data: Partial<IHznjRwqxResponse> = {}) {
|
|
143
|
+
if (data) {
|
|
144
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
140
147
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmjjItemResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -48,4 +50,10 @@ export class THznjXmjjItemResponse implements IHznjXmjjItemResponse {
|
|
|
48
50
|
fromWhoBuild: number = 0;
|
|
49
51
|
fromUserIndx: number = 0;
|
|
50
52
|
fromHznjXmsy: number = 0;
|
|
53
|
+
|
|
54
|
+
constructor(data: Partial<IHznjXmjjItemResponse> = {}) {
|
|
55
|
+
if (data) {
|
|
56
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
51
59
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjXmjjResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -139,4 +140,10 @@ export class THznjXmjjResponse implements IHznjXmjjResponse {
|
|
|
139
140
|
listPath: TCore.IPathResponse[] = [];
|
|
140
141
|
listItem: THznj.IHznjXmjjItemResponse[] = [];
|
|
141
142
|
listFrom: THznj.IHznjXmsyResponse[] = [];
|
|
143
|
+
|
|
144
|
+
constructor(data: Partial<IHznjXmjjResponse> = {}) {
|
|
145
|
+
if (data) {
|
|
146
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
142
149
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyCjdwResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -76,4 +78,10 @@ export class THznjXmsyCjdwResponse implements IHznjXmsyCjdwResponse {
|
|
|
76
78
|
payItem1: number = 0;
|
|
77
79
|
payItem2: number = 0;
|
|
78
80
|
payItem3: number = 0;
|
|
81
|
+
|
|
82
|
+
constructor(data: Partial<IHznjXmsyCjdwResponse> = {}) {
|
|
83
|
+
if (data) {
|
|
84
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
79
87
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyItemResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -69,4 +71,10 @@ export class THznjXmsyItemResponse implements IHznjXmsyItemResponse {
|
|
|
69
71
|
totalVal: number = 0;
|
|
70
72
|
isActive: number = 0;
|
|
71
73
|
itemMemo: string = "";
|
|
74
|
+
|
|
75
|
+
constructor(data: Partial<IHznjXmsyItemResponse> = {}) {
|
|
76
|
+
if (data) {
|
|
77
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
72
80
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjXmsyResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -187,4 +188,10 @@ export class THznjXmsyResponse implements IHznjXmsyResponse {
|
|
|
187
188
|
listItem: THznj.IHznjXmsyItemResponse[] = [];
|
|
188
189
|
listCJDW: THznj.IHznjXmsyCjdwResponse[] = [];
|
|
189
190
|
listWTDW: THznj.IHznjXmsyWtdwResponse[] = [];
|
|
191
|
+
|
|
192
|
+
constructor(data: Partial<IHznjXmsyResponse> = {}) {
|
|
193
|
+
if (data) {
|
|
194
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
195
|
+
}
|
|
196
|
+
}
|
|
190
197
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjXmsyWtdwResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -118,4 +120,10 @@ export class THznjXmsyWtdwResponse implements IHznjXmsyWtdwResponse {
|
|
|
118
120
|
k9kmKmmc: string = "";
|
|
119
121
|
ynfbMain: number = 0;
|
|
120
122
|
ynfbText: string = "";
|
|
123
|
+
|
|
124
|
+
constructor(data: Partial<IHznjXmsyWtdwResponse> = {}) {
|
|
125
|
+
if (data) {
|
|
126
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
121
129
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface IHznjZblrBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -54,4 +56,10 @@ export class THznjZblrBillResponse implements IHznjZblrBillResponse {
|
|
|
54
56
|
fromWhoBuild: number = 0;
|
|
55
57
|
fromUserIndx: number = 0;
|
|
56
58
|
fromNotiBill: number = 0;
|
|
59
|
+
|
|
60
|
+
constructor(data: Partial<IHznjZblrBillResponse> = {}) {
|
|
61
|
+
if (data) {
|
|
62
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
57
65
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { THznj, TCore } from "..";
|
|
2
|
+
import _ from "lodash";
|
|
2
3
|
|
|
3
4
|
export interface IHznjZblrResponse {
|
|
4
5
|
whoBuild: number;
|
|
@@ -135,4 +136,10 @@ export class THznjZblrResponse implements IHznjZblrResponse {
|
|
|
135
136
|
listPath: TCore.IPathResponse[] = [];
|
|
136
137
|
listBill: THznj.IHznjZblrBillResponse[] = [];
|
|
137
138
|
listFrom: THznj.IHznjNotiResponse[] = [];
|
|
139
|
+
|
|
140
|
+
constructor(data: Partial<IHznjZblrResponse> = {}) {
|
|
141
|
+
if (data) {
|
|
142
|
+
_.merge(this, _.pick(data, Object.keys(this)));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
138
145
|
}
|
package/src/hznk/index.ts
CHANGED
|
@@ -35,7 +35,6 @@ import { IHznkXmysYsxqResponse, THznkXmysYsxqResponse } from "./IHznkXmysYsxqRes
|
|
|
35
35
|
//#fytq
|
|
36
36
|
import { IHznkFytqResponse, THznkFytqResponse } from "./IHznkFytqResponse";
|
|
37
37
|
import { IHznkFytqBillResponse, THznkFytqBillResponse } from "./IHznkFytqBillResponse";
|
|
38
|
-
import { IHznkYssqYsxqResponse, THznkYssqYsxqResponse } from "./IHznkYssqYsxqResponse";
|
|
39
38
|
|
|
40
39
|
export {
|
|
41
40
|
THznkDataResponse,
|
|
@@ -67,7 +66,6 @@ export {
|
|
|
67
66
|
THznkXmysYsxqResponse,
|
|
68
67
|
THznkFytqResponse,
|
|
69
68
|
THznkFytqBillResponse,
|
|
70
|
-
THznkYssqYsxqResponse,
|
|
71
69
|
type IHznkDataResponse,
|
|
72
70
|
type IHznkDataEachResponse,
|
|
73
71
|
type IHznkDataPathResponse,
|
|
@@ -97,5 +95,4 @@ export {
|
|
|
97
95
|
type IHznkXmysYsxqResponse,
|
|
98
96
|
type IHznkFytqResponse,
|
|
99
97
|
type IHznkFytqBillResponse,
|
|
100
|
-
type IHznkYssqYsxqResponse,
|
|
101
98
|
};
|