samls-js-integration 1.1.73 → 1.1.75

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.
@@ -1,7 +1,7 @@
1
1
  import { AddressDetailModel } from './AddressDetailModel';
2
2
  import { ListingAgencyEnum, MLSEnum } from '../Enums';
3
3
  export declare class AddressDetailExtendedModel extends AddressDetailModel {
4
- sourceMlsId: keyof typeof MLSEnum;
4
+ sourceMlsId: keyof typeof MLSEnum | null;
5
5
  internetAddressDisplayYN: boolean | null;
6
6
  internetEntireListingDisplayYN: boolean | null;
7
7
  listingAgency: keyof typeof ListingAgencyEnum;
@@ -5,7 +5,7 @@ const AddressDetailModel_1 = require("./AddressDetailModel");
5
5
  class AddressDetailExtendedModel extends AddressDetailModel_1.AddressDetailModel {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.sourceMlsId = 'NotMapped';
8
+ this.sourceMlsId = null;
9
9
  this.internetAddressDisplayYN = null;
10
10
  this.internetEntireListingDisplayYN = null;
11
11
  this.listingAgency = 'Other';
@@ -5,7 +5,7 @@ export declare class OfficeModel {
5
5
  officeCity: string;
6
6
  officeEmail: string;
7
7
  officeLocation: string;
8
- officeMls: MLSEnum | null;
8
+ officeMls: keyof typeof MLSEnum | null;
9
9
  officeMlsId: string;
10
10
  officeName: string;
11
11
  officeNeighborhood: string;
@@ -1,5 +1,4 @@
1
1
  export declare enum MLSEnum {
2
- NotMapped = -1,
3
2
  HAR = 1,
4
3
  ONEKEY = 2,
5
4
  STELLAR = 3,
@@ -47,5 +46,9 @@ export declare enum MLSEnum {
47
46
  DEO = 45,
48
47
  NYS = 46,
49
48
  REALCOMP = 47,
50
- PMLS = 48
49
+ PMLS = 48,
50
+ MRED = 49,
51
+ NORTHSTAR = 50,
52
+ DOORIFY = 51,
53
+ DEF = 52
51
54
  }
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MLSEnum = void 0;
4
4
  var MLSEnum;
5
5
  (function (MLSEnum) {
6
- MLSEnum[MLSEnum["NotMapped"] = -1] = "NotMapped";
7
6
  MLSEnum[MLSEnum["HAR"] = 1] = "HAR";
8
7
  MLSEnum[MLSEnum["ONEKEY"] = 2] = "ONEKEY";
9
8
  MLSEnum[MLSEnum["STELLAR"] = 3] = "STELLAR";
@@ -52,4 +51,8 @@ var MLSEnum;
52
51
  MLSEnum[MLSEnum["NYS"] = 46] = "NYS";
53
52
  MLSEnum[MLSEnum["REALCOMP"] = 47] = "REALCOMP";
54
53
  MLSEnum[MLSEnum["PMLS"] = 48] = "PMLS";
54
+ MLSEnum[MLSEnum["MRED"] = 49] = "MRED";
55
+ MLSEnum[MLSEnum["NORTHSTAR"] = 50] = "NORTHSTAR";
56
+ MLSEnum[MLSEnum["DOORIFY"] = 51] = "DOORIFY";
57
+ MLSEnum[MLSEnum["DEF"] = 52] = "DEF";
55
58
  })(MLSEnum || (exports.MLSEnum = MLSEnum = {}));
@@ -1,5 +1,5 @@
1
1
  import { MLSEnum } from '../Enums';
2
2
  export declare class AgentFilterModel {
3
3
  agentMlsId: string | null;
4
- mlsId: keyof typeof MLSEnum;
4
+ mlsId: keyof typeof MLSEnum | null;
5
5
  }
@@ -4,7 +4,7 @@ exports.AgentFilterModel = void 0;
4
4
  class AgentFilterModel {
5
5
  constructor() {
6
6
  this.agentMlsId = null;
7
- this.mlsId = 'NotMapped';
7
+ this.mlsId = null;
8
8
  }
9
9
  }
10
10
  exports.AgentFilterModel = AgentFilterModel;
@@ -3,7 +3,7 @@ import { MLSEnum, AgentTypeEnum } from '../Enums';
3
3
  export declare class GetByAgentRequestModel extends PaginationOptions {
4
4
  agentMlsId: string;
5
5
  activeStatusGroup: boolean;
6
- mlsId: keyof typeof MLSEnum;
6
+ mlsId: keyof typeof MLSEnum | null;
7
7
  fields: string[];
8
8
  agentTypes: (keyof typeof AgentTypeEnum)[];
9
9
  constructor(data?: Partial<GetByAgentRequestModel>);
@@ -7,7 +7,7 @@ class GetByAgentRequestModel extends Common_1.PaginationOptions {
7
7
  super();
8
8
  this.agentMlsId = '';
9
9
  this.activeStatusGroup = true;
10
- this.mlsId = 'NotMapped';
10
+ this.mlsId = null;
11
11
  this.fields = [];
12
12
  this.agentTypes = [];
13
13
  data && Object.assign(this, data);
@@ -81,5 +81,5 @@ export declare class ListingModel {
81
81
  walkScores: WalkScoreModel | null;
82
82
  openHouses: OpenHouseModel[] | null;
83
83
  addressDetail: AddressDetailModel | null;
84
- sourceMlsId: keyof typeof MLSEnum;
84
+ sourceMlsId: keyof typeof MLSEnum | null;
85
85
  }
@@ -75,7 +75,7 @@ class ListingModel {
75
75
  this.walkScores = null;
76
76
  this.openHouses = null;
77
77
  this.addressDetail = null;
78
- this.sourceMlsId = 'NotMapped';
78
+ this.sourceMlsId = null;
79
79
  }
80
80
  }
81
81
  exports.ListingModel = ListingModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samls-js-integration",
3
- "version": "1.1.73",
3
+ "version": "1.1.75",
4
4
  "description": "samls npm package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",