kui-crm 0.0.105 → 0.0.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/index.d.ts CHANGED
@@ -152,6 +152,7 @@ declare type LiteUserModel = {
152
152
  declare type ApartmentLinkModel = {
153
153
  id: number;
154
154
  address: string;
155
+ object_name?: string;
155
156
  apartment_number?: string;
156
157
  main_image: ImageModel | null;
157
158
  folder_number?: string;
@@ -162,6 +163,7 @@ declare type ApartmentSimpleModel = {
162
163
  declare type LiteObjectModel = {
163
164
  id: number;
164
165
  address: string;
166
+ object_name?: string;
165
167
  main_image: ImageModel | null;
166
168
  };
167
169
  declare type AdministrativeCompanyModel = {
@@ -437,7 +439,7 @@ declare type ServiceContractModel = {
437
439
  utility_payers?: UtilityPayerModel[];
438
440
  };
439
441
 
440
- declare type ImpairmentTypes = (typeof ImpairmentsTypeValues)[number]["value"][];
442
+ declare type ImpairmentTypes = "damages" | "wear_tear";
441
443
  declare type PeriodStatus = "new" | "closed" | "overdue";
442
444
  declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
443
445
  declare type ParkingTypes = "public" | "house" | "underground" | "multi_level";
@@ -511,6 +513,7 @@ declare type ApartmentMainInfoModelFields = {
511
513
  district: DistrictModel;
512
514
  geolocation: LatLonParams;
513
515
  address: string;
516
+ object_name?: string;
514
517
  apartment_number: string | number;
515
518
  post_index?: string;
516
519
  floor: number | null;
@@ -600,6 +603,7 @@ declare type ApartmentLiteModel = {
600
603
  id: number;
601
604
  folder_number: string;
602
605
  address: string;
606
+ object_name?: string;
603
607
  apartment_number: string | number;
604
608
  is_closed_period: boolean;
605
609
  is_approved_service_expenses: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.105",
3
+ "version": "0.0.107",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -70,6 +70,7 @@ declare type LiteUserModel = {
70
70
  declare type ApartmentLinkModel = {
71
71
  id: number;
72
72
  address: string;
73
+ object_name?: string;
73
74
  apartment_number?: string;
74
75
  main_image: ImageModel | null;
75
76
  folder_number?: string;
@@ -80,6 +81,7 @@ declare type ApartmentSimpleModel = {
80
81
  declare type LiteObjectModel = {
81
82
  id: number;
82
83
  address: string;
84
+ object_name?: string;
83
85
  main_image: ImageModel | null;
84
86
  };
85
87
  declare type AdministrativeCompanyModel = {
@@ -220,10 +222,6 @@ declare const RoomTypeValues: {
220
222
  value: string;
221
223
  label: string;
222
224
  }[];
223
- declare const ImpairmentsTypeValues: {
224
- value: string;
225
- label: string;
226
- }[];
227
225
  declare const RentPeriodTypeValues: readonly [{
228
226
  readonly value: "short";
229
227
  readonly label: "Short";
@@ -291,7 +289,7 @@ declare type ServiceContractModel = {
291
289
  utility_payers?: UtilityPayerModel[];
292
290
  };
293
291
 
294
- declare type ImpairmentTypes = (typeof ImpairmentsTypeValues)[number]["value"][];
292
+ declare type ImpairmentTypes = "damages" | "wear_tear";
295
293
  declare type PeriodStatus = "new" | "closed" | "overdue";
296
294
  declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
297
295
  declare type ParkingTypes = "public" | "house" | "underground" | "multi_level";
@@ -365,6 +363,7 @@ declare type ApartmentMainInfoModelFields = {
365
363
  district: DistrictModel;
366
364
  geolocation: LatLonParams;
367
365
  address: string;
366
+ object_name?: string;
368
367
  apartment_number: string | number;
369
368
  post_index?: string;
370
369
  floor: number | null;
@@ -454,6 +453,7 @@ declare type ApartmentLiteModel = {
454
453
  id: number;
455
454
  folder_number: string;
456
455
  address: string;
456
+ object_name?: string;
457
457
  apartment_number: string | number;
458
458
  is_closed_period: boolean;
459
459
  is_approved_service_expenses: boolean;
package/utils/index.d.ts CHANGED
@@ -54,6 +54,7 @@ declare type LiteUserModel = {
54
54
  declare type ApartmentLinkModel = {
55
55
  id: number;
56
56
  address: string;
57
+ object_name?: string;
57
58
  apartment_number?: string;
58
59
  main_image: ImageModel | null;
59
60
  folder_number?: string;
@@ -275,6 +276,7 @@ declare type ApartmentMainInfoModelFields = {
275
276
  district: DistrictModel;
276
277
  geolocation: LatLonParams;
277
278
  address: string;
279
+ object_name?: string;
278
280
  apartment_number: string | number;
279
281
  post_index?: string;
280
282
  floor: number | null;