@ningboyz/types 1.7.106 → 1.7.107

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.7.106",
4
+ "version": "1.7.107",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -0,0 +1,27 @@
1
+ import _ from "lodash";
2
+
3
+ export interface IEquityInfoPledgeeResponse {
4
+ equityInfoPledgeeId: number;
5
+ equityInfoItemId: number;
6
+ /**
7
+ * 质权人公司 ID
8
+ */
9
+ pledgeeId: number;
10
+ /**
11
+ * 质权人公司名称
12
+ */
13
+ name: string;
14
+ }
15
+
16
+ export class TEquityInfoPledgeeResponse implements IEquityInfoPledgeeResponse {
17
+ equityInfoPledgeeId: number = 0;
18
+ equityInfoItemId: number = 0;
19
+ pledgeeId: number = 0;
20
+ name: string = "";
21
+
22
+ constructor(data: Partial<IEquityInfoPledgeeResponse> = {}) {
23
+ if (data) {
24
+ _.merge(this, _.pick(data, Object.keys(this)));
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,27 @@
1
+ import _ from "lodash";
2
+
3
+ export interface IEquityInfoPledgorResponse {
4
+ equityInfoPledgorId: number;
5
+ equityInfoItemId: number;
6
+ /**
7
+ * 出质人公司 ID
8
+ */
9
+ pledgorId: number;
10
+ /**
11
+ * 出质人公司名称
12
+ */
13
+ name: string;
14
+ }
15
+
16
+ export class TEquityInfoPledgorResponse implements IEquityInfoPledgorResponse {
17
+ equityInfoPledgorId: number = 0;
18
+ equityInfoItemId: number = 0;
19
+ pledgorId: number = 0;
20
+ name: string = "";
21
+
22
+ constructor(data: Partial<IEquityInfoPledgorResponse> = {}) {
23
+ if (data) {
24
+ _.merge(this, _.pick(data, Object.keys(this)));
25
+ }
26
+ }
27
+ }
@@ -1,6 +1,8 @@
1
1
  import _ from "lodash";
2
2
  import type { IEquityInfoCompanyResponse } from "./IEquityInfoCompanyResponse";
3
3
  import type { IEquityInfoItemResponse } from "./IEquityInfoItemResponse";
4
+ import type { IEquityInfoPledgeeResponse } from "./IEquityInfoPledgeeResponse";
5
+ import type { IEquityInfoPledgorResponse } from "./IEquityInfoPledgorResponse";
4
6
 
5
7
  export interface IEquityInfoResponse {
6
8
  equityInfoId: number;
@@ -13,6 +15,8 @@ export interface IEquityInfoResponse {
13
15
  */
14
16
  equityInfoItems: IEquityInfoItemResponse[];
15
17
  equityInfoCompanys: IEquityInfoCompanyResponse[];
18
+ equityInfoPledgees: IEquityInfoPledgeeResponse[];
19
+ equityInfoPledgors: IEquityInfoPledgorResponse[];
16
20
  }
17
21
 
18
22
  export class TEquityInfoResponse implements IEquityInfoResponse {
@@ -23,6 +27,8 @@ export class TEquityInfoResponse implements IEquityInfoResponse {
23
27
  uploadDate: number = 0;
24
28
  equityInfoItems: IEquityInfoItemResponse[] = [];
25
29
  equityInfoCompanys: IEquityInfoCompanyResponse[] = [];
30
+ equityInfoPledgees: IEquityInfoPledgeeResponse[] = [];
31
+ equityInfoPledgors: IEquityInfoPledgorResponse[] = [];
26
32
 
27
33
  constructor(data: Partial<IEquityInfoResponse> = {}) {
28
34
  if (data) {
package/src/tyc/index.ts CHANGED
@@ -17,6 +17,8 @@ import { IDishonestStaffResponse, TDishonestStaffResponse } from "./IDishonestSt
17
17
  import { IEquityInfoResponse, TEquityInfoResponse } from "./IEquityInfoResponse";
18
18
  import { IEquityInfoItemResponse, TEquityInfoItemResponse } from "./IEquityInfoItemResponse";
19
19
  import { IEquityInfoCompanyResponse, TEquityInfoCompanyResponse } from "./IEquityInfoCompanyResponse";
20
+ import { IEquityInfoPledgeeResponse, TEquityInfoPledgeeResponse } from "./IEquityInfoPledgeeResponse";
21
+ import { IEquityInfoPledgorResponse, TEquityInfoPledgorResponse } from "./IEquityInfoPledgorResponse";
20
22
  import { IFindHistoryRongziResponse, TFindHistoryRongziResponse } from "./IFindHistoryRongziResponse";
21
23
  import { IFindHistoryRongziItemResponse, TFindHistoryRongziItemResponse } from "./IFindHistoryRongziItemResponse";
22
24
  import { IFindJingpinResponse, TFindJingpinResponse } from "./IFindJingpinResponse";
@@ -101,6 +103,10 @@ export {
101
103
  TEquityInfoItemResponse,
102
104
  type IEquityInfoCompanyResponse,
103
105
  TEquityInfoCompanyResponse,
106
+ type IEquityInfoPledgeeResponse,
107
+ TEquityInfoPledgeeResponse,
108
+ type IEquityInfoPledgorResponse,
109
+ TEquityInfoPledgorResponse,
104
110
  type IFindHistoryRongziResponse,
105
111
  TFindHistoryRongziResponse,
106
112
  type IFindHistoryRongziItemResponse,