kui-crm 0.0.40 → 0.0.41

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
@@ -221,28 +221,7 @@ declare type ApartmentMeterAccounts = {
221
221
  heating?: string | null;
222
222
  water?: string | null;
223
223
  };
224
- declare type ApartmentPartialModel = {
225
- id: number;
226
- locker_number: number | string;
227
- is_closed_period: boolean;
228
- is_approved_service_expenses: boolean;
229
- renter_payment_status: PaymentStatuses;
230
- owner: LiteUserModel;
231
- renter: LiteUserModel | null;
232
- owner_id: number;
233
- building_year: number;
234
- rental_status: RentalStatuses;
235
- main_image: MainImageModel;
236
- is_imported_from_old_crm?: boolean;
237
- tv_type: TVTypes | null;
238
- serial_number: string;
239
- hot_water: boolean;
240
- distance_to_center_kilometers: number | null;
241
- сommission_percent: number | null;
242
- folder_number: string;
243
- operating_accounts?: ApartmentMeterAccounts;
244
- administrative_company: AdministrativeCompanyModel;
245
- } & ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields;
224
+ declare type ApartmentPartialModel = ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields & ApartmentLiteModel;
246
225
 
247
226
  declare type Values<T extends object> = T[keyof T];
248
227
  declare type ObjectType = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -127,28 +127,7 @@ declare type ApartmentMeterAccounts = {
127
127
  heating?: string | null;
128
128
  water?: string | null;
129
129
  };
130
- declare type ApartmentPartialModel = {
131
- id: number;
132
- locker_number: number | string;
133
- is_closed_period: boolean;
134
- is_approved_service_expenses: boolean;
135
- renter_payment_status: PaymentStatuses;
136
- owner: LiteUserModel;
137
- renter: LiteUserModel | null;
138
- owner_id: number;
139
- building_year: number;
140
- rental_status: RentalStatuses;
141
- main_image: MainImageModel;
142
- is_imported_from_old_crm?: boolean;
143
- tv_type: TVTypes | null;
144
- serial_number: string;
145
- hot_water: boolean;
146
- distance_to_center_kilometers: number | null;
147
- сommission_percent: number | null;
148
- folder_number: string;
149
- operating_accounts?: ApartmentMeterAccounts;
150
- administrative_company: AdministrativeCompanyModel;
151
- } & ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields;
130
+ declare type ApartmentPartialModel = ApartmentMainInfoModelFields & ApartmentDetailInfoModelFields & ApartmentLiteModel;
152
131
 
153
132
  declare type Values<T extends object> = T[keyof T];
154
133
  declare type ObjectType = {