@sweepbright/api-client 0.42.0-pre.1 → 0.42.0-pre.11
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/client.d.ts +2 -2
- package/dist/common/logRequest.d.ts +1 -1
- package/dist/entities/channelAccount.d.ts +1 -1
- package/dist/entities/contact.d.ts +95 -14
- package/dist/entities/contact.js +21 -0
- package/dist/entities/contact.js.map +1 -1
- package/dist/entities/negotiator.d.ts +9 -4
- package/dist/entities/property.d.ts +92 -12
- package/dist/entities/property.js +31 -1
- package/dist/entities/property.js.map +1 -1
- package/dist/index.d.ts +19 -14
- package/dist/index.js +45 -9
- package/dist/index.js.map +1 -1
- package/dist/oauth-manager/TokensRepository_Redis.d.ts +2 -2
- package/dist/oauth-manager/TokensRepository_Redis.js.map +1 -1
- package/dist/oauth-manager/factories/createTokenStorage.d.ts +3 -3
- package/dist/oauth-manager/factories/entities.d.ts +2 -2
- package/dist/oauth-manager/playground/async.js.map +1 -1
- package/dist/oauth-manager/redisClientLike.d.ts +10 -0
- package/dist/oauth-manager/redisClientLike.js +3 -0
- package/dist/oauth-manager/redisClientLike.js.map +1 -0
- package/dist/resources/contacts.js +3 -0
- package/dist/resources/contacts.js.map +1 -1
- package/dist/resources/leads.d.ts +4 -3
- package/dist/resources/leads.js +2 -2
- package/dist/resources/leads.js.map +1 -1
- package/dist/types.d.ts +31 -59
- package/dist/types.js +25 -75
- package/dist/types.js.map +1 -1
- package/package.json +7 -5
package/dist/client.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export declare class ClientImpl implements Client {
|
|
|
17
17
|
isAuthorized(config?: InitConf): boolean;
|
|
18
18
|
getCurrentToken(): Maybe<string>;
|
|
19
19
|
get leads(): {
|
|
20
|
-
createLead: (attributes: import("./types").CreateLeadInput) => Promise<import("
|
|
21
|
-
createUnassignedLead: (companyId: string, attributes: import("./types").CreateUnassignedLeadInput) => Promise<import("
|
|
20
|
+
createLead: (attributes: import("./types").CreateLeadInput) => Promise<import("./types").ApiDataResponse<import(".").Contact>>;
|
|
21
|
+
createUnassignedLead: (companyId: string, attributes: import("./types").CreateUnassignedLeadInput) => Promise<import("./types").ApiDataResponse<import(".").Contact>>;
|
|
22
22
|
};
|
|
23
23
|
get negotiators(): {
|
|
24
24
|
getNegotiatorsByIdCompanyId: (attributes: import("./types").NegotiatorsGetByCompanyIdInput) => Promise<import("./types").NegotiatorsGetByCompanyIdResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InternalAxiosRequestConfig } from 'axios';
|
|
2
2
|
export declare const logRequest: (request: InternalAxiosRequestConfig) => {
|
|
3
|
-
method: string | undefined;
|
|
3
|
+
method: ((string & {}) | import("axios").Method) | undefined;
|
|
4
4
|
url: string | undefined;
|
|
5
5
|
params: any;
|
|
6
6
|
data: any;
|
|
@@ -1,34 +1,115 @@
|
|
|
1
1
|
import { Maybe } from '../common/types';
|
|
2
2
|
import { ApiDataResponse } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { Negotiator } from './negotiator';
|
|
4
4
|
import { Office } from './office';
|
|
5
|
+
import { Amenity, Condition, PropertyType } from './property';
|
|
6
|
+
export declare enum ContactType {
|
|
7
|
+
Vendor = "vendor",
|
|
8
|
+
Lead = "lead"
|
|
9
|
+
}
|
|
10
|
+
export declare enum GeoType {
|
|
11
|
+
geojson = "geojson",
|
|
12
|
+
postal_codes = "postal_codes"
|
|
13
|
+
}
|
|
14
|
+
export interface DataCoords {
|
|
15
|
+
type: 'Polygon';
|
|
16
|
+
coordinates: Array<Array<[number, number]>>;
|
|
17
|
+
}
|
|
18
|
+
export interface LocationPreferenceEntity {
|
|
19
|
+
_id: string;
|
|
20
|
+
id: string;
|
|
21
|
+
preference_id: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
type?: GeoType;
|
|
24
|
+
postal_codes?: string[];
|
|
25
|
+
country?: string;
|
|
26
|
+
geojson?: DataCoords;
|
|
27
|
+
}
|
|
28
|
+
export interface ContactPreferences {
|
|
29
|
+
id: string;
|
|
30
|
+
wishes?: Maybe<string[]>;
|
|
31
|
+
types?: Maybe<string[]>;
|
|
32
|
+
min_rooms?: Maybe<number>;
|
|
33
|
+
locale?: Maybe<string>;
|
|
34
|
+
message?: Maybe<string>;
|
|
35
|
+
is_investor?: Maybe<boolean>;
|
|
36
|
+
negotiation?: Maybe<string>;
|
|
37
|
+
location_text?: Maybe<string>;
|
|
38
|
+
wishes_text?: Maybe<string>;
|
|
39
|
+
max_price?: Maybe<number>;
|
|
40
|
+
min_price?: Maybe<number>;
|
|
41
|
+
amenities?: Maybe<Amenity[]>;
|
|
42
|
+
condition?: Maybe<Condition[]>;
|
|
43
|
+
created_at?: Maybe<string>;
|
|
44
|
+
is_matchable?: Maybe<boolean>;
|
|
45
|
+
type?: Maybe<PropertyType>;
|
|
46
|
+
updated_at?: Maybe<string>;
|
|
47
|
+
location_preferences?: Maybe<LocationPreferenceEntity[]>;
|
|
48
|
+
}
|
|
49
|
+
export interface Address {
|
|
50
|
+
addition?: string;
|
|
51
|
+
box?: string;
|
|
52
|
+
city?: string;
|
|
53
|
+
country?: string;
|
|
54
|
+
floor?: string;
|
|
55
|
+
number?: string;
|
|
56
|
+
postal_code?: string;
|
|
57
|
+
province_or_state?: string;
|
|
58
|
+
street?: string;
|
|
59
|
+
street_2?: string;
|
|
60
|
+
borough_or_district?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare enum InteractionTypes {
|
|
63
|
+
LeadEmailSent = "lead_email_sent",
|
|
64
|
+
LeadVisitScheduled = "lead_visit_scheduled",
|
|
65
|
+
UserSmsLead = "user_sms_lead",
|
|
66
|
+
LeadExpressedInterest = "lead_expressed_interest",
|
|
67
|
+
UserCalledLead = "user_called_lead",
|
|
68
|
+
LeadVisited = "lead_visited",
|
|
69
|
+
ContactEmailed = "contact_emailed"
|
|
70
|
+
}
|
|
71
|
+
export interface Interaction {
|
|
72
|
+
id: string;
|
|
73
|
+
interaction_type: InteractionTypes;
|
|
74
|
+
source_type: string | null;
|
|
75
|
+
comment: string | null;
|
|
76
|
+
feedback_type: string | null;
|
|
77
|
+
feedback_external_comment: string | null;
|
|
78
|
+
feedback_internal_comment: string | null;
|
|
79
|
+
human_status: string;
|
|
80
|
+
metadata: string | null;
|
|
81
|
+
created_at: string;
|
|
82
|
+
updated_at: string;
|
|
83
|
+
external_source: string | null;
|
|
84
|
+
}
|
|
5
85
|
export interface Contact {
|
|
6
86
|
id: string;
|
|
7
|
-
type:
|
|
87
|
+
type: ContactType;
|
|
8
88
|
office_id: string;
|
|
9
89
|
company_id: string;
|
|
10
90
|
first_name: string;
|
|
11
91
|
last_name: string;
|
|
12
|
-
pronouns
|
|
13
|
-
email
|
|
14
|
-
phone
|
|
15
|
-
company
|
|
16
|
-
note
|
|
17
|
-
address
|
|
18
|
-
locale
|
|
92
|
+
pronouns?: Maybe<string>;
|
|
93
|
+
email?: Maybe<string>;
|
|
94
|
+
phone?: Maybe<string>;
|
|
95
|
+
company?: Maybe<string>;
|
|
96
|
+
note?: Maybe<string>;
|
|
97
|
+
address?: Maybe<Address>;
|
|
98
|
+
locale?: Maybe<string>;
|
|
19
99
|
is_archived: boolean;
|
|
20
100
|
created_at: string;
|
|
21
101
|
updated_at: string;
|
|
22
102
|
subscribed: boolean;
|
|
23
|
-
labels
|
|
24
|
-
latest_action?: string
|
|
103
|
+
labels?: Maybe<string[]>;
|
|
104
|
+
latest_action?: Maybe<string>;
|
|
25
105
|
was_emailed?: boolean;
|
|
26
106
|
was_called?: boolean;
|
|
27
107
|
was_messaged?: boolean;
|
|
28
108
|
is_matchable?: boolean;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
109
|
+
preferences?: Maybe<ContactPreferences[]>;
|
|
110
|
+
last_report_sent_at?: Maybe<string>;
|
|
111
|
+
negotiators?: Maybe<ApiDataResponse<Negotiator[]>>;
|
|
112
|
+
latest_interaction?: Maybe<ApiDataResponse<Interaction>>;
|
|
32
113
|
office?: Maybe<ApiDataResponse<Office>>;
|
|
33
114
|
latest_activity?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
34
115
|
}
|
package/dist/entities/contact.js
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InteractionTypes = exports.GeoType = exports.ContactType = void 0;
|
|
4
|
+
var ContactType;
|
|
5
|
+
(function (ContactType) {
|
|
6
|
+
ContactType["Vendor"] = "vendor";
|
|
7
|
+
ContactType["Lead"] = "lead";
|
|
8
|
+
})(ContactType || (exports.ContactType = ContactType = {}));
|
|
9
|
+
var GeoType;
|
|
10
|
+
(function (GeoType) {
|
|
11
|
+
GeoType["geojson"] = "geojson";
|
|
12
|
+
GeoType["postal_codes"] = "postal_codes";
|
|
13
|
+
})(GeoType || (exports.GeoType = GeoType = {}));
|
|
14
|
+
var InteractionTypes;
|
|
15
|
+
(function (InteractionTypes) {
|
|
16
|
+
InteractionTypes["LeadEmailSent"] = "lead_email_sent";
|
|
17
|
+
InteractionTypes["LeadVisitScheduled"] = "lead_visit_scheduled";
|
|
18
|
+
InteractionTypes["UserSmsLead"] = "user_sms_lead";
|
|
19
|
+
InteractionTypes["LeadExpressedInterest"] = "lead_expressed_interest";
|
|
20
|
+
InteractionTypes["UserCalledLead"] = "user_called_lead";
|
|
21
|
+
InteractionTypes["LeadVisited"] = "lead_visited";
|
|
22
|
+
InteractionTypes["ContactEmailed"] = "contact_emailed";
|
|
23
|
+
})(InteractionTypes || (exports.InteractionTypes = InteractionTypes = {}));
|
|
3
24
|
//# sourceMappingURL=contact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../src/entities/contact.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../src/entities/contact.ts"],"names":[],"mappings":";;;AAMA,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;AACf,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,8BAAmB,CAAA;IACnB,wCAA6B,CAAA;AAC/B,CAAC,EAHW,OAAO,uBAAP,OAAO,QAGlB;AAsDD,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,qDAAiC,CAAA;IACjC,+DAA2C,CAAA;IAC3C,iDAA6B,CAAA;IAC7B,qEAAiD,CAAA;IACjD,uDAAmC,CAAA;IACnC,gDAA4B,CAAA;IAC5B,sDAAkC,CAAA;AACpC,CAAC,EARW,gBAAgB,gCAAhB,gBAAgB,QAQ3B"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Maybe } from '../common/types';
|
|
2
|
+
import { ApiDataResponse } from '../types';
|
|
3
|
+
import { Company, Office } from './office';
|
|
2
4
|
interface PhotoInfo {
|
|
3
5
|
url: string;
|
|
4
6
|
uploaded_at: string;
|
|
5
7
|
photo_file_id: string;
|
|
6
8
|
}
|
|
7
|
-
interface PhotoData {
|
|
8
|
-
data?: Maybe<PhotoInfo>;
|
|
9
|
-
}
|
|
10
9
|
export interface Negotiator {
|
|
11
10
|
id: number;
|
|
12
11
|
first_name?: string;
|
|
@@ -17,9 +16,15 @@ export interface Negotiator {
|
|
|
17
16
|
role_id?: string;
|
|
18
17
|
created_at: string;
|
|
19
18
|
updated_at: string;
|
|
19
|
+
archived_at?: Maybe<string>;
|
|
20
20
|
locale?: string;
|
|
21
|
+
picture?: string;
|
|
21
22
|
office_id: string;
|
|
22
|
-
|
|
23
|
+
office?: Maybe<ApiDataResponse<Office>>;
|
|
24
|
+
photo?: Maybe<ApiDataResponse<PhotoInfo>>;
|
|
25
|
+
company?: Maybe<ApiDataResponse<Company>>;
|
|
26
|
+
integrations?: Maybe<ApiDataResponse<Record<string, unknown>[]>>;
|
|
27
|
+
invitation?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
23
28
|
}
|
|
24
29
|
export interface NegotiatorData {
|
|
25
30
|
data?: Maybe<Negotiator>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as fs from 'fs';
|
|
1
|
+
import * as fs from 'node:fs';
|
|
2
2
|
import { Currency } from '../common/currencies';
|
|
3
3
|
import { Maybe } from '../common/types';
|
|
4
4
|
import { ApiDataResponse } from '../types';
|
|
@@ -33,6 +33,7 @@ export declare enum Amenity {
|
|
|
33
33
|
Pool = "pool",
|
|
34
34
|
PrintAndCopyArea = "print_and_copy_area",
|
|
35
35
|
ReceptionArea = "reception_area",
|
|
36
|
+
RemoteControl = "remote_control",
|
|
36
37
|
RoadAccess = "road_access",
|
|
37
38
|
ServerRoom = "server_room",
|
|
38
39
|
SewerAccess = "sewer_access",
|
|
@@ -82,6 +83,22 @@ export declare enum PropertyStatus {
|
|
|
82
83
|
export declare enum PropertySubType {
|
|
83
84
|
duplex = "duplex",
|
|
84
85
|
agricultural = "agricultural",
|
|
86
|
+
apartment_block = "apartment_block",
|
|
87
|
+
barge = "barge",
|
|
88
|
+
bnb = "bnb",
|
|
89
|
+
castle = "castle",
|
|
90
|
+
chalet = "chalet",
|
|
91
|
+
chalet_alpine = "chalet_alpine",
|
|
92
|
+
end_of_terrace = "end_of_terrace",
|
|
93
|
+
equestrian_property = "equestrian_property",
|
|
94
|
+
hunting_property = "hunting_property",
|
|
95
|
+
mas_farmhouse = "mas_farmhouse",
|
|
96
|
+
mixed_use = "mixed_use",
|
|
97
|
+
other = "other",
|
|
98
|
+
studio = "studio",
|
|
99
|
+
trading_fund = "trading_fund",
|
|
100
|
+
triplex = "triplex",
|
|
101
|
+
vineyard = "vineyard",
|
|
85
102
|
pasture_land = "pasture_land",
|
|
86
103
|
private_garage = "private_garage",
|
|
87
104
|
loft = "loft",
|
|
@@ -198,9 +215,21 @@ export declare enum LandUseDesignation {
|
|
|
198
215
|
day_recreation_area = "day_recreation_area",
|
|
199
216
|
other = "other"
|
|
200
217
|
}
|
|
218
|
+
export declare enum ELevel {
|
|
219
|
+
E90 = "E90",
|
|
220
|
+
E80 = "E80",
|
|
221
|
+
E70 = "E70",
|
|
222
|
+
E60 = "E60",
|
|
223
|
+
E50 = "E50",
|
|
224
|
+
E40 = "E40",
|
|
225
|
+
E35 = "E35",
|
|
226
|
+
E30 = "E30",
|
|
227
|
+
E20 = "E20",
|
|
228
|
+
E10 = "E10"
|
|
229
|
+
}
|
|
201
230
|
export interface Regulations {
|
|
202
231
|
heritage_list?: Maybe<boolean>;
|
|
203
|
-
|
|
232
|
+
as_built_report?: Maybe<boolean>;
|
|
204
233
|
building_permit?: Maybe<boolean>;
|
|
205
234
|
expropriation_plan?: Maybe<boolean>;
|
|
206
235
|
registered_building?: Maybe<boolean>;
|
|
@@ -224,17 +253,30 @@ export interface PropertyAndLand {
|
|
|
224
253
|
flood_risk_plot_score?: Maybe<ADScale>;
|
|
225
254
|
flood_risk_building_score?: Maybe<ADScale>;
|
|
226
255
|
}
|
|
256
|
+
export interface EnergyCosts {
|
|
257
|
+
minimum?: Maybe<Price>;
|
|
258
|
+
maximum?: Maybe<Price>;
|
|
259
|
+
year?: Maybe<number>;
|
|
260
|
+
}
|
|
227
261
|
export interface Energy {
|
|
228
262
|
epc_value?: Maybe<number>;
|
|
229
263
|
epc_category?: Maybe<EnergyCategoryExtended>;
|
|
230
264
|
epc_reference?: Maybe<string>;
|
|
231
265
|
co2_emissions?: Maybe<number>;
|
|
232
|
-
e_level?: Maybe<
|
|
266
|
+
e_level?: Maybe<ELevel>;
|
|
233
267
|
report_electricity_gas?: Maybe<EnergyReport>;
|
|
234
268
|
report_fuel_tank?: Maybe<EnergyReport>;
|
|
235
269
|
total_epc_value?: Maybe<number>;
|
|
236
270
|
dpe?: Maybe<EnergyCategory>;
|
|
237
271
|
greenhouse_emissions?: Maybe<EnergyCategory>;
|
|
272
|
+
estimated_energy_costs?: Maybe<EnergyCosts>;
|
|
273
|
+
dpe_date?: Maybe<string>;
|
|
274
|
+
cpeb_description?: Maybe<string>;
|
|
275
|
+
cpeb_value?: Maybe<number>;
|
|
276
|
+
nabers?: Maybe<number>;
|
|
277
|
+
nathers?: Maybe<number>;
|
|
278
|
+
peb_label?: Maybe<string>;
|
|
279
|
+
peb_value?: Maybe<number>;
|
|
238
280
|
}
|
|
239
281
|
export interface LegalAttributes {
|
|
240
282
|
energy?: Maybe<Energy>;
|
|
@@ -246,6 +288,12 @@ export interface Price {
|
|
|
246
288
|
amount: number;
|
|
247
289
|
currency: Currency;
|
|
248
290
|
}
|
|
291
|
+
export interface LifeAnnuity {
|
|
292
|
+
advance: Maybe<Price>;
|
|
293
|
+
monthly_rent: Maybe<Price>;
|
|
294
|
+
applicable: boolean;
|
|
295
|
+
maximum_duration: number;
|
|
296
|
+
}
|
|
249
297
|
export interface PropertyPrice {
|
|
250
298
|
costs?: Maybe<Record<string, string>>;
|
|
251
299
|
taxes?: Maybe<Record<string, string>>;
|
|
@@ -256,6 +304,13 @@ export interface PropertyPrice {
|
|
|
256
304
|
property_tax?: Maybe<Price>;
|
|
257
305
|
vat_regime?: Maybe<number>;
|
|
258
306
|
guarantee?: Maybe<Price>;
|
|
307
|
+
inventory_report_cost: Maybe<Price>;
|
|
308
|
+
reference_rent: Maybe<Price>;
|
|
309
|
+
base_rent: Maybe<Price>;
|
|
310
|
+
rent_supplement: Maybe<Price>;
|
|
311
|
+
life_annuity?: Maybe<LifeAnnuity>;
|
|
312
|
+
custom_price?: Maybe<string>;
|
|
313
|
+
dotloop_price?: Maybe<Price>;
|
|
259
314
|
}
|
|
260
315
|
export interface RenovationAttributes {
|
|
261
316
|
year?: Maybe<number | string>;
|
|
@@ -265,11 +320,13 @@ export interface ConstructionAttributes {
|
|
|
265
320
|
year?: Maybe<number | string>;
|
|
266
321
|
architect?: Maybe<string>;
|
|
267
322
|
residential_lots?: Maybe<number>;
|
|
323
|
+
building_permit?: Maybe<string>;
|
|
268
324
|
}
|
|
269
325
|
export interface BuildingAttributes {
|
|
270
326
|
renovation?: Maybe<RenovationAttributes>;
|
|
271
327
|
construction?: Maybe<ConstructionAttributes>;
|
|
272
328
|
units_of_building?: Maybe<number>;
|
|
329
|
+
number_of_floor_building?: Maybe<number>;
|
|
273
330
|
}
|
|
274
331
|
export interface EnergyFeatures {
|
|
275
332
|
gas?: Maybe<boolean>;
|
|
@@ -345,9 +402,15 @@ export interface LocationAttributes {
|
|
|
345
402
|
region?: Maybe<string>;
|
|
346
403
|
sub_region?: Maybe<string>;
|
|
347
404
|
district?: Maybe<string>;
|
|
405
|
+
formatted_address?: Maybe<string>;
|
|
406
|
+
formatted?: Maybe<string>;
|
|
407
|
+
formatted_agency: Maybe<string>;
|
|
408
|
+
province_or_county?: Maybe<string>;
|
|
409
|
+
public?: Maybe<boolean>;
|
|
348
410
|
}
|
|
349
411
|
export interface OfficeSettings {
|
|
350
412
|
reference?: Maybe<string>;
|
|
413
|
+
negotiator?: Maybe<string>;
|
|
351
414
|
}
|
|
352
415
|
export interface MandateSettings {
|
|
353
416
|
end_date?: Maybe<string>;
|
|
@@ -363,12 +426,22 @@ export interface AgencyCommissions {
|
|
|
363
426
|
buyer?: Maybe<AgencyCommission>;
|
|
364
427
|
seller?: Maybe<AgencyCommission>;
|
|
365
428
|
}
|
|
429
|
+
export interface Advertisement {
|
|
430
|
+
allowed?: Maybe<boolean>;
|
|
431
|
+
from?: Maybe<string>;
|
|
432
|
+
}
|
|
433
|
+
export interface Auction {
|
|
434
|
+
start_date?: Maybe<string>;
|
|
435
|
+
}
|
|
366
436
|
export interface PropertySettings {
|
|
367
437
|
office?: Maybe<OfficeSettings>;
|
|
368
438
|
mandate?: Maybe<MandateSettings>;
|
|
369
439
|
current_rent?: Maybe<Price>;
|
|
370
440
|
internal_note?: Maybe<string>;
|
|
371
441
|
agency_commission?: Maybe<AgencyCommissions>;
|
|
442
|
+
advertisement?: Advertisement;
|
|
443
|
+
appointment_service_url?: Maybe<string>;
|
|
444
|
+
auction?: Maybe<Auction>;
|
|
372
445
|
}
|
|
373
446
|
export interface OccupancyAttributes {
|
|
374
447
|
vacant?: Maybe<boolean>;
|
|
@@ -419,7 +492,8 @@ export interface PropertyConditions {
|
|
|
419
492
|
}
|
|
420
493
|
export interface PropertyDescription {
|
|
421
494
|
title: Record<string, string>;
|
|
422
|
-
description
|
|
495
|
+
description?: Maybe<Record<string, string>>;
|
|
496
|
+
publish_default?: Maybe<string>;
|
|
423
497
|
}
|
|
424
498
|
export interface PropertyOrientation {
|
|
425
499
|
balcony?: Maybe<Orientation>;
|
|
@@ -489,6 +563,7 @@ export interface PropertyAttributes {
|
|
|
489
563
|
tenant_contract?: Maybe<TenantContract>;
|
|
490
564
|
general_condition?: Maybe<Condition>;
|
|
491
565
|
permissions?: Maybe<PropertyPermissions>;
|
|
566
|
+
shapes?: Maybe<Shape[]>;
|
|
492
567
|
shape?: Maybe<Shape>;
|
|
493
568
|
video?: Maybe<string>;
|
|
494
569
|
virtual_tour?: Maybe<string>;
|
|
@@ -511,12 +586,12 @@ export interface SourceData {
|
|
|
511
586
|
group: Maybe<string>;
|
|
512
587
|
software: Maybe<string>;
|
|
513
588
|
}
|
|
514
|
-
interface LegalEntity {
|
|
589
|
+
export interface LegalEntity {
|
|
515
590
|
id: string;
|
|
516
591
|
name?: string;
|
|
517
592
|
office_id?: string;
|
|
518
593
|
}
|
|
519
|
-
interface LegalEntityData {
|
|
594
|
+
export interface LegalEntityData {
|
|
520
595
|
data?: Maybe<LegalEntity>;
|
|
521
596
|
}
|
|
522
597
|
export interface Property {
|
|
@@ -532,23 +607,29 @@ export interface Property {
|
|
|
532
607
|
created_at?: Maybe<string>;
|
|
533
608
|
updated_at?: Maybe<string>;
|
|
534
609
|
internal_type?: InternalType;
|
|
535
|
-
visibility?: PropertyVisibility
|
|
610
|
+
visibility?: Maybe<PropertyVisibility>;
|
|
536
611
|
buyer_ids?: string[];
|
|
537
612
|
owner_ids?: string[];
|
|
538
|
-
legal_entity_id
|
|
613
|
+
legal_entity_id?: Maybe<string>;
|
|
539
614
|
is_archived?: boolean;
|
|
540
615
|
source?: SourceData;
|
|
616
|
+
/** This needs to be provided as includes */
|
|
541
617
|
negotiator?: Maybe<NegotiatorData>;
|
|
618
|
+
/** This needs to be provided as includes */
|
|
542
619
|
buyers?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
620
|
+
/** This needs to be provided as includes */
|
|
543
621
|
vendors?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
622
|
+
/** This needs to be provided as includes */
|
|
544
623
|
legal_entity?: Maybe<LegalEntityData>;
|
|
624
|
+
/** This needs to be provided as includes */
|
|
545
625
|
last_interaction?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
626
|
+
/** This needs to be provided as includes */
|
|
546
627
|
office?: Maybe<OfficeData>;
|
|
628
|
+
/** This needs to be provided as includes */
|
|
547
629
|
latest_activity?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
630
|
+
/** This needs to be provided as includes */
|
|
631
|
+
project?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
548
632
|
}
|
|
549
|
-
export type WithNegotiators<T> = T & {
|
|
550
|
-
negotiators?: Maybe<NegotiatorData[]>;
|
|
551
|
-
};
|
|
552
633
|
export type Resource = FloorPlan | PropertyDocument | Image;
|
|
553
634
|
export type FileUploadStream = fs.ReadStream;
|
|
554
635
|
export interface LanguageWithDefaultValue {
|
|
@@ -568,4 +649,3 @@ export interface UserDefaults {
|
|
|
568
649
|
defaultLanguage: string[];
|
|
569
650
|
country: string;
|
|
570
651
|
}
|
|
571
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SourceId = exports.PropertyVisibility = exports.InternalType = exports.LandUseDesignation = exports.Shape = exports.FloodRisk = exports.EnergyReport = exports.EnergyCategoryExtended = exports.EnergyCategory = exports.Orientation = exports.Condition = exports.Negotiation = exports.PropertyType = exports.PropertySubType = exports.PropertyStatus = exports.AreaType = exports.MeasurementSystem = exports.UnitOfMeasurement = exports.Amenity = exports.ADScale = void 0;
|
|
3
|
+
exports.SourceId = exports.PropertyVisibility = exports.InternalType = exports.ELevel = exports.LandUseDesignation = exports.Shape = exports.FloodRisk = exports.EnergyReport = exports.EnergyCategoryExtended = exports.EnergyCategory = exports.Orientation = exports.Condition = exports.Negotiation = exports.PropertyType = exports.PropertySubType = exports.PropertyStatus = exports.AreaType = exports.MeasurementSystem = exports.UnitOfMeasurement = exports.Amenity = exports.ADScale = void 0;
|
|
4
4
|
var ADScale;
|
|
5
5
|
(function (ADScale) {
|
|
6
6
|
ADScale["A"] = "A";
|
|
@@ -32,6 +32,7 @@ var Amenity;
|
|
|
32
32
|
Amenity["Pool"] = "pool";
|
|
33
33
|
Amenity["PrintAndCopyArea"] = "print_and_copy_area";
|
|
34
34
|
Amenity["ReceptionArea"] = "reception_area";
|
|
35
|
+
Amenity["RemoteControl"] = "remote_control";
|
|
35
36
|
Amenity["RoadAccess"] = "road_access";
|
|
36
37
|
Amenity["ServerRoom"] = "server_room";
|
|
37
38
|
Amenity["SewerAccess"] = "sewer_access";
|
|
@@ -86,6 +87,22 @@ var PropertySubType;
|
|
|
86
87
|
(function (PropertySubType) {
|
|
87
88
|
PropertySubType["duplex"] = "duplex";
|
|
88
89
|
PropertySubType["agricultural"] = "agricultural";
|
|
90
|
+
PropertySubType["apartment_block"] = "apartment_block";
|
|
91
|
+
PropertySubType["barge"] = "barge";
|
|
92
|
+
PropertySubType["bnb"] = "bnb";
|
|
93
|
+
PropertySubType["castle"] = "castle";
|
|
94
|
+
PropertySubType["chalet"] = "chalet";
|
|
95
|
+
PropertySubType["chalet_alpine"] = "chalet_alpine";
|
|
96
|
+
PropertySubType["end_of_terrace"] = "end_of_terrace";
|
|
97
|
+
PropertySubType["equestrian_property"] = "equestrian_property";
|
|
98
|
+
PropertySubType["hunting_property"] = "hunting_property";
|
|
99
|
+
PropertySubType["mas_farmhouse"] = "mas_farmhouse";
|
|
100
|
+
PropertySubType["mixed_use"] = "mixed_use";
|
|
101
|
+
PropertySubType["other"] = "other";
|
|
102
|
+
PropertySubType["studio"] = "studio";
|
|
103
|
+
PropertySubType["trading_fund"] = "trading_fund";
|
|
104
|
+
PropertySubType["triplex"] = "triplex";
|
|
105
|
+
PropertySubType["vineyard"] = "vineyard";
|
|
89
106
|
PropertySubType["pasture_land"] = "pasture_land";
|
|
90
107
|
PropertySubType["private_garage"] = "private_garage";
|
|
91
108
|
PropertySubType["loft"] = "loft";
|
|
@@ -212,6 +229,19 @@ var LandUseDesignation;
|
|
|
212
229
|
LandUseDesignation["day_recreation_area"] = "day_recreation_area";
|
|
213
230
|
LandUseDesignation["other"] = "other";
|
|
214
231
|
})(LandUseDesignation || (exports.LandUseDesignation = LandUseDesignation = {}));
|
|
232
|
+
var ELevel;
|
|
233
|
+
(function (ELevel) {
|
|
234
|
+
ELevel["E90"] = "E90";
|
|
235
|
+
ELevel["E80"] = "E80";
|
|
236
|
+
ELevel["E70"] = "E70";
|
|
237
|
+
ELevel["E60"] = "E60";
|
|
238
|
+
ELevel["E50"] = "E50";
|
|
239
|
+
ELevel["E40"] = "E40";
|
|
240
|
+
ELevel["E35"] = "E35";
|
|
241
|
+
ELevel["E30"] = "E30";
|
|
242
|
+
ELevel["E20"] = "E20";
|
|
243
|
+
ELevel["E10"] = "E10";
|
|
244
|
+
})(ELevel || (exports.ELevel = ELevel = {}));
|
|
215
245
|
var InternalType;
|
|
216
246
|
(function (InternalType) {
|
|
217
247
|
InternalType["project"] = "project";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.js","sourceRoot":"","sources":["../../src/entities/property.ts"],"names":[],"mappings":";;;AAOA,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,kBAAO,CAAA;IACP,kBAAO,CAAA;IACP,kBAAO,CAAA;IACP,kBAAO,CAAA;AACT,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"property.js","sourceRoot":"","sources":["../../src/entities/property.ts"],"names":[],"mappings":";;;AAOA,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,kBAAO,CAAA;IACP,kBAAO,CAAA;IACP,kBAAO,CAAA;IACP,kBAAO,CAAA;AACT,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB;AAED,IAAY,OAgCX;AAhCD,WAAY,OAAO;IACjB,0BAAe,CAAA;IACf,8BAAmB,CAAA;IACnB,gCAAqB,CAAA;IACrB,6CAAkC,CAAA;IAClC,wBAAa,CAAA;IACb,uCAA4B,CAAA;IAC5B,2CAAgC,CAAA;IAChC,gCAAqB,CAAA;IACrB,6CAAkC,CAAA;IAClC,+CAAoC,CAAA;IACpC,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,4BAAiB,CAAA;IACjB,oCAAyB,CAAA;IACzB,+CAAoC,CAAA;IACpC,+BAAoB,CAAA;IACpB,wBAAa,CAAA;IACb,qCAA0B,CAAA;IAC1B,8BAAmB,CAAA;IACnB,wBAAa,CAAA;IACb,mDAAwC,CAAA;IACxC,2CAAgC,CAAA;IAChC,2CAAgC,CAAA;IAChC,qCAA0B,CAAA;IAC1B,qCAA0B,CAAA;IAC1B,uCAA4B,CAAA;IAC5B,yCAA8B,CAAA;IAC9B,8BAAmB,CAAA;IACnB,+CAAoC,CAAA;IACpC,uCAA4B,CAAA;IAC5B,uCAA4B,CAAA;AAC9B,CAAC,EAhCW,OAAO,uBAAP,OAAO,QAgClB;AAED,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,8BAAS,CAAA;IACT,kCAAa,CAAA;IACb,kCAAa,CAAA;IACb,oCAAe,CAAA;AACjB,CAAC,EALW,iBAAiB,iCAAjB,iBAAiB,QAK5B;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;AACvB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB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;IAC3C,qCAAe,CAAA;AACjB,CAAC,EAfW,kBAAkB,kCAAlB,kBAAkB,QAe7B;AAED,IAAY,MAWX;AAXD,WAAY,MAAM;IAChB,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;AACb,CAAC,EAXW,MAAM,sBAAN,MAAM,QAWjB;AA+XD,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,yCAAyB,CAAA;AAC3B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,4CAAgC,CAAA;AAClC,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export {
|
|
1
|
+
import type { Logger } from './oauth-manager/interfaces';
|
|
2
|
+
import type { Client, ClientConf } from './types';
|
|
3
|
+
export declare function createClient(conf: ClientConf, logger?: Logger): Client;
|
|
4
|
+
export type { Negotiator, NegotiatorData, CompanyNegotiator, } from './entities/negotiator';
|
|
5
|
+
export type { ChannelAccount } from './entities/channelAccount';
|
|
6
|
+
export type { Contact, ContactPreferences, LocationPreferenceEntity, DataCoords, GeoType, Interaction, Address, } from './entities/contact';
|
|
7
|
+
export { ContactType, InteractionTypes } from './entities/contact';
|
|
8
|
+
export type { Company } from './entities/office';
|
|
9
|
+
export type { Property, LocationAttributes, UserDefaults, LocalizedStringMap, RoomData, LanguageWithDefaultValue, FileUploadStream, Resource, LegalEntityData, LegalEntity, SourceData, PropertyAttributes, TenantContract, PropertyPermissions, Image, FloorPlan, PropertyDocument, PropertyAccessibility, PropertyOrientation, PropertyDescription, PropertyConditions, PropertyStructure, Area, PropertyRoomAttributes, OccupancyAttributes, PropertySettings, AgencyCommissions, AgencyCommission, MandateSettings, OfficeSettings, GeoData, Regulations, PropertyAndLand, Energy, LegalAttributes, Price, PropertyPrice, RenovationAttributes, ConstructionAttributes, BuildingAttributes, EnergyFeatures, ComfortFeatures, EcologyFeatures, SecurityFeatures, HeatingCoolingFeatures, FeaturesAttributes, } from './entities/property';
|
|
10
|
+
export { InternalType, SourceId, PropertyVisibility, ADScale, Amenity, UnitOfMeasurement, MeasurementSystem, AreaType, PropertyStatus, PropertySubType, PropertyType, Negotiation, Condition, Orientation, EnergyCategory, EnergyCategoryExtended, EnergyReport, FloodRisk, Shape, LandUseDesignation, } from './entities/property';
|
|
11
|
+
export { SessionDataImpl } from './oauth-manager/SessionDataImpl';
|
|
12
|
+
export { SweepbrightOAuthManager } from './oauth-manager/SweepbrightOAuthManager';
|
|
13
|
+
export { createCustomEndpointAuthManager } from './oauth-manager/factories/createCustomEndpointAuthManager';
|
|
14
|
+
export { createOAuthManager } from './oauth-manager/factories/createOAuthManager';
|
|
15
|
+
export type { CreateOAuthManagerOptions } from './oauth-manager/factories/entities';
|
|
16
|
+
export type { Logger, OAuthManager, SessionData, } from './oauth-manager/interfaces';
|
|
17
|
+
export { ChannelAccountInclude, ChannelInfoInclude, CompanyInclude, ContactInclude, Env, OfficeInclude, ProjectInclude, PropertyInclude, ReportInclude, UserInclude, VendorInclude, IncludeFor, } from './types';
|
|
14
18
|
export { EventType } from './types';
|
|
15
|
-
export type { AuctionEventData, ApiDataResponse, ApiListMeta, ApiListResponse, ChannelAccountsGetAllInput, ChannelAccountsGetAllResponse, ChannelAccountsGetEstateHashResponse, ChannelAccountsGetEstateHashInput, ChannelAccountsGetInput, ChannelAccountsGetResponse, ChannelsResolveReferencesResult, CompaniesGetResponse, CompaniesGetInput, ContactPreferencesGetAllResponse, ContactPreferencesGetAllInput,
|
|
19
|
+
export type { Client, ClientConf, AuctionEventData, ApiDataResponse, ApiListMeta, ApiListResponse, ChannelAccountsGetAllInput, ChannelAccountsGetAllResponse, ChannelAccountsGetEstateHashResponse, ChannelAccountsGetEstateHashInput, ChannelAccountsGetInput, ChannelAccountsGetResponse, ChannelsResolveReferencesResult, CompaniesGetResponse, CompaniesGetInput, ContactPreferencesGetAllResponse, ContactPreferencesGetAllInput, VisitContactType, ContactsGetAllResponse, ContactsGetAllInput, ContactsGetOneResponse, ContactsGetOneInput, CreateEventAttributes, CreateLeadInput, CreateUnassignedLeadInput, CreateUnassignedLeadPreferencesInput, EstatesGeoJsonInput, EstatesGetAllInput, EstatesGetOneInput, EstatesPublicationInput, EstatesScheduleVisitInput, EstatesScheduleVisitPreferencesInput, EstatesSetPublicationUrlInput, EstatesUnpublishPublicationInput, EstatesUpdateGeoLocationInput, LeadLocationPreferenceInput, NegotiatorsGetByCompanyIdResponse, NegotiatorsGetByCompanyIdInput, OfficesGetInput, OpenHopeEventData, PaginationMeta, PropertiesOutput, ReferenceDetails, UnitsOutput, UserType, VisitEventData, } from './types';
|
|
20
|
+
export { AxiosError } from 'axios';
|