@sweepbright/api-client 0.42.0-pre.3 → 0.42.0-pre.5

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.
@@ -2,6 +2,46 @@ import { Maybe } from '../common/types';
2
2
  import { ApiDataResponse } from '../types';
3
3
  import { CompanyNegotiator } from './negotiator';
4
4
  import { Office } from './office';
5
+ import { Amenity, Condition, PropertyType } from './property';
6
+ export declare enum GeoType {
7
+ geojson = "geojson",
8
+ postal_codes = "postal_codes"
9
+ }
10
+ export interface DataCoords {
11
+ type: 'Polygon';
12
+ coordinates: Array<Array<[number, number]>>;
13
+ }
14
+ export interface LocationPreferenceEntity {
15
+ _id: string;
16
+ id: string;
17
+ preference_id: string;
18
+ name?: string;
19
+ type?: GeoType;
20
+ postal_codes?: string[];
21
+ country?: string;
22
+ geojson?: DataCoords;
23
+ }
24
+ export interface ContactPreferences {
25
+ id: string;
26
+ wishes?: string[];
27
+ types?: string[];
28
+ min_rooms?: number | null;
29
+ locale?: string;
30
+ message?: string;
31
+ is_investor?: boolean;
32
+ negotiation?: string;
33
+ location_text?: string;
34
+ wishes_text?: string;
35
+ max_price?: number;
36
+ min_price?: number;
37
+ amenities?: Amenity[] | null;
38
+ condition?: Condition | null;
39
+ created_at?: string;
40
+ is_matchable?: boolean;
41
+ type?: PropertyType;
42
+ updated_at?: string;
43
+ location_preferences?: LocationPreferenceEntity[];
44
+ }
5
45
  export interface Contact {
6
46
  id: string;
7
47
  type: string;
@@ -1,3 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GeoType = void 0;
4
+ var GeoType;
5
+ (function (GeoType) {
6
+ GeoType["geojson"] = "geojson";
7
+ GeoType["postal_codes"] = "postal_codes";
8
+ })(GeoType || (exports.GeoType = GeoType = {}));
3
9
  //# 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,OAGX;AAHD,WAAY,OAAO;IACjB,8BAAmB,CAAA;IACnB,wCAA6B,CAAA;AAC/B,CAAC,EAHW,OAAO,uBAAP,OAAO,QAGlB"}
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ 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
4
  export type { ChannelAccount } from './entities/channelAccount';
5
- export type { Contact } from './entities/contact';
5
+ export type { Contact, ContactPreferences, LocationPreferenceEntity, DataCoords, GeoType, } from './entities/contact';
6
6
  export type { Company } from './entities/office';
7
7
  export type { Property } from './entities/property';
8
8
  export { InternalType } from './entities/property';
@@ -12,6 +12,6 @@ export { createCustomEndpointAuthManager } from './oauth-manager/factories/creat
12
12
  export { createOAuthManager } from './oauth-manager/factories/createOAuthManager';
13
13
  export type { CreateOAuthManagerOptions } from './oauth-manager/factories/entities';
14
14
  export type { Logger, OAuthManager, SessionData, } from './oauth-manager/interfaces';
15
- export { ActivityInclude, BucketInclude, ChannelAccountInclude, ChannelInfoInclude, CompanyInclude, ContactInclude, Env, InteractionInclude, InterestInclude, OfficeInclude, ProjectInclude, PropertyInclude, ReportInclude, UserInclude, VendorInclude, } from './types';
15
+ export { ActivityInclude, BucketInclude, ChannelAccountInclude, ChannelInfoInclude, CompanyInclude, ContactInclude, Env, InteractionInclude, InterestInclude, OfficeInclude, ProjectInclude, PropertyInclude, ReportInclude, UserInclude, VendorInclude, IncludeFor, } from './types';
16
16
  export { EventType } from './types';
17
17
  export type { Client, ClientConf, AuctionEventData, ApiDataResponse, ApiListMeta, ApiListResponse, ChannelAccountsGetAllInput, ChannelAccountsGetAllResponse, ChannelAccountsGetEstateHashResponse, ChannelAccountsGetEstateHashInput, ChannelAccountsGetInput, ChannelAccountsGetResponse, ChannelsResolveReferencesResult, CompaniesGetResponse, CompaniesGetInput, ContactPreferencesGetAllResponse, ContactPreferencesGetAllInput, ContactType, 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.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;AAMD,gDAAmD;AAA1C,wGAAA,YAAY,OAAA;AAErB,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,iCAgBiB;AAff,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,8GAAA,qBAAqB,OAAA;AACrB,2GAAA,kBAAkB,OAAA;AAClB,uGAAA,cAAc,OAAA;AACd,uGAAA,cAAc,OAAA;AACd,4FAAA,GAAG,OAAA;AACH,2GAAA,kBAAkB,OAAA;AAClB,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,oGAAA,WAAW,OAAA;AACX,sGAAA,aAAa,OAAA;AAGf,iCAAoC;AAA3B,kGAAA,SAAS,OAAA"}
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;AAYD,gDAAmD;AAA1C,wGAAA,YAAY,OAAA;AAErB,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,iCAiBiB;AAhBf,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,8GAAA,qBAAqB,OAAA;AACrB,2GAAA,kBAAkB,OAAA;AAClB,uGAAA,cAAc,OAAA;AACd,uGAAA,cAAc,OAAA;AACd,4FAAA,GAAG,OAAA;AACH,2GAAA,kBAAkB,OAAA;AAClB,wGAAA,eAAe,OAAA;AACf,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';
@@ -84,7 +84,8 @@ export declare enum PropertyInclude {
84
84
  Office = "office",
85
85
  Vendors = "vendors",
86
86
  LatestActivity = "latest_activity",
87
- Unit = "item"
87
+ Unit = "item",
88
+ Settings = "settings"
88
89
  }
89
90
  export declare enum ReportInclude {
90
91
  Vendor = "vendor",
@@ -110,7 +111,7 @@ export declare enum VisitInclude {
110
111
  Negotiator = "negotiator"
111
112
  }
112
113
  export declare const IncludesByResource: {
113
- readonly Property: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Unit];
114
+ readonly Property: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Unit, PropertyInclude.Settings];
114
115
  readonly Contact: readonly [ContactInclude.LatestInteraction, ContactInclude.Office, ContactInclude.LatestActivity, ContactInclude.Negotiators];
115
116
  readonly ChannelAccount: readonly [ChannelAccountInclude.Channel, ChannelAccountInclude.LatestPublication, ChannelAccountInclude.EstateChannelAccount, ChannelAccountInclude.EstateChannelValidation, ChannelAccountInclude.PublicApi];
116
117
  readonly Company: readonly [CompanyInclude.AvailableCurrencies, CompanyInclude.Enterprise, CompanyInclude.WebsiteLog, CompanyInclude.Plan, CompanyInclude.Photo, CompanyInclude.Settings];
@@ -119,8 +120,18 @@ export declare const IncludesByResource: {
119
120
  readonly Unit: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity];
120
121
  readonly User: readonly [UserInclude.Photo, UserInclude.Office, UserInclude.Company, UserInclude.Integrations, UserInclude.Invitation];
121
122
  };
123
+ export declare const NestedIncludesByResource: {
124
+ readonly Project: {
125
+ readonly properties: readonly [PropertyInclude.Project, PropertyInclude.LegalEntity, PropertyInclude.Buyers, PropertyInclude.LastInteraction, PropertyInclude.Negotiator, PropertyInclude.Office, PropertyInclude.Vendors, PropertyInclude.LatestActivity, PropertyInclude.Unit, PropertyInclude.Settings];
126
+ };
127
+ };
122
128
  export type IncludeResource = keyof typeof IncludesByResource;
123
- export type IncludeFor<R extends IncludeResource> = (typeof IncludesByResource)[R][number];
129
+ type NestedIncludesMap = typeof NestedIncludesByResource;
130
+ type ElementOf<T> = T extends readonly (infer U)[] ? U : never;
131
+ type NestedIncludeFor<R extends IncludeResource> = R extends keyof NestedIncludesMap ? {
132
+ [K in keyof NestedIncludesMap[R] & string]: `${K}.${ElementOf<NestedIncludesMap[R][K]> & string}`;
133
+ }[keyof NestedIncludesMap[R] & string] : never;
134
+ export type IncludeFor<R extends IncludeResource> = (typeof IncludesByResource)[R][number] | NestedIncludeFor<R>;
124
135
  export type ClientConf = {
125
136
  clientId?: string;
126
137
  clientSecret?: string;
@@ -348,7 +359,7 @@ export type ChannelAccountsGetEstateHashResponse = ApiDataResponse<{
348
359
  export type NegotiatorsGetByCompanyIdResponse = ApiDataResponse<CompanyNegotiator[]>;
349
360
  export type ContactsGetOneResponse = ApiDataResponse<Contact>;
350
361
  export type ContactsGetAllResponse = ApiListResponse<Contact>;
351
- export type ContactPreferencesGetAllResponse = ApiDataResponse<unknown[]>;
362
+ export type ContactPreferencesGetAllResponse = ApiDataResponse<ContactPreferences[]>;
352
363
  export type UnitsOutput = ApiListResponse<Property>;
353
364
  export type PropertyOutput = ApiDataResponse<Property>;
354
365
  export type PropertiesOutput = ApiListResponse<Property>;
@@ -373,3 +384,4 @@ export interface AccessToken {
373
384
  expires_in: string;
374
385
  token_type: string;
375
386
  }
387
+ export {};
package/dist/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventType = exports.TokenType = exports.IncludesByResource = exports.VisitInclude = exports.VendorInclude = exports.UserInclude = exports.ReportInclude = exports.PropertyInclude = exports.ProjectInclude = exports.OfficeInclude = exports.ContactInclude = exports.InterestInclude = exports.InteractionInclude = exports.CompanyInclude = exports.ChannelInfoInclude = exports.ChannelAccountInclude = exports.BucketInclude = exports.ActivityInclude = exports.Env = void 0;
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.InterestInclude = exports.InteractionInclude = exports.CompanyInclude = exports.ChannelInfoInclude = exports.ChannelAccountInclude = exports.BucketInclude = exports.ActivityInclude = exports.Env = void 0;
4
4
  var Env;
5
5
  (function (Env) {
6
6
  Env["PRODUCTION"] = "production";
@@ -86,6 +86,8 @@ var PropertyInclude;
86
86
  PropertyInclude["Vendors"] = "vendors";
87
87
  PropertyInclude["LatestActivity"] = "latest_activity";
88
88
  PropertyInclude["Unit"] = "item";
89
+ /* @deprecated */
90
+ PropertyInclude["Settings"] = "settings";
89
91
  })(PropertyInclude || (exports.PropertyInclude = PropertyInclude = {}));
90
92
  var ReportInclude;
91
93
  (function (ReportInclude) {
@@ -127,6 +129,7 @@ exports.IncludesByResource = {
127
129
  PropertyInclude.Vendors,
128
130
  PropertyInclude.LatestActivity,
129
131
  PropertyInclude.Unit,
132
+ PropertyInclude.Settings,
130
133
  ],
131
134
  Contact: [
132
135
  ContactInclude.LatestInteraction,
@@ -181,6 +184,11 @@ exports.IncludesByResource = {
181
184
  UserInclude.Invitation,
182
185
  ],
183
186
  };
187
+ exports.NestedIncludesByResource = {
188
+ Project: {
189
+ [ProjectInclude.Properties]: exports.IncludesByResource.Property,
190
+ },
191
+ };
184
192
  var TokenType;
185
193
  (function (TokenType) {
186
194
  TokenType[TokenType["USER_TOKEN"] = 0] = "USER_TOKEN";
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,eAEX;AAFD,WAAY,eAAe;IACzB,sCAAmB,CAAA;AACrB,CAAC,EAFW,eAAe,+BAAf,eAAe,QAE1B;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,wDAAwD;IACxD,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;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,CAAC,EAFW,kBAAkB,kCAAlB,kBAAkB,QAE7B;AAED,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,8DAA4C,CAAA;IAC5C,2CAAyB,CAAA;IACzB,4CAA0B,CAAA;IAC1B,+BAAa,CAAA;IACb,iCAAe,CAAA;IACf,uCAAqB,CAAA;AACvB,CAAC,EAPW,cAAc,8BAAd,cAAc,QAOzB;AAED,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,wDAAwD;IACxD,2CAAqB,CAAA;IACrB,mCAAa,CAAA;IACb,wDAAwD;IACxD,yCAAmB,CAAA;IACnB,6CAAuB,CAAA;AACzB,CAAC,EAPW,kBAAkB,kCAAlB,kBAAkB,QAO7B;AAED,IAAY,eAEX;AAFD,WAAY,eAAe;IAC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QACxB,WAAW,CAAC,UAAU;KACvB;CACO,CAAC;AAEE,QAAA,wBAAwB,GAAG;IACtC,OAAO,EAAE;QACP,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,0BAAkB,CAAC,QAAQ;KACzD;CACO,CAAC;AAgCX,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qDAAU,CAAA;IACV,mDAAS,CAAA;AACX,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAkHD,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,gDAAmC,CAAA;IACnC,4CAA+B,CAAA;IAC/B,4CAA+B,CAAA;IAC/B,oDAAuC,CAAA;IACvC,oDAAuC,CAAA;IACvC,oDAAuC,CAAA;IACvC,gDAAmC,CAAA;IACnC,gDAAmC,CAAA;IACnC,gDAAmC,CAAA;AACrC,CAAC,EAVW,SAAS,yBAAT,SAAS,QAUpB"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.42.0-pre.3",
2
+ "version": "0.42.0-pre.5",
3
3
  "license": "UNLICENCED",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "./dist/index.d.ts",