@hapl/api-queries 0.2.34 → 0.2.35
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/api-queries.cjs.development.js +1947 -1387
- package/dist/api-queries.cjs.development.js.map +1 -1
- package/dist/api-queries.cjs.production.min.js +1 -1
- package/dist/api-queries.cjs.production.min.js.map +1 -1
- package/dist/api-queries.esm.js +1947 -1387
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/callTask/bookCallTask.d.ts +29 -0
- package/dist/clients/v1/api/callTask/findCallTasks.d.ts +8 -1
- package/dist/clients/v1/api/callTask/findCallTasksCount.d.ts +48 -0
- package/dist/clients/v1/api/deal/createDeal/index.d.ts +56 -0
- package/dist/clients/v1/api/deal/findDealById/index.d.ts +29 -0
- package/dist/clients/v1/api/deal/setDealPrepaidDate/index.d.ts +35 -0
- package/dist/clients/v1/api/deal/updateDeal/index.d.ts +4 -3
- package/dist/clients/v1/api/index.d.ts +8 -0
- package/dist/clients/v1/api/realty/findRealtyDuplicate/index.d.ts +37 -0
- package/dist/clients/v1/api/stats/findMarkupBySourceCalls/index.d.ts +42 -0
- package/dist/clients/v1/api/stats/findMarkupCalls/index.d.ts +42 -0
- package/dist/clients/v1/dictionaries/Deal.d.ts +28 -1
- package/dist/clients/v1/index.d.ts +8 -0
- package/dist/clients/v1/types/CallStats.d.ts +15 -0
- package/dist/clients/v1/types/Deal.d.ts +29 -0
- package/dist/clients/v1/types/DealParticipant.d.ts +4 -1
- package/dist/clients/v1/types/File.d.ts +1 -0
- package/dist/clients/v1/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/src/clients/v1/api/callTask/bookCallTask.ts +42 -0
- package/src/clients/v1/api/callTask/findCallTasks.ts +5 -1
- package/src/clients/v1/api/callTask/findCallTasksCount.ts +58 -0
- package/src/clients/v1/api/deal/createDeal/index.ts +52 -0
- package/src/clients/v1/api/deal/findDealById/index.ts +39 -0
- package/src/clients/v1/api/deal/setDealPrepaidDate/index.ts +44 -0
- package/src/clients/v1/api/deal/updateDeal/index.ts +10 -3
- package/src/clients/v1/api/index.ts +9 -0
- package/src/clients/v1/api/realty/findRealtyDuplicate/index.ts +48 -0
- package/src/clients/v1/api/stats/findMarkupBySourceCalls/index.ts +59 -0
- package/src/clients/v1/api/stats/findMarkupCalls/index.ts +59 -0
- package/src/clients/v1/dictionaries/Deal.ts +28 -1
- package/src/clients/v1/index.ts +41 -0
- package/src/clients/v1/types/CallStats.ts +16 -0
- package/src/clients/v1/types/Deal.ts +31 -0
- package/src/clients/v1/types/DealParticipant.ts +1 -1
- package/src/clients/v1/types/File.ts +1 -0
- package/src/clients/v1/types/index.ts +3 -2
|
@@ -5,6 +5,35 @@ import { User } from './User';
|
|
|
5
5
|
import { DealParticipant } from './DealParticipant';
|
|
6
6
|
import { Buyer } from './Buyer';
|
|
7
7
|
|
|
8
|
+
export enum DealFileCategory {
|
|
9
|
+
DeleteReason = 'deleteReason',
|
|
10
|
+
Egrn = 'egrn',
|
|
11
|
+
OwnershipTransfers = 'ownership_transfers',
|
|
12
|
+
Risk = 'risk',
|
|
13
|
+
Act = 'act',
|
|
14
|
+
ActDeveloper = 'act_developer',
|
|
15
|
+
OwnershipCertificate = 'ownership_certificate',
|
|
16
|
+
FloorPlan = 'floor_plan',
|
|
17
|
+
Explication = 'explication',
|
|
18
|
+
Egd = 'egd',
|
|
19
|
+
ReferenceNoDebtGku = 'reference_no_debt_gku',
|
|
20
|
+
ReferenceNoDebtRepair = 'reference_no_debt_repair',
|
|
21
|
+
ReferencePnd = 'reference_pnd',
|
|
22
|
+
ReferenceNd = 'reference_nd',
|
|
23
|
+
PassportContractor = 'passport_contractor',
|
|
24
|
+
MarriageCertificateContractor = 'marriage_certificate_contractor',
|
|
25
|
+
SpouseAgreementContractor = 'spouse_agreement_contractor',
|
|
26
|
+
Invest = 'invest',
|
|
27
|
+
Other = 'other',
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export enum DealBillServiceType {
|
|
31
|
+
PartPayment = 'part_payment',
|
|
32
|
+
FullPayment = 'full_payment',
|
|
33
|
+
BuyServicePayment = 'buy_service_payment',
|
|
34
|
+
SecurityDepositPayment = 'security_deposit_payment',
|
|
35
|
+
}
|
|
36
|
+
|
|
8
37
|
export enum DealNoLawyerReason {
|
|
9
38
|
FromDeveloper = 'from_developer',
|
|
10
39
|
NoLawyerOffice = 'no_lawyer_office',
|
|
@@ -39,6 +68,7 @@ export type Deal = {
|
|
|
39
68
|
receivedCommission: number;
|
|
40
69
|
status: DealStatus;
|
|
41
70
|
|
|
71
|
+
actDeveloperSignedAt?: string;
|
|
42
72
|
actSignedAt?: string;
|
|
43
73
|
canBeDealDone?: boolean;
|
|
44
74
|
classificationScore?: number;
|
|
@@ -52,6 +82,7 @@ export type Deal = {
|
|
|
52
82
|
dealSignedAt?: string;
|
|
53
83
|
dealSignPlannedAt?: string;
|
|
54
84
|
dealSingedAt?: string;
|
|
85
|
+
partnerDealType?: DealPartnerDealType;
|
|
55
86
|
files?: Array<Partial<File> & Required<Pick<File, 'id'>>>;
|
|
56
87
|
filesInDeal?: { id: number };
|
|
57
88
|
guaranteedPayment?: boolean;
|
|
@@ -4,11 +4,12 @@ export * from './AddressMetroDistance';
|
|
|
4
4
|
export * from './AvailableFunds';
|
|
5
5
|
export * from './Bill';
|
|
6
6
|
export * from './Buyer';
|
|
7
|
-
export * from './BuyerPhone';
|
|
8
7
|
export * from './BuyerClosingReason';
|
|
8
|
+
export * from './BuyerPhone';
|
|
9
9
|
export * from './BuyerStatusHistory';
|
|
10
10
|
export * from './Call';
|
|
11
11
|
export * from './CallProxy';
|
|
12
|
+
export * from './CallStats';
|
|
12
13
|
export * from './CallTask';
|
|
13
14
|
export * from './Comment';
|
|
14
15
|
export * from './Contact';
|
|
@@ -39,8 +40,8 @@ export * from './RealtyOffer';
|
|
|
39
40
|
export * from './ServiceRequest';
|
|
40
41
|
export * from './ServiceRequestActivity';
|
|
41
42
|
export * from './ServiceRequestCategorizedFile';
|
|
42
|
-
export * from './ServiceRequestSellerReport';
|
|
43
43
|
export * from './ServiceRequestFeedbackCategory';
|
|
44
|
+
export * from './ServiceRequestSellerReport';
|
|
44
45
|
export * from './ServiceRequestShortInfo';
|
|
45
46
|
export * from './Shape';
|
|
46
47
|
export * from './SoldStatistic';
|