kui-crm 0.0.606 → 0.0.607
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/cjs/index.js +1 -1
- package/hooks/index.d.ts +2 -2
- package/index.d.ts +245 -241
- package/index.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +143 -143
package/types/index.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ import { InputWithControllerProps } from 'kui-complex';
|
|
|
6
6
|
|
|
7
7
|
declare type GenderAPIVariants = "M" | "F";
|
|
8
8
|
declare type APISubjectRoles = "maroom" | "owner" | "renter";
|
|
9
|
-
declare type ResourcePaymentRoles = "maroom" | "owner" | "renter" | "by_invoice";
|
|
10
|
-
declare type UnitOfPaymentTypes = "percent" | "value";
|
|
11
|
-
declare type WaterMeterTypes = "cold" | "hot";
|
|
12
|
-
declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
13
|
-
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
14
|
-
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
15
|
-
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
9
|
+
declare type ResourcePaymentRoles$1 = "maroom" | "owner" | "renter" | "by_invoice";
|
|
10
|
+
declare type UnitOfPaymentTypes$1 = "percent" | "value";
|
|
11
|
+
declare type WaterMeterTypes$1 = "cold" | "hot";
|
|
12
|
+
declare type ElectricityMeterTypes$1 = "T1" | "T2" | "T3";
|
|
13
|
+
declare type ResourceTypes$1 = "water" | "electricity" | "gas" | "heating";
|
|
14
|
+
declare type MeterTypes$1 = ElectricityMeterTypes$1 | WaterMeterTypes$1 | null;
|
|
15
|
+
declare type UtilityTypes$1 = ResourceTypes$1 | "utility" | "invoice";
|
|
16
16
|
declare type ClientTypes = "personal" | "company";
|
|
17
17
|
declare type RentalStatuses = "Rented out" | "Closed" | "Open";
|
|
18
18
|
declare type RentalPaymentStatuses = "rent_overdue" | "major_overdue" | "minor_overdue" | "rent_due" | "major_due" | "minor_due" | "all_paid";
|
|
@@ -20,7 +20,7 @@ declare type PaymentStatuses = "paid" | "due" | "overdue" | null;
|
|
|
20
20
|
declare type ContractStatuses = "Closed" | "Rented out" | "New" | "Pending" | "Open" | "Closing" | "Archived";
|
|
21
21
|
declare type TaxResidenceType = "resident" | "not_resident";
|
|
22
22
|
declare type RentalTypes = "short" | "medium" | "long" | "any";
|
|
23
|
-
declare type DocumentVisibilityAPIVariants = "everybody" | "renter" | "owner" | "nobody";
|
|
23
|
+
declare type DocumentVisibilityAPIVariants$1 = "everybody" | "renter" | "owner" | "nobody";
|
|
24
24
|
declare type TaxesTypes = "resident" | "nonresident" | "individual-entrepreneur" | "company" | "self-employed";
|
|
25
25
|
declare type ContractLinkModel = {
|
|
26
26
|
id: number;
|
|
@@ -59,7 +59,7 @@ declare type ApartmentLinkModel = {
|
|
|
59
59
|
address: string;
|
|
60
60
|
object_name?: string;
|
|
61
61
|
apartment_number?: string;
|
|
62
|
-
main_image: ImageModel | null;
|
|
62
|
+
main_image: ImageModel$1 | null;
|
|
63
63
|
folder_number?: string;
|
|
64
64
|
};
|
|
65
65
|
declare type ApartmentSimpleModel = {
|
|
@@ -69,7 +69,7 @@ declare type LiteObjectModel = {
|
|
|
69
69
|
id: number;
|
|
70
70
|
address: string;
|
|
71
71
|
object_name?: string;
|
|
72
|
-
main_image: ImageModel | null;
|
|
72
|
+
main_image: ImageModel$1 | null;
|
|
73
73
|
};
|
|
74
74
|
declare type AdministrativeCompanyModel = {
|
|
75
75
|
id: number;
|
|
@@ -82,24 +82,24 @@ declare type TariffLinkModel = {
|
|
|
82
82
|
code_name: string;
|
|
83
83
|
};
|
|
84
84
|
declare type UtilityPayerModel = {
|
|
85
|
-
utility_type: UtilityTypes;
|
|
86
|
-
payment_made_by?: ResourcePaymentRoles;
|
|
87
|
-
refund_from: ResourcePaymentRoles;
|
|
85
|
+
utility_type: UtilityTypes$1;
|
|
86
|
+
payment_made_by?: ResourcePaymentRoles$1;
|
|
87
|
+
refund_from: ResourcePaymentRoles$1;
|
|
88
88
|
refund_value?: number | string;
|
|
89
|
-
value_type?: UnitOfPaymentTypes;
|
|
89
|
+
value_type?: UnitOfPaymentTypes$1;
|
|
90
90
|
};
|
|
91
|
-
declare type FileBodyRequest = {
|
|
91
|
+
declare type FileBodyRequest$1 = {
|
|
92
92
|
temp_file_id?: number;
|
|
93
93
|
name: string;
|
|
94
|
-
visibility?: DocumentVisibilityAPIVariants;
|
|
94
|
+
visibility?: DocumentVisibilityAPIVariants$1;
|
|
95
95
|
url?: string;
|
|
96
96
|
};
|
|
97
|
-
declare type ImageBodyRequest = {
|
|
97
|
+
declare type ImageBodyRequest$1 = {
|
|
98
98
|
temp_file_id: number;
|
|
99
99
|
image_name: string;
|
|
100
100
|
url: string;
|
|
101
101
|
};
|
|
102
|
-
declare type VideoBodyRequest = {
|
|
102
|
+
declare type VideoBodyRequest$1 = {
|
|
103
103
|
temp_file_id: number;
|
|
104
104
|
file_name: string;
|
|
105
105
|
url: string;
|
|
@@ -108,7 +108,7 @@ declare type UploadFileResponse = {
|
|
|
108
108
|
id: number;
|
|
109
109
|
upload: string;
|
|
110
110
|
};
|
|
111
|
-
declare type ImageModel = {
|
|
111
|
+
declare type ImageModel$1 = {
|
|
112
112
|
id: number;
|
|
113
113
|
image_name?: string;
|
|
114
114
|
image_url?: string;
|
|
@@ -117,20 +117,20 @@ declare type ImageModel = {
|
|
|
117
117
|
image_large_url: string;
|
|
118
118
|
size: number;
|
|
119
119
|
};
|
|
120
|
-
declare type FileModel = {
|
|
120
|
+
declare type FileModel$1 = {
|
|
121
121
|
id: number;
|
|
122
122
|
name: string;
|
|
123
123
|
size: number;
|
|
124
124
|
url: string;
|
|
125
125
|
};
|
|
126
|
-
declare type DocumentModel = {
|
|
126
|
+
declare type DocumentModel$1 = {
|
|
127
127
|
pk: number;
|
|
128
128
|
name: string;
|
|
129
129
|
created?: string;
|
|
130
130
|
attachment: string;
|
|
131
131
|
size: number;
|
|
132
132
|
uploaded_by?: string | null;
|
|
133
|
-
visibility?: DocumentVisibilityAPIVariants;
|
|
133
|
+
visibility?: DocumentVisibilityAPIVariants$1;
|
|
134
134
|
};
|
|
135
135
|
declare type PatchDocumentRequest = {
|
|
136
136
|
name: string;
|
|
@@ -138,7 +138,7 @@ declare type PatchDocumentRequest = {
|
|
|
138
138
|
declare type PatchFileParams = {
|
|
139
139
|
id: number;
|
|
140
140
|
name: string;
|
|
141
|
-
visibility: DocumentVisibilityAPIVariants;
|
|
141
|
+
visibility: DocumentVisibilityAPIVariants$1;
|
|
142
142
|
};
|
|
143
143
|
declare type PaginationRes<T> = {
|
|
144
144
|
count: number;
|
|
@@ -245,7 +245,7 @@ declare type CountryParams = {
|
|
|
245
245
|
code: string;
|
|
246
246
|
} & CatalogItemParams;
|
|
247
247
|
|
|
248
|
-
type FileWithVisibility = {
|
|
248
|
+
type FileWithVisibility$1 = {
|
|
249
249
|
id?: number
|
|
250
250
|
file: File | null
|
|
251
251
|
tenant: boolean
|
|
@@ -254,24 +254,24 @@ type FileWithVisibility = {
|
|
|
254
254
|
url: string
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
type InputFileWithVisibilityFields =
|
|
258
|
-
| FileWithVisibility
|
|
257
|
+
type InputFileWithVisibilityFields$1 =
|
|
258
|
+
| FileWithVisibility$1
|
|
259
259
|
| DocumentWithVisibility$1
|
|
260
260
|
| null
|
|
261
261
|
| undefined
|
|
262
262
|
|
|
263
263
|
type ChangeReasonFormFields = {
|
|
264
|
-
reason: InputFileWithVisibilityFields
|
|
264
|
+
reason: InputFileWithVisibilityFields$1
|
|
265
265
|
comment?: string
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
type CompanyAutocompleteFields = {
|
|
268
|
+
type CompanyAutocompleteFields$1 = {
|
|
269
269
|
id: number
|
|
270
270
|
name: string
|
|
271
271
|
logo?: string | null
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
declare class FileStore implements FileStoreInterface {
|
|
274
|
+
declare class FileStore$1 implements FileStoreInterface {
|
|
275
275
|
id: number | null;
|
|
276
276
|
index?: number | null;
|
|
277
277
|
name: string;
|
|
@@ -302,13 +302,13 @@ declare class FileStore implements FileStoreInterface {
|
|
|
302
302
|
setIndex: (index: number) => void;
|
|
303
303
|
get title(): string;
|
|
304
304
|
static createPreviewUrl: (file: File) => Promise<string>;
|
|
305
|
-
static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore>;
|
|
306
|
-
static initFromFileModel: (file: FileModel) => FileStore;
|
|
307
|
-
static initFromDocumentModel: (file: DocumentModel) => FileStore;
|
|
308
|
-
static initFromImageModel: (file: ImageModel, name?: string | undefined, isVideo?: boolean | undefined) => FileStore;
|
|
309
|
-
static initFromVideoModel: (image: VideoModel) => FileStore;
|
|
310
|
-
static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore;
|
|
311
|
-
static initFromFileStore: (file: FileStore) => FileStore;
|
|
305
|
+
static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore$1>;
|
|
306
|
+
static initFromFileModel: (file: FileModel$1) => FileStore$1;
|
|
307
|
+
static initFromDocumentModel: (file: DocumentModel$1) => FileStore$1;
|
|
308
|
+
static initFromImageModel: (file: ImageModel$1, name?: string | undefined, isVideo?: boolean | undefined) => FileStore$1;
|
|
309
|
+
static initFromVideoModel: (image: VideoModel$1) => FileStore$1;
|
|
310
|
+
static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore$1;
|
|
311
|
+
static initFromFileStore: (file: FileStore$1) => FileStore$1;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
declare type ImageParams = {
|
|
@@ -343,8 +343,8 @@ declare class ImageStore implements ImageStoreInterface {
|
|
|
343
343
|
delete: () => Promise<void>;
|
|
344
344
|
get extension(): string;
|
|
345
345
|
get title(): string;
|
|
346
|
-
static initFromImageModel: (image: ImageModel) => ImageStore;
|
|
347
|
-
static initFromVideoModel: (image: VideoModel) => ImageStore;
|
|
346
|
+
static initFromImageModel: (image: ImageModel$1) => ImageStore;
|
|
347
|
+
static initFromVideoModel: (image: VideoModel$1) => ImageStore;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
declare type RenovationType = "capital" | "euro" | "designer" | "cosmetic" | "required";
|
|
@@ -469,7 +469,7 @@ declare type LockerAutocompleteFields = {
|
|
|
469
469
|
declare type ApartmentOverviewPaymentInfoFields = {
|
|
470
470
|
payerCode?: string;
|
|
471
471
|
communalServicesAccount?: string;
|
|
472
|
-
company?: CompanyAutocompleteFields | null;
|
|
472
|
+
company?: CompanyAutocompleteFields$1 | null;
|
|
473
473
|
} & ChangeReasonFormFields;
|
|
474
474
|
declare type ApartmentOverviewInfoFields = {
|
|
475
475
|
locker?: LockerAutocompleteFields | null;
|
|
@@ -492,14 +492,14 @@ declare type InspectionPaymentInfoParams = {
|
|
|
492
492
|
} & ApartmentPaymentInfoParams;
|
|
493
493
|
declare type InspectionMeterInfoParams = {
|
|
494
494
|
id: number;
|
|
495
|
-
resource: ResourceTypes;
|
|
496
|
-
type?: MeterTypes;
|
|
495
|
+
resource: ResourceTypes$1;
|
|
496
|
+
type?: MeterTypes$1;
|
|
497
497
|
number: string;
|
|
498
498
|
startDate: DateTime | null;
|
|
499
499
|
company: CompanyLiteParams;
|
|
500
500
|
operationalAccountNumber?: string | null;
|
|
501
501
|
tariff: EntityLinkParams | null;
|
|
502
|
-
passportFile: FileStore | null;
|
|
502
|
+
passportFile: FileStore$1 | null;
|
|
503
503
|
initialValue?: number;
|
|
504
504
|
lastValue?: number;
|
|
505
505
|
initialValueT1?: number;
|
|
@@ -521,8 +521,8 @@ declare type ValuesParams = {
|
|
|
521
521
|
};
|
|
522
522
|
declare type PartialMeterInfoParams = {
|
|
523
523
|
id: number;
|
|
524
|
-
type: MeterTypes;
|
|
525
|
-
resource: ResourceTypes;
|
|
524
|
+
type: MeterTypes$1;
|
|
525
|
+
resource: ResourceTypes$1;
|
|
526
526
|
number: string;
|
|
527
527
|
values: ValuesParams;
|
|
528
528
|
images?: (ImageStore | UploadImageParams)[];
|
|
@@ -537,7 +537,7 @@ declare type InspectionPartialMetersInfoParams = {
|
|
|
537
537
|
declare type ComparableObjectParams = {
|
|
538
538
|
id: number;
|
|
539
539
|
link: string;
|
|
540
|
-
screenshot: FileStore | null;
|
|
540
|
+
screenshot: FileStore$1 | null;
|
|
541
541
|
price: number;
|
|
542
542
|
differences: string;
|
|
543
543
|
};
|
|
@@ -545,7 +545,7 @@ declare type StatisticalEvaluationParams = {
|
|
|
545
545
|
id: number;
|
|
546
546
|
dataSourceName: string;
|
|
547
547
|
link: string;
|
|
548
|
-
screenshot: FileStore | null;
|
|
548
|
+
screenshot: FileStore$1 | null;
|
|
549
549
|
minPrice: number;
|
|
550
550
|
maxPrice: number;
|
|
551
551
|
};
|
|
@@ -779,7 +779,7 @@ declare type ApartmentFeatureModel = {
|
|
|
779
779
|
};
|
|
780
780
|
declare type ApartmentDocumentModel = {
|
|
781
781
|
id: number;
|
|
782
|
-
document: DocumentModel;
|
|
782
|
+
document: DocumentModel$1;
|
|
783
783
|
expiration_date: string;
|
|
784
784
|
start_date: string;
|
|
785
785
|
number: string;
|
|
@@ -792,7 +792,7 @@ declare type MeterCommonInfoModel = {
|
|
|
792
792
|
tariff?: TariffLinkModel;
|
|
793
793
|
activation_date?: string;
|
|
794
794
|
check_date?: string;
|
|
795
|
-
type?: ElectricityMeterTypes | WaterMeterTypes;
|
|
795
|
+
type?: ElectricityMeterTypes$1 | WaterMeterTypes$1;
|
|
796
796
|
apartment: ApartmentLinkModel;
|
|
797
797
|
company: CompanyLiteParams;
|
|
798
798
|
operating_account_number?: string | null;
|
|
@@ -913,7 +913,7 @@ declare type ApartmentModel = {
|
|
|
913
913
|
owner_id: number;
|
|
914
914
|
metro_stations: ApartmentMetroParams[];
|
|
915
915
|
rental_status: RentalStatuses;
|
|
916
|
-
main_image: ImageModel;
|
|
916
|
+
main_image: ImageModel$1;
|
|
917
917
|
tv_type: TVTypes | null;
|
|
918
918
|
inspection: ApartmentInspectionModel;
|
|
919
919
|
distance_to_center_kilometers: number | null;
|
|
@@ -940,7 +940,7 @@ declare type ApartmentLiteModel = {
|
|
|
940
940
|
renter: LiteUserModel | null;
|
|
941
941
|
rental_status: RentalStatuses;
|
|
942
942
|
renter_payment_status: RentalPaymentStatuses;
|
|
943
|
-
main_image: ImageModel;
|
|
943
|
+
main_image: ImageModel$1;
|
|
944
944
|
service_contract?: ServiceContractLiteModel;
|
|
945
945
|
is_imported_from_old_crm?: boolean;
|
|
946
946
|
max_electricity_counters?: number | null;
|
|
@@ -986,7 +986,7 @@ declare type ObjectForMapModel = {
|
|
|
986
986
|
apartment_number: string;
|
|
987
987
|
address: string;
|
|
988
988
|
geolocation: LatLonParams;
|
|
989
|
-
main_image: ImageModel;
|
|
989
|
+
main_image: ImageModel$1;
|
|
990
990
|
renter: ClientLiteModel | null;
|
|
991
991
|
owner: ClientLiteModel;
|
|
992
992
|
metro_stations: ApartmentMetroStationModel[];
|
|
@@ -1018,13 +1018,13 @@ declare class DocumentStore implements FileStoreInterface {
|
|
|
1018
1018
|
agent: DocumentAgentInterface;
|
|
1019
1019
|
loader: Loader;
|
|
1020
1020
|
settings?: any;
|
|
1021
|
-
constructor(document: DocumentModel, documentsStore: DocumentsStoreInterface, agent: DocumentAgentInterface, settings?: any);
|
|
1021
|
+
constructor(document: DocumentModel$1, documentsStore: DocumentsStoreInterface, agent: DocumentAgentInterface, settings?: any);
|
|
1022
1022
|
patchDocument: (data: UploadDocumentParams, ...params: any) => Promise<void>;
|
|
1023
|
-
updateDocument: (res: DocumentModel) => void;
|
|
1023
|
+
updateDocument: (res: DocumentModel$1) => void;
|
|
1024
1024
|
deleteDocument: (...params: any) => Promise<void>;
|
|
1025
1025
|
get extension(): string;
|
|
1026
1026
|
get title(): string;
|
|
1027
|
-
static getDocumentBody: (data: UploadDocumentParams) => FileBodyRequest;
|
|
1027
|
+
static getDocumentBody: (data: UploadDocumentParams) => FileBodyRequest$1;
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
1030
|
type InputTypes =
|
|
@@ -1084,13 +1084,13 @@ declare type FileParams = {
|
|
|
1084
1084
|
size?: number | null;
|
|
1085
1085
|
file: File;
|
|
1086
1086
|
};
|
|
1087
|
-
declare type UploadedFileParams$1 = FileBodyRequest | ImageBodyRequest | VideoBodyRequest | null;
|
|
1087
|
+
declare type UploadedFileParams$1 = FileBodyRequest$1 | ImageBodyRequest$1 | VideoBodyRequest$1 | null;
|
|
1088
1088
|
declare type FileStoreParams$1 = {
|
|
1089
1089
|
id?: number | null;
|
|
1090
1090
|
url?: string;
|
|
1091
1091
|
index?: number | string | null;
|
|
1092
1092
|
createdBy?: string | null;
|
|
1093
|
-
visibility?: DocumentVisibilityAPIVariants;
|
|
1093
|
+
visibility?: DocumentVisibilityAPIVariants$1;
|
|
1094
1094
|
name?: string;
|
|
1095
1095
|
date?: string | null;
|
|
1096
1096
|
size?: number | null;
|
|
@@ -1245,7 +1245,7 @@ declare type ApartmentResourceCompanyModel = {
|
|
|
1245
1245
|
provider_type: string;
|
|
1246
1246
|
};
|
|
1247
1247
|
declare type DataTransferFormats = "online" | "offline";
|
|
1248
|
-
declare type ApartmentResourceTypesAPI = "administrative" | ResourceTypes | "other";
|
|
1248
|
+
declare type ApartmentResourceTypesAPI = "administrative" | ResourceTypes$1 | "other";
|
|
1249
1249
|
declare type ApartmentResourceModel = {
|
|
1250
1250
|
id: number;
|
|
1251
1251
|
company: ApartmentResourceCompanyModel | null;
|
|
@@ -1254,7 +1254,7 @@ declare type ApartmentResourceModel = {
|
|
|
1254
1254
|
payer_code?: string;
|
|
1255
1255
|
meter_readings_day_from?: number;
|
|
1256
1256
|
meter_readings_day_to?: number;
|
|
1257
|
-
receipt_example?: DocumentModel;
|
|
1257
|
+
receipt_example?: DocumentModel$1;
|
|
1258
1258
|
provider_auth_login?: string;
|
|
1259
1259
|
provider_auth_password?: string;
|
|
1260
1260
|
site?: string;
|
|
@@ -1279,8 +1279,8 @@ declare type InspectionFillingParams = {
|
|
|
1279
1279
|
description?: string;
|
|
1280
1280
|
serial_code?: string;
|
|
1281
1281
|
amount?: number | string | null;
|
|
1282
|
-
photos: ImageBodyRequest[];
|
|
1283
|
-
instruction?: FileBodyRequest | null;
|
|
1282
|
+
photos: ImageBodyRequest$1[];
|
|
1283
|
+
instruction?: FileBodyRequest$1 | null;
|
|
1284
1284
|
was_missing?: boolean;
|
|
1285
1285
|
};
|
|
1286
1286
|
declare type InspectionMeterValueModel = {
|
|
@@ -1296,7 +1296,7 @@ declare type InspectionBasedOnModel = {
|
|
|
1296
1296
|
id: number;
|
|
1297
1297
|
inspection_type: InspectionTypes;
|
|
1298
1298
|
};
|
|
1299
|
-
declare type VideoModel = {
|
|
1299
|
+
declare type VideoModel$1 = {
|
|
1300
1300
|
id: number;
|
|
1301
1301
|
video_url: string;
|
|
1302
1302
|
file_name?: string;
|
|
@@ -1311,8 +1311,8 @@ declare type InspectionRoomPhotoModel = {
|
|
|
1311
1311
|
uploaded: boolean;
|
|
1312
1312
|
purpose: InspectionRoomPhotoTypes;
|
|
1313
1313
|
comment?: string;
|
|
1314
|
-
photos: ImageModel[];
|
|
1315
|
-
videos: VideoModel[];
|
|
1314
|
+
photos: ImageModel$1[];
|
|
1315
|
+
videos: VideoModel$1[];
|
|
1316
1316
|
room_order_number?: number | null;
|
|
1317
1317
|
};
|
|
1318
1318
|
declare type InspectionConditionReasons = "already_signed" | "invoice_already_fixed_for_impairments" | "inspection_with_appraisal_or_impairments" | "impairments_already_fixed" | "offer_sended";
|
|
@@ -1350,11 +1350,11 @@ declare type FullInspectionCommonFields = {
|
|
|
1350
1350
|
filling: InspectionFillingModel[];
|
|
1351
1351
|
} & ApartmentModel;
|
|
1352
1352
|
declare type InspectionMeterCommonInfo = {
|
|
1353
|
-
resource_type: ResourceTypes;
|
|
1354
|
-
passport: FileModel | null;
|
|
1355
|
-
meter_type: MeterTypes;
|
|
1353
|
+
resource_type: ResourceTypes$1;
|
|
1354
|
+
passport: FileModel$1 | null;
|
|
1355
|
+
meter_type: MeterTypes$1;
|
|
1356
1356
|
operating_account: string;
|
|
1357
|
-
photos: ImageModel[];
|
|
1357
|
+
photos: ImageModel$1[];
|
|
1358
1358
|
} & Omit<MeterCommonInfoModel, "operating_account_number">;
|
|
1359
1359
|
declare type TransferInspectionMeterModel = {
|
|
1360
1360
|
values: InspectionMeterValueModel;
|
|
@@ -1364,9 +1364,9 @@ declare type TransferInspectionMeterModel = {
|
|
|
1364
1364
|
declare type TransferInspectionFields = {
|
|
1365
1365
|
transfer_type: TransferInspectionTypes;
|
|
1366
1366
|
meters: TransferInspectionMeterModel[];
|
|
1367
|
-
inspection_document: DocumentModel | null;
|
|
1368
|
-
rental_contract_termination_document: DocumentModel | null;
|
|
1369
|
-
service_contract_termination_document: DocumentModel | null;
|
|
1367
|
+
inspection_document: DocumentModel$1 | null;
|
|
1368
|
+
rental_contract_termination_document: DocumentModel$1 | null;
|
|
1369
|
+
service_contract_termination_document: DocumentModel$1 | null;
|
|
1370
1370
|
} & FullInspectionCommonFields;
|
|
1371
1371
|
declare type RegularInspectionFields = {
|
|
1372
1372
|
meters: TransferInspectionMeterModel[];
|
|
@@ -1375,7 +1375,7 @@ declare type RegularInspectionFields = {
|
|
|
1375
1375
|
declare type ComparableObjectModel = {
|
|
1376
1376
|
id: number;
|
|
1377
1377
|
advertisement_link: string;
|
|
1378
|
-
advertisement_screenshot: ImageModel | null;
|
|
1378
|
+
advertisement_screenshot: ImageModel$1 | null;
|
|
1379
1379
|
object_price: string;
|
|
1380
1380
|
key_object_differences: string;
|
|
1381
1381
|
};
|
|
@@ -1383,7 +1383,7 @@ declare type StatisticalEvaluationModel = {
|
|
|
1383
1383
|
id: number;
|
|
1384
1384
|
source_name: string;
|
|
1385
1385
|
link: string;
|
|
1386
|
-
screenshot: ImageModel | null;
|
|
1386
|
+
screenshot: ImageModel$1 | null;
|
|
1387
1387
|
min_price: string;
|
|
1388
1388
|
max_price: string;
|
|
1389
1389
|
};
|
|
@@ -1427,11 +1427,11 @@ declare type ImpairmentModel = {
|
|
|
1427
1427
|
id: number;
|
|
1428
1428
|
name: string;
|
|
1429
1429
|
impairment_type: ImpairmentType;
|
|
1430
|
-
proof_file: DocumentModel | null;
|
|
1430
|
+
proof_file: DocumentModel$1 | null;
|
|
1431
1431
|
price: number;
|
|
1432
1432
|
solution: string;
|
|
1433
1433
|
description: string;
|
|
1434
|
-
photos: ImageModel[];
|
|
1434
|
+
photos: ImageModel$1[];
|
|
1435
1435
|
item_link: string;
|
|
1436
1436
|
bill_line_name: string;
|
|
1437
1437
|
};
|
|
@@ -1442,7 +1442,7 @@ declare type InitialInspectionModelFields = {
|
|
|
1442
1442
|
used_resources: UsedResourcesModel;
|
|
1443
1443
|
} & ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields & HouseInfoModelFields & MetroStationsFields;
|
|
1444
1444
|
declare type AppraisalRequestModelFields = {
|
|
1445
|
-
floor_plan: DocumentModel | null;
|
|
1445
|
+
floor_plan: DocumentModel$1 | null;
|
|
1446
1446
|
};
|
|
1447
1447
|
declare type InspectionModel = {
|
|
1448
1448
|
initial?: InitialInspectionModelFields;
|
|
@@ -1476,7 +1476,7 @@ declare type InventoryInspectionFields = {
|
|
|
1476
1476
|
allowed_smoking: boolean;
|
|
1477
1477
|
additional_terms: string;
|
|
1478
1478
|
resources: InspectionResourcesModel[];
|
|
1479
|
-
inspection_document: DocumentModel | null;
|
|
1479
|
+
inspection_document: DocumentModel$1 | null;
|
|
1480
1480
|
} & FullInspectionCommonFields;
|
|
1481
1481
|
declare type InventoryInspectionModel = {
|
|
1482
1482
|
inventory: InventoryInspectionFields;
|
|
@@ -1528,10 +1528,10 @@ declare type InspectionFeedbackInterface = {
|
|
|
1528
1528
|
declare type PatchInspectionImageParams = {
|
|
1529
1529
|
id?: number;
|
|
1530
1530
|
order?: number;
|
|
1531
|
-
} & Partial<ImageBodyRequest>;
|
|
1531
|
+
} & Partial<ImageBodyRequest$1>;
|
|
1532
1532
|
declare type PatchInspectionVideoParams = {
|
|
1533
1533
|
id?: number;
|
|
1534
|
-
} & Partial<VideoBodyRequest>;
|
|
1534
|
+
} & Partial<VideoBodyRequest$1>;
|
|
1535
1535
|
declare type PatchRoomImagesParams = {
|
|
1536
1536
|
id?: number | null;
|
|
1537
1537
|
purpose: InspectionRoomPhotoTypes;
|
|
@@ -1572,8 +1572,8 @@ declare type InspectionFillingModel = {
|
|
|
1572
1572
|
description: string;
|
|
1573
1573
|
serial_code: string;
|
|
1574
1574
|
amount: number;
|
|
1575
|
-
photos: ImageModel[];
|
|
1576
|
-
instruction: DocumentModel;
|
|
1575
|
+
photos: ImageModel$1[];
|
|
1576
|
+
instruction: DocumentModel$1;
|
|
1577
1577
|
is_absent: boolean;
|
|
1578
1578
|
previously_absent: boolean;
|
|
1579
1579
|
model: string;
|
|
@@ -1655,7 +1655,7 @@ declare type CommonMeterParams = {
|
|
|
1655
1655
|
company: CompanyLiteParams;
|
|
1656
1656
|
operating_account_number?: string | null;
|
|
1657
1657
|
company_is_administrative: boolean;
|
|
1658
|
-
photos?: ImageModel[];
|
|
1658
|
+
photos?: ImageModel$1[];
|
|
1659
1659
|
auto_sending: boolean;
|
|
1660
1660
|
no_tariff: boolean;
|
|
1661
1661
|
is_avg: boolean;
|
|
@@ -1667,15 +1667,15 @@ declare type ElectricityMeterValues = {
|
|
|
1667
1667
|
T3?: MeterTariffModel;
|
|
1668
1668
|
};
|
|
1669
1669
|
declare type WaterMeterParams = {
|
|
1670
|
-
type: WaterMeterTypes;
|
|
1670
|
+
type: WaterMeterTypes$1;
|
|
1671
1671
|
tariff: SingleCounterTariffModel;
|
|
1672
1672
|
} & CommonMeterParams & MeterTariffModel;
|
|
1673
1673
|
declare type SingleMeterParams = {
|
|
1674
|
-
type?: WaterMeterTypes;
|
|
1674
|
+
type?: WaterMeterTypes$1;
|
|
1675
1675
|
tariff: SingleCounterTariffModel;
|
|
1676
1676
|
} & CommonMeterParams & MeterTariffModel;
|
|
1677
1677
|
declare type ElectricityMeterParams = {
|
|
1678
|
-
type: ElectricityMeterTypes;
|
|
1678
|
+
type: ElectricityMeterTypes$1;
|
|
1679
1679
|
values: ElectricityMeterValues;
|
|
1680
1680
|
tariff: ElectricityMeterTariffModel;
|
|
1681
1681
|
overall_value?: number;
|
|
@@ -1732,8 +1732,8 @@ declare type FillingInfoFormFields = {
|
|
|
1732
1732
|
name?: string;
|
|
1733
1733
|
description?: string;
|
|
1734
1734
|
type?: ApartmentFillingVariants | null;
|
|
1735
|
-
instruction?: InputFileWithVisibilityFields;
|
|
1736
|
-
tempImages?: ImageBodyRequest[];
|
|
1735
|
+
instruction?: InputFileWithVisibilityFields$1;
|
|
1736
|
+
tempImages?: ImageBodyRequest$1[];
|
|
1737
1737
|
};
|
|
1738
1738
|
|
|
1739
1739
|
declare type FillingTagParams = {
|
|
@@ -1748,7 +1748,7 @@ declare type FillingParams = {
|
|
|
1748
1748
|
images?: (ImageStore | UploadFileParams)[];
|
|
1749
1749
|
serialNumber?: string;
|
|
1750
1750
|
numberOfSubjects?: number | string | null;
|
|
1751
|
-
instruction?: InputFileWithVisibilityFields | null;
|
|
1751
|
+
instruction?: InputFileWithVisibilityFields$1 | null;
|
|
1752
1752
|
type?: ApartmentFillingVariants;
|
|
1753
1753
|
loader?: Loader;
|
|
1754
1754
|
};
|
|
@@ -1760,7 +1760,7 @@ declare type FillingFullParams = {
|
|
|
1760
1760
|
images?: (ImageStore | UploadFileParams)[];
|
|
1761
1761
|
serialNumber?: string;
|
|
1762
1762
|
numberOfSubjects?: number | string | null;
|
|
1763
|
-
instruction?: InputFileWithVisibilityFields | null;
|
|
1763
|
+
instruction?: InputFileWithVisibilityFields$1 | null;
|
|
1764
1764
|
type?: ApartmentFillingVariants;
|
|
1765
1765
|
loader?: Loader;
|
|
1766
1766
|
check?: boolean | null;
|
|
@@ -1779,31 +1779,31 @@ declare type TariffGroupLiteParams = {
|
|
|
1779
1779
|
name: string;
|
|
1780
1780
|
};
|
|
1781
1781
|
|
|
1782
|
-
declare type ResourcePaymentRoles
|
|
1783
|
-
declare type UnitOfPaymentTypes
|
|
1784
|
-
declare type WaterMeterTypes
|
|
1785
|
-
declare type ElectricityMeterTypes
|
|
1786
|
-
declare type ResourceTypes
|
|
1787
|
-
declare type MeterTypes
|
|
1788
|
-
declare type UtilityTypes
|
|
1789
|
-
declare type DocumentVisibilityAPIVariants
|
|
1790
|
-
declare type FileBodyRequest
|
|
1782
|
+
declare type ResourcePaymentRoles = "maroom" | "owner" | "renter" | "by_invoice";
|
|
1783
|
+
declare type UnitOfPaymentTypes = "percent" | "value";
|
|
1784
|
+
declare type WaterMeterTypes = "cold" | "hot";
|
|
1785
|
+
declare type ElectricityMeterTypes = "T1" | "T2" | "T3";
|
|
1786
|
+
declare type ResourceTypes = "water" | "electricity" | "gas" | "heating";
|
|
1787
|
+
declare type MeterTypes = ElectricityMeterTypes | WaterMeterTypes | null;
|
|
1788
|
+
declare type UtilityTypes = ResourceTypes | "utility" | "invoice";
|
|
1789
|
+
declare type DocumentVisibilityAPIVariants = "everybody" | "renter" | "owner" | "nobody";
|
|
1790
|
+
declare type FileBodyRequest = {
|
|
1791
1791
|
temp_file_id?: number;
|
|
1792
1792
|
name: string;
|
|
1793
|
-
visibility?: DocumentVisibilityAPIVariants
|
|
1793
|
+
visibility?: DocumentVisibilityAPIVariants;
|
|
1794
1794
|
url?: string;
|
|
1795
1795
|
};
|
|
1796
|
-
declare type ImageBodyRequest
|
|
1796
|
+
declare type ImageBodyRequest = {
|
|
1797
1797
|
temp_file_id: number;
|
|
1798
1798
|
image_name: string;
|
|
1799
1799
|
url: string;
|
|
1800
1800
|
};
|
|
1801
|
-
declare type VideoBodyRequest
|
|
1801
|
+
declare type VideoBodyRequest = {
|
|
1802
1802
|
temp_file_id: number;
|
|
1803
1803
|
file_name: string;
|
|
1804
1804
|
url: string;
|
|
1805
1805
|
};
|
|
1806
|
-
declare type ImageModel
|
|
1806
|
+
declare type ImageModel = {
|
|
1807
1807
|
id: number;
|
|
1808
1808
|
image_name?: string;
|
|
1809
1809
|
image_url?: string;
|
|
@@ -1812,22 +1812,22 @@ declare type ImageModel$1 = {
|
|
|
1812
1812
|
image_large_url: string;
|
|
1813
1813
|
size: number;
|
|
1814
1814
|
};
|
|
1815
|
-
declare type FileModel
|
|
1815
|
+
declare type FileModel = {
|
|
1816
1816
|
id: number;
|
|
1817
1817
|
name: string;
|
|
1818
1818
|
size: number;
|
|
1819
1819
|
url: string;
|
|
1820
1820
|
};
|
|
1821
|
-
declare type DocumentModel
|
|
1821
|
+
declare type DocumentModel = {
|
|
1822
1822
|
pk: number;
|
|
1823
1823
|
name: string;
|
|
1824
1824
|
created?: string;
|
|
1825
1825
|
attachment: string;
|
|
1826
1826
|
size: number;
|
|
1827
1827
|
uploaded_by?: string | null;
|
|
1828
|
-
visibility?: DocumentVisibilityAPIVariants
|
|
1828
|
+
visibility?: DocumentVisibilityAPIVariants;
|
|
1829
1829
|
};
|
|
1830
|
-
declare type VideoModel
|
|
1830
|
+
declare type VideoModel = {
|
|
1831
1831
|
id: number;
|
|
1832
1832
|
video_url: string;
|
|
1833
1833
|
file_name?: string;
|
|
@@ -1838,7 +1838,7 @@ declare type VideoModel$1 = {
|
|
|
1838
1838
|
resolution?: string;
|
|
1839
1839
|
};
|
|
1840
1840
|
|
|
1841
|
-
type FileWithVisibility
|
|
1841
|
+
type FileWithVisibility = {
|
|
1842
1842
|
id?: number
|
|
1843
1843
|
file: File | null
|
|
1844
1844
|
tenant: boolean
|
|
@@ -1847,19 +1847,19 @@ type FileWithVisibility$1 = {
|
|
|
1847
1847
|
url: string
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
type InputFileWithVisibilityFields
|
|
1851
|
-
| FileWithVisibility
|
|
1850
|
+
type InputFileWithVisibilityFields =
|
|
1851
|
+
| FileWithVisibility
|
|
1852
1852
|
| DocumentWithVisibility
|
|
1853
1853
|
| null
|
|
1854
1854
|
| undefined
|
|
1855
1855
|
|
|
1856
|
-
type CompanyAutocompleteFields
|
|
1856
|
+
type CompanyAutocompleteFields = {
|
|
1857
1857
|
id: number
|
|
1858
1858
|
name: string
|
|
1859
1859
|
logo?: string | null
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
1862
|
-
declare class FileStore
|
|
1862
|
+
declare class FileStore implements FileStoreInterface$1 {
|
|
1863
1863
|
id: number | null;
|
|
1864
1864
|
index?: number | null;
|
|
1865
1865
|
name: string;
|
|
@@ -1890,22 +1890,22 @@ declare class FileStore$1 implements FileStoreInterface$1 {
|
|
|
1890
1890
|
setIndex: (index: number) => void;
|
|
1891
1891
|
get title(): string;
|
|
1892
1892
|
static createPreviewUrl: (file: File) => Promise<string>;
|
|
1893
|
-
static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore
|
|
1894
|
-
static initFromFileModel: (file: FileModel
|
|
1895
|
-
static initFromDocumentModel: (file: DocumentModel
|
|
1896
|
-
static initFromImageModel: (file: ImageModel
|
|
1897
|
-
static initFromVideoModel: (image: VideoModel
|
|
1898
|
-
static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore
|
|
1899
|
-
static initFromFileStore: (file: FileStore
|
|
1893
|
+
static initFromFileWithPreview: (file: File, index: number, withFileCleanUp?: boolean | undefined) => Promise<FileStore>;
|
|
1894
|
+
static initFromFileModel: (file: FileModel) => FileStore;
|
|
1895
|
+
static initFromDocumentModel: (file: DocumentModel) => FileStore;
|
|
1896
|
+
static initFromImageModel: (file: ImageModel, name?: string | undefined, isVideo?: boolean | undefined) => FileStore;
|
|
1897
|
+
static initFromVideoModel: (image: VideoModel) => FileStore;
|
|
1898
|
+
static initFromFile: (file: File, index: number, withFileCleanUp?: boolean | undefined) => FileStore;
|
|
1899
|
+
static initFromFileStore: (file: FileStore) => FileStore;
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
1902
|
type PartialPayerFields$1 = {
|
|
1903
|
-
payer?: ResourcePaymentRoles
|
|
1904
|
-
mainPayer?: ResourcePaymentRoles
|
|
1905
|
-
refundFrom?: ResourcePaymentRoles
|
|
1906
|
-
partType?: UnitOfPaymentTypes
|
|
1903
|
+
payer?: ResourcePaymentRoles | "partial"
|
|
1904
|
+
mainPayer?: ResourcePaymentRoles
|
|
1905
|
+
refundFrom?: ResourcePaymentRoles
|
|
1906
|
+
partType?: UnitOfPaymentTypes | null
|
|
1907
1907
|
refundValue?: number | string | null
|
|
1908
|
-
utilityType: UtilityTypes
|
|
1908
|
+
utilityType: UtilityTypes
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
1911
|
declare type FilesStoreInterface$1 = {
|
|
@@ -1937,13 +1937,13 @@ declare type DocumentWithVisibility = {
|
|
|
1937
1937
|
visibility?: DocumentVisibilityVariants;
|
|
1938
1938
|
extension: string;
|
|
1939
1939
|
};
|
|
1940
|
-
declare type UploadedFileParams = FileBodyRequest
|
|
1940
|
+
declare type UploadedFileParams = FileBodyRequest | ImageBodyRequest | VideoBodyRequest | null;
|
|
1941
1941
|
declare type FileStoreParams = {
|
|
1942
1942
|
id?: number | null;
|
|
1943
1943
|
url?: string;
|
|
1944
1944
|
index?: number | string | null;
|
|
1945
1945
|
createdBy?: string | null;
|
|
1946
|
-
visibility?: DocumentVisibilityAPIVariants
|
|
1946
|
+
visibility?: DocumentVisibilityAPIVariants;
|
|
1947
1947
|
name?: string;
|
|
1948
1948
|
date?: string | null;
|
|
1949
1949
|
size?: number | null;
|
|
@@ -1971,15 +1971,15 @@ type BasicMeterFeaturesFormFields = {
|
|
|
1971
1971
|
initialValueT1?: number
|
|
1972
1972
|
initialValueT2?: number
|
|
1973
1973
|
initialValueT3?: number
|
|
1974
|
-
type?: MeterTypes
|
|
1975
|
-
resource?: ResourceTypes
|
|
1974
|
+
type?: MeterTypes
|
|
1975
|
+
resource?: ResourceTypes
|
|
1976
1976
|
withAutoSending?: boolean
|
|
1977
1977
|
isAccessRestricted?: boolean
|
|
1978
1978
|
}
|
|
1979
1979
|
|
|
1980
1980
|
type MeterFeaturesFormFields = {
|
|
1981
1981
|
tariff: TariffGroupAutocompleteFields | null
|
|
1982
|
-
company: CompanyAutocompleteFields
|
|
1982
|
+
company: CompanyAutocompleteFields | null
|
|
1983
1983
|
nextCheck: DateTime | null
|
|
1984
1984
|
lastValue?: number
|
|
1985
1985
|
lastValueT1?: number
|
|
@@ -2003,9 +2003,9 @@ declare type ApartmentMeterValues = {
|
|
|
2003
2003
|
} & MeterValues;
|
|
2004
2004
|
declare type InspectionMeterFields = {
|
|
2005
2005
|
id?: number;
|
|
2006
|
-
resource: ResourceTypes
|
|
2007
|
-
passportFile?: InputFileWithVisibilityFields
|
|
2008
|
-
images: FileStore
|
|
2006
|
+
resource: ResourceTypes;
|
|
2007
|
+
passportFile?: InputFileWithVisibilityFields;
|
|
2008
|
+
images: FileStore[];
|
|
2009
2009
|
} & MeterFeaturesFormFields;
|
|
2010
2010
|
|
|
2011
2011
|
declare type InspectionFeedbackStatus = "notSigned" | "signed" | "rejected";
|
|
@@ -2015,12 +2015,12 @@ declare type InspectionFeedbackParams = {
|
|
|
2015
2015
|
};
|
|
2016
2016
|
|
|
2017
2017
|
type PartialPayerFields = {
|
|
2018
|
-
payer?: ResourcePaymentRoles | "partial"
|
|
2019
|
-
mainPayer?: ResourcePaymentRoles
|
|
2020
|
-
refundFrom?: ResourcePaymentRoles
|
|
2021
|
-
partType?: UnitOfPaymentTypes | null
|
|
2018
|
+
payer?: ResourcePaymentRoles$1 | "partial"
|
|
2019
|
+
mainPayer?: ResourcePaymentRoles$1
|
|
2020
|
+
refundFrom?: ResourcePaymentRoles$1
|
|
2021
|
+
partType?: UnitOfPaymentTypes$1 | null
|
|
2022
2022
|
refundValue?: number | string | null
|
|
2023
|
-
utilityType: UtilityTypes
|
|
2023
|
+
utilityType: UtilityTypes$1
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
2026
|
declare type ContractPeriodTypes = "openEnded" | "fixed";
|
|
@@ -2104,15 +2104,15 @@ declare type ResourceAccessParams = {
|
|
|
2104
2104
|
description?: string;
|
|
2105
2105
|
appName?: string;
|
|
2106
2106
|
};
|
|
2107
|
-
declare type ApartmentResourceTypes = ResourceTypes | "administrativeCompany" | "other";
|
|
2107
|
+
declare type ApartmentResourceTypes = ResourceTypes$1 | "administrativeCompany" | "other";
|
|
2108
2108
|
declare type ApartmentResourceCompanyDetails = {
|
|
2109
|
-
company: CompanyAutocompleteFields | null;
|
|
2109
|
+
company: CompanyAutocompleteFields$1 | null;
|
|
2110
2110
|
operationalAccountNumber: string;
|
|
2111
2111
|
payerCode: string;
|
|
2112
2112
|
dataSubmissionDays: DataSubmissionDaysParams;
|
|
2113
2113
|
access: ResourceAccessParams;
|
|
2114
2114
|
sampleReceiptLink: string;
|
|
2115
|
-
sampleReceipt?: InputFileWithVisibilityFields | FileStore | null;
|
|
2115
|
+
sampleReceipt?: InputFileWithVisibilityFields$1 | FileStore$1 | null;
|
|
2116
2116
|
};
|
|
2117
2117
|
declare type ApartmentResourceInterface = {
|
|
2118
2118
|
type: ApartmentResourceTypes;
|
|
@@ -2149,15 +2149,15 @@ declare type DocumentsStoreInterface = {
|
|
|
2149
2149
|
loader: Loader;
|
|
2150
2150
|
};
|
|
2151
2151
|
declare type PostDocumentsResponse = {
|
|
2152
|
-
documents: DocumentModel[];
|
|
2152
|
+
documents: DocumentModel$1[];
|
|
2153
2153
|
};
|
|
2154
2154
|
declare type DocumentAgentInterface = {
|
|
2155
2155
|
postDocuments: (body: any, ...params: any) => Promise<PostDocumentsResponse>;
|
|
2156
|
-
patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel>;
|
|
2157
|
-
deleteDocument: (id: number, ...params: any) => Promise<DocumentModel>;
|
|
2156
|
+
patchDocument: (id: number, body: any, ...params: any) => Promise<DocumentModel$1>;
|
|
2157
|
+
deleteDocument: (id: number, ...params: any) => Promise<DocumentModel$1>;
|
|
2158
2158
|
};
|
|
2159
2159
|
declare type DocumentsAgentInterface = {
|
|
2160
|
-
getDocuments?: (...params: any) => Promise<DocumentModel[]>;
|
|
2160
|
+
getDocuments?: (...params: any) => Promise<DocumentModel$1[]>;
|
|
2161
2161
|
} & DocumentAgentInterface;
|
|
2162
2162
|
|
|
2163
2163
|
declare type MetroLineParams = {
|
|
@@ -2173,4 +2173,4 @@ declare type MetroStationParams = {
|
|
|
2173
2173
|
status: string;
|
|
2174
2174
|
};
|
|
2175
2175
|
|
|
2176
|
-
export { APISubjectRoles, ActivateConditions, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CounterpartyModel, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel, DocumentVisibilityAPIVariants, DocumentVisibilityVariants$1 as DocumentVisibilityVariants, DocumentWithVisibility$1 as DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest, FileModel, FileParams, FileStoreInterface, FileStoreParams$1 as FileStoreParams, FileVariant$1 as FileVariant, FilesStoreInterface, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FixedCostParams, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GroupedFillingParams, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest, ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFeedbackStatuses, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionSignersModel, InspectionStatus, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LifecycleStatuses, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus$1 as LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, ReceiverPaymentCompanyModel, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentChargeTypes, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles, ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractFlags, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, ServiceContractStatusStateModel, ServiceContractSubStatuses, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, StatusStateModel, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, TransitAccountModel, UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UploadedFileParams$1 as UploadedFileParams, UsedResourcesModel, UserNamesModel, UtilityChargeTypes, UtilityPayerModel, UtilityTypes, Values, ValuesParams, VideoBodyRequest, VideoModel, WallMaterials, WaterMeterParams, WaterMeterTypes, WaterMetersResponse, WifiParams };
|
|
2176
|
+
export { APISubjectRoles, ActivateConditions, AddressWithLocationParams, AdministrativeCompany, AdministrativeCompanyModel, ApartmentAdministrativeCompany, ApartmentContractTypes, ApartmentDescriptionFormFields, ApartmentDescriptionParams, ApartmentDetailInfoModelFields, ApartmentDetailInfoParams, ApartmentDocumentModel, ApartmentFeatureModel, ApartmentFillingAPIVariants, ApartmentFillingVariants, ApartmentHouseInfoParams, ApartmentInspectionListModel, ApartmentInspectionModel, ApartmentLinkModel, ApartmentLinkParams, ApartmentLiteModel, ApartmentLockerParams, ApartmentMainInfoModelFields, ApartmentMainInfoParams, ApartmentMeterAccounts, ApartmentMeterValues, ApartmentMetroParams, ApartmentMetroStationModel, ApartmentMetroStationsParams, ApartmentMetroWithCustomParams, ApartmentModel, ApartmentOverviewInfoFields, ApartmentOverviewPaymentInfoFields, ApartmentPartialDescriptionParams, ApartmentPartialModel, ApartmentPaymentInfoParams, ApartmentResourceCompanyDetails, ApartmentResourceCompanyModel, ApartmentResourceFieldsParams, ApartmentResourceInterface, ApartmentResourceModel, ApartmentResourceTypes, ApartmentResourceTypesAPI, ApartmentResourcesResponse, ApartmentSecurityInfoParams, ApartmentSimpleModel, ApartmentTelecommunicationInfoParams, ApartmentWithHouseInfoModelFields, ApiTokenAuthResponse, AppraisalInspectionFields, AppraisalInspectionModel, AppraisalOfferModel, AppraisalOfferParams, AppraisalRequestModel, AppraisalRequestModelFields, AppraisalTenantChoice, AppraisalTenantOfferModel, AppraisalType, CatalogItemModel, CatalogItemParams, CityModel, CityParams, ClientLinkModel, ClientLiteModel, ClientRoles, ClientSimpleParams, ClientTypes, ClosingRentalContractFields, ClosingServiceContractFields, CoOwnerModel, CoOwnerParams, CommonMeterParams, CommonTariffModel, CompanyAPITypes, CompanyByTinRequestBody, CompanyInfoModel, CompanyLiteParams, CompanyLogoModel, CompanyMainInfoModel, CompanyMainOfficeModel, CompanyModel, CompanyOfficeModel, CompanyOfficeWithoutIdModel, CompanyParams, CompanyTypes$1 as CompanyTypes, ComparableObjectModel, ComparableObjectParams, ContractLinkModel, ContractPeriodTypes, ContractStatuses, ContractTermAcceptationModel, ContractTermAcceptationStatuses, CounterpartyModel, CountryModel, CountryParams, CountyModel, CountyParams, DataSubmissionDaysParams, DataTransferFormats, DataTransmissionFormats, DeepPartial, DetailObjectInfoInterface, DistrictModel, DistrictParams, DocumentAgentInterface, DocumentModel$1 as DocumentModel, DocumentVisibilityAPIVariants$1 as DocumentVisibilityAPIVariants, DocumentVisibilityVariants$1 as DocumentVisibilityVariants, DocumentWithVisibility$1 as DocumentWithVisibility, DocumentsAgentInterface, DocumentsStoreInterface, EditConditions, ElectricityMeterParams, ElectricityMeterTypes$1 as ElectricityMeterTypes, ElectricityMeterValues, ElectricityMetersResponse, EmptyType, EntityLinkParams, FetchApartmentOwnersResponse, FetchApartmentsResponse, FieldsSettings, FileBodyRequest$1 as FileBodyRequest, FileModel$1 as FileModel, FileParams, FileStoreInterface, FileStoreParams$1 as FileStoreParams, FileVariant$1 as FileVariant, FilesStoreInterface, FillingFullParams, FillingInfoFormFields, FillingListItemModel, FillingParams, FillingTagModel, FillingTagParams, FillingTypes, FixedCostModel, FixedCostParams, FullInspectionCommonFields, GasMetersResponse, GasTypes, GenderAPIVariants, GeolocationParams, GetCatalogResponse, GetCitiesResponse, GetCommonTariffsResponse, GetCompaniesResponse, GetCountiesResponse, GetCountriesResponse, GetDistrictsResponse, GetLockersResponse, GetRegionsResponse, GetResidentialComplexesResponse, GetTagsResponse, GroupedFillingParams, HeatingMetersResponse, HouseInfoModelFields, HouseTypes, ImageBodyRequest$1 as ImageBodyRequest, ImageModel$1 as ImageModel, ImageParams, ImageStoreInterface, ImpairmentModel, ImpairmentType, ImpairmentTypes, ImpairmentsInspectionModel, InitialInspectionModel, InitialInspectionModelFields, InspectionBasedOnModel, InspectionBasedOnParams, InspectionCommonFields, InspectionConditionReasons, InspectionContractModel, InspectionEditConditionModel, InspectionFeedbackInterface, InspectionFeedbackModel, InspectionFeedbackParams, InspectionFeedbackStatus, InspectionFeedbackStatuses, InspectionFillingModel, InspectionFillingParams, InspectionMeterCommonInfo, InspectionMeterFields, InspectionMeterInfoParams, InspectionMeterValueModel, InspectionMetersInfoParams, InspectionModel, InspectionPartialMetersInfoParams, InspectionPaymentInfoParams, InspectionResourcesModel, InspectionRoomPhotoModel, InspectionRoomPhotoTypes, InspectionSignersModel, InspectionStatus, InspectionTypes, InternetProviderModel, InternetProviderParams, InventoryInspectionFields, InventoryInspectionMeterModel, InventoryInspectionModel, LatLonParams, LifecycleStatuses, LiteMeterInterface, LiteObjectModel, LiteUserModel, LoadStatus$1 as LoadStatus, LockerAutocompleteFields, LockerModel, LockerParams, MainObjectInfoInterface, MaxMetersInfoParams, MeterCommonInfoModel, MeterModel, MeterPayerModel, MeterTariffModel, MeterTypes$1 as MeterTypes, MeterValues, MetersCountParams, MetersLightResponse, MetersResponse, MetersResponseBody, MetroLineModel, MetroLineParams, MetroStationModel, MetroStationParams, MetroStationsFields, ObjectForMapModel, ObjectMetroStationParams, ObjectType, OfferSignStatuses, OverlapTypes, PaginationRes, ParkingTypes, PartialMeterInfoParams, PatchApartmentParams, PatchBillingInfoParams, PatchCompanyParams, PatchDocumentRequest, PatchFileParams, PatchInspectionImageParams, PatchInspectionVideoParams, PatchRoomImagesParams, PaymentStatuses, PeriodStatus, PhoneParams, PostCommonTariffParams, PostCompaniesRequest, PostDocumentsResponse, PostElectricityTariffRequest, PostGasTariffRequest, PostHeatingTariffRequest, PostInspectionFillingListModel, PostInspectionFillingModel, PostTariffRequest, PostWaterTariffRequest, ReceiverPaymentCompanyModel, RegionModel, RegionParams, RegularInspectionFields, RegularInspectionModel, RenovationParams, RenovationStyle, RenovationType, RentChargeTypes, RentPeriodTypes, RentalContractInfoValues, RentalContractModel, RentalInspectionParams, RentalPaymentStatuses, RentalStatuses, RentalTypes, RepresentativeModel, RepresentativeTypes, ResidentialComplexModel, ResidentialComplexParams, ResourceAccessParams, ResourcePaymentRoles$1 as ResourcePaymentRoles, ResourceTypes$1 as ResourceTypes, RoomModel, RoomParams, RoomType, RoomTypes, RoommateParams, SecurityObjectInfoInterface, ServiceContractFixedCostsFields, ServiceContractFlags, ServiceContractInfoValues, ServiceContractListModel, ServiceContractLiteModel, ServiceContractModel, ServiceContractStatusStateModel, ServiceContractSubStatuses, SettingsParams, SignInParams, SingleMeterParams, StatisticalEvaluationModel, StatisticalEvaluationParams, StatusStateModel, SubjectRoles, TVTypes, TagModel, TariffGroupLiteParams, TariffLinkModel, TariffStatuses, TaxResidenceType, TaxesTypes, TransferInspectionFields, TransferInspectionMeterModel, TransferInspectionModel, TransferInspectionTypes, TransitAccountModel, UnitOfPaymentTypes$1 as UnitOfPaymentTypes, UploadDocumentParams, UploadFileParams, UploadFileResponse, UploadImageParams, UploadedFileParams$1 as UploadedFileParams, UsedResourcesModel, UserNamesModel, UtilityChargeTypes, UtilityPayerModel, UtilityTypes$1 as UtilityTypes, Values, ValuesParams, VideoBodyRequest$1 as VideoBodyRequest, VideoModel$1 as VideoModel, WallMaterials, WaterMeterParams, WaterMeterTypes$1 as WaterMeterTypes, WaterMetersResponse, WifiParams };
|