@hapl/api-queries 0.1.184 → 0.1.185
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/CHANGELOG.md +12 -0
- package/dist/api-queries.cjs.development.js +2 -1
- 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 +2 -1
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/deal/updateDeal/index.d.ts +1 -0
- package/dist/clients/v1/dictionaries/DealParticipant.d.ts +1 -0
- package/dist/clients/v1/types/Deal.d.ts +8 -7
- package/dist/clients/v1/types/DealParticipant.d.ts +1 -0
- package/package.json +1 -1
- package/src/clients/v1/api/deal/updateDeal/index.ts +1 -0
- package/src/clients/v1/dictionaries/DealParticipant.ts +1 -0
- package/src/clients/v1/types/Deal.ts +9 -7
- package/src/clients/v1/types/DealParticipant.ts +1 -0
|
@@ -23,8 +23,6 @@ export declare enum DealStatus {
|
|
|
23
23
|
}
|
|
24
24
|
export declare type Deal = {
|
|
25
25
|
buyer: Partial<Buyer> & Required<Pick<Buyer, 'id'>>;
|
|
26
|
-
canBeDealDone?: boolean;
|
|
27
|
-
contract?: Partial<Contract> & Required<Pick<Contract, 'id'>>;
|
|
28
26
|
createdAt: string;
|
|
29
27
|
developerCommission: number;
|
|
30
28
|
finalPrice: number;
|
|
@@ -37,32 +35,35 @@ export declare type Deal = {
|
|
|
37
35
|
receivedCommission: number;
|
|
38
36
|
status: DealStatus;
|
|
39
37
|
actSignedAt?: string;
|
|
38
|
+
canBeDealDone?: boolean;
|
|
40
39
|
comment?: string;
|
|
41
40
|
commissionAt?: string;
|
|
42
41
|
commissionPlannedAt?: string;
|
|
42
|
+
companyDedicatedCommission?: number;
|
|
43
|
+
contract?: Partial<Contract> & Required<Pick<Contract, 'id'>>;
|
|
43
44
|
dealDoneAt?: string;
|
|
44
|
-
dealSingedAt?: string;
|
|
45
|
-
dealSignPlannedAt?: string;
|
|
46
45
|
dealSignedAt?: string;
|
|
46
|
+
dealSignPlannedAt?: string;
|
|
47
|
+
dealSingedAt?: string;
|
|
47
48
|
files?: Array<Partial<File> & Required<Pick<File, 'id'>>>;
|
|
48
49
|
filesInDeal?: {
|
|
49
50
|
id: number;
|
|
50
51
|
};
|
|
51
52
|
invest?: {
|
|
52
|
-
isInvestBuyout?: boolean;
|
|
53
|
-
investBuyoutPrepaymentSum?: number;
|
|
54
53
|
investBuyoutPrepaymentAt?: string;
|
|
54
|
+
investBuyoutPrepaymentSum?: number;
|
|
55
55
|
investSellServiceRequest?: {
|
|
56
56
|
id: number;
|
|
57
57
|
};
|
|
58
|
+
isInvestBuyout?: boolean;
|
|
58
59
|
};
|
|
59
60
|
isLawyerRequired?: string;
|
|
60
61
|
lawyer?: Partial<User> & Required<Pick<User, 'id'>>;
|
|
61
62
|
lawyerNotRequiredReason?: DealNoLawyerReason;
|
|
62
63
|
prepaidAt?: string;
|
|
63
64
|
prepaymentPlannedAt?: string;
|
|
64
|
-
registerPlannedAt?: string;
|
|
65
65
|
registeredAt?: string;
|
|
66
|
+
registerPlannedAt?: string;
|
|
66
67
|
terminatedAt?: string;
|
|
67
68
|
terminationRequestedAt?: string;
|
|
68
69
|
updatedAt?: string;
|
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ export const DealParticipantDictionary = {
|
|
|
11
11
|
[DealParticipantPosition.BankEmployee]: 'Сотрудник банка',
|
|
12
12
|
[DealParticipantPosition.Relative]: 'Родственник',
|
|
13
13
|
[DealParticipantPosition.Seller]: 'Продавец',
|
|
14
|
+
[DealParticipantPosition.Investor]: 'Инвестор',
|
|
14
15
|
[DealParticipantPosition.Other]: 'Другое',
|
|
15
16
|
},
|
|
16
17
|
};
|
|
@@ -27,8 +27,6 @@ export enum DealStatus {
|
|
|
27
27
|
|
|
28
28
|
export type Deal = {
|
|
29
29
|
buyer: Partial<Buyer> & Required<Pick<Buyer, 'id'>>;
|
|
30
|
-
canBeDealDone?: boolean;
|
|
31
|
-
contract?: Partial<Contract> & Required<Pick<Contract, 'id'>>;
|
|
32
30
|
createdAt: string;
|
|
33
31
|
developerCommission: number;
|
|
34
32
|
finalPrice: number;
|
|
@@ -40,29 +38,33 @@ export type Deal = {
|
|
|
40
38
|
plannedCommission: number;
|
|
41
39
|
receivedCommission: number;
|
|
42
40
|
status: DealStatus;
|
|
41
|
+
|
|
43
42
|
actSignedAt?: string;
|
|
43
|
+
canBeDealDone?: boolean;
|
|
44
44
|
comment?: string;
|
|
45
45
|
commissionAt?: string;
|
|
46
46
|
commissionPlannedAt?: string;
|
|
47
|
+
companyDedicatedCommission?: number;
|
|
48
|
+
contract?: Partial<Contract> & Required<Pick<Contract, 'id'>>;
|
|
47
49
|
dealDoneAt?: string;
|
|
48
|
-
dealSingedAt?: string;
|
|
49
|
-
dealSignPlannedAt?: string;
|
|
50
50
|
dealSignedAt?: string;
|
|
51
|
+
dealSignPlannedAt?: string;
|
|
52
|
+
dealSingedAt?: string;
|
|
51
53
|
files?: Array<Partial<File> & Required<Pick<File, 'id'>>>;
|
|
52
54
|
filesInDeal?: { id: number };
|
|
53
55
|
invest?: {
|
|
54
|
-
isInvestBuyout?: boolean;
|
|
55
|
-
investBuyoutPrepaymentSum?: number;
|
|
56
56
|
investBuyoutPrepaymentAt?: string;
|
|
57
|
+
investBuyoutPrepaymentSum?: number;
|
|
57
58
|
investSellServiceRequest?: { id: number };
|
|
59
|
+
isInvestBuyout?: boolean;
|
|
58
60
|
};
|
|
59
61
|
isLawyerRequired?: string;
|
|
60
62
|
lawyer?: Partial<User> & Required<Pick<User, 'id'>>;
|
|
61
63
|
lawyerNotRequiredReason?: DealNoLawyerReason;
|
|
62
64
|
prepaidAt?: string;
|
|
63
65
|
prepaymentPlannedAt?: string;
|
|
64
|
-
registerPlannedAt?: string;
|
|
65
66
|
registeredAt?: string;
|
|
67
|
+
registerPlannedAt?: string;
|
|
66
68
|
terminatedAt?: string;
|
|
67
69
|
terminationRequestedAt?: string;
|
|
68
70
|
updatedAt?: string;
|