@sweepbright/api-client 0.31.6 → 0.31.7

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.
Files changed (58) hide show
  1. package/dist/common/currencies.d.ts +50 -0
  2. package/dist/common/currencies.js +55 -0
  3. package/dist/common/currencies.js.map +1 -0
  4. package/dist/common/types.d.ts +1 -0
  5. package/dist/common/types.js +3 -0
  6. package/dist/common/types.js.map +1 -0
  7. package/dist/entities/negotiator.d.ts +11 -0
  8. package/dist/entities/negotiator.js +3 -0
  9. package/dist/entities/negotiator.js.map +1 -0
  10. package/dist/entities/office.d.ts +16 -0
  11. package/dist/entities/office.js +9 -0
  12. package/dist/entities/office.js.map +1 -0
  13. package/dist/entities/property.d.ts +516 -0
  14. package/dist/entities/property.js +220 -0
  15. package/dist/entities/property.js.map +1 -0
  16. package/dist/index.d.ts +25 -0
  17. package/dist/index.js +94 -0
  18. package/dist/index.js.map +1 -0
  19. package/dist/resources/channel_accounts.d.ts +15 -0
  20. package/dist/resources/channel_accounts.js +31 -0
  21. package/dist/resources/channel_accounts.js.map +1 -0
  22. package/dist/resources/channels.d.ts +16 -0
  23. package/dist/resources/channels.js +32 -0
  24. package/dist/resources/channels.js.map +1 -0
  25. package/dist/resources/companies.d.ts +7 -0
  26. package/dist/resources/companies.js +16 -0
  27. package/dist/resources/companies.js.map +1 -0
  28. package/dist/resources/contact_preferences.d.ts +6 -0
  29. package/dist/resources/contact_preferences.js +14 -0
  30. package/dist/resources/contact_preferences.js.map +1 -0
  31. package/dist/resources/contacts.d.ts +14 -0
  32. package/dist/resources/contacts.js +29 -0
  33. package/dist/resources/contacts.js.map +1 -0
  34. package/dist/resources/estates.d.ts +43 -0
  35. package/dist/resources/estates.js +73 -0
  36. package/dist/resources/estates.js.map +1 -0
  37. package/dist/resources/leads.d.ts +39 -0
  38. package/dist/resources/leads.js +26 -0
  39. package/dist/resources/leads.js.map +1 -0
  40. package/dist/resources/negotiators.d.ts +9 -0
  41. package/dist/resources/negotiators.js +16 -0
  42. package/dist/resources/negotiators.js.map +1 -0
  43. package/dist/resources/offices.d.ts +8 -0
  44. package/dist/resources/offices.js +19 -0
  45. package/dist/resources/offices.js.map +1 -0
  46. package/dist/schemas/currenciesSchema.d.ts +3 -0
  47. package/dist/schemas/currenciesSchema.js +8 -0
  48. package/dist/schemas/currenciesSchema.js.map +1 -0
  49. package/dist/schemas/officeSchema.d.ts +7459 -0
  50. package/dist/schemas/officeSchema.js +214 -0
  51. package/dist/schemas/officeSchema.js.map +1 -0
  52. package/dist/types.d.ts +75 -0
  53. package/dist/types.js +40 -0
  54. package/dist/types.js.map +1 -0
  55. package/dist/utils.d.ts +7 -0
  56. package/dist/utils.js +28 -0
  57. package/dist/utils.js.map +1 -0
  58. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ export declare enum Currency {
2
+ EUR = "EUR",
3
+ AUD = "AUD",
4
+ USD = "USD",
5
+ AFN = "AFN",
6
+ GBP = "GBP",
7
+ XPF = "XPF",
8
+ MXN = "MXN",
9
+ PHP = "PHP",
10
+ CAD = "CAD",
11
+ RON = "RON",
12
+ BRL = "BRL",
13
+ UYU = "UYU",
14
+ HRK = "HRK",
15
+ GEL = "GEL",
16
+ RSD = "RSD",
17
+ ILS = "ILS",
18
+ ARS = "ARS",
19
+ NZD = "NZD",
20
+ ZAR = "ZAR",
21
+ INR = "INR",
22
+ DZD = "DZD",
23
+ LKR = "LKR",
24
+ CLP = "CLP",
25
+ ALL = "ALL",
26
+ RUB = "RUB",
27
+ TRY = "TRY",
28
+ UAH = "UAH",
29
+ MUR = "MUR",
30
+ COP = "COP",
31
+ AED = "AED",
32
+ MZN = "MZN",
33
+ EGP = "EGP",
34
+ AOA = "AOA",
35
+ XOF = "XOF",
36
+ CNY = "CNY",
37
+ XCD = "XCD",
38
+ VND = "VND",
39
+ JPY = "JPY",
40
+ MAD = "MAD",
41
+ CHF = "CHF",
42
+ IRR = "IRR",
43
+ KHR = "KHR",
44
+ XAF = "XAF",
45
+ AMD = "AMD",
46
+ ETB = "ETB",
47
+ SGD = "SGD",
48
+ NGN = "NGN",
49
+ PKP = "PKP"
50
+ }
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Currency = void 0;
4
+ var Currency;
5
+ (function (Currency) {
6
+ Currency["EUR"] = "EUR";
7
+ Currency["AUD"] = "AUD";
8
+ Currency["USD"] = "USD";
9
+ Currency["AFN"] = "AFN";
10
+ Currency["GBP"] = "GBP";
11
+ Currency["XPF"] = "XPF";
12
+ Currency["MXN"] = "MXN";
13
+ Currency["PHP"] = "PHP";
14
+ Currency["CAD"] = "CAD";
15
+ Currency["RON"] = "RON";
16
+ Currency["BRL"] = "BRL";
17
+ Currency["UYU"] = "UYU";
18
+ Currency["HRK"] = "HRK";
19
+ Currency["GEL"] = "GEL";
20
+ Currency["RSD"] = "RSD";
21
+ Currency["ILS"] = "ILS";
22
+ Currency["ARS"] = "ARS";
23
+ Currency["NZD"] = "NZD";
24
+ Currency["ZAR"] = "ZAR";
25
+ Currency["INR"] = "INR";
26
+ Currency["DZD"] = "DZD";
27
+ Currency["LKR"] = "LKR";
28
+ Currency["CLP"] = "CLP";
29
+ Currency["ALL"] = "ALL";
30
+ Currency["RUB"] = "RUB";
31
+ Currency["TRY"] = "TRY";
32
+ Currency["UAH"] = "UAH";
33
+ Currency["MUR"] = "MUR";
34
+ Currency["COP"] = "COP";
35
+ Currency["AED"] = "AED";
36
+ Currency["MZN"] = "MZN";
37
+ Currency["EGP"] = "EGP";
38
+ Currency["AOA"] = "AOA";
39
+ Currency["XOF"] = "XOF";
40
+ Currency["CNY"] = "CNY";
41
+ Currency["XCD"] = "XCD";
42
+ Currency["VND"] = "VND";
43
+ Currency["JPY"] = "JPY";
44
+ Currency["MAD"] = "MAD";
45
+ Currency["CHF"] = "CHF";
46
+ Currency["IRR"] = "IRR";
47
+ Currency["KHR"] = "KHR";
48
+ Currency["XAF"] = "XAF";
49
+ Currency["AMD"] = "AMD";
50
+ Currency["ETB"] = "ETB";
51
+ Currency["SGD"] = "SGD";
52
+ Currency["NGN"] = "NGN";
53
+ Currency["PKP"] = "PKP";
54
+ })(Currency || (exports.Currency = Currency = {}));
55
+ //# sourceMappingURL=currencies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currencies.js","sourceRoot":"","sources":["../../src/common/currencies.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAiDX;AAjDD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EAjDW,QAAQ,wBAAR,QAAQ,QAiDnB"}
@@ -0,0 +1 @@
1
+ export type Maybe<T> = T | null | undefined;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface Negotiator {
2
+ id: string;
3
+ first_name: string;
4
+ last_name: string;
5
+ email: string;
6
+ phone: string;
7
+ picture: string;
8
+ }
9
+ export interface NegotiatorData {
10
+ data: Negotiator;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=negotiator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"negotiator.js","sourceRoot":"","sources":["../../src/entities/negotiator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ import { companyDataSchema, companySchema, officeDataSchema, officeSchema, officeSettingsDataSchema, officeSettingsSchema, planDataSchema, planSchema, settingsDataSchema } from '../schemas/officeSchema';
3
+ export declare enum MeasurementSystem {
4
+ metric = "metric",
5
+ imperial = "imperial"
6
+ }
7
+ export type OfficeSettings = z.infer<typeof officeSettingsSchema>;
8
+ export type OfficeSettingData = z.infer<typeof officeSettingsDataSchema>;
9
+ export type Plan = z.infer<typeof planSchema>;
10
+ export type PlanData = z.infer<typeof planDataSchema>;
11
+ export type settings = z.infer<typeof settingsDataSchema>;
12
+ export type SettingsData = z.infer<typeof settingsDataSchema>;
13
+ export type Company = z.infer<typeof companySchema>;
14
+ export type CompanyData = z.infer<typeof companyDataSchema>;
15
+ export type Office = z.infer<typeof officeSchema>;
16
+ export type OfficeData = z.infer<typeof officeDataSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MeasurementSystem = void 0;
4
+ var MeasurementSystem;
5
+ (function (MeasurementSystem) {
6
+ MeasurementSystem["metric"] = "metric";
7
+ MeasurementSystem["imperial"] = "imperial";
8
+ })(MeasurementSystem || (exports.MeasurementSystem = MeasurementSystem = {}));
9
+ //# sourceMappingURL=office.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"office.js","sourceRoot":"","sources":["../../src/entities/office.ts"],"names":[],"mappings":";;;AAaA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;AACvB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
@@ -0,0 +1,516 @@
1
+ /// <reference types="node" />
2
+ import * as fs from 'fs';
3
+ import { Currency } from '../common/currencies';
4
+ import { Maybe } from '../common/types';
5
+ import { NegotiatorData } from './negotiator';
6
+ export declare enum ADScale {
7
+ A = "A",
8
+ B = "B",
9
+ C = "C",
10
+ D = "D"
11
+ }
12
+ export declare enum Amenity {
13
+ Attic = "attic",
14
+ Balcony = "balcony",
15
+ Basement = "basement",
16
+ ClimateControl = "climate_control",
17
+ Code = "code",
18
+ CoolingRoom = "cooling_room",
19
+ DisplayWindow = "display_window",
20
+ Drainage = "drainage",
21
+ ElectricalGate = "electrical_gate",
22
+ ExteriorParking = "exterior_parking",
23
+ Fence = "fence",
24
+ Fenced = "fenced",
25
+ Garden = "garden",
26
+ Guesthouse = "guesthouse",
27
+ InteriorParking = "interior_parking",
28
+ KeyCard = "key_card",
29
+ Lift = "lift",
30
+ ManualGate = "manual_gate",
31
+ Parking = "parking",
32
+ Pool = "pool",
33
+ PrintAndCopyArea = "print_and_copy_area",
34
+ ReceptionArea = "reception_area",
35
+ RoadAccess = "road_access",
36
+ ServerRoom = "server_room",
37
+ SewerAccess = "sewer_access",
38
+ StorageSpace = "storage_space",
39
+ Terrace = "terrace",
40
+ UtilitiesAccess = "utilities_access",
41
+ WaitingArea = "waiting_area",
42
+ WaterAccess = "water_access"
43
+ }
44
+ export declare enum UnitOfMeasurement {
45
+ cm = "cm",
46
+ inch = "inch",
47
+ sq_m = "sq_m",
48
+ sq_ft = "sq_ft"
49
+ }
50
+ export declare enum MeasurementSystem {
51
+ Metric = "metric",
52
+ Imperial = "imperial"
53
+ }
54
+ export declare enum AreaType {
55
+ Bathrooms = "bathrooms",
56
+ Bedrooms = "bedrooms",
57
+ ClosedOfficeSpaces = "closed_office_spaces",
58
+ ConferenceRooms = "conference_rooms",
59
+ Floors = "floors",
60
+ Kitchens = "kitchens",
61
+ LivingRoom = "living_room",
62
+ ManufacturingAreas = "manufacturing_areas",
63
+ MeetingRooms = "meeting_rooms",
64
+ OpenOfficeSpaces = "open_office_spaces",
65
+ ParkingSpaces = "parking_spaces",
66
+ Showrooms = "showrooms",
67
+ StorageRooms = "storage_rooms",
68
+ Toilets = "toilets"
69
+ }
70
+ export declare enum PropertyStatus {
71
+ prospect = "prospect",
72
+ lost = "lost",
73
+ available = "available",
74
+ rented = "rented",
75
+ sold = "sold",
76
+ bid = "bid",
77
+ option = "option",
78
+ under_contract = "under_contract"
79
+ }
80
+ export declare enum PropertySubType {
81
+ duplex = "duplex",
82
+ agricultural = "agricultural",
83
+ pasture_land = "pasture_land",
84
+ private_garage = "private_garage",
85
+ loft = "loft",
86
+ recreational = "recreational",
87
+ investment_property = "investment_property",
88
+ mansion = "mansion",
89
+ terraced = "terraced",
90
+ townhouse = "townhouse",
91
+ condo = "condo",
92
+ penthouse = "penthouse",
93
+ farm = "farm",
94
+ cottage = "cottage",
95
+ buildable = "buildable",
96
+ villa = "villa",
97
+ retail = "retail",
98
+ covered_outdoor_space = "covered_outdoor_space",
99
+ indoor_parking_space = "indoor_parking_space",
100
+ flex_office = "flex_office",
101
+ open_office = "open_office",
102
+ industrial = "industrial",
103
+ restaurant_and_cafe = "restaurant_and_cafe",
104
+ student_accommodation = "student_accommodation",
105
+ leisure_and_sports = "leasure_and_sports",
106
+ outdoor_parking_space = "outdoor_parking_space",
107
+ coworking = "coworking",
108
+ warehouse = "warehouse",
109
+ shop = "shop",
110
+ semi_detached = "semi_detached",
111
+ healthcare = "healthcare",
112
+ detached = "detached",
113
+ bungalow = "bungalow"
114
+ }
115
+ export declare enum PropertyType {
116
+ apartment = "apartment",
117
+ house = "house",
118
+ land = "land",
119
+ office = "office",
120
+ parking = "parking",
121
+ commercial = "commercial"
122
+ }
123
+ export declare enum Negotiation {
124
+ sale = "sale",
125
+ let = "let"
126
+ }
127
+ export declare enum Condition {
128
+ new = "new",
129
+ good = "good",
130
+ mint = "mint",
131
+ poor = "poor",
132
+ fair = "fair"
133
+ }
134
+ export declare enum Orientation {
135
+ N = "N",
136
+ S = "S",
137
+ E = "E",
138
+ W = "W",
139
+ NE = "NE",
140
+ NW = "NW",
141
+ SE = "SE",
142
+ SW = "SW"
143
+ }
144
+ export declare enum EnergyCategory {
145
+ A = "A",
146
+ B = "B",
147
+ C = "C",
148
+ D = "D",
149
+ E = "E",
150
+ F = "F",
151
+ G = "G"
152
+ }
153
+ export declare enum EnergyCategoryExtended {
154
+ A_PLUS_PLUS = "A++",
155
+ A_PLUS = "A+",
156
+ A = "A",
157
+ B = "B",
158
+ C = "C",
159
+ D = "D",
160
+ E = "E",
161
+ F = "F",
162
+ G = "G"
163
+ }
164
+ export declare enum EnergyReport {
165
+ conform = "conform",
166
+ not_conform = "not_conform",
167
+ no_report = "no_report",
168
+ not_applicable = "not_applicable"
169
+ }
170
+ export declare enum FloodRisk {
171
+ no_flood_risk_area = "no_flood_risk_area",
172
+ potential_flood_sensitive_area = "potential_flood_sensitive_area",
173
+ effective_flood_sensitive_area = "effective_flood_sensitive_area"
174
+ }
175
+ export declare enum Shape {
176
+ flat = "flat",
177
+ sloped = "sloped",
178
+ wooded = "wooded",
179
+ has_rivers_lakes_or_ponds = "has_rivers_lakes_or_ponds",
180
+ single = "single",
181
+ double = "double"
182
+ }
183
+ export declare enum LandUseDesignation {
184
+ residential = "residential",
185
+ mixed_residential = "mixed_residential",
186
+ industrial = "industrial",
187
+ recreational = "recreational",
188
+ park = "park",
189
+ area_with_economical_activity = "area_with_economical_activity",
190
+ forest_area = "forest_area",
191
+ agricultural = "agricultural",
192
+ nature_area = "nature_area",
193
+ natural_reserve = "natural_reserve",
194
+ residential_area_with_cultural_historical_value = "residential_area_with_cultural_historical_value",
195
+ industrial_area_for_sme = "industrial_area_for_sme",
196
+ day_recreation_area = "day_recreation_area",
197
+ other = "other"
198
+ }
199
+ export interface Regulations {
200
+ heritage_list?: Maybe<boolean>;
201
+ as_build_report?: Maybe<boolean>;
202
+ building_permit?: Maybe<boolean>;
203
+ expropriation_plan?: Maybe<boolean>;
204
+ registered_building?: Maybe<boolean>;
205
+ urban_planning_breach?: Maybe<boolean>;
206
+ site_untapped_activity?: Maybe<boolean>;
207
+ priority_purchase_right?: Maybe<boolean>;
208
+ subdivision_authorisation?: Maybe<boolean>;
209
+ urban_planning_certificate?: Maybe<boolean>;
210
+ pending_legal_proceedings?: Maybe<boolean>;
211
+ asbestos_certificate?: Maybe<boolean>;
212
+ asbestos_certificate_reference?: Maybe<string>;
213
+ zone_subject_to_rent_control?: Maybe<boolean>;
214
+ ongoing_litigation?: Maybe<boolean>;
215
+ renovation_obligation?: Maybe<boolean>;
216
+ }
217
+ export interface PropertyAndLand {
218
+ flood_risk?: Maybe<FloodRisk>;
219
+ purchased_year?: Maybe<number | string>;
220
+ cadastral_income?: Maybe<number>;
221
+ land_use_designation?: Maybe<LandUseDesignation>;
222
+ flood_risk_plot_score?: Maybe<ADScale>;
223
+ flood_risk_building_score?: Maybe<ADScale>;
224
+ }
225
+ export interface Energy {
226
+ epc_value?: Maybe<number>;
227
+ epc_category?: Maybe<EnergyCategoryExtended>;
228
+ epc_reference?: Maybe<string>;
229
+ co2_emissions?: Maybe<number>;
230
+ e_level?: Maybe<number>;
231
+ report_electricity_gas?: Maybe<EnergyReport>;
232
+ report_fuel_tank?: Maybe<EnergyReport>;
233
+ total_epc_value?: Maybe<number>;
234
+ dpe?: Maybe<EnergyCategory>;
235
+ greenhouse_emissions?: Maybe<EnergyCategory>;
236
+ }
237
+ export interface LegalAttributes {
238
+ energy?: Maybe<Energy>;
239
+ regulations?: Maybe<Regulations>;
240
+ legal_mentions?: Maybe<Record<string, string>>;
241
+ property_and_land?: Maybe<PropertyAndLand>;
242
+ }
243
+ export interface Price {
244
+ amount: number;
245
+ currency: Currency;
246
+ }
247
+ export interface PropertyPrice {
248
+ costs?: Maybe<Record<string, string>>;
249
+ taxes?: Maybe<Record<string, string>>;
250
+ current_price?: Maybe<Price>;
251
+ published_price?: Maybe<Price>;
252
+ yearly_budgeted_building_costs?: Maybe<Price>;
253
+ recurring_costs?: Maybe<Price>;
254
+ property_tax?: Maybe<Price>;
255
+ vat_regime?: Maybe<number>;
256
+ guarantee?: Maybe<Price>;
257
+ }
258
+ export interface RenovationAttributes {
259
+ year?: Maybe<number | string>;
260
+ description?: Maybe<string>;
261
+ }
262
+ export interface ConstructionAttributes {
263
+ year?: Maybe<number | string>;
264
+ architect?: Maybe<string>;
265
+ residential_lots?: Maybe<number>;
266
+ }
267
+ export interface BuildingAttributes {
268
+ renovation?: Maybe<RenovationAttributes>;
269
+ construction?: Maybe<ConstructionAttributes>;
270
+ units_of_building?: Maybe<number>;
271
+ }
272
+ export interface EnergyFeatures {
273
+ gas?: Maybe<boolean>;
274
+ electricity?: Maybe<boolean>;
275
+ fuel?: Maybe<boolean>;
276
+ heat_pump?: Maybe<boolean>;
277
+ }
278
+ export interface ComfortFeatures {
279
+ sauna?: Maybe<boolean>;
280
+ fireplace?: Maybe<boolean>;
281
+ fitness_room?: Maybe<boolean>;
282
+ furnished?: Maybe<boolean>;
283
+ home_automation?: Maybe<boolean>;
284
+ home_cinema?: Maybe<boolean>;
285
+ wine_cellar?: Maybe<boolean>;
286
+ walk_in_closet?: Maybe<boolean>;
287
+ water_softener?: Maybe<boolean>;
288
+ }
289
+ export interface EcologyFeatures {
290
+ solar_boiler?: Maybe<boolean>;
291
+ solar_panels?: Maybe<boolean>;
292
+ double_glazing?: Maybe<boolean>;
293
+ rainwater_harvesting?: Maybe<boolean>;
294
+ insulated_roof?: Maybe<boolean>;
295
+ }
296
+ export interface SecurityFeatures {
297
+ alarm?: Maybe<boolean>;
298
+ concierge?: Maybe<boolean>;
299
+ video_surveillance?: Maybe<boolean>;
300
+ }
301
+ export interface HeatingCoolingFeatures {
302
+ air_conditioning?: Maybe<boolean>;
303
+ central_heating?: Maybe<boolean>;
304
+ floor_heating?: Maybe<boolean>;
305
+ individual_heating?: Maybe<boolean>;
306
+ }
307
+ export interface FeaturesAttributes {
308
+ energy?: Maybe<EnergyFeatures>;
309
+ comfort?: Maybe<ComfortFeatures>;
310
+ ecology?: Maybe<EcologyFeatures>;
311
+ security?: Maybe<SecurityFeatures>;
312
+ heating_cooling?: Maybe<HeatingCoolingFeatures>;
313
+ }
314
+ export interface GeoData {
315
+ latitude: number;
316
+ longitude: number;
317
+ }
318
+ export interface LocationAttributes {
319
+ country?: Maybe<string>;
320
+ box?: Maybe<string>;
321
+ geo?: Maybe<GeoData>;
322
+ city?: Maybe<string>;
323
+ floor?: Maybe<string>;
324
+ number?: Maybe<string>;
325
+ street?: Maybe<string>;
326
+ addition?: Maybe<string>;
327
+ street_2?: Maybe<string>;
328
+ postal_code?: Maybe<string | number>;
329
+ province_or_state?: Maybe<string>;
330
+ borough_or_district?: Maybe<string>;
331
+ }
332
+ export interface OfficeSettings {
333
+ reference?: Maybe<string>;
334
+ }
335
+ export interface MandateSettings {
336
+ end_date?: Maybe<string>;
337
+ start_date?: Maybe<string>;
338
+ number?: Maybe<string>;
339
+ exclusive?: Maybe<boolean>;
340
+ }
341
+ export interface AgencyCommission {
342
+ fixed_fee?: Maybe<number>;
343
+ percentage?: Maybe<number>;
344
+ }
345
+ export interface AgencyCommissions {
346
+ buyer?: Maybe<AgencyCommission>;
347
+ seller?: Maybe<AgencyCommission>;
348
+ }
349
+ export interface PropertySettings {
350
+ office?: Maybe<OfficeSettings>;
351
+ mandate?: Maybe<MandateSettings>;
352
+ current_rent?: Maybe<Price>;
353
+ internal_note?: Maybe<string>;
354
+ agency_commission?: Maybe<AgencyCommissions>;
355
+ }
356
+ export interface OccupancyAttributes {
357
+ vacant?: Maybe<boolean>;
358
+ occupied?: Maybe<boolean>;
359
+ contact_details?: Maybe<string>;
360
+ available_from?: Maybe<string>;
361
+ }
362
+ export interface PropertyRoomAttributes {
363
+ size: number | string;
364
+ type: string;
365
+ units: UnitOfMeasurement;
366
+ ordinal: Maybe<number>;
367
+ size_description: string;
368
+ }
369
+ export interface Area {
370
+ size: number;
371
+ units?: Maybe<UnitOfMeasurement>;
372
+ size_description: string;
373
+ }
374
+ export interface PropertyStructure {
375
+ rooms?: Maybe<Record<string, PropertyRoomAttributes>>;
376
+ toilets?: Maybe<number>;
377
+ bedrooms?: Maybe<number>;
378
+ bathrooms?: Maybe<number>;
379
+ kitchens?: Maybe<number>;
380
+ floors?: Maybe<number>;
381
+ living_room?: Maybe<number>;
382
+ showrooms?: Maybe<number>;
383
+ shower_rooms?: Maybe<number>;
384
+ manufacturing_areas?: Maybe<number>;
385
+ storage_rooms?: Maybe<number>;
386
+ parking_spaces?: Maybe<number>;
387
+ meeting_rooms?: Maybe<number>;
388
+ open_office_spaces?: Maybe<number>;
389
+ closed_office_spaces?: Maybe<number>;
390
+ conference_rooms?: Maybe<number>;
391
+ liveable_area?: Maybe<Area>;
392
+ gross_area?: Maybe<Area>;
393
+ net_area?: Maybe<Area>;
394
+ plot_area?: Maybe<Area>;
395
+ display_window_length?: Maybe<Area>;
396
+ ceiling_height?: Maybe<Area>;
397
+ loi_carrez_area?: Maybe<Area>;
398
+ }
399
+ export interface PropertyConditions {
400
+ kitchen?: Maybe<Condition>;
401
+ bathroom?: Maybe<Condition>;
402
+ }
403
+ export interface PropertyDescription {
404
+ title: Record<string, string>;
405
+ description: Record<string, string>;
406
+ }
407
+ export interface PropertyOrientation {
408
+ balcony?: Maybe<Orientation>;
409
+ garden?: Maybe<Orientation>;
410
+ terrace?: Maybe<Orientation>;
411
+ }
412
+ export interface PropertyAccessibility {
413
+ alarm?: Maybe<boolean>;
414
+ alarm_code?: Maybe<number | string>;
415
+ key_available?: Maybe<boolean>;
416
+ }
417
+ export interface PropertyDocument {
418
+ private: boolean;
419
+ filename: string;
420
+ extension: string;
421
+ description?: Maybe<string>;
422
+ uploaded_at: string;
423
+ 'content-type': string;
424
+ }
425
+ export interface FloorPlan {
426
+ private: boolean;
427
+ filename: string;
428
+ extension: string;
429
+ description: Maybe<string>;
430
+ uploaded_at: string;
431
+ 'content-type': string;
432
+ }
433
+ export interface Image {
434
+ ordinal: number;
435
+ private: boolean;
436
+ filename: string;
437
+ extension: string;
438
+ description?: Maybe<string>;
439
+ equirectangular?: Maybe<boolean>;
440
+ uploaded_at: string;
441
+ 'content-type': string;
442
+ }
443
+ export interface PropertyPermissions {
444
+ construction?: Maybe<boolean>;
445
+ farming?: Maybe<boolean>;
446
+ fishing?: Maybe<boolean>;
447
+ planning?: Maybe<boolean>;
448
+ }
449
+ export interface TenantContract {
450
+ start_date?: Maybe<string>;
451
+ end_date?: Maybe<string>;
452
+ }
453
+ export interface PropertyAttributes {
454
+ legal?: Maybe<LegalAttributes>;
455
+ price?: Maybe<PropertyPrice>;
456
+ images?: Maybe<Record<string, Image>>;
457
+ status?: Maybe<PropertyStatus>;
458
+ building?: Maybe<BuildingAttributes>;
459
+ features?: Maybe<FeaturesAttributes>;
460
+ location?: Maybe<LocationAttributes>;
461
+ settings?: Maybe<PropertySettings>;
462
+ sub_type?: Maybe<PropertySubType[]>;
463
+ amenities?: Maybe<Amenity[]>;
464
+ documents?: Maybe<Record<string, PropertyDocument>>;
465
+ occupancy?: Maybe<OccupancyAttributes>;
466
+ structure?: Maybe<PropertyStructure>;
467
+ conditions?: Maybe<PropertyConditions>;
468
+ description?: Maybe<PropertyDescription>;
469
+ floor_plans?: Maybe<Record<string, FloorPlan>>;
470
+ orientation?: Maybe<PropertyOrientation>;
471
+ accessibility?: Maybe<PropertyAccessibility>;
472
+ tenant_contract?: Maybe<TenantContract>;
473
+ general_condition?: Maybe<Condition>;
474
+ permissions?: Maybe<PropertyPermissions>;
475
+ shape?: Maybe<Shape>;
476
+ video?: Maybe<string>;
477
+ virtual_tour?: Maybe<string>;
478
+ }
479
+ export interface Property {
480
+ id: string;
481
+ type: PropertyType;
482
+ negotiation: Negotiation;
483
+ is_project: boolean;
484
+ project_id?: Maybe<string>;
485
+ office_id: string;
486
+ negotiator_id: string;
487
+ negotiator?: Maybe<NegotiatorData>;
488
+ attributes: PropertyAttributes;
489
+ archived_at?: Maybe<string>;
490
+ created_at?: Maybe<string>;
491
+ updated_at?: Maybe<string>;
492
+ }
493
+ export type Resource = FloorPlan | PropertyDocument | Image;
494
+ export type FileUploadStream = fs.ReadStream;
495
+ export interface LanguageWithDefaultValue {
496
+ language: string;
497
+ default_value: string;
498
+ }
499
+ export interface RoomData {
500
+ name: AreaType;
501
+ value: number;
502
+ }
503
+ export type LocalizedStringMap = {
504
+ [key: string]: string;
505
+ };
506
+ export interface UserDefaults {
507
+ measurementSystem: MeasurementSystem;
508
+ currency: Currency;
509
+ defaultLanguage: string[];
510
+ country: string;
511
+ }
512
+ export declare enum InternalType {
513
+ project = "project",
514
+ unit = "unit",
515
+ standalone = "standalone"
516
+ }