samls-js-integration 1.1.46 → 1.1.48

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.
@@ -0,0 +1,5 @@
1
+ export declare class GetByLegacyMlsIdRequestModel {
2
+ fields: string[];
3
+ legacyMlsId: string;
4
+ constructor(data?: Partial<GetByLegacyMlsIdRequestModel>);
5
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetByLegacyMlsIdRequestModel = void 0;
4
+ class GetByLegacyMlsIdRequestModel {
5
+ constructor(data) {
6
+ this.fields = [];
7
+ this.legacyMlsId = '';
8
+ if (data) {
9
+ Object.assign(this, data);
10
+ }
11
+ }
12
+ }
13
+ exports.GetByLegacyMlsIdRequestModel = GetByLegacyMlsIdRequestModel;
@@ -71,13 +71,14 @@ export declare class ListingModel {
71
71
  virtualTourURLBranded: string | null;
72
72
  virtualTourURLUnbranded: string | null;
73
73
  withdrawnDate: string | null;
74
- sourceMlsId: keyof typeof MLSEnum;
74
+ legacyListingId: string | null;
75
75
  property: PropertyModel | null;
76
- addressDetail: AddressDetailModel | null;
76
+ photos: PhotoModel[] | null;
77
+ agents: AgentModel[] | null;
78
+ schools: SchoolModel[] | null;
77
79
  rentPrices: RentPriceModel | null;
78
80
  walkScores: WalkScoreModel | null;
79
81
  openHouses: OpenHouseModel[] | null;
80
- photos: PhotoModel[] | null;
81
- schools: SchoolModel[] | null;
82
- agents: AgentModel[] | null;
82
+ addressDetail: AddressDetailModel | null;
83
+ sourceMlsId: keyof typeof MLSEnum;
83
84
  }
@@ -65,15 +65,16 @@ class ListingModel {
65
65
  this.virtualTourURLBranded = null;
66
66
  this.virtualTourURLUnbranded = null;
67
67
  this.withdrawnDate = null;
68
- this.sourceMlsId = 'NotMapped';
68
+ this.legacyListingId = null;
69
69
  this.property = null;
70
- this.addressDetail = null;
70
+ this.photos = null;
71
+ this.agents = null;
72
+ this.schools = null;
71
73
  this.rentPrices = null;
72
74
  this.walkScores = null;
73
75
  this.openHouses = null;
74
- this.photos = null;
75
- this.schools = null;
76
- this.agents = null;
76
+ this.addressDetail = null;
77
+ this.sourceMlsId = 'NotMapped';
77
78
  }
78
79
  }
79
80
  exports.ListingModel = ListingModel;
@@ -20,3 +20,4 @@ export { WalkScoreModel } from './WalkScore.model';
20
20
  export { OpenHouseModel } from './OpenHouse.model';
21
21
  export { OfficeFilterModel } from './OfficeFilter.model';
22
22
  export { MapListingsRequestModel, GlobalListingFilterModel, EnhancedGlobalListingFilterModel, } from './MapListingsRequest.model';
23
+ export { GetByLegacyMlsIdRequestModel } from './GetByLegacyMlsIdRequest.model';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnhancedGlobalListingFilterModel = exports.GlobalListingFilterModel = exports.MapListingsRequestModel = exports.OpenHouseModel = exports.WalkScoreModel = exports.RentPriceModel = exports.PropertyModel = exports.PhotoModel = exports.StyleModel = exports.ListingModel = exports.GetMapListingsRequestModel = exports.GetListingsByFilterRequestModel = exports.GetByOfficesRequestModel = exports.GetByMlsIdRequestModel = exports.GetByIdRequestModel = exports.GetByAgentsRequestModel = exports.GetByAgentRequestModel = exports.FeatureCacheModel = exports.ClusteringFilterResponseModel = exports.ClusteringFilterRequestModel = exports.BathroomTypeModel = exports.AgentFilterModel = void 0;
3
+ exports.GetByLegacyMlsIdRequestModel = exports.EnhancedGlobalListingFilterModel = exports.GlobalListingFilterModel = exports.MapListingsRequestModel = exports.OpenHouseModel = exports.WalkScoreModel = exports.RentPriceModel = exports.PropertyModel = exports.PhotoModel = exports.StyleModel = exports.ListingModel = exports.GetMapListingsRequestModel = exports.GetListingsByFilterRequestModel = exports.GetByOfficesRequestModel = exports.GetByMlsIdRequestModel = exports.GetByIdRequestModel = exports.GetByAgentsRequestModel = exports.GetByAgentRequestModel = exports.FeatureCacheModel = exports.ClusteringFilterResponseModel = exports.ClusteringFilterRequestModel = exports.BathroomTypeModel = exports.AgentFilterModel = void 0;
4
4
  var AgentFilter_model_1 = require("./AgentFilter.model");
5
5
  Object.defineProperty(exports, "AgentFilterModel", { enumerable: true, get: function () { return AgentFilter_model_1.AgentFilterModel; } });
6
6
  var BathroomType_model_1 = require("./BathroomType.model");
@@ -43,3 +43,5 @@ var MapListingsRequest_model_1 = require("./MapListingsRequest.model");
43
43
  Object.defineProperty(exports, "MapListingsRequestModel", { enumerable: true, get: function () { return MapListingsRequest_model_1.MapListingsRequestModel; } });
44
44
  Object.defineProperty(exports, "GlobalListingFilterModel", { enumerable: true, get: function () { return MapListingsRequest_model_1.GlobalListingFilterModel; } });
45
45
  Object.defineProperty(exports, "EnhancedGlobalListingFilterModel", { enumerable: true, get: function () { return MapListingsRequest_model_1.EnhancedGlobalListingFilterModel; } });
46
+ var GetByLegacyMlsIdRequest_model_1 = require("./GetByLegacyMlsIdRequest.model");
47
+ Object.defineProperty(exports, "GetByLegacyMlsIdRequestModel", { enumerable: true, get: function () { return GetByLegacyMlsIdRequest_model_1.GetByLegacyMlsIdRequestModel; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samls-js-integration",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "samls npm package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",