@diia-inhouse/providers 1.39.31 → 2.2.1
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/dist/configs/drrp/index.d.ts +7 -0
- package/dist/configs/drrp/index.js +19 -28
- package/dist/configs/index.d.ts +1 -0
- package/dist/configs/index.js +2 -18
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -20
- package/dist/interfaces/providers/drrp/index.d.ts +177 -0
- package/dist/interfaces/providers/drrp/index.js +73 -74
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtGroup.d.ts +58 -0
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtSearch.d.ts +150 -0
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtSearch.js +46 -47
- package/dist/interfaces/providers/drrp/publicServiceDrrpGetActualAtu.d.ts +10 -0
- package/dist/providers/drrp/index.d.ts +46 -0
- package/dist/providers/drrp/index.js +294 -376
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.js +2 -18
- package/dist/validation/drrp/index.js +35 -23
- package/package.json +34 -26
- package/dist/configs/drrp/index.js.map +0 -1
- package/dist/configs/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/interfaces/providers/drrp/index.js.map +0 -1
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtGroup.js +0 -3
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtGroup.js.map +0 -1
- package/dist/interfaces/providers/drrp/publicServiceDrrpExtSearch.js.map +0 -1
- package/dist/interfaces/providers/drrp/publicServiceDrrpGetActualAtu.js +0 -3
- package/dist/interfaces/providers/drrp/publicServiceDrrpGetActualAtu.js.map +0 -1
- package/dist/interfaces/providers/index.js +0 -21
- package/dist/interfaces/providers/index.js.map +0 -1
- package/dist/providers/drrp/index.js.map +0 -1
- package/dist/providers/index.js.map +0 -1
- package/dist/types/configs/drrp/index.d.ts +0 -3
- package/dist/types/configs/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/interfaces/providers/drrp/index.d.ts +0 -174
- package/dist/types/interfaces/providers/drrp/publicServiceDrrpExtGroup.d.ts +0 -54
- package/dist/types/interfaces/providers/drrp/publicServiceDrrpExtSearch.d.ts +0 -147
- package/dist/types/interfaces/providers/drrp/publicServiceDrrpGetActualAtu.d.ts +0 -7
- package/dist/types/interfaces/providers/index.d.ts +0 -4
- package/dist/types/providers/drrp/index.d.ts +0 -42
- package/dist/types/providers/index.d.ts +0 -1
- package/dist/types/validation/drrp/index.d.ts +0 -7
- package/dist/validation/drrp/index.js.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { QueueConnectionConfig } from "@diia-inhouse/diia-queue";
|
|
2
|
+
import { PartialDeep } from "type-fest";
|
|
3
|
+
|
|
4
|
+
//#region src/configs/drrp/index.d.ts
|
|
5
|
+
declare const drrpProviderQueueConfig: PartialDeep<QueueConnectionConfig['serviceRulesConfig']>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { drrpProviderQueueConfig };
|
|
@@ -1,29 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
[diia_queue_1.QueueConfigType.External]: {
|
|
19
|
-
[providers_1.ExternalTopic.Repo]: {
|
|
20
|
-
events: [
|
|
21
|
-
providers_1.ExternalEvent.PublicServiceDrrpExtSearch,
|
|
22
|
-
providers_1.ExternalEvent.PublicServiceDrrpExtGroup,
|
|
23
|
-
providers_1.ExternalEvent.PublicServiceDrrpGetActualAtu,
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
},
|
|
1
|
+
import "../../interfaces/providers/drrp/index.js";
|
|
2
|
+
import { QueueConfigType } from "@diia-inhouse/diia-queue";
|
|
3
|
+
//#region src/configs/drrp/index.ts
|
|
4
|
+
const drrpProviderQueueConfig = {
|
|
5
|
+
servicesConfig: { [QueueConfigType.External]: {
|
|
6
|
+
subscribe: [],
|
|
7
|
+
publish: [
|
|
8
|
+
"public-service.drrp-extsearch",
|
|
9
|
+
"public-service.drrp-extgroup",
|
|
10
|
+
"public-service.drrp-getactualatu"
|
|
11
|
+
]
|
|
12
|
+
} },
|
|
13
|
+
topicsConfig: { [QueueConfigType.External]: { ["Repo"]: { events: [
|
|
14
|
+
"public-service.drrp-extsearch",
|
|
15
|
+
"public-service.drrp-extgroup",
|
|
16
|
+
"public-service.drrp-getactualatu"
|
|
17
|
+
] } } }
|
|
28
18
|
};
|
|
29
|
-
//#
|
|
19
|
+
//#endregion
|
|
20
|
+
export { drrpProviderQueueConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { drrpProviderQueueConfig } from "./drrp/index.js";
|
package/dist/configs/index.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./drrp"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import "./drrp/index.js";
|
|
2
|
+
export {};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DcSbjType, DrrpConfig, DrrpError, DrrpExtSearchRequestOptions, DrrpRequestOptions, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyOwnerInfo, PropertyState, RealtyAddress, RealtyCauseDocument, RealtyEntityLink, RealtyLimitation, RealtyMortgage, RealtyProperty, RealtyPropertyRights, RealtyState, RealtySubject, RealtyType } from "./interfaces/providers/drrp/index.js";
|
|
2
|
+
import { PublicServiceDrrpExtGroupRequest, PublicServiceDrrpExtGroupResponse, PublicServiceDrrpExtGroupResult, RealtyExt, SubjectInfoClarifyingResult } from "./interfaces/providers/drrp/publicServiceDrrpExtGroup.js";
|
|
3
|
+
import { DcBuildingType, DcGroupType, DcHouseType, DcObjectNumType, DcRoomType, DrrpGroupResultAddressDetail, DrrpGroupResultItem, DrrpSearchAlgorithm, DrrpSearchObjectInfo, DrrpSearchSubjectInfo, DrrpSearchType, DrrpSubjectRoleName, PublicServiceDrrpExtSearchRequest, PublicServiceDrrpExtSearchResponse, PublicServiceDrrpObjectRequest, PublicServiceDrrpObjectResponse, PublicServiceDrrpSubjectRequest, PublicServiceDrrpSubjectResponse, Realty, SubjectInfoResult } from "./interfaces/providers/drrp/publicServiceDrrpExtSearch.js";
|
|
4
|
+
import { DrrpProvider } from "./providers/drrp/index.js";
|
|
5
|
+
import { PublicServiceDrrpActualAtuIdRequest, PublicServiceDrrpActualAtuIdResponse } from "./interfaces/providers/drrp/publicServiceDrrpGetActualAtu.js";
|
|
6
|
+
import { drrpProviderQueueConfig } from "./configs/drrp/index.js";
|
|
7
|
+
export { DcBuildingType, DcGroupType, DcHouseType, DcObjectNumType, DcRoomType, DcSbjType, DrrpConfig, DrrpError, DrrpExtSearchRequestOptions, DrrpGroupResultAddressDetail, DrrpGroupResultItem, DrrpProvider, DrrpRequestOptions, DrrpSearchAlgorithm, DrrpSearchObjectInfo, DrrpSearchSubjectInfo, DrrpSearchType, DrrpSubjectRoleName, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyOwnerInfo, PropertyState, PublicServiceDrrpActualAtuIdRequest, PublicServiceDrrpActualAtuIdResponse, PublicServiceDrrpExtGroupRequest, PublicServiceDrrpExtGroupResponse, PublicServiceDrrpExtGroupResult, PublicServiceDrrpExtSearchRequest, PublicServiceDrrpExtSearchResponse, PublicServiceDrrpObjectRequest, PublicServiceDrrpObjectResponse, PublicServiceDrrpSubjectRequest, PublicServiceDrrpSubjectResponse, Realty, RealtyAddress, RealtyCauseDocument, RealtyEntityLink, RealtyExt, RealtyLimitation, RealtyMortgage, RealtyProperty, RealtyPropertyRights, RealtyState, RealtySubject, RealtyType, SubjectInfoClarifyingResult, SubjectInfoResult, drrpProviderQueueConfig };
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./providers"), exports);
|
|
18
|
-
__exportStar(require("./interfaces/providers"), exports);
|
|
19
|
-
__exportStar(require("./configs"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { DcSbjType, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyState, RealtyState, RealtyType } from "./interfaces/providers/drrp/index.js";
|
|
2
|
+
import { DcBuildingType, DcGroupType, DcHouseType, DcObjectNumType, DcRoomType, DrrpSearchAlgorithm, DrrpSearchType, DrrpSubjectRoleName } from "./interfaces/providers/drrp/publicServiceDrrpExtSearch.js";
|
|
3
|
+
import { DrrpProvider } from "./providers/drrp/index.js";
|
|
4
|
+
import "./providers/index.js";
|
|
5
|
+
import { drrpProviderQueueConfig } from "./configs/drrp/index.js";
|
|
6
|
+
import "./configs/index.js";
|
|
7
|
+
export { DcBuildingType, DcGroupType, DcHouseType, DcObjectNumType, DcRoomType, DcSbjType, DrrpProvider, DrrpSearchAlgorithm, DrrpSearchType, DrrpSubjectRoleName, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyState, RealtyState, RealtyType, drrpProviderQueueConfig };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
//#region src/interfaces/providers/drrp/index.d.ts
|
|
2
|
+
declare enum RealtyType {
|
|
3
|
+
PrivateHouse = "\u0436\u0438\u0442\u043B\u043E\u0432\u0438\u0439 \u0431\u0443\u0434\u0438\u043D\u043E\u043A",
|
|
4
|
+
Apartment = "\u043A\u0432\u0430\u0440\u0442\u0438\u0440\u0430",
|
|
5
|
+
LivingSpace = "\u0436\u0438\u0442\u043B\u043E\u0432\u0435 \u043F\u0440\u0438\u043C\u0456\u0449\u0435\u043D\u043D\u044F",
|
|
6
|
+
Building = "\u0431\u0443\u0434\u0456\u0432\u043B\u044F",
|
|
7
|
+
LinearInfrastructureObject = "\u043B\u0456\u043D\u0456\u0439\u043D\u0438\u0439 \u043E\u0431'\u0454\u043A\u0442 \u0456\u043D\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0438",
|
|
8
|
+
UnfinishedConstruction = "\u043D\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0435 \u0431\u0443\u0434\u0456\u0432\u043D\u0438\u0446\u0442\u0432\u043E",
|
|
9
|
+
Hostel = "\u0433\u0443\u0440\u0442\u043E\u0436\u0438\u0442\u043E\u043A",
|
|
10
|
+
Structure = "\u0441\u043F\u043E\u0440\u0443\u0434\u0430",
|
|
11
|
+
NonLivingSpace = "\u043D\u0435\u0436\u0438\u0442\u043B\u043E\u0432\u0435 \u043F\u0440\u0438\u043C\u0456\u0449\u0435\u043D\u043D\u044F",
|
|
12
|
+
ApartmentBuilding = "\u0431\u0430\u0433\u0430\u0442\u043E\u043A\u0432\u0430\u0440\u0442\u0438\u0440\u043D\u0438\u0439 \u0431\u0443\u0434\u0438\u043D\u043E\u043A",
|
|
13
|
+
CountryHouse = "\u0434\u0430\u0447\u043D\u0438\u0439 \u0431\u0443\u0434\u0438\u043D\u043E\u043A",
|
|
14
|
+
GardenHouse = "\u0441\u0430\u0434\u043E\u0432\u0438\u0439 \u0431\u0443\u0434\u0438\u043D\u043E\u043A",
|
|
15
|
+
Farmstead = "\u0441\u0430\u0434\u0438\u0431\u0430",
|
|
16
|
+
LandPlot = "\u0437\u0435\u043C\u0435\u043B\u044C\u043D\u0430 \u0434\u0456\u043B\u044F\u043D\u043A\u0430",
|
|
17
|
+
SinglePropertyComplex = "\u0454\u0434\u0438\u043D\u0438\u0439 \u043C\u0430\u0439\u043D\u043E\u0432\u0438\u0439 \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441",
|
|
18
|
+
IntegralPropertyComplex = "\u0446\u0456\u043B\u0456\u0441\u043D\u0438\u0439 \u043C\u0430\u0439\u043D\u043E\u0432\u0438\u0439 \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441",
|
|
19
|
+
Parking = "\u043C\u0430\u0448\u0438\u043D\u043E\u043C\u0456\u0441\u0446\u0435/\u043F\u0430\u0440\u043A\u043E\u043C\u0456\u0441\u0446\u0435",
|
|
20
|
+
Garage = "\u0433\u0430\u0440\u0430\u0436\u043D\u0438\u0439 \u0431\u043E\u043A\u0441",
|
|
21
|
+
Quartets = "\u043F\u0440\u0438\u043C\u0456\u0449\u0435\u043D\u043D\u044F",
|
|
22
|
+
Room = "\u043A\u0456\u043C\u043D\u0430\u0442\u0430",
|
|
23
|
+
LivingGardenHouse = "\u0436\u0438\u0442\u043B\u043E\u0432\u0438\u0439 \u0431\u0443\u0434\u0438\u043D\u043E\u043A \u0441\u0430\u0434\u0438\u0431\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0443"
|
|
24
|
+
}
|
|
25
|
+
declare enum RealtyState {
|
|
26
|
+
Active = "\u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043E\u0432\u0430\u043D\u043E",
|
|
27
|
+
Closed = "\u0437\u0430\u043A\u0440\u0438\u0442\u043E",
|
|
28
|
+
Aborted = "\u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E/\u0430\u043D\u0443\u043B\u044C\u043E\u0432\u0430\u043D\u043E"
|
|
29
|
+
}
|
|
30
|
+
declare enum PropertyState {
|
|
31
|
+
Active = "\u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043E\u0432\u0430\u043D\u043E",
|
|
32
|
+
Stopped = "\u043F\u0440\u0438\u043F\u0438\u043D\u0435\u043D\u043E",
|
|
33
|
+
Repaid = "\u043F\u043E\u0433\u0430\u0448\u0435\u043D\u043E",
|
|
34
|
+
Aborted = "\u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E/\u0430\u043D\u0443\u043B\u044C\u043E\u0432\u0430\u043D\u043E"
|
|
35
|
+
}
|
|
36
|
+
declare enum MortgageState {
|
|
37
|
+
Active = "\u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043E\u0432\u0430\u043D\u043E",
|
|
38
|
+
Stopped = "\u043F\u0440\u0438\u043F\u0438\u043D\u0435\u043D\u043E",
|
|
39
|
+
Repaid = "\u043F\u043E\u0433\u0430\u0448\u0435\u043D\u043E",
|
|
40
|
+
Aborted = "\u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E/\u0430\u043D\u0443\u043B\u044C\u043E\u0432\u0430\u043D\u043E"
|
|
41
|
+
}
|
|
42
|
+
declare enum PropertyCommonKind {
|
|
43
|
+
CommonShared = "\u0441\u043F\u0456\u043B\u044C\u043D\u0430 \u0441\u0443\u043C\u0456\u0441\u043D\u0430",
|
|
44
|
+
CommonPartial = "\u0441\u043F\u0456\u043B\u044C\u043D\u0430 \u0447\u0430\u0441\u0442\u043A\u043E\u0432\u0430"
|
|
45
|
+
}
|
|
46
|
+
declare enum OwnershipType {
|
|
47
|
+
Single = "single",
|
|
48
|
+
CommonShared = "commonShared",
|
|
49
|
+
CommonPartial = "commonPartial"
|
|
50
|
+
}
|
|
51
|
+
declare enum DcSbjType {
|
|
52
|
+
Individual = "1",
|
|
53
|
+
Entity = "2"
|
|
54
|
+
}
|
|
55
|
+
declare enum ExternalTopic {
|
|
56
|
+
Repo = "Repo"
|
|
57
|
+
}
|
|
58
|
+
declare enum ExternalEvent {
|
|
59
|
+
PublicServiceDrrpExtGroup = "public-service.drrp-extgroup",
|
|
60
|
+
PublicServiceDrrpExtSearch = "public-service.drrp-extsearch",
|
|
61
|
+
PublicServiceDrrpGetActualAtu = "public-service.drrp-getactualatu"
|
|
62
|
+
}
|
|
63
|
+
interface DrrpConfig {
|
|
64
|
+
timeout?: number;
|
|
65
|
+
extSearchTimeout?: number;
|
|
66
|
+
unavailableProcessCode?: number;
|
|
67
|
+
}
|
|
68
|
+
interface DrrpRequestOptions {
|
|
69
|
+
timeout?: number;
|
|
70
|
+
unavailableProcessCode?: number;
|
|
71
|
+
}
|
|
72
|
+
interface DrrpExtSearchRequestOptions extends DrrpRequestOptions {
|
|
73
|
+
isSuspend?: boolean;
|
|
74
|
+
dcSbjRlNames?: string;
|
|
75
|
+
}
|
|
76
|
+
interface DrrpError {
|
|
77
|
+
message: string;
|
|
78
|
+
code: number;
|
|
79
|
+
}
|
|
80
|
+
interface RealtyAddress {
|
|
81
|
+
addressDetail: string;
|
|
82
|
+
/** @example "Садове товариство масиву \"Місячна галявина\"" */
|
|
83
|
+
objectName?: string;
|
|
84
|
+
}
|
|
85
|
+
interface RealtyProperty {
|
|
86
|
+
rnNum: number;
|
|
87
|
+
regDate: string;
|
|
88
|
+
partSize?: string;
|
|
89
|
+
prKind: string;
|
|
90
|
+
prCommonKind?: PropertyCommonKind | string;
|
|
91
|
+
prType?: string;
|
|
92
|
+
prState: PropertyState;
|
|
93
|
+
registrar: string;
|
|
94
|
+
subjects: RealtySubject[];
|
|
95
|
+
entityLinks: (RealtyEntityLink & {
|
|
96
|
+
linkPrRnNum?: string;
|
|
97
|
+
})[];
|
|
98
|
+
causeDocuments: RealtyCauseDocument[];
|
|
99
|
+
}
|
|
100
|
+
interface RealtyMortgage {
|
|
101
|
+
rnNum: number;
|
|
102
|
+
regDate: string;
|
|
103
|
+
registrar: string;
|
|
104
|
+
additional?: string;
|
|
105
|
+
MgState?: MortgageState;
|
|
106
|
+
propertyRights: RealtyPropertyRights[];
|
|
107
|
+
subjects: RealtySubject[];
|
|
108
|
+
causeDocuments: RealtyCauseDocument[];
|
|
109
|
+
entityLinks: (RealtyEntityLink & {
|
|
110
|
+
linkMgRnNum?: string;
|
|
111
|
+
})[];
|
|
112
|
+
}
|
|
113
|
+
interface RealtyLimitation {
|
|
114
|
+
rnNum: number;
|
|
115
|
+
regDate: string;
|
|
116
|
+
registrar: string;
|
|
117
|
+
lmType: string;
|
|
118
|
+
lmTypeExtension?: string;
|
|
119
|
+
lmDescription?: string;
|
|
120
|
+
execTerm?: string;
|
|
121
|
+
actTermText?: string;
|
|
122
|
+
actTerm?: string;
|
|
123
|
+
OligationSum?: number;
|
|
124
|
+
CurrencyType?: string;
|
|
125
|
+
propertyRights: RealtyPropertyRights[];
|
|
126
|
+
subjects: RealtySubject[];
|
|
127
|
+
causeDocuments: RealtyCauseDocument[];
|
|
128
|
+
entityLinks: (RealtyEntityLink & {
|
|
129
|
+
linkLmRnNum?: string;
|
|
130
|
+
})[];
|
|
131
|
+
}
|
|
132
|
+
interface RealtySubject {
|
|
133
|
+
dcSbjType: DcSbjType;
|
|
134
|
+
sbjAddType?: string;
|
|
135
|
+
sbjName: string;
|
|
136
|
+
sbjCode?: string;
|
|
137
|
+
sbjRlName?: string;
|
|
138
|
+
country?: string;
|
|
139
|
+
idEddr?: string;
|
|
140
|
+
idDoc?: {
|
|
141
|
+
dcSidType: string;
|
|
142
|
+
publisher: string;
|
|
143
|
+
docDate: string;
|
|
144
|
+
seriesNum: string;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
interface RealtyCauseDocument {
|
|
148
|
+
cdType: string;
|
|
149
|
+
cdTypeExtension?: string;
|
|
150
|
+
docDate?: string;
|
|
151
|
+
expirationDate?: string;
|
|
152
|
+
publisher: string;
|
|
153
|
+
enum: string;
|
|
154
|
+
additional?: string;
|
|
155
|
+
}
|
|
156
|
+
interface RealtyEntityLink {
|
|
157
|
+
registryType?: string;
|
|
158
|
+
registryTypeExtension?: string;
|
|
159
|
+
roOpID?: string;
|
|
160
|
+
otherRegNum?: string;
|
|
161
|
+
oldRegDate?: string;
|
|
162
|
+
linkRegDate?: string;
|
|
163
|
+
}
|
|
164
|
+
interface RealtyPropertyRights {
|
|
165
|
+
irpRnNum?: number;
|
|
166
|
+
irpSort?: string;
|
|
167
|
+
propertyDescription?: string;
|
|
168
|
+
}
|
|
169
|
+
interface PropertyOwnerInfo {
|
|
170
|
+
fullName: string;
|
|
171
|
+
rnokpp: string;
|
|
172
|
+
rnNum: number;
|
|
173
|
+
partSize?: string;
|
|
174
|
+
prCommonKind?: PropertyCommonKind | string;
|
|
175
|
+
}
|
|
176
|
+
//#endregion
|
|
177
|
+
export { DcSbjType, DrrpConfig, DrrpError, DrrpExtSearchRequestOptions, DrrpRequestOptions, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyOwnerInfo, PropertyState, RealtyAddress, RealtyCauseDocument, RealtyEntityLink, RealtyLimitation, RealtyMortgage, RealtyProperty, RealtyPropertyRights, RealtyState, RealtySubject, RealtyType };
|
|
@@ -1,74 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
//#region src/interfaces/providers/drrp/index.ts
|
|
2
|
+
let RealtyType = /* @__PURE__ */ function(RealtyType) {
|
|
3
|
+
RealtyType["PrivateHouse"] = "житловий будинок";
|
|
4
|
+
RealtyType["Apartment"] = "квартира";
|
|
5
|
+
RealtyType["LivingSpace"] = "житлове приміщення";
|
|
6
|
+
RealtyType["Building"] = "будівля";
|
|
7
|
+
RealtyType["LinearInfrastructureObject"] = "лінійний об'єкт інфраструктури";
|
|
8
|
+
RealtyType["UnfinishedConstruction"] = "незавершене будівництво";
|
|
9
|
+
RealtyType["Hostel"] = "гуртожиток";
|
|
10
|
+
RealtyType["Structure"] = "споруда";
|
|
11
|
+
RealtyType["NonLivingSpace"] = "нежитлове приміщення";
|
|
12
|
+
RealtyType["ApartmentBuilding"] = "багатоквартирний будинок";
|
|
13
|
+
RealtyType["CountryHouse"] = "дачний будинок";
|
|
14
|
+
RealtyType["GardenHouse"] = "садовий будинок";
|
|
15
|
+
RealtyType["Farmstead"] = "садиба";
|
|
16
|
+
RealtyType["LandPlot"] = "земельна ділянка";
|
|
17
|
+
RealtyType["SinglePropertyComplex"] = "єдиний майновий комплекс";
|
|
18
|
+
RealtyType["IntegralPropertyComplex"] = "цілісний майновий комплекс";
|
|
19
|
+
RealtyType["Parking"] = "машиномісце/паркомісце";
|
|
20
|
+
RealtyType["Garage"] = "гаражний бокс";
|
|
21
|
+
RealtyType["Quartets"] = "приміщення";
|
|
22
|
+
RealtyType["Room"] = "кімната";
|
|
23
|
+
RealtyType["LivingGardenHouse"] = "житловий будинок садибного типу";
|
|
24
|
+
return RealtyType;
|
|
25
|
+
}({});
|
|
26
|
+
let RealtyState = /* @__PURE__ */ function(RealtyState) {
|
|
27
|
+
RealtyState["Active"] = "зареєстровано";
|
|
28
|
+
RealtyState["Closed"] = "закрито";
|
|
29
|
+
RealtyState["Aborted"] = "скасовано/анульовано";
|
|
30
|
+
return RealtyState;
|
|
31
|
+
}({});
|
|
32
|
+
let PropertyState = /* @__PURE__ */ function(PropertyState) {
|
|
33
|
+
PropertyState["Active"] = "зареєстровано";
|
|
34
|
+
PropertyState["Stopped"] = "припинено";
|
|
35
|
+
PropertyState["Repaid"] = "погашено";
|
|
36
|
+
PropertyState["Aborted"] = "скасовано/анульовано";
|
|
37
|
+
return PropertyState;
|
|
38
|
+
}({});
|
|
39
|
+
let MortgageState = /* @__PURE__ */ function(MortgageState) {
|
|
40
|
+
MortgageState["Active"] = "зареєстровано";
|
|
41
|
+
MortgageState["Stopped"] = "припинено";
|
|
42
|
+
MortgageState["Repaid"] = "погашено";
|
|
43
|
+
MortgageState["Aborted"] = "скасовано/анульовано";
|
|
44
|
+
return MortgageState;
|
|
45
|
+
}({});
|
|
46
|
+
let PropertyCommonKind = /* @__PURE__ */ function(PropertyCommonKind) {
|
|
47
|
+
PropertyCommonKind["CommonShared"] = "спільна сумісна";
|
|
48
|
+
PropertyCommonKind["CommonPartial"] = "спільна часткова";
|
|
49
|
+
return PropertyCommonKind;
|
|
50
|
+
}({});
|
|
51
|
+
let OwnershipType = /* @__PURE__ */ function(OwnershipType) {
|
|
52
|
+
OwnershipType["Single"] = "single";
|
|
53
|
+
OwnershipType["CommonShared"] = "commonShared";
|
|
54
|
+
OwnershipType["CommonPartial"] = "commonPartial";
|
|
55
|
+
return OwnershipType;
|
|
56
|
+
}({});
|
|
57
|
+
let DcSbjType = /* @__PURE__ */ function(DcSbjType) {
|
|
58
|
+
DcSbjType["Individual"] = "1";
|
|
59
|
+
DcSbjType["Entity"] = "2";
|
|
60
|
+
return DcSbjType;
|
|
61
|
+
}({});
|
|
62
|
+
let ExternalTopic = /* @__PURE__ */ function(ExternalTopic) {
|
|
63
|
+
ExternalTopic["Repo"] = "Repo";
|
|
64
|
+
return ExternalTopic;
|
|
65
|
+
}({});
|
|
66
|
+
let ExternalEvent = /* @__PURE__ */ function(ExternalEvent) {
|
|
67
|
+
ExternalEvent["PublicServiceDrrpExtGroup"] = "public-service.drrp-extgroup";
|
|
68
|
+
ExternalEvent["PublicServiceDrrpExtSearch"] = "public-service.drrp-extsearch";
|
|
69
|
+
ExternalEvent["PublicServiceDrrpGetActualAtu"] = "public-service.drrp-getactualatu";
|
|
70
|
+
return ExternalEvent;
|
|
71
|
+
}({});
|
|
72
|
+
//#endregion
|
|
73
|
+
export { DcSbjType, ExternalEvent, ExternalTopic, MortgageState, OwnershipType, PropertyCommonKind, PropertyState, RealtyState, RealtyType };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DrrpError, RealtyAddress, RealtyLimitation, RealtyMortgage, RealtyProperty, RealtyState, RealtyType } from "./index.js";
|
|
2
|
+
|
|
3
|
+
//#region src/interfaces/providers/drrp/publicServiceDrrpExtGroup.d.ts
|
|
4
|
+
interface PublicServiceDrrpExtGroupRequest {
|
|
5
|
+
entity: 'rrpExch_external';
|
|
6
|
+
method: 'generate';
|
|
7
|
+
reportResultID: number;
|
|
8
|
+
groupID: number;
|
|
9
|
+
}
|
|
10
|
+
interface RealtyExt {
|
|
11
|
+
regNum?: string;
|
|
12
|
+
regDate: string;
|
|
13
|
+
reType: RealtyType | string;
|
|
14
|
+
reTypeOnm?: string;
|
|
15
|
+
reTypeExtension?: string;
|
|
16
|
+
reSubType?: string;
|
|
17
|
+
reSubTypeExtension?: string;
|
|
18
|
+
reInCreation?: string;
|
|
19
|
+
isResidentialBuilding?: string;
|
|
20
|
+
reState: RealtyState;
|
|
21
|
+
sectionType: string;
|
|
22
|
+
region: string;
|
|
23
|
+
techDescription?: string;
|
|
24
|
+
area?: number;
|
|
25
|
+
livingArea?: number;
|
|
26
|
+
wallMaterial?: string;
|
|
27
|
+
depreciationPercent?: number;
|
|
28
|
+
selfBuildArea?: number;
|
|
29
|
+
hasProperties: number;
|
|
30
|
+
properties: RealtyProperty[];
|
|
31
|
+
realtyAddress: RealtyAddress[];
|
|
32
|
+
limitation?: RealtyLimitation[];
|
|
33
|
+
mortgage?: RealtyMortgage[];
|
|
34
|
+
}
|
|
35
|
+
interface PublicServiceDrrpExtGroupResponse {
|
|
36
|
+
entity: 'rrpExch_external';
|
|
37
|
+
method: 'generate';
|
|
38
|
+
reportResultID: number;
|
|
39
|
+
groupID: number;
|
|
40
|
+
resultID: number;
|
|
41
|
+
ID: number;
|
|
42
|
+
resultData: string;
|
|
43
|
+
resultMessage?: string;
|
|
44
|
+
}
|
|
45
|
+
interface PublicServiceDrrpExtGroupResult {
|
|
46
|
+
error?: DrrpError;
|
|
47
|
+
realty: RealtyExt[];
|
|
48
|
+
oldRealty: unknown[];
|
|
49
|
+
oldMortgageJson: unknown[];
|
|
50
|
+
oldLimitationJson: unknown[];
|
|
51
|
+
allAdresses: unknown[];
|
|
52
|
+
}
|
|
53
|
+
interface SubjectInfoClarifyingResult {
|
|
54
|
+
realty: RealtyExt[];
|
|
55
|
+
oldRealty: unknown[];
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
export { PublicServiceDrrpExtGroupRequest, PublicServiceDrrpExtGroupResponse, PublicServiceDrrpExtGroupResult, RealtyExt, SubjectInfoClarifyingResult };
|