@sweepbright/api-client 0.42.0-pre.4 → 0.42.0-pre.6
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/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 +8 -4
- package/dist/entities/property.d.ts +13 -8
- package/dist/index.d.ts +7 -5
- package/dist/index.js +23 -5
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +13 -36
- package/dist/types.js +13 -51
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,14 @@ 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
21
|
office_id: string;
|
|
22
|
-
|
|
22
|
+
office?: Maybe<ApiDataResponse<Office>>;
|
|
23
|
+
photo?: Maybe<ApiDataResponse<PhotoInfo>>;
|
|
24
|
+
company?: Maybe<ApiDataResponse<Company>>;
|
|
25
|
+
integrations?: Maybe<ApiDataResponse<Record<string, unknown>[]>>;
|
|
26
|
+
invitation?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
23
27
|
}
|
|
24
28
|
export interface NegotiatorData {
|
|
25
29
|
data?: Maybe<Negotiator>;
|
|
@@ -511,12 +511,12 @@ export interface SourceData {
|
|
|
511
511
|
group: Maybe<string>;
|
|
512
512
|
software: Maybe<string>;
|
|
513
513
|
}
|
|
514
|
-
interface LegalEntity {
|
|
514
|
+
export interface LegalEntity {
|
|
515
515
|
id: string;
|
|
516
516
|
name?: string;
|
|
517
517
|
office_id?: string;
|
|
518
518
|
}
|
|
519
|
-
interface LegalEntityData {
|
|
519
|
+
export interface LegalEntityData {
|
|
520
520
|
data?: Maybe<LegalEntity>;
|
|
521
521
|
}
|
|
522
522
|
export interface Property {
|
|
@@ -532,23 +532,29 @@ export interface Property {
|
|
|
532
532
|
created_at?: Maybe<string>;
|
|
533
533
|
updated_at?: Maybe<string>;
|
|
534
534
|
internal_type?: InternalType;
|
|
535
|
-
visibility?: PropertyVisibility
|
|
535
|
+
visibility?: Maybe<PropertyVisibility>;
|
|
536
536
|
buyer_ids?: string[];
|
|
537
537
|
owner_ids?: string[];
|
|
538
|
-
legal_entity_id
|
|
538
|
+
legal_entity_id?: Maybe<string>;
|
|
539
539
|
is_archived?: boolean;
|
|
540
540
|
source?: SourceData;
|
|
541
|
+
/** This needs to be provided as includes */
|
|
541
542
|
negotiator?: Maybe<NegotiatorData>;
|
|
543
|
+
/** This needs to be provided as includes */
|
|
542
544
|
buyers?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
545
|
+
/** This needs to be provided as includes */
|
|
543
546
|
vendors?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
547
|
+
/** This needs to be provided as includes */
|
|
544
548
|
legal_entity?: Maybe<LegalEntityData>;
|
|
549
|
+
/** This needs to be provided as includes */
|
|
545
550
|
last_interaction?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
551
|
+
/** This needs to be provided as includes */
|
|
546
552
|
office?: Maybe<OfficeData>;
|
|
553
|
+
/** This needs to be provided as includes */
|
|
547
554
|
latest_activity?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
555
|
+
/** This needs to be provided as includes */
|
|
556
|
+
project?: Maybe<ApiDataResponse<Record<string, unknown>>>;
|
|
548
557
|
}
|
|
549
|
-
export type WithNegotiators<T> = T & {
|
|
550
|
-
negotiators?: Maybe<NegotiatorData[]>;
|
|
551
|
-
};
|
|
552
558
|
export type Resource = FloorPlan | PropertyDocument | Image;
|
|
553
559
|
export type FileUploadStream = fs.ReadStream;
|
|
554
560
|
export interface LanguageWithDefaultValue {
|
|
@@ -568,4 +574,3 @@ export interface UserDefaults {
|
|
|
568
574
|
defaultLanguage: string[];
|
|
569
575
|
country: string;
|
|
570
576
|
}
|
|
571
|
-
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import type { Logger } from './oauth-manager/interfaces';
|
|
2
2
|
import type { Client, ClientConf } from './types';
|
|
3
3
|
export declare function createClient(conf: ClientConf, logger?: Logger): Client;
|
|
4
|
+
export type { Negotiator, NegotiatorData, CompanyNegotiator, } from './entities/negotiator';
|
|
4
5
|
export type { ChannelAccount } from './entities/channelAccount';
|
|
5
|
-
export type { Contact } from './entities/contact';
|
|
6
|
+
export type { Contact, ContactPreferences, LocationPreferenceEntity, DataCoords, GeoType, Interaction, Address, } from './entities/contact';
|
|
7
|
+
export { ContactType, InteractionTypes } from './entities/contact';
|
|
6
8
|
export type { Company } from './entities/office';
|
|
7
|
-
export type { Property } from './entities/property';
|
|
8
|
-
export { InternalType } from './entities/property';
|
|
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';
|
|
9
11
|
export { SessionDataImpl } from './oauth-manager/SessionDataImpl';
|
|
10
12
|
export { SweepbrightOAuthManager } from './oauth-manager/SweepbrightOAuthManager';
|
|
11
13
|
export { createCustomEndpointAuthManager } from './oauth-manager/factories/createCustomEndpointAuthManager';
|
|
12
14
|
export { createOAuthManager } from './oauth-manager/factories/createOAuthManager';
|
|
13
15
|
export type { CreateOAuthManagerOptions } from './oauth-manager/factories/entities';
|
|
14
16
|
export type { Logger, OAuthManager, SessionData, } from './oauth-manager/interfaces';
|
|
15
|
-
export {
|
|
17
|
+
export { ChannelAccountInclude, ChannelInfoInclude, CompanyInclude, ContactInclude, Env, OfficeInclude, ProjectInclude, PropertyInclude, ReportInclude, UserInclude, VendorInclude, IncludeFor, } from './types';
|
|
16
18
|
export { EventType } from './types';
|
|
17
|
-
export type { Client, ClientConf, 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';
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventType = exports.VendorInclude = exports.UserInclude = exports.ReportInclude = exports.PropertyInclude = exports.ProjectInclude = exports.OfficeInclude = exports.
|
|
3
|
+
exports.EventType = exports.VendorInclude = exports.UserInclude = exports.ReportInclude = exports.PropertyInclude = exports.ProjectInclude = exports.OfficeInclude = exports.Env = exports.ContactInclude = exports.CompanyInclude = exports.ChannelInfoInclude = exports.ChannelAccountInclude = exports.createOAuthManager = exports.createCustomEndpointAuthManager = exports.SweepbrightOAuthManager = exports.SessionDataImpl = 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 = exports.PropertyVisibility = exports.SourceId = exports.InternalType = exports.InteractionTypes = exports.ContactType = void 0;
|
|
4
4
|
exports.createClient = createClient;
|
|
5
5
|
const client_1 = require("./client");
|
|
6
6
|
function createClient(conf, logger) {
|
|
7
7
|
return new client_1.ClientImpl(conf, logger);
|
|
8
8
|
}
|
|
9
|
+
var contact_1 = require("./entities/contact");
|
|
10
|
+
Object.defineProperty(exports, "ContactType", { enumerable: true, get: function () { return contact_1.ContactType; } });
|
|
11
|
+
Object.defineProperty(exports, "InteractionTypes", { enumerable: true, get: function () { return contact_1.InteractionTypes; } });
|
|
9
12
|
var property_1 = require("./entities/property");
|
|
10
13
|
Object.defineProperty(exports, "InternalType", { enumerable: true, get: function () { return property_1.InternalType; } });
|
|
14
|
+
Object.defineProperty(exports, "SourceId", { enumerable: true, get: function () { return property_1.SourceId; } });
|
|
15
|
+
Object.defineProperty(exports, "PropertyVisibility", { enumerable: true, get: function () { return property_1.PropertyVisibility; } });
|
|
16
|
+
Object.defineProperty(exports, "ADScale", { enumerable: true, get: function () { return property_1.ADScale; } });
|
|
17
|
+
Object.defineProperty(exports, "Amenity", { enumerable: true, get: function () { return property_1.Amenity; } });
|
|
18
|
+
Object.defineProperty(exports, "UnitOfMeasurement", { enumerable: true, get: function () { return property_1.UnitOfMeasurement; } });
|
|
19
|
+
Object.defineProperty(exports, "MeasurementSystem", { enumerable: true, get: function () { return property_1.MeasurementSystem; } });
|
|
20
|
+
Object.defineProperty(exports, "AreaType", { enumerable: true, get: function () { return property_1.AreaType; } });
|
|
21
|
+
Object.defineProperty(exports, "PropertyStatus", { enumerable: true, get: function () { return property_1.PropertyStatus; } });
|
|
22
|
+
Object.defineProperty(exports, "PropertySubType", { enumerable: true, get: function () { return property_1.PropertySubType; } });
|
|
23
|
+
Object.defineProperty(exports, "PropertyType", { enumerable: true, get: function () { return property_1.PropertyType; } });
|
|
24
|
+
Object.defineProperty(exports, "Negotiation", { enumerable: true, get: function () { return property_1.Negotiation; } });
|
|
25
|
+
Object.defineProperty(exports, "Condition", { enumerable: true, get: function () { return property_1.Condition; } });
|
|
26
|
+
Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return property_1.Orientation; } });
|
|
27
|
+
Object.defineProperty(exports, "EnergyCategory", { enumerable: true, get: function () { return property_1.EnergyCategory; } });
|
|
28
|
+
Object.defineProperty(exports, "EnergyCategoryExtended", { enumerable: true, get: function () { return property_1.EnergyCategoryExtended; } });
|
|
29
|
+
Object.defineProperty(exports, "EnergyReport", { enumerable: true, get: function () { return property_1.EnergyReport; } });
|
|
30
|
+
Object.defineProperty(exports, "FloodRisk", { enumerable: true, get: function () { return property_1.FloodRisk; } });
|
|
31
|
+
Object.defineProperty(exports, "Shape", { enumerable: true, get: function () { return property_1.Shape; } });
|
|
32
|
+
Object.defineProperty(exports, "LandUseDesignation", { enumerable: true, get: function () { return property_1.LandUseDesignation; } });
|
|
11
33
|
var SessionDataImpl_1 = require("./oauth-manager/SessionDataImpl");
|
|
12
34
|
Object.defineProperty(exports, "SessionDataImpl", { enumerable: true, get: function () { return SessionDataImpl_1.SessionDataImpl; } });
|
|
13
35
|
var SweepbrightOAuthManager_1 = require("./oauth-manager/SweepbrightOAuthManager");
|
|
@@ -17,15 +39,11 @@ Object.defineProperty(exports, "createCustomEndpointAuthManager", { enumerable:
|
|
|
17
39
|
var createOAuthManager_1 = require("./oauth-manager/factories/createOAuthManager");
|
|
18
40
|
Object.defineProperty(exports, "createOAuthManager", { enumerable: true, get: function () { return createOAuthManager_1.createOAuthManager; } });
|
|
19
41
|
var types_1 = require("./types");
|
|
20
|
-
Object.defineProperty(exports, "ActivityInclude", { enumerable: true, get: function () { return types_1.ActivityInclude; } });
|
|
21
|
-
Object.defineProperty(exports, "BucketInclude", { enumerable: true, get: function () { return types_1.BucketInclude; } });
|
|
22
42
|
Object.defineProperty(exports, "ChannelAccountInclude", { enumerable: true, get: function () { return types_1.ChannelAccountInclude; } });
|
|
23
43
|
Object.defineProperty(exports, "ChannelInfoInclude", { enumerable: true, get: function () { return types_1.ChannelInfoInclude; } });
|
|
24
44
|
Object.defineProperty(exports, "CompanyInclude", { enumerable: true, get: function () { return types_1.CompanyInclude; } });
|
|
25
45
|
Object.defineProperty(exports, "ContactInclude", { enumerable: true, get: function () { return types_1.ContactInclude; } });
|
|
26
46
|
Object.defineProperty(exports, "Env", { enumerable: true, get: function () { return types_1.Env; } });
|
|
27
|
-
Object.defineProperty(exports, "InteractionInclude", { enumerable: true, get: function () { return types_1.InteractionInclude; } });
|
|
28
|
-
Object.defineProperty(exports, "InterestInclude", { enumerable: true, get: function () { return types_1.InterestInclude; } });
|
|
29
47
|
Object.defineProperty(exports, "OfficeInclude", { enumerable: true, get: function () { return types_1.OfficeInclude; } });
|
|
30
48
|
Object.defineProperty(exports, "ProjectInclude", { enumerable: true, get: function () { return types_1.ProjectInclude; } });
|
|
31
49
|
Object.defineProperty(exports, "PropertyInclude", { enumerable: true, get: function () { return types_1.PropertyInclude; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAIA,oCAEC;AAND,qCAAsC;AAItC,SAAgB,YAAY,CAAC,IAAgB,EAAE,MAAe;IAC5D,OAAO,IAAI,mBAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACtC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAIA,oCAEC;AAND,qCAAsC;AAItC,SAAgB,YAAY,CAAC,IAAgB,EAAE,MAAe;IAC5D,OAAO,IAAI,mBAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACtC,CAAC;AAgBD,8CAAmE;AAA1D,sGAAA,WAAW,OAAA;AAAE,2GAAA,gBAAgB,OAAA;AAkDtC,gDAqB6B;AApB3B,wGAAA,YAAY,OAAA;AACZ,oGAAA,QAAQ,OAAA;AACR,8GAAA,kBAAkB,OAAA;AAClB,mGAAA,OAAO,OAAA;AACP,mGAAA,OAAO,OAAA;AACP,6GAAA,iBAAiB,OAAA;AACjB,6GAAA,iBAAiB,OAAA;AACjB,oGAAA,QAAQ,OAAA;AACR,0GAAA,cAAc,OAAA;AACd,2GAAA,eAAe,OAAA;AACf,wGAAA,YAAY,OAAA;AACZ,uGAAA,WAAW,OAAA;AACX,qGAAA,SAAS,OAAA;AACT,uGAAA,WAAW,OAAA;AACX,0GAAA,cAAc,OAAA;AACd,kHAAA,sBAAsB,OAAA;AACtB,wGAAA,YAAY,OAAA;AACZ,qGAAA,SAAS,OAAA;AACT,iGAAA,KAAK,OAAA;AACL,8GAAA,kBAAkB,OAAA;AAGpB,mEAAkE;AAAzD,kHAAA,eAAe,OAAA;AACxB,mFAAkF;AAAzE,kIAAA,uBAAuB,OAAA;AAChC,6GAA4G;AAAnG,kJAAA,+BAA+B,OAAA;AACxC,mFAAkF;AAAzE,wHAAA,kBAAkB,OAAA;AAS3B,iCAaiB;AAZf,8GAAA,qBAAqB,OAAA;AACrB,2GAAA,kBAAkB,OAAA;AAClB,uGAAA,cAAc,OAAA;AACd,uGAAA,cAAc,OAAA;AACd,4FAAA,GAAG,OAAA;AACH,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,oGAAA,WAAW,OAAA;AACX,sGAAA,aAAa,OAAA;AAIf,iCAAoC;AAA3B,kGAAA,SAAS,OAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
import { Maybe } from './common/types';
|
|
3
3
|
import { ChannelAccount } from './entities/channelAccount';
|
|
4
|
-
import { Contact } from './entities/contact';
|
|
4
|
+
import { Contact, ContactPreferences } from './entities/contact';
|
|
5
5
|
import { CompanyNegotiator } from './entities/negotiator';
|
|
6
6
|
import { Company } from './entities/office';
|
|
7
7
|
import { Property } from './entities/property';
|
|
@@ -21,13 +21,6 @@ export declare enum Env {
|
|
|
21
21
|
STAGING = "staging",
|
|
22
22
|
DEV = "dev"
|
|
23
23
|
}
|
|
24
|
-
export declare enum ActivityInclude {
|
|
25
|
-
Details = "details"
|
|
26
|
-
}
|
|
27
|
-
export declare enum BucketInclude {
|
|
28
|
-
Estate = "estate",
|
|
29
|
-
Company = "company"
|
|
30
|
-
}
|
|
31
24
|
export declare enum ChannelAccountInclude {
|
|
32
25
|
Channel = "channel",
|
|
33
26
|
LatestPublication = "latest_publication",
|
|
@@ -46,15 +39,6 @@ export declare enum CompanyInclude {
|
|
|
46
39
|
Photo = "photo",
|
|
47
40
|
Settings = "settings"
|
|
48
41
|
}
|
|
49
|
-
export declare enum InteractionInclude {
|
|
50
|
-
Property = "property",
|
|
51
|
-
User = "user",
|
|
52
|
-
Contact = "contact",
|
|
53
|
-
Feedbacks = "feedbacks"
|
|
54
|
-
}
|
|
55
|
-
export declare enum InterestInclude {
|
|
56
|
-
Estate = "estate"
|
|
57
|
-
}
|
|
58
42
|
export declare enum ContactInclude {
|
|
59
43
|
LatestInteraction = "latest_interaction",
|
|
60
44
|
Office = "office",
|
|
@@ -67,13 +51,7 @@ export declare enum OfficeInclude {
|
|
|
67
51
|
Settings = "settings"
|
|
68
52
|
}
|
|
69
53
|
export declare enum ProjectInclude {
|
|
70
|
-
|
|
71
|
-
Channels = "channels",
|
|
72
|
-
LatestActivity = "latest_activity",
|
|
73
|
-
Negotiator = "negotiator",
|
|
74
|
-
Office = "office",
|
|
75
|
-
Properties = "properties",
|
|
76
|
-
Vendors = "vendors"
|
|
54
|
+
Properties = "properties"
|
|
77
55
|
}
|
|
78
56
|
export declare enum PropertyInclude {
|
|
79
57
|
Project = "project",
|
|
@@ -111,26 +89,25 @@ export declare enum VisitInclude {
|
|
|
111
89
|
Negotiator = "negotiator"
|
|
112
90
|
}
|
|
113
91
|
export declare const IncludesByResource: {
|
|
114
|
-
readonly Property: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Unit, PropertyInclude.Settings];
|
|
92
|
+
readonly Property: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Unit, PropertyInclude.Settings, ProjectInclude];
|
|
115
93
|
readonly Contact: readonly [ContactInclude.LatestInteraction, ContactInclude.Office, ContactInclude.LatestActivity, ContactInclude.Negotiators];
|
|
116
94
|
readonly ChannelAccount: readonly [ChannelAccountInclude.Channel, ChannelAccountInclude.LatestPublication, ChannelAccountInclude.EstateChannelAccount, ChannelAccountInclude.EstateChannelValidation, ChannelAccountInclude.PublicApi];
|
|
117
95
|
readonly Company: readonly [CompanyInclude.AvailableCurrencies, CompanyInclude.Enterprise, CompanyInclude.WebsiteLog, CompanyInclude.Plan, CompanyInclude.Photo, CompanyInclude.Settings];
|
|
118
96
|
readonly Office: readonly [OfficeInclude.Company, OfficeInclude.HeadNegotiator, OfficeInclude.Settings];
|
|
119
|
-
readonly Project: readonly [ProjectInclude.LegalEntity, ProjectInclude.Channels, ProjectInclude.LatestActivity, ProjectInclude.Negotiator, ProjectInclude.Office, ProjectInclude.Properties, ProjectInclude.Vendors];
|
|
120
|
-
readonly Unit: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity];
|
|
121
97
|
readonly User: readonly [UserInclude.Photo, UserInclude.Office, UserInclude.Company, UserInclude.Integrations, UserInclude.Invitation];
|
|
122
98
|
};
|
|
123
99
|
export declare const NestedIncludesByResource: {
|
|
124
|
-
readonly
|
|
125
|
-
readonly properties: readonly [PropertyInclude.
|
|
100
|
+
readonly Property: {
|
|
101
|
+
readonly properties: readonly [PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Settings];
|
|
126
102
|
};
|
|
127
103
|
};
|
|
128
104
|
export type IncludeResource = keyof typeof IncludesByResource;
|
|
129
105
|
type NestedIncludesMap = typeof NestedIncludesByResource;
|
|
130
106
|
type ElementOf<T> = T extends readonly (infer U)[] ? U : never;
|
|
131
|
-
type
|
|
132
|
-
[K in keyof
|
|
133
|
-
}[keyof
|
|
107
|
+
type NestedIncludeForResource<M extends Record<string, readonly unknown[]>> = {
|
|
108
|
+
[K in keyof M]: K extends string ? `${K}.${ElementOf<M[K]> & string}` : never;
|
|
109
|
+
}[keyof M];
|
|
110
|
+
type NestedIncludeFor<R extends IncludeResource> = R extends keyof NestedIncludesMap ? NestedIncludeForResource<NestedIncludesMap[R]> : never;
|
|
134
111
|
export type IncludeFor<R extends IncludeResource> = (typeof IncludesByResource)[R][number] | NestedIncludeFor<R>;
|
|
135
112
|
export type ClientConf = {
|
|
136
113
|
clientId?: string;
|
|
@@ -250,7 +227,7 @@ export declare enum EventType {
|
|
|
250
227
|
AUCTION_DELETED = "AUCTION_DELETED"
|
|
251
228
|
}
|
|
252
229
|
export type UserType = 'user';
|
|
253
|
-
export type
|
|
230
|
+
export type VisitContactType = 'contact';
|
|
254
231
|
export interface VisitEventData {
|
|
255
232
|
id: string;
|
|
256
233
|
organizer: {
|
|
@@ -258,7 +235,7 @@ export interface VisitEventData {
|
|
|
258
235
|
id: string;
|
|
259
236
|
};
|
|
260
237
|
attendees: {
|
|
261
|
-
type:
|
|
238
|
+
type: VisitContactType;
|
|
262
239
|
id: string;
|
|
263
240
|
}[];
|
|
264
241
|
start_date: Date;
|
|
@@ -330,7 +307,7 @@ export interface OfficesGetInput {
|
|
|
330
307
|
export interface GetUnitsInput {
|
|
331
308
|
page?: number;
|
|
332
309
|
limit?: number;
|
|
333
|
-
includes?: IncludeFor<'
|
|
310
|
+
includes?: IncludeFor<'Property'>[];
|
|
334
311
|
}
|
|
335
312
|
export interface PaginationMeta {
|
|
336
313
|
total: number;
|
|
@@ -359,7 +336,7 @@ export type ChannelAccountsGetEstateHashResponse = ApiDataResponse<{
|
|
|
359
336
|
export type NegotiatorsGetByCompanyIdResponse = ApiDataResponse<CompanyNegotiator[]>;
|
|
360
337
|
export type ContactsGetOneResponse = ApiDataResponse<Contact>;
|
|
361
338
|
export type ContactsGetAllResponse = ApiListResponse<Contact>;
|
|
362
|
-
export type ContactPreferencesGetAllResponse = ApiDataResponse<
|
|
339
|
+
export type ContactPreferencesGetAllResponse = ApiDataResponse<ContactPreferences[]>;
|
|
363
340
|
export type UnitsOutput = ApiListResponse<Property>;
|
|
364
341
|
export type PropertyOutput = ApiDataResponse<Property>;
|
|
365
342
|
export type PropertiesOutput = ApiListResponse<Property>;
|
package/dist/types.js
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventType = exports.TokenType = exports.NestedIncludesByResource = exports.IncludesByResource = exports.VisitInclude = exports.VendorInclude = exports.UserInclude = exports.ReportInclude = exports.PropertyInclude = exports.ProjectInclude = exports.OfficeInclude = exports.ContactInclude = exports.
|
|
3
|
+
exports.EventType = exports.TokenType = exports.NestedIncludesByResource = exports.IncludesByResource = exports.VisitInclude = exports.VendorInclude = exports.UserInclude = exports.ReportInclude = exports.PropertyInclude = exports.ProjectInclude = exports.OfficeInclude = exports.ContactInclude = exports.CompanyInclude = exports.ChannelInfoInclude = exports.ChannelAccountInclude = exports.Env = void 0;
|
|
4
4
|
var Env;
|
|
5
5
|
(function (Env) {
|
|
6
6
|
Env["PRODUCTION"] = "production";
|
|
7
7
|
Env["STAGING"] = "staging";
|
|
8
8
|
Env["DEV"] = "dev";
|
|
9
9
|
})(Env || (exports.Env = Env = {}));
|
|
10
|
-
var ActivityInclude;
|
|
11
|
-
(function (ActivityInclude) {
|
|
12
|
-
ActivityInclude["Details"] = "details";
|
|
13
|
-
})(ActivityInclude || (exports.ActivityInclude = ActivityInclude = {}));
|
|
14
|
-
var BucketInclude;
|
|
15
|
-
(function (BucketInclude) {
|
|
16
|
-
BucketInclude["Estate"] = "estate";
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
18
|
-
BucketInclude["Company"] = "company";
|
|
19
|
-
})(BucketInclude || (exports.BucketInclude = BucketInclude = {}));
|
|
20
10
|
var ChannelAccountInclude;
|
|
21
11
|
(function (ChannelAccountInclude) {
|
|
22
12
|
ChannelAccountInclude["Channel"] = "channel";
|
|
@@ -38,19 +28,6 @@ var CompanyInclude;
|
|
|
38
28
|
CompanyInclude["Photo"] = "photo";
|
|
39
29
|
CompanyInclude["Settings"] = "settings";
|
|
40
30
|
})(CompanyInclude || (exports.CompanyInclude = CompanyInclude = {}));
|
|
41
|
-
var InteractionInclude;
|
|
42
|
-
(function (InteractionInclude) {
|
|
43
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
44
|
-
InteractionInclude["Property"] = "property";
|
|
45
|
-
InteractionInclude["User"] = "user";
|
|
46
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
47
|
-
InteractionInclude["Contact"] = "contact";
|
|
48
|
-
InteractionInclude["Feedbacks"] = "feedbacks";
|
|
49
|
-
})(InteractionInclude || (exports.InteractionInclude = InteractionInclude = {}));
|
|
50
|
-
var InterestInclude;
|
|
51
|
-
(function (InterestInclude) {
|
|
52
|
-
InterestInclude["Estate"] = "estate";
|
|
53
|
-
})(InterestInclude || (exports.InterestInclude = InterestInclude = {}));
|
|
54
31
|
var ContactInclude;
|
|
55
32
|
(function (ContactInclude) {
|
|
56
33
|
ContactInclude["LatestInteraction"] = "latest_interaction";
|
|
@@ -67,13 +44,7 @@ var OfficeInclude;
|
|
|
67
44
|
})(OfficeInclude || (exports.OfficeInclude = OfficeInclude = {}));
|
|
68
45
|
var ProjectInclude;
|
|
69
46
|
(function (ProjectInclude) {
|
|
70
|
-
ProjectInclude["LegalEntity"] = "legal_entity";
|
|
71
|
-
ProjectInclude["Channels"] = "channels";
|
|
72
|
-
ProjectInclude["LatestActivity"] = "latest_activity";
|
|
73
|
-
ProjectInclude["Negotiator"] = "negotiator";
|
|
74
|
-
ProjectInclude["Office"] = "office";
|
|
75
47
|
ProjectInclude["Properties"] = "properties";
|
|
76
|
-
ProjectInclude["Vendors"] = "vendors";
|
|
77
48
|
})(ProjectInclude || (exports.ProjectInclude = ProjectInclude = {}));
|
|
78
49
|
var PropertyInclude;
|
|
79
50
|
(function (PropertyInclude) {
|
|
@@ -130,6 +101,7 @@ exports.IncludesByResource = {
|
|
|
130
101
|
PropertyInclude.LatestActivity,
|
|
131
102
|
PropertyInclude.Unit,
|
|
132
103
|
PropertyInclude.Settings,
|
|
104
|
+
ProjectInclude.Properties,
|
|
133
105
|
],
|
|
134
106
|
Contact: [
|
|
135
107
|
ContactInclude.LatestInteraction,
|
|
@@ -157,25 +129,6 @@ exports.IncludesByResource = {
|
|
|
157
129
|
OfficeInclude.HeadNegotiator,
|
|
158
130
|
OfficeInclude.Settings,
|
|
159
131
|
],
|
|
160
|
-
Project: [
|
|
161
|
-
ProjectInclude.LegalEntity,
|
|
162
|
-
ProjectInclude.Channels,
|
|
163
|
-
ProjectInclude.LatestActivity,
|
|
164
|
-
ProjectInclude.Negotiator,
|
|
165
|
-
ProjectInclude.Office,
|
|
166
|
-
ProjectInclude.Properties,
|
|
167
|
-
ProjectInclude.Vendors,
|
|
168
|
-
],
|
|
169
|
-
Unit: [
|
|
170
|
-
PropertyInclude.Project,
|
|
171
|
-
PropertyInclude.LegalEntity,
|
|
172
|
-
PropertyInclude.Buyers,
|
|
173
|
-
PropertyInclude.LastInteraction,
|
|
174
|
-
PropertyInclude.Negotiator,
|
|
175
|
-
PropertyInclude.Office,
|
|
176
|
-
PropertyInclude.Vendors,
|
|
177
|
-
PropertyInclude.LatestActivity,
|
|
178
|
-
],
|
|
179
132
|
User: [
|
|
180
133
|
UserInclude.Photo,
|
|
181
134
|
UserInclude.Office,
|
|
@@ -185,8 +138,17 @@ exports.IncludesByResource = {
|
|
|
185
138
|
],
|
|
186
139
|
};
|
|
187
140
|
exports.NestedIncludesByResource = {
|
|
188
|
-
|
|
189
|
-
[ProjectInclude.Properties]:
|
|
141
|
+
Property: {
|
|
142
|
+
[ProjectInclude.Properties]: [
|
|
143
|
+
PropertyInclude.LegalEntity,
|
|
144
|
+
PropertyInclude.Buyers,
|
|
145
|
+
PropertyInclude.LastInteraction,
|
|
146
|
+
PropertyInclude.Negotiator,
|
|
147
|
+
PropertyInclude.Office,
|
|
148
|
+
PropertyInclude.Vendors,
|
|
149
|
+
PropertyInclude.LatestActivity,
|
|
150
|
+
PropertyInclude.Settings,
|
|
151
|
+
],
|
|
190
152
|
},
|
|
191
153
|
};
|
|
192
154
|
var TokenType;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,GAIX;AAJD,WAAY,GAAG;IACb,gCAAyB,CAAA;IACzB,0BAAmB,CAAA;IACnB,kBAAW,CAAA;AACb,CAAC,EAJW,GAAG,mBAAH,GAAG,QAId;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAmBA,IAAY,GAIX;AAJD,WAAY,GAAG;IACb,gCAAyB,CAAA;IACzB,0BAAmB,CAAA;IACnB,kBAAW,CAAA;AACb,CAAC,EAJW,GAAG,mBAAH,GAAG,QAId;AAED,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,iEAAwC,CAAA;IACxC,wEAA+C,CAAA;IAC/C,8EAAqD,CAAA;IACrD,iDAAwB,CAAA;AAC1B,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAED,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;AACnB,CAA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