@hapl/api-queries 1.0.18 → 1.0.19

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.
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse, AxiosError } from 'axios';
2
- import { Realty, Address, AddressBTIParams, Complex, ComplexHousing, RealtyImage, Image, RealtyHouseHighwayDistance, RealtyMetroDistance, RealtyType, ExternalLink, PriceHistory, Highway, MetroStation, CottageComplex } from '../../types';
2
+ import { Address, AddressBTIParams, AddressMetroDistance, Complex, ComplexHousing, CottageComplex, ExternalLink, Highway, Image, MetroStation, PriceHistory, Realty, RealtyHouseHighwayDistance, RealtyImage, RealtyMetroDistance, RealtyType } from '../../types';
3
3
  declare type RealtyMeta = {
4
4
  createdAt: string;
5
5
  isPresentationReady: boolean;
@@ -8,7 +8,7 @@ declare type SuccessData = {
8
8
  data: Array<Realty & {
9
9
  meta: RealtyMeta;
10
10
  }>;
11
- included?: Array<Address | AddressBTIParams | Complex | ComplexHousing | ExternalLink | Image | RealtyHouseHighwayDistance | RealtyImage | RealtyMetroDistance | PriceHistory | Highway | MetroStation | CottageComplex>;
11
+ included?: Array<Address | AddressBTIParams | AddressMetroDistance | Complex | ComplexHousing | CottageComplex | ExternalLink | Highway | Image | MetroStation | PriceHistory | RealtyHouseHighwayDistance | RealtyImage | RealtyMetroDistance>;
12
12
  meta: {
13
13
  page: {
14
14
  offset: number;
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse, AxiosError } from 'axios';
2
- import { Realty, Address, AddressBTIParams, Complex, ComplexHousing, RealtyImage, Image, RealtyHouseHighwayDistance, RealtyMetroDistance, ExternalLink, PriceHistory, Highway, MetroStation, CottageComplex } from '../../types';
2
+ import { Address, AddressBTIParams, AddressMetroDistance, Complex, ComplexHousing, CottageComplex, ExternalLink, Highway, Image, MetroStation, PriceHistory, Realty, RealtyHouseHighwayDistance, RealtyImage, RealtyMetroDistance } from '../../types';
3
3
  export declare enum FindRealtyByIdDataMetaRealtyAccess {
4
4
  Curator = "curator",
5
5
  CuratorMentor = "curator_mentor",
@@ -25,7 +25,7 @@ declare type SuccessData = {
25
25
  serviceRequestId?: number;
26
26
  };
27
27
  };
28
- included?: Array<Address | AddressBTIParams | Complex | ComplexHousing | ExternalLink | Image | RealtyHouseHighwayDistance | RealtyImage | RealtyMetroDistance | PriceHistory | Highway | MetroStation | CottageComplex>;
28
+ included?: Array<Address | AddressBTIParams | AddressMetroDistance | Complex | ComplexHousing | CottageComplex | ExternalLink | Highway | Image | MetroStation | PriceHistory | RealtyHouseHighwayDistance | RealtyImage | RealtyMetroDistance>;
29
29
  errors: never;
30
30
  };
31
31
  declare type ErrorData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapl/api-queries",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "author": "Homeapp",
5
5
  "license": "MIT",
6
6
  "module": "dist/api-queries.esm.js",
@@ -1,21 +1,22 @@
1
1
  import axios, { AxiosResponse, AxiosError, AxiosResponseTransformer } from 'axios';
2
2
  import qs from 'qs';
3
3
  import {
4
- Realty,
5
4
  Address,
6
5
  AddressBTIParams,
6
+ AddressMetroDistance,
7
7
  Complex,
8
8
  ComplexHousing,
9
- RealtyImage,
9
+ CottageComplex,
10
+ ExternalLink,
11
+ Highway,
10
12
  Image,
13
+ MetroStation,
14
+ PriceHistory,
15
+ Realty,
11
16
  RealtyHouseHighwayDistance,
17
+ RealtyImage,
12
18
  RealtyMetroDistance,
13
19
  RealtyType,
14
- ExternalLink,
15
- PriceHistory,
16
- Highway,
17
- MetroStation,
18
- CottageComplex,
19
20
  } from '../../types';
20
21
  import { DEFAULT_BASE_URL } from '../../../constants';
21
22
 
@@ -29,17 +30,18 @@ type SuccessData = {
29
30
  included?: Array<
30
31
  | Address
31
32
  | AddressBTIParams
33
+ | AddressMetroDistance
32
34
  | Complex
33
35
  | ComplexHousing
36
+ | CottageComplex
34
37
  | ExternalLink
38
+ | Highway
35
39
  | Image
40
+ | MetroStation
41
+ | PriceHistory
36
42
  | RealtyHouseHighwayDistance
37
43
  | RealtyImage
38
44
  | RealtyMetroDistance
39
- | PriceHistory
40
- | Highway
41
- | MetroStation
42
- | CottageComplex
43
45
  >;
44
46
  meta: { page: { offset: number; count: number; total: number } };
45
47
  errors: never;
@@ -1,20 +1,21 @@
1
1
  import axios, { AxiosResponse, AxiosError, AxiosResponseTransformer } from 'axios';
2
2
  import qs from 'qs';
3
3
  import {
4
- Realty,
5
4
  Address,
6
5
  AddressBTIParams,
6
+ AddressMetroDistance,
7
7
  Complex,
8
8
  ComplexHousing,
9
- RealtyImage,
10
- Image,
11
- RealtyHouseHighwayDistance,
12
- RealtyMetroDistance,
9
+ CottageComplex,
13
10
  ExternalLink,
14
- PriceHistory,
15
11
  Highway,
12
+ Image,
16
13
  MetroStation,
17
- CottageComplex,
14
+ PriceHistory,
15
+ Realty,
16
+ RealtyHouseHighwayDistance,
17
+ RealtyImage,
18
+ RealtyMetroDistance,
18
19
  } from '../../types';
19
20
  import { DEFAULT_BASE_URL } from '../../../constants';
20
21
 
@@ -41,17 +42,18 @@ type SuccessData = {
41
42
  included?: Array<
42
43
  | Address
43
44
  | AddressBTIParams
45
+ | AddressMetroDistance
44
46
  | Complex
45
47
  | ComplexHousing
48
+ | CottageComplex
46
49
  | ExternalLink
50
+ | Highway
47
51
  | Image
52
+ | MetroStation
53
+ | PriceHistory
48
54
  | RealtyHouseHighwayDistance
49
55
  | RealtyImage
50
56
  | RealtyMetroDistance
51
- | PriceHistory
52
- | Highway
53
- | MetroStation
54
- | CottageComplex
55
57
  >;
56
58
  errors: never;
57
59
  };