@hapl/api-queries 0.1.161 → 0.1.162
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/CHANGELOG.md +12 -0
- package/dist/api-queries.cjs.development.js +2 -3
- package/dist/api-queries.cjs.development.js.map +1 -1
- package/dist/api-queries.cjs.production.min.js +1 -1
- package/dist/api-queries.cjs.production.min.js.map +1 -1
- package/dist/api-queries.esm.js +2 -3
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/dictionaries/Realty.d.ts +1 -2
- package/dist/clients/v1/types/Realty.d.ts +2 -2
- package/dist/clients/v1/types/ServiceRequest.d.ts +2 -1
- package/package.json +1 -1
- package/src/clients/v1/dictionaries/Realty.ts +1 -2
- package/src/clients/v1/types/Realty.ts +2 -2
- package/src/clients/v1/types/ServiceRequest.ts +2 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { RealtyType, RealtyRenovationType, RealtyGas, RealtyHouseType, RealtyLandShape, RealtyLandUsageType, RealtyRelief, RealtyElectricity, RealtyFurniture, RealtySewerage, RealtyWindowView } from '../types';
|
|
2
2
|
export declare const RealtyDictionary: {
|
|
3
3
|
Type: {
|
|
4
|
-
|
|
5
|
-
flat_new: string;
|
|
4
|
+
flat: string;
|
|
6
5
|
house: string;
|
|
7
6
|
};
|
|
8
7
|
RenovationType: {
|
|
@@ -2,8 +2,7 @@ import { Address } from './Address';
|
|
|
2
2
|
import { Image } from './Image';
|
|
3
3
|
import { RealtyOffer } from './RealtyOffer';
|
|
4
4
|
export declare enum RealtyType {
|
|
5
|
-
|
|
6
|
-
FlatNew = "flat_new",
|
|
5
|
+
Flat = "flat",
|
|
7
6
|
House = "house"
|
|
8
7
|
}
|
|
9
8
|
export declare enum RealtyRenovationType {
|
|
@@ -86,6 +85,7 @@ export declare type Realty = {
|
|
|
86
85
|
renovationType: RealtyRenovationType;
|
|
87
86
|
roomsNumber: number;
|
|
88
87
|
type: RealtyType;
|
|
88
|
+
isNewFlat: boolean;
|
|
89
89
|
balconyCount?: number;
|
|
90
90
|
burden?: boolean;
|
|
91
91
|
ceilingHeight?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Contract } from './Contract';
|
|
2
2
|
import { File } from './File';
|
|
3
3
|
import { Realty, RealtyType } from './Realty';
|
|
4
|
+
import { RealtyType as RealtyTypeV2 } from '../../v2/types/Realty';
|
|
4
5
|
import { Task } from './Task';
|
|
5
6
|
import { User } from './User';
|
|
6
7
|
export declare enum ServiceRequestCategory {
|
|
@@ -83,7 +84,7 @@ export declare type ServiceRequest = {
|
|
|
83
84
|
isTerminationRequestNeeded: boolean;
|
|
84
85
|
moderationStatus: ServiceRequestModerationStatus;
|
|
85
86
|
sellParams: any[] | {
|
|
86
|
-
realtyType?:
|
|
87
|
+
realtyType?: RealtyTypeV2;
|
|
87
88
|
address?: string;
|
|
88
89
|
area?: number;
|
|
89
90
|
floor?: number;
|
package/package.json
CHANGED
|
@@ -3,8 +3,7 @@ import { Image } from './Image';
|
|
|
3
3
|
import { RealtyOffer } from './RealtyOffer';
|
|
4
4
|
|
|
5
5
|
export enum RealtyType {
|
|
6
|
-
|
|
7
|
-
FlatNew = 'flat_new',
|
|
6
|
+
Flat = 'flat',
|
|
8
7
|
House = 'house',
|
|
9
8
|
}
|
|
10
9
|
|
|
@@ -94,6 +93,7 @@ export type Realty = {
|
|
|
94
93
|
renovationType: RealtyRenovationType;
|
|
95
94
|
roomsNumber: number;
|
|
96
95
|
type: RealtyType;
|
|
96
|
+
isNewFlat: boolean;
|
|
97
97
|
|
|
98
98
|
balconyCount?: number;
|
|
99
99
|
burden?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Contract } from './Contract';
|
|
2
2
|
import { File } from './File';
|
|
3
3
|
import { Realty, RealtyType } from './Realty';
|
|
4
|
+
import { RealtyType as RealtyTypeV2 } from '../../v2/types/Realty';
|
|
4
5
|
import { Task } from './Task';
|
|
5
6
|
import { User } from './User';
|
|
6
7
|
|
|
@@ -86,7 +87,7 @@ export type ServiceRequest = {
|
|
|
86
87
|
sellParams:
|
|
87
88
|
| any[]
|
|
88
89
|
| {
|
|
89
|
-
realtyType?:
|
|
90
|
+
realtyType?: RealtyTypeV2;
|
|
90
91
|
address?: string;
|
|
91
92
|
area?: number;
|
|
92
93
|
floor?: number;
|