kui-crm_actions 0.0.102 → 0.0.103
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 +3 -1
- package/cjs/index.js.map +1 -1
- package/index.d.ts +4 -2
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -112,6 +112,8 @@ type SecurityApartmentInfoStepFields = {
|
|
112
112
|
intercomCode: string
|
113
113
|
hasGate: boolean | null
|
114
114
|
gateCode: string
|
115
|
+
parkingType: ParkingTypes$1 | null
|
116
|
+
parkingNumber: string
|
115
117
|
}
|
116
118
|
|
117
119
|
type RoomsApartmentInfoStepFields = {
|
@@ -234,8 +236,6 @@ type HouseServicesInfoStepFields = {
|
|
234
236
|
securityPhone: PhoneParams | null
|
235
237
|
hasVideoControl: boolean | null
|
236
238
|
videoControlPhone: PhoneParams | null
|
237
|
-
parkingType: ParkingTypes$1 | null
|
238
|
-
parkingNumber: string
|
239
239
|
}
|
240
240
|
|
241
241
|
type TelecommunicationsInfoStepFields = {
|
@@ -439,6 +439,8 @@ declare type InitialInspectionFieldsBody = {
|
|
439
439
|
ceiling_height: string | number | null;
|
440
440
|
building_year: number | null;
|
441
441
|
type_houses: HouseTypes | null;
|
442
|
+
parking_type: ParkingTypes | null;
|
443
|
+
parking_number: string;
|
442
444
|
} & Omit<Partial<ApartmentMainInfoModelFields>, "city" | "rooms">;
|
443
445
|
declare type RegularlyInspectionFieldsBody = {
|
444
446
|
meters: PartialMeterModel[];
|
package/index.js
CHANGED
@@ -187,6 +187,8 @@ var inspectionsRequestBody = {
|
|
187
187
|
ceiling_height: inspection.ceilingHeight,
|
188
188
|
building_year: inspection.buildingYear,
|
189
189
|
type_houses: inspection.typeOfHouse,
|
190
|
+
parking_type: inspection.parkingType,
|
191
|
+
parking_number: inspection.parkingNumber,
|
190
192
|
rooms: inspection.rooms.map(function (room, index) { return ({
|
191
193
|
id: room.id,
|
192
194
|
room_type: room.type,
|
@@ -254,7 +256,7 @@ var inspectionsRequestBody = {
|
|
254
256
|
? getPhoneNumberFromPhoneParams(inspection.videoControlPhone)
|
255
257
|
: null, home_phone: inspection.homePhone
|
256
258
|
? getPhoneNumberFromPhoneParams(inspection.homePhone)
|
257
|
-
: null, wifi_name: (_g = inspection.wifi) === null || _g === void 0 ? void 0 : _g.name, wifi_password: (_h = inspection.wifi) === null || _h === void 0 ? void 0 : _h.password, internet_provider_link: (_j = inspection.internetProvider) === null || _j === void 0 ? void 0 : _j.link, internet_provider_login: (_k = inspection.internetProvider) === null || _k === void 0 ? void 0 : _k.login, internet_provider_password: (_l = inspection.internetProvider) === null || _l === void 0 ? void 0 : _l.password,
|
259
|
+
: null, wifi_name: (_g = inspection.wifi) === null || _g === void 0 ? void 0 : _g.name, wifi_password: (_h = inspection.wifi) === null || _h === void 0 ? void 0 : _h.password, internet_provider_link: (_j = inspection.internetProvider) === null || _j === void 0 ? void 0 : _j.link, internet_provider_login: (_k = inspection.internetProvider) === null || _k === void 0 ? void 0 : _k.login, internet_provider_password: (_l = inspection.internetProvider) === null || _l === void 0 ? void 0 : _l.password, payer_code: inspection.payerCode, filling: inspection.fillingList.map(function (filling, index) {
|
258
260
|
var _a;
|
259
261
|
return ({
|
260
262
|
feature: ((_a = filling.tag) === null || _a === void 0 ? void 0 : _a.id) || 0,
|