kui-crm 0.0.106 → 0.0.108

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,7 +152,7 @@ declare type LiteUserModel = {
152
152
  declare type ApartmentLinkModel = {
153
153
  id: number;
154
154
  address: string;
155
- object_name: string;
155
+ object_name?: string;
156
156
  apartment_number?: string;
157
157
  main_image: ImageModel | null;
158
158
  folder_number?: string;
@@ -163,7 +163,7 @@ declare type ApartmentSimpleModel = {
163
163
  declare type LiteObjectModel = {
164
164
  id: number;
165
165
  address: string;
166
- object_name: string;
166
+ object_name?: string;
167
167
  main_image: ImageModel | null;
168
168
  };
169
169
  declare type AdministrativeCompanyModel = {
@@ -439,7 +439,7 @@ declare type ServiceContractModel = {
439
439
  utility_payers?: UtilityPayerModel[];
440
440
  };
441
441
 
442
- declare type ImpairmentTypes = (typeof ImpairmentsTypeValues)[number]["value"][];
442
+ declare type ImpairmentTypes = "damages" | "wear_tear";
443
443
  declare type PeriodStatus = "new" | "closed" | "overdue";
444
444
  declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
445
445
  declare type ParkingTypes = "public" | "house" | "underground" | "multi_level";
@@ -513,7 +513,7 @@ declare type ApartmentMainInfoModelFields = {
513
513
  district: DistrictModel;
514
514
  geolocation: LatLonParams;
515
515
  address: string;
516
- object_name: string;
516
+ object_name?: string;
517
517
  apartment_number: string | number;
518
518
  post_index?: string;
519
519
  floor: number | null;
@@ -603,7 +603,7 @@ declare type ApartmentLiteModel = {
603
603
  id: number;
604
604
  folder_number: string;
605
605
  address: string;
606
- object_name: string;
606
+ object_name?: string;
607
607
  apartment_number: string | number;
608
608
  is_closed_period: boolean;
609
609
  is_approved_service_expenses: boolean;
@@ -628,6 +628,7 @@ declare type ApartmentLiteModel = {
628
628
  deposit_percent?: number;
629
629
  operating_accounts?: ApartmentMeterAccounts;
630
630
  administrative_company?: AdministrativeCompanyModel;
631
+ financial_personal_account?: string;
631
632
  payer_code?: string;
632
633
  period_status: PeriodStatus;
633
634
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
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,7 +70,7 @@ declare type LiteUserModel = {
70
70
  declare type ApartmentLinkModel = {
71
71
  id: number;
72
72
  address: string;
73
- object_name: string;
73
+ object_name?: string;
74
74
  apartment_number?: string;
75
75
  main_image: ImageModel | null;
76
76
  folder_number?: string;
@@ -81,7 +81,7 @@ declare type ApartmentSimpleModel = {
81
81
  declare type LiteObjectModel = {
82
82
  id: number;
83
83
  address: string;
84
- object_name: string;
84
+ object_name?: string;
85
85
  main_image: ImageModel | null;
86
86
  };
87
87
  declare type AdministrativeCompanyModel = {
@@ -222,10 +222,6 @@ declare const RoomTypeValues: {
222
222
  value: string;
223
223
  label: string;
224
224
  }[];
225
- declare const ImpairmentsTypeValues: {
226
- value: string;
227
- label: string;
228
- }[];
229
225
  declare const RentPeriodTypeValues: readonly [{
230
226
  readonly value: "short";
231
227
  readonly label: "Short";
@@ -293,7 +289,7 @@ declare type ServiceContractModel = {
293
289
  utility_payers?: UtilityPayerModel[];
294
290
  };
295
291
 
296
- declare type ImpairmentTypes = (typeof ImpairmentsTypeValues)[number]["value"][];
292
+ declare type ImpairmentTypes = "damages" | "wear_tear";
297
293
  declare type PeriodStatus = "new" | "closed" | "overdue";
298
294
  declare type FillingTypes = "finish" | "furniture" | "appliance" | "accessorie";
299
295
  declare type ParkingTypes = "public" | "house" | "underground" | "multi_level";
@@ -367,7 +363,7 @@ declare type ApartmentMainInfoModelFields = {
367
363
  district: DistrictModel;
368
364
  geolocation: LatLonParams;
369
365
  address: string;
370
- object_name: string;
366
+ object_name?: string;
371
367
  apartment_number: string | number;
372
368
  post_index?: string;
373
369
  floor: number | null;
@@ -457,7 +453,7 @@ declare type ApartmentLiteModel = {
457
453
  id: number;
458
454
  folder_number: string;
459
455
  address: string;
460
- object_name: string;
456
+ object_name?: string;
461
457
  apartment_number: string | number;
462
458
  is_closed_period: boolean;
463
459
  is_approved_service_expenses: boolean;
@@ -482,6 +478,7 @@ declare type ApartmentLiteModel = {
482
478
  deposit_percent?: number;
483
479
  operating_accounts?: ApartmentMeterAccounts;
484
480
  administrative_company?: AdministrativeCompanyModel;
481
+ financial_personal_account?: string;
485
482
  payer_code?: string;
486
483
  period_status: PeriodStatus;
487
484
  };
package/utils/index.d.ts CHANGED
@@ -54,7 +54,7 @@ declare type LiteUserModel = {
54
54
  declare type ApartmentLinkModel = {
55
55
  id: number;
56
56
  address: string;
57
- object_name: string;
57
+ object_name?: string;
58
58
  apartment_number?: string;
59
59
  main_image: ImageModel | null;
60
60
  folder_number?: string;
@@ -276,7 +276,7 @@ declare type ApartmentMainInfoModelFields = {
276
276
  district: DistrictModel;
277
277
  geolocation: LatLonParams;
278
278
  address: string;
279
- object_name: string;
279
+ object_name?: string;
280
280
  apartment_number: string | number;
281
281
  post_index?: string;
282
282
  floor: number | null;