samls-js-integration 1.1.47 → 1.1.49

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.
@@ -11,6 +11,8 @@ export declare enum ListingStatusEnum {
11
11
  Pending = 8,
12
12
  Cancelled = 9,
13
13
  TemporaryOffMarket = 10,
14
- Incomplete = 11
14
+ Incomplete = 11,
15
+ Draft = 12,
16
+ PermanentOffMarket = 13
15
17
  }
16
18
  export type ListingStatusEnumKeys = keyof typeof ListingStatusEnum;
@@ -16,4 +16,6 @@ var ListingStatusEnum;
16
16
  ListingStatusEnum[ListingStatusEnum["Cancelled"] = 9] = "Cancelled";
17
17
  ListingStatusEnum[ListingStatusEnum["TemporaryOffMarket"] = 10] = "TemporaryOffMarket";
18
18
  ListingStatusEnum[ListingStatusEnum["Incomplete"] = 11] = "Incomplete";
19
+ ListingStatusEnum[ListingStatusEnum["Draft"] = 12] = "Draft";
20
+ ListingStatusEnum[ListingStatusEnum["PermanentOffMarket"] = 13] = "PermanentOffMarket";
19
21
  })(ListingStatusEnum || (exports.ListingStatusEnum = ListingStatusEnum = {}));
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samls-js-integration",
3
- "version": "1.1.47",
3
+ "version": "1.1.49",
4
4
  "description": "samls npm package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",