htag-sdk 0.7.0 → 0.8.0
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/dist/index.cjs +215 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +469 -3
- package/dist/index.d.ts +469 -3
- package/dist/index.js +214 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -178,6 +178,94 @@ interface StandardisedAddress {
|
|
|
178
178
|
interface BatchStandardiseResponse {
|
|
179
179
|
results: StandardisedAddress[];
|
|
180
180
|
}
|
|
181
|
+
interface GeocodeParams extends RequestOptions {
|
|
182
|
+
/** Free-text address string (3-200 characters). */
|
|
183
|
+
address: string;
|
|
184
|
+
/** Mesh block category 2021 filter. */
|
|
185
|
+
mbCategory2021?: string[];
|
|
186
|
+
/** Maximum number of results (1-50). */
|
|
187
|
+
limit?: number;
|
|
188
|
+
}
|
|
189
|
+
interface GeocodeRecord {
|
|
190
|
+
address_key?: string | null;
|
|
191
|
+
gnaf_property_pid?: string | null;
|
|
192
|
+
legal_parcel_id?: string | null;
|
|
193
|
+
loc_pid?: string | null;
|
|
194
|
+
sa1_code21?: string | null;
|
|
195
|
+
sa2_code21?: string | null;
|
|
196
|
+
lga_pid?: string | null;
|
|
197
|
+
sa4_name21?: string | null;
|
|
198
|
+
gcc_name21?: string | null;
|
|
199
|
+
mb_category?: string | null;
|
|
200
|
+
lat?: number | null;
|
|
201
|
+
lon?: number | null;
|
|
202
|
+
suburb_slug?: string | null;
|
|
203
|
+
address_label?: string | null;
|
|
204
|
+
address_site_name?: string | null;
|
|
205
|
+
building_name?: string | null;
|
|
206
|
+
flat_type?: string | null;
|
|
207
|
+
flat_number?: string | null;
|
|
208
|
+
level_type?: string | null;
|
|
209
|
+
level_number?: string | null;
|
|
210
|
+
number_first?: string | null;
|
|
211
|
+
number_last?: string | null;
|
|
212
|
+
lot_number?: string | null;
|
|
213
|
+
street_name?: string | null;
|
|
214
|
+
street_type?: string | null;
|
|
215
|
+
street_suffix?: string | null;
|
|
216
|
+
locality_name?: string | null;
|
|
217
|
+
state?: string | null;
|
|
218
|
+
postcode?: string | null;
|
|
219
|
+
}
|
|
220
|
+
interface GeocodeResponse {
|
|
221
|
+
total: number;
|
|
222
|
+
results: GeocodeRecord[];
|
|
223
|
+
}
|
|
224
|
+
interface EnvironmentParams extends RequestOptions {
|
|
225
|
+
/** Free-text address to look up. */
|
|
226
|
+
address?: string;
|
|
227
|
+
/** One or more GNAF address keys. */
|
|
228
|
+
addressKeys?: string[];
|
|
229
|
+
/** Legal parcel identifier. */
|
|
230
|
+
legalParcelId?: string;
|
|
231
|
+
/** Mesh block category 2021. */
|
|
232
|
+
mbCategory2021?: string[];
|
|
233
|
+
}
|
|
234
|
+
interface EnvironmentRecord {
|
|
235
|
+
address_key?: string | null;
|
|
236
|
+
flood?: boolean | null;
|
|
237
|
+
bushfire?: boolean | null;
|
|
238
|
+
heritage?: boolean | null;
|
|
239
|
+
zoning?: string | null;
|
|
240
|
+
}
|
|
241
|
+
interface EnvironmentResponse {
|
|
242
|
+
total: number;
|
|
243
|
+
results: EnvironmentRecord[];
|
|
244
|
+
}
|
|
245
|
+
interface DemographicsParams extends RequestOptions {
|
|
246
|
+
/** Free-text address to look up. */
|
|
247
|
+
address?: string;
|
|
248
|
+
/** One or more GNAF address keys. */
|
|
249
|
+
addressKeys?: string[];
|
|
250
|
+
/** Legal parcel identifier. */
|
|
251
|
+
legalParcelId?: string;
|
|
252
|
+
/** Mesh block category 2021. */
|
|
253
|
+
mbCategory2021?: string[];
|
|
254
|
+
}
|
|
255
|
+
interface DemographicsRecord {
|
|
256
|
+
address_key?: string | null;
|
|
257
|
+
IRSD?: number | null;
|
|
258
|
+
IRSAD?: number | null;
|
|
259
|
+
IER?: number | null;
|
|
260
|
+
IEO?: number | null;
|
|
261
|
+
public_housing?: number | null;
|
|
262
|
+
private_rentals?: number | null;
|
|
263
|
+
}
|
|
264
|
+
interface DemographicsResponse {
|
|
265
|
+
total: number;
|
|
266
|
+
results: DemographicsRecord[];
|
|
267
|
+
attribution?: string | null;
|
|
268
|
+
}
|
|
181
269
|
|
|
182
270
|
/**
|
|
183
271
|
* Client for the Address API domain.
|
|
@@ -208,6 +296,24 @@ declare class AddressClient {
|
|
|
208
296
|
* `POST /v1/address/standardise`
|
|
209
297
|
*/
|
|
210
298
|
standardise(params: BatchStandardiseParams): Promise<BatchStandardiseResponse>;
|
|
299
|
+
/**
|
|
300
|
+
* Geocode an address string to structured location data.
|
|
301
|
+
*
|
|
302
|
+
* `GET /v1/address/geocode`
|
|
303
|
+
*/
|
|
304
|
+
geocode(params: GeocodeParams): Promise<GeocodeResponse>;
|
|
305
|
+
/**
|
|
306
|
+
* Retrieve environmental data (flood, bushfire, heritage, zoning) for addresses.
|
|
307
|
+
*
|
|
308
|
+
* `GET /v1/address/environment`
|
|
309
|
+
*/
|
|
310
|
+
environment(params: EnvironmentParams): Promise<EnvironmentResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* Retrieve demographic data (SEIFA indices, housing tenure) for addresses.
|
|
313
|
+
*
|
|
314
|
+
* `GET /v1/address/demographics`
|
|
315
|
+
*/
|
|
316
|
+
demographics(params: DemographicsParams): Promise<DemographicsResponse>;
|
|
211
317
|
}
|
|
212
318
|
|
|
213
319
|
interface SoldPropertyRecord {
|
|
@@ -407,8 +513,6 @@ interface RentHistoryOut {
|
|
|
407
513
|
bedrooms?: number | null;
|
|
408
514
|
median_rent: number | null;
|
|
409
515
|
rentals: number | null;
|
|
410
|
-
confidence_low: number | null;
|
|
411
|
-
confidence_high: number | null;
|
|
412
516
|
}
|
|
413
517
|
interface YieldHistoryOut {
|
|
414
518
|
area_id: string;
|
|
@@ -526,6 +630,221 @@ type HoldPeriodResponse = BaseResponse<FSDYearlyOut>;
|
|
|
526
630
|
type PerformanceResponse = BaseResponse<EssentialsOut>;
|
|
527
631
|
type GrowthRatesResponse = BaseResponse<GRCOut>;
|
|
528
632
|
type DemandProfileResponse = BaseResponse<DemandProfileOut>;
|
|
633
|
+
interface MarketSnapshotParams extends RequestOptions {
|
|
634
|
+
level: LevelEnum;
|
|
635
|
+
areaId: string[];
|
|
636
|
+
propertyType?: PropertyTypeEnum[];
|
|
637
|
+
limit?: number;
|
|
638
|
+
offset?: number;
|
|
639
|
+
}
|
|
640
|
+
interface MarketGrowthCumulativeRecord {
|
|
641
|
+
area_id?: string | null;
|
|
642
|
+
period_end?: string | null;
|
|
643
|
+
property_type?: string | null;
|
|
644
|
+
price_1m_growth?: number | null;
|
|
645
|
+
price_1q_growth?: number | null;
|
|
646
|
+
price_6m_growth?: number | null;
|
|
647
|
+
price_1y_growth?: number | null;
|
|
648
|
+
price_3y_growth?: number | null;
|
|
649
|
+
price_5y_growth?: number | null;
|
|
650
|
+
price_10y_growth?: number | null;
|
|
651
|
+
rent_1m_growth?: number | null;
|
|
652
|
+
rent_1q_growth?: number | null;
|
|
653
|
+
rent_6m_growth?: number | null;
|
|
654
|
+
rent_1y_growth?: number | null;
|
|
655
|
+
rent_3y_growth?: number | null;
|
|
656
|
+
rent_5y_growth?: number | null;
|
|
657
|
+
rent_10y_growth?: number | null;
|
|
658
|
+
yield_1m_growth?: number | null;
|
|
659
|
+
yield_1q_growth?: number | null;
|
|
660
|
+
yield_6m_growth?: number | null;
|
|
661
|
+
yield_1y_growth?: number | null;
|
|
662
|
+
yield_3y_growth?: number | null;
|
|
663
|
+
yield_5y_growth?: number | null;
|
|
664
|
+
yield_10y_growth?: number | null;
|
|
665
|
+
}
|
|
666
|
+
interface MarketGrowthAnnualisedRecord {
|
|
667
|
+
area_id?: string | null;
|
|
668
|
+
period_end?: string | null;
|
|
669
|
+
property_type?: string | null;
|
|
670
|
+
price_1y_growth_annualised?: number | null;
|
|
671
|
+
price_3y_growth_annualised?: number | null;
|
|
672
|
+
price_5y_growth_annualised?: number | null;
|
|
673
|
+
price_10y_growth_annualised?: number | null;
|
|
674
|
+
rent_1m_growth_annualised?: number | null;
|
|
675
|
+
rent_1q_growth_annualised?: number | null;
|
|
676
|
+
rent_6m_growth_annualised?: number | null;
|
|
677
|
+
rent_1y_growth_annualised?: number | null;
|
|
678
|
+
rent_3y_growth_annualised?: number | null;
|
|
679
|
+
rent_5y_growth_annualised?: number | null;
|
|
680
|
+
rent_10y_growth_annualised?: number | null;
|
|
681
|
+
yield_1y_growth_annualised?: number | null;
|
|
682
|
+
yield_3y_growth_annualised?: number | null;
|
|
683
|
+
yield_5y_growth_annualised?: number | null;
|
|
684
|
+
yield_10y_growth_annualised?: number | null;
|
|
685
|
+
}
|
|
686
|
+
interface MarketSupplyRecord {
|
|
687
|
+
area_id?: string | null;
|
|
688
|
+
period_end?: string | null;
|
|
689
|
+
property_type?: string | null;
|
|
690
|
+
som_percent?: number | null;
|
|
691
|
+
inventory?: number | null;
|
|
692
|
+
building_approvals_estimated?: number | null;
|
|
693
|
+
ba_ratio?: number | null;
|
|
694
|
+
hold_period?: number | null;
|
|
695
|
+
}
|
|
696
|
+
interface MarketSupplyLongSlopeRecord {
|
|
697
|
+
area_id?: string | null;
|
|
698
|
+
period_end?: string | null;
|
|
699
|
+
property_type?: string | null;
|
|
700
|
+
ls_som_perc?: number | null;
|
|
701
|
+
ls_inventory?: number | null;
|
|
702
|
+
ls_hold_period?: number | null;
|
|
703
|
+
}
|
|
704
|
+
interface MarketSupplyShortSlopeRecord {
|
|
705
|
+
area_id?: string | null;
|
|
706
|
+
period_end?: string | null;
|
|
707
|
+
property_type?: string | null;
|
|
708
|
+
ss_som_perc?: number | null;
|
|
709
|
+
ss_inventory?: number | null;
|
|
710
|
+
ss_hold_period?: number | null;
|
|
711
|
+
}
|
|
712
|
+
interface MarketDemandRecord {
|
|
713
|
+
area_id?: string | null;
|
|
714
|
+
period_end?: string | null;
|
|
715
|
+
property_type?: string | null;
|
|
716
|
+
dom?: number | null;
|
|
717
|
+
discounting?: number | null;
|
|
718
|
+
vacancy_rate?: number | null;
|
|
719
|
+
vacancies?: number | null;
|
|
720
|
+
dorm?: number | null;
|
|
721
|
+
clearance_rate?: number | null;
|
|
722
|
+
auctions?: number | null;
|
|
723
|
+
buy_si?: number | null;
|
|
724
|
+
rent_si?: number | null;
|
|
725
|
+
}
|
|
726
|
+
interface MarketDemandLongSlopeRecord {
|
|
727
|
+
area_id?: string | null;
|
|
728
|
+
period_end?: string | null;
|
|
729
|
+
property_type?: string | null;
|
|
730
|
+
ls_dom?: number | null;
|
|
731
|
+
ls_discounting?: number | null;
|
|
732
|
+
ls_vacancy_rate?: number | null;
|
|
733
|
+
ls_clearance_rate?: number | null;
|
|
734
|
+
ls_buy_si?: number | null;
|
|
735
|
+
ls_rent_si?: number | null;
|
|
736
|
+
}
|
|
737
|
+
interface MarketDemandShortSlopeRecord {
|
|
738
|
+
area_id?: string | null;
|
|
739
|
+
period_end?: string | null;
|
|
740
|
+
property_type?: string | null;
|
|
741
|
+
ss_dom?: number | null;
|
|
742
|
+
ss_discounting?: number | null;
|
|
743
|
+
ss_vacancy_rate?: number | null;
|
|
744
|
+
ss_clearance_rate?: number | null;
|
|
745
|
+
ss_buy_si?: number | null;
|
|
746
|
+
ss_rent_si?: number | null;
|
|
747
|
+
}
|
|
748
|
+
interface MarketScoresRecord {
|
|
749
|
+
area_id?: string | null;
|
|
750
|
+
period_end?: string | null;
|
|
751
|
+
property_type?: string | null;
|
|
752
|
+
rcs_lower_risk?: number | null;
|
|
753
|
+
rcs_cashflow?: number | null;
|
|
754
|
+
rcs_capital_growth?: number | null;
|
|
755
|
+
rcs_overall?: number | null;
|
|
756
|
+
hapi_score?: number | null;
|
|
757
|
+
volatility_index?: number | null;
|
|
758
|
+
}
|
|
759
|
+
interface MarketFundamentalsRecord {
|
|
760
|
+
area_id?: string | null;
|
|
761
|
+
period_end?: string | null;
|
|
762
|
+
property_type?: string | null;
|
|
763
|
+
irsad?: number | null;
|
|
764
|
+
ro_ratio?: number | null;
|
|
765
|
+
uh_ratio?: number | null;
|
|
766
|
+
uhv_ratio?: number | null;
|
|
767
|
+
years_to_own?: number | null;
|
|
768
|
+
}
|
|
769
|
+
interface MarketCycleRecord {
|
|
770
|
+
area_id?: string | null;
|
|
771
|
+
period_end?: string | null;
|
|
772
|
+
property_type?: string | null;
|
|
773
|
+
growth_rate_cycle?: string | null;
|
|
774
|
+
grc_price_index?: number | null;
|
|
775
|
+
min_grc?: number | null;
|
|
776
|
+
gpd_3?: number | null;
|
|
777
|
+
gpd_5?: number | null;
|
|
778
|
+
gpd_10?: number | null;
|
|
779
|
+
gsp_3?: number | null;
|
|
780
|
+
gsp_5?: number | null;
|
|
781
|
+
gsp_10?: number | null;
|
|
782
|
+
projected_annual_capital_growth_low?: number | null;
|
|
783
|
+
projected_annual_capital_growth_high?: number | null;
|
|
784
|
+
projected_annual_rent_increase?: number | null;
|
|
785
|
+
projected_annual_roi_low?: number | null;
|
|
786
|
+
projected_annual_roi_high?: number | null;
|
|
787
|
+
}
|
|
788
|
+
interface MarketRiskRecord {
|
|
789
|
+
area_id?: string | null;
|
|
790
|
+
period_end?: string | null;
|
|
791
|
+
property_type?: string | null;
|
|
792
|
+
hrp_flood?: number | null;
|
|
793
|
+
hrp_fire?: number | null;
|
|
794
|
+
ediv_ind?: number | null;
|
|
795
|
+
madi?: number | null;
|
|
796
|
+
gpo_dist?: number | null;
|
|
797
|
+
}
|
|
798
|
+
type GrowthCumulativeResponse = BaseResponse<MarketGrowthCumulativeRecord>;
|
|
799
|
+
type GrowthAnnualisedResponse = BaseResponse<MarketGrowthAnnualisedRecord>;
|
|
800
|
+
type MarketSupplyResponse = BaseResponse<MarketSupplyRecord>;
|
|
801
|
+
type SupplyLongSlopeResponse = BaseResponse<MarketSupplyLongSlopeRecord>;
|
|
802
|
+
type SupplyShortSlopeResponse = BaseResponse<MarketSupplyShortSlopeRecord>;
|
|
803
|
+
type MarketDemandResponse = BaseResponse<MarketDemandRecord>;
|
|
804
|
+
type DemandLongSlopeResponse = BaseResponse<MarketDemandLongSlopeRecord>;
|
|
805
|
+
type DemandShortSlopeResponse = BaseResponse<MarketDemandShortSlopeRecord>;
|
|
806
|
+
type MarketScoresResponse = BaseResponse<MarketScoresRecord>;
|
|
807
|
+
type MarketFundamentalsResponse = BaseResponse<MarketFundamentalsRecord>;
|
|
808
|
+
type MarketCycleResponse = BaseResponse<MarketCycleRecord>;
|
|
809
|
+
type MarketRiskResponse = BaseResponse<MarketRiskRecord>;
|
|
810
|
+
interface StockOnMarketTrendRecord {
|
|
811
|
+
area_id: string;
|
|
812
|
+
period_end: string;
|
|
813
|
+
property_type: string;
|
|
814
|
+
som: number | null;
|
|
815
|
+
som_percent: number | null;
|
|
816
|
+
}
|
|
817
|
+
interface InventoryTrendRecord {
|
|
818
|
+
area_id: string;
|
|
819
|
+
period_end: string;
|
|
820
|
+
property_type: string;
|
|
821
|
+
inventory: number | null;
|
|
822
|
+
}
|
|
823
|
+
interface DaysOnMarketTrendRecord {
|
|
824
|
+
area_id: string;
|
|
825
|
+
period_end: string;
|
|
826
|
+
property_type: string;
|
|
827
|
+
dom: number | null;
|
|
828
|
+
discounting: number | null;
|
|
829
|
+
}
|
|
830
|
+
interface ClearanceRateTrendRecord {
|
|
831
|
+
area_id: string;
|
|
832
|
+
period_end: string;
|
|
833
|
+
property_type: string;
|
|
834
|
+
clearance_rate: number | null;
|
|
835
|
+
scheduled: number | null;
|
|
836
|
+
}
|
|
837
|
+
interface VacancyTrendRecord {
|
|
838
|
+
area_id: string;
|
|
839
|
+
period_end: string;
|
|
840
|
+
property_type: string;
|
|
841
|
+
vacancy_rate: number | null;
|
|
842
|
+
}
|
|
843
|
+
type StockOnMarketResponse = BaseResponse<StockOnMarketTrendRecord>;
|
|
844
|
+
type InventoryTrendResponse = BaseResponse<InventoryTrendRecord>;
|
|
845
|
+
type DaysOnMarketResponse = BaseResponse<DaysOnMarketTrendRecord>;
|
|
846
|
+
type ClearanceRateResponse = BaseResponse<ClearanceRateTrendRecord>;
|
|
847
|
+
type VacancyResponse = BaseResponse<VacancyTrendRecord>;
|
|
529
848
|
|
|
530
849
|
/**
|
|
531
850
|
* Client for the Markets Trends API domain.
|
|
@@ -598,6 +917,36 @@ declare class TrendsClient {
|
|
|
598
917
|
* `GET /v1/markets/trends/demand-profile`
|
|
599
918
|
*/
|
|
600
919
|
demandProfile(params: TrendsParams): Promise<DemandProfileResponse>;
|
|
920
|
+
/**
|
|
921
|
+
* Stock on market trends.
|
|
922
|
+
*
|
|
923
|
+
* `GET /v1/markets/trends/stock-on-market`
|
|
924
|
+
*/
|
|
925
|
+
stockOnMarket(params: TrendsParams): Promise<StockOnMarketResponse>;
|
|
926
|
+
/**
|
|
927
|
+
* Inventory trends.
|
|
928
|
+
*
|
|
929
|
+
* `GET /v1/markets/trends/inventory`
|
|
930
|
+
*/
|
|
931
|
+
inventory(params: TrendsParams): Promise<InventoryTrendResponse>;
|
|
932
|
+
/**
|
|
933
|
+
* Days on market trends.
|
|
934
|
+
*
|
|
935
|
+
* `GET /v1/markets/trends/days-on-market`
|
|
936
|
+
*/
|
|
937
|
+
daysOnMarket(params: TrendsParams): Promise<DaysOnMarketResponse>;
|
|
938
|
+
/**
|
|
939
|
+
* Clearance rate trends.
|
|
940
|
+
*
|
|
941
|
+
* `GET /v1/markets/trends/clearance-rate`
|
|
942
|
+
*/
|
|
943
|
+
clearanceRate(params: TrendsParams): Promise<ClearanceRateResponse>;
|
|
944
|
+
/**
|
|
945
|
+
* Vacancy rate trends.
|
|
946
|
+
*
|
|
947
|
+
* `GET /v1/markets/trends/vacancy`
|
|
948
|
+
*/
|
|
949
|
+
vacancy(params: TrendsParams): Promise<VacancyResponse>;
|
|
601
950
|
private trend;
|
|
602
951
|
private publicTrend;
|
|
603
952
|
}
|
|
@@ -635,6 +984,78 @@ declare class MarketsClient {
|
|
|
635
984
|
* `POST /internal-api/v1/markets/query`
|
|
636
985
|
*/
|
|
637
986
|
query(body: AdvancedSearchBody, options?: RequestOptions): Promise<MarketQueryResponse>;
|
|
987
|
+
/**
|
|
988
|
+
* Cumulative growth metrics.
|
|
989
|
+
*
|
|
990
|
+
* `GET /v1/markets/growth/cumulative`
|
|
991
|
+
*/
|
|
992
|
+
growthCumulative(params: MarketSnapshotParams): Promise<GrowthCumulativeResponse>;
|
|
993
|
+
/**
|
|
994
|
+
* Annualised growth metrics.
|
|
995
|
+
*
|
|
996
|
+
* `GET /v1/markets/growth/annualised`
|
|
997
|
+
*/
|
|
998
|
+
growthAnnualised(params: MarketSnapshotParams): Promise<GrowthAnnualisedResponse>;
|
|
999
|
+
/**
|
|
1000
|
+
* Supply metrics.
|
|
1001
|
+
*
|
|
1002
|
+
* `GET /v1/markets/supply`
|
|
1003
|
+
*/
|
|
1004
|
+
supply(params: MarketSnapshotParams): Promise<MarketSupplyResponse>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Supply long-term slope metrics.
|
|
1007
|
+
*
|
|
1008
|
+
* `GET /v1/markets/supply/ls`
|
|
1009
|
+
*/
|
|
1010
|
+
supplyLongSlope(params: MarketSnapshotParams): Promise<SupplyLongSlopeResponse>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Supply short-term slope metrics.
|
|
1013
|
+
*
|
|
1014
|
+
* `GET /v1/markets/supply/ss`
|
|
1015
|
+
*/
|
|
1016
|
+
supplyShortSlope(params: MarketSnapshotParams): Promise<SupplyShortSlopeResponse>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Demand metrics.
|
|
1019
|
+
*
|
|
1020
|
+
* `GET /v1/markets/demand`
|
|
1021
|
+
*/
|
|
1022
|
+
demand(params: MarketSnapshotParams): Promise<MarketDemandResponse>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Demand long-term slope metrics.
|
|
1025
|
+
*
|
|
1026
|
+
* `GET /v1/markets/demand/ls`
|
|
1027
|
+
*/
|
|
1028
|
+
demandLongSlope(params: MarketSnapshotParams): Promise<DemandLongSlopeResponse>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Demand short-term slope metrics.
|
|
1031
|
+
*
|
|
1032
|
+
* `GET /v1/markets/demand/ss`
|
|
1033
|
+
*/
|
|
1034
|
+
demandShortSlope(params: MarketSnapshotParams): Promise<DemandShortSlopeResponse>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Market scores (RCS, HAPI, volatility).
|
|
1037
|
+
*
|
|
1038
|
+
* `GET /v1/markets/scores`
|
|
1039
|
+
*/
|
|
1040
|
+
scores(params: MarketSnapshotParams): Promise<MarketScoresResponse>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Market fundamentals (IRSAD, ratios, years to own).
|
|
1043
|
+
*
|
|
1044
|
+
* `GET /v1/markets/fundamentals`
|
|
1045
|
+
*/
|
|
1046
|
+
fundamentals(params: MarketSnapshotParams): Promise<MarketFundamentalsResponse>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Market cycle indicators.
|
|
1049
|
+
*
|
|
1050
|
+
* `GET /v1/markets/cycle`
|
|
1051
|
+
*/
|
|
1052
|
+
cycle(params: MarketSnapshotParams): Promise<MarketCycleResponse>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Market risk indicators (flood, fire, diversity, distance).
|
|
1055
|
+
*
|
|
1056
|
+
* `GET /v1/markets/risk`
|
|
1057
|
+
*/
|
|
1058
|
+
risk(params: MarketSnapshotParams): Promise<MarketRiskResponse>;
|
|
638
1059
|
}
|
|
639
1060
|
|
|
640
1061
|
type SourceType = 'AGENT' | 'PLATFORM' | 'PARTNER' | 'INTERNAL';
|
|
@@ -884,6 +1305,49 @@ declare class IntentHubClient {
|
|
|
884
1305
|
listTags(options?: RequestOptions): Promise<TagInfo[]>;
|
|
885
1306
|
}
|
|
886
1307
|
|
|
1308
|
+
interface LocalityParams extends RequestOptions {
|
|
1309
|
+
locPid?: string;
|
|
1310
|
+
stateName?: string;
|
|
1311
|
+
lgaPid?: string;
|
|
1312
|
+
limit?: number;
|
|
1313
|
+
offset?: number;
|
|
1314
|
+
}
|
|
1315
|
+
interface LocalityRecord {
|
|
1316
|
+
loc_pid?: string | null;
|
|
1317
|
+
locality?: string | null;
|
|
1318
|
+
postcode?: string | null;
|
|
1319
|
+
state_name?: string | null;
|
|
1320
|
+
suburb_key?: string | null;
|
|
1321
|
+
lga_pid_ref?: string | null;
|
|
1322
|
+
}
|
|
1323
|
+
interface LocalityResponse {
|
|
1324
|
+
total: number;
|
|
1325
|
+
results: LocalityRecord[];
|
|
1326
|
+
}
|
|
1327
|
+
interface LgaParams extends RequestOptions {
|
|
1328
|
+
stateName?: string;
|
|
1329
|
+
lgaPid?: string;
|
|
1330
|
+
limit?: number;
|
|
1331
|
+
offset?: number;
|
|
1332
|
+
}
|
|
1333
|
+
interface LgaRecord {
|
|
1334
|
+
lga_pid?: string | null;
|
|
1335
|
+
lga_name?: string | null;
|
|
1336
|
+
state_name?: string | null;
|
|
1337
|
+
lga_key?: string | null;
|
|
1338
|
+
}
|
|
1339
|
+
interface LgaResponse {
|
|
1340
|
+
total: number;
|
|
1341
|
+
results: LgaRecord[];
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
declare class ReferenceClient {
|
|
1345
|
+
private readonly http;
|
|
1346
|
+
constructor(http: HttpClient);
|
|
1347
|
+
locality(params: LocalityParams): Promise<LocalityResponse>;
|
|
1348
|
+
lga(params: LgaParams): Promise<LgaResponse>;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
887
1351
|
/**
|
|
888
1352
|
* Top-level client for the HtAG Location Intelligence APIs.
|
|
889
1353
|
*
|
|
@@ -907,6 +1371,8 @@ declare class HtAgApiClient {
|
|
|
907
1371
|
readonly markets: MarketsClient;
|
|
908
1372
|
/** Intent Hub: event classification, integrations and subscriptions. */
|
|
909
1373
|
readonly intentHub: IntentHubClient;
|
|
1374
|
+
/** Reference data: localities and LGAs. */
|
|
1375
|
+
readonly reference: ReferenceClient;
|
|
910
1376
|
constructor(options: HtAgClientOptions);
|
|
911
1377
|
}
|
|
912
1378
|
|
|
@@ -967,4 +1433,4 @@ declare class ServerError extends HtAgError {
|
|
|
967
1433
|
});
|
|
968
1434
|
}
|
|
969
1435
|
|
|
970
|
-
export { AddressClient, type AddressInsightsParams, type AddressInsightsResponse, type AddressRecord, type AddressSearchParams, type AddressSearchResponse, type AddressSearchResult, type AdvancedSearchBody, AuthenticationError, type BaseResponse, type BatchStandardiseParams, type BatchStandardiseResponse, type ClassifiedEvent, type CreateIntegrationParams, type CreateSubscriptionParams, type DemandProfileOut, type DemandProfileResponse, type EssentialsOut, type EventCategory, type EventType, type FSDMonthlyOut, type FSDQuarterlyOut, type FSDYearlyOut, type GRCOut, type GrowthRatesResponse, type HoldPeriodResponse, HtAgApiClient, type HtAgClientOptions, HtAgError, type Integration, type IntegrationStatus, type IntegrationType, IntentHubClient, type LevelEnum, type LogicNode, type MarketQueryParams, type MarketQueryResponse, type MarketSnapshot, MarketsClient, type PaginatedEvents, type PerformanceResponse, type PriceHistoryOut, type PriceResponse, PropertyClient, type PropertyTypeEnum, type QueryEventsParams, RateLimitError, type RentHistoryOut, type RentResponse, type RequestOptions, type ResolvedConfig, type SearchIndexResponse, type Sentiment, ServerError, type SnapshotsParams, type SnapshotsResponse, type SoldPropertiesResponse, type SoldPropertyRecord, type SoldSearchParams, type SourceType, type StandardisedAddress, type SubmitEventParams, type Subscription, type SupplyDemandResponse, type TagInfo, type TestResult, TrendsClient, type TrendsParams, type TrendsWithBedroomsParams, type UpdateIntegrationParams, type UpdateSubscriptionParams, type Urgency, ValidationError, type YieldHistoryOut, type YieldResponse };
|
|
1436
|
+
export { AddressClient, type AddressInsightsParams, type AddressInsightsResponse, type AddressRecord, type AddressSearchParams, type AddressSearchResponse, type AddressSearchResult, type AdvancedSearchBody, AuthenticationError, type BaseResponse, type BatchStandardiseParams, type BatchStandardiseResponse, type ClassifiedEvent, type ClearanceRateResponse, type ClearanceRateTrendRecord, type CreateIntegrationParams, type CreateSubscriptionParams, type DaysOnMarketResponse, type DaysOnMarketTrendRecord, type DemandLongSlopeResponse, type DemandProfileOut, type DemandProfileResponse, type DemandShortSlopeResponse, type DemographicsParams, type DemographicsRecord, type DemographicsResponse, type EnvironmentParams, type EnvironmentRecord, type EnvironmentResponse, type EssentialsOut, type EventCategory, type EventType, type FSDMonthlyOut, type FSDQuarterlyOut, type FSDYearlyOut, type GRCOut, type GeocodeParams, type GeocodeRecord, type GeocodeResponse, type GrowthAnnualisedResponse, type GrowthCumulativeResponse, type GrowthRatesResponse, type HoldPeriodResponse, HtAgApiClient, type HtAgClientOptions, HtAgError, type Integration, type IntegrationStatus, type IntegrationType, IntentHubClient, type InventoryTrendRecord, type InventoryTrendResponse, type LevelEnum, type LgaParams, type LgaRecord, type LgaResponse, type LocalityParams, type LocalityRecord, type LocalityResponse, type LogicNode, type MarketCycleRecord, type MarketCycleResponse, type MarketDemandLongSlopeRecord, type MarketDemandRecord, type MarketDemandResponse, type MarketDemandShortSlopeRecord, type MarketFundamentalsRecord, type MarketFundamentalsResponse, type MarketGrowthAnnualisedRecord, type MarketGrowthCumulativeRecord, type MarketQueryParams, type MarketQueryResponse, type MarketRiskRecord, type MarketRiskResponse, type MarketScoresRecord, type MarketScoresResponse, type MarketSnapshot, type MarketSnapshotParams, type MarketSupplyLongSlopeRecord, type MarketSupplyRecord, type MarketSupplyResponse, type MarketSupplyShortSlopeRecord, MarketsClient, type PaginatedEvents, type PerformanceResponse, type PriceHistoryOut, type PriceResponse, PropertyClient, type PropertyTypeEnum, type QueryEventsParams, RateLimitError, ReferenceClient, type RentHistoryOut, type RentResponse, type RequestOptions, type ResolvedConfig, type SearchIndexResponse, type Sentiment, ServerError, type SnapshotsParams, type SnapshotsResponse, type SoldPropertiesResponse, type SoldPropertyRecord, type SoldSearchParams, type SourceType, type StandardisedAddress, type StockOnMarketResponse, type StockOnMarketTrendRecord, type SubmitEventParams, type Subscription, type SupplyDemandResponse, type SupplyLongSlopeResponse, type SupplyShortSlopeResponse, type TagInfo, type TestResult, TrendsClient, type TrendsParams, type TrendsWithBedroomsParams, type UpdateIntegrationParams, type UpdateSubscriptionParams, type Urgency, type VacancyResponse, type VacancyTrendRecord, ValidationError, type YieldHistoryOut, type YieldResponse };
|