samls-js-integration 1.0.41 → 1.0.43

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.
Files changed (93) hide show
  1. package/dist/clients/AddressDetail.js +7 -3
  2. package/dist/clients/ListingsClient.js +11 -7
  3. package/dist/clients/MlsClient.js +8 -4
  4. package/dist/clients/PolygonClient.js +7 -3
  5. package/dist/clients/index.js +19 -3
  6. package/dist/globals/HttpModule.js +7 -4
  7. package/dist/globals/constants/url.js +4 -1
  8. package/dist/globals/index.js +19 -3
  9. package/dist/globals/models/IApiResponse.js +2 -1
  10. package/dist/globals/models/index.js +18 -2
  11. package/dist/index.js +18 -2
  12. package/dist/models/Address/AddressDetailModel.js +5 -1
  13. package/dist/models/Address/AddressQueryModel.js +6 -2
  14. package/dist/models/Address/index.js +18 -2
  15. package/dist/models/Agent/AgentInfoModel.js +5 -1
  16. package/dist/models/Agent/AgentModel.js +6 -2
  17. package/dist/models/Agent/GetAgentRequestModel.js +4 -1
  18. package/dist/models/Agent/GetAgentsRequestModel.js +6 -2
  19. package/dist/models/Agent/OfficeModel.js +5 -1
  20. package/dist/models/Agent/index.js +21 -5
  21. package/dist/models/Common/GlobalQueryModel.js +5 -1
  22. package/dist/models/Common/LocationModel.js +5 -1
  23. package/dist/models/Common/PaginationOptions.js +5 -1
  24. package/dist/models/Common/Point.js +5 -1
  25. package/dist/models/Common/index.js +21 -5
  26. package/dist/models/Entities/AddressDetail.js +9 -5
  27. package/dist/models/Entities/AddressPolygon.js +5 -1
  28. package/dist/models/Entities/Entity.js +5 -1
  29. package/dist/models/Entities/Listing.js +5 -1
  30. package/dist/models/Entities/ListingOpenHouse.js +5 -1
  31. package/dist/models/Entities/ListingSchool.js +5 -1
  32. package/dist/models/Entities/Polygon.js +5 -1
  33. package/dist/models/Entities/Property.js +5 -1
  34. package/dist/models/Entities/PropertyFeature.js +5 -1
  35. package/dist/models/Entities/School.js +5 -1
  36. package/dist/models/Entities/index.js +26 -10
  37. package/dist/models/Enums/AgentTypeEnum.js +5 -2
  38. package/dist/models/Enums/AssociationFeeFrequencyEnum.js +5 -2
  39. package/dist/models/Enums/AuthenticationTypeEnum.js +5 -2
  40. package/dist/models/Enums/CurrencyEnum.js +5 -2
  41. package/dist/models/Enums/DirectionFacesEnum.js +5 -2
  42. package/dist/models/Enums/FeatureSourceEnum.js +7 -3
  43. package/dist/models/Enums/GeometryTypeEnum.js +5 -2
  44. package/dist/models/Enums/ListingStatusEnum.js +5 -2
  45. package/dist/models/Enums/ListingTypeClassEnum.js +5 -2
  46. package/dist/models/Enums/ListingTypeEnum.js +5 -2
  47. package/dist/models/Enums/MLSEnum.js +5 -2
  48. package/dist/models/Enums/OrderByOptions.js +5 -2
  49. package/dist/models/Enums/OwnershipTypeEnum.js +5 -2
  50. package/dist/models/Enums/PhysicalPropertyClassEnum.js +5 -2
  51. package/dist/models/Enums/PhysicalPropertyTypeEnum.js +5 -2
  52. package/dist/models/Enums/PlatformEnum.js +5 -2
  53. package/dist/models/Enums/ProcessingStatusEnum.js +5 -2
  54. package/dist/models/Enums/ProcessingTypeEnum.js +5 -2
  55. package/dist/models/Enums/PropertyConditionEnum.js +5 -2
  56. package/dist/models/Enums/PropertyLevelEnum.js +5 -2
  57. package/dist/models/Enums/StreetDirectionEnum.js +5 -2
  58. package/dist/models/Enums/StreetSuffixEnum.js +5 -2
  59. package/dist/models/Enums/index.js +38 -22
  60. package/dist/models/Feature/CategoryModel.js +5 -1
  61. package/dist/models/Feature/FeatureModel.js +5 -1
  62. package/dist/models/Feature/SubCategoryModel.js +5 -1
  63. package/dist/models/Feature/index.js +19 -3
  64. package/dist/models/Listing/GetByIdRequestModel.js +5 -1
  65. package/dist/models/Listing/GetByMlsIdRequestModel.js +5 -1
  66. package/dist/models/Listing/GetListingsByFilterRequestModel.js +6 -2
  67. package/dist/models/Listing/ListingModel.js +7 -3
  68. package/dist/models/Listing/OpenHouseModel.js +5 -1
  69. package/dist/models/Listing/PhotoModel.js +5 -1
  70. package/dist/models/Listing/PropertyModel.js +5 -1
  71. package/dist/models/Listing/RentPriceModel.js +5 -1
  72. package/dist/models/Listing/StyleModel.js +5 -1
  73. package/dist/models/Listing/WalkScoreModel.js +5 -1
  74. package/dist/models/Listing/index.js +26 -10
  75. package/dist/models/Mls/MlsInfoModel.js +5 -1
  76. package/dist/models/Mls/index.js +17 -1
  77. package/dist/models/PData/index.js +17 -1
  78. package/dist/models/PData/models/Condition.js +5 -2
  79. package/dist/models/PData/models/ConditionModel.js +5 -1
  80. package/dist/models/PData/models/IPagination.js +2 -1
  81. package/dist/models/PData/models/Operator.js +5 -2
  82. package/dist/models/PData/models/Ordering.js +5 -1
  83. package/dist/models/PData/models/index.js +21 -5
  84. package/dist/models/Polygon/LimitModel.js +5 -1
  85. package/dist/models/Polygon/PolygonFilterRequestModel.js +5 -1
  86. package/dist/models/Polygon/PolygonFilterResponseModel.js +5 -1
  87. package/dist/models/Polygon/PolygonLiteResponseModel.js +5 -1
  88. package/dist/models/Polygon/index.js +11 -4
  89. package/dist/models/School/SchoolModel.js +5 -1
  90. package/dist/models/School/index.js +17 -1
  91. package/dist/models/index.js +28 -12
  92. package/dist/services/SamlsClient.js +11 -7
  93. package/package.json +2 -1
@@ -1,6 +1,10 @@
1
- import { http } from '../globals';
2
- export class AddressDetail {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressDetail = void 0;
4
+ const globals_1 = require("../globals");
5
+ class AddressDetail {
3
6
  getByQuery(queryModel) {
4
- return http.post(`AddressDetail/query`, queryModel);
7
+ return globals_1.http.post(`AddressDetail/query`, queryModel);
5
8
  }
6
9
  }
10
+ exports.AddressDetail = AddressDetail;
@@ -1,18 +1,22 @@
1
- import { http } from '../globals';
2
- export class ListingsClient {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListingsClient = void 0;
4
+ const globals_1 = require("../globals");
5
+ class ListingsClient {
3
6
  get(model) {
4
- return http.post('Listing', model);
7
+ return globals_1.http.post('Listing', model);
5
8
  }
6
9
  getListingsByFilter(model) {
7
- return http.post('Listing/filter', model);
10
+ return globals_1.http.post('Listing/filter', model);
8
11
  }
9
12
  getByMlsId(model) {
10
- return http.post('Listing/mlsId', model);
13
+ return globals_1.http.post('Listing/mlsId', model);
11
14
  }
12
15
  getByQuery(queryModel) {
13
- return http.post('Listing/query', queryModel);
16
+ return globals_1.http.post('Listing/query', queryModel);
14
17
  }
15
18
  getListingTypeGroups() {
16
- return http.get('Listing/type/groups');
19
+ return globals_1.http.get('Listing/type/groups');
17
20
  }
18
21
  }
22
+ exports.ListingsClient = ListingsClient;
@@ -1,10 +1,14 @@
1
- import { http } from '../globals';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MlsClient = void 0;
4
+ const globals_1 = require("../globals");
2
5
  const PATH_SEGMENT = 'AddressDetail';
3
- export class MlsClient {
6
+ class MlsClient {
4
7
  getMlsInfos() {
5
- return http.get(`${PATH_SEGMENT}/Mls`);
8
+ return globals_1.http.get(`${PATH_SEGMENT}/Mls`);
6
9
  }
7
10
  getMlsInfoById(id) {
8
- return http.get(`${PATH_SEGMENT}/Mls/${id}`);
11
+ return globals_1.http.get(`${PATH_SEGMENT}/Mls/${id}`);
9
12
  }
10
13
  }
14
+ exports.MlsClient = MlsClient;
@@ -1,7 +1,11 @@
1
- import { http } from '../globals';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PolygonClient = void 0;
4
+ const globals_1 = require("../globals");
2
5
  const PATH_SEGMENT = 'Polygon';
3
- export class PolygonClient {
6
+ class PolygonClient {
4
7
  filter(model) {
5
- return http.post(`${PATH_SEGMENT}/filter`, model);
8
+ return globals_1.http.post(`${PATH_SEGMENT}/filter`, model);
6
9
  }
7
10
  }
11
+ exports.PolygonClient = PolygonClient;
@@ -1,3 +1,19 @@
1
- export * from './MlsClient';
2
- export * from './ListingsClient';
3
- export * from './AddressDetail';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./MlsClient"), exports);
18
+ __exportStar(require("./ListingsClient"), exports);
19
+ __exportStar(require("./AddressDetail"), exports);
@@ -1,4 +1,7 @@
1
- import axios from 'axios';
2
- import { URL } from './constants/url';
3
- const requestConfig = { baseURL: URL.domain };
4
- export const http = axios.create(requestConfig);
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.http = void 0;
4
+ const axios_1 = require("axios");
5
+ const url_1 = require("./constants/url");
6
+ const requestConfig = { baseURL: url_1.URL.domain };
7
+ exports.http = axios_1.default.create(requestConfig);
@@ -1,4 +1,7 @@
1
- export const URL = {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.URL = void 0;
4
+ exports.URL = {
2
5
  domain: 'https://samls-providerapi.purlin.tech/api/',
3
6
  pathPrefix: '',
4
7
  };
@@ -1,3 +1,19 @@
1
- export * from './HttpModule';
2
- export * from './models';
3
- export * from './constants/url';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./HttpModule"), exports);
18
+ __exportStar(require("./models"), exports);
19
+ __exportStar(require("./constants/url"), exports);
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,18 @@
1
- export * from '../../models/PData/models/IPagination';
2
- export * from './IApiResponse';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../models/PData/models/IPagination"), exports);
18
+ __exportStar(require("./IApiResponse"), exports);
package/dist/index.js CHANGED
@@ -1,2 +1,18 @@
1
- export * from './services/SamlsClient';
2
- export * from './models';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./services/SamlsClient"), exports);
18
+ __exportStar(require("./models"), exports);
@@ -1,4 +1,7 @@
1
- export class AddressDetailModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressDetailModel = void 0;
4
+ class AddressDetailModel {
2
5
  constructor() {
3
6
  this.coreListingId = 0;
4
7
  this.city = '';
@@ -36,3 +39,4 @@ export class AddressDetailModel {
36
39
  this.polygonCollection = [];
37
40
  }
38
41
  }
42
+ exports.AddressDetailModel = AddressDetailModel;
@@ -1,8 +1,12 @@
1
- import { GlobalQueryModel } from '../Common';
2
- export class AddressQueryModel extends GlobalQueryModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressQueryModel = void 0;
4
+ const Common_1 = require("../Common");
5
+ class AddressQueryModel extends Common_1.GlobalQueryModel {
3
6
  constructor(fullAddress, data) {
4
7
  super(data);
5
8
  this.fullAddress = '';
6
9
  this.fullAddress = fullAddress;
7
10
  }
8
11
  }
12
+ exports.AddressQueryModel = AddressQueryModel;
@@ -1,2 +1,18 @@
1
- export * from './AddressQueryModel';
2
- export * from './AddressDetailModel';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AddressQueryModel"), exports);
18
+ __exportStar(require("./AddressDetailModel"), exports);
@@ -1,4 +1,7 @@
1
- export class AgentInfoModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentInfoModel = void 0;
4
+ class AgentInfoModel {
2
5
  constructor() {
3
6
  this.agentId = 0;
4
7
  this.agentAOR = '';
@@ -26,3 +29,4 @@ export class AgentInfoModel {
26
29
  this.teamName = '';
27
30
  }
28
31
  }
32
+ exports.AgentInfoModel = AgentInfoModel;
@@ -1,8 +1,12 @@
1
- import { AgentInfoModel } from './AgentInfoModel';
2
- export class AgentModel extends AgentInfoModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentModel = void 0;
4
+ const AgentInfoModel_1 = require("./AgentInfoModel");
5
+ class AgentModel extends AgentInfoModel_1.AgentInfoModel {
3
6
  constructor() {
4
7
  super(...arguments);
5
8
  this.agentTypeId = null;
6
9
  this.office = null;
7
10
  }
8
11
  }
12
+ exports.AgentModel = AgentModel;
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAgentRequestModel = void 0;
1
4
  class GetAgentRequestModel {
2
5
  constructor() {
3
6
  this.agentMlsId = '';
4
7
  this.mlsId = null;
5
8
  }
6
9
  }
7
- export { GetAgentRequestModel };
10
+ exports.GetAgentRequestModel = GetAgentRequestModel;
@@ -1,5 +1,8 @@
1
- import { PaginationOptions } from '../Common';
2
- export class GetAgentsRequestModel extends PaginationOptions {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAgentsRequestModel = void 0;
4
+ const Common_1 = require("../Common");
5
+ class GetAgentsRequestModel extends Common_1.PaginationOptions {
3
6
  constructor() {
4
7
  super(...arguments);
5
8
  this.email = '';
@@ -8,3 +11,4 @@ export class GetAgentsRequestModel extends PaginationOptions {
8
11
  this.mlsId = null;
9
12
  }
10
13
  }
14
+ exports.GetAgentsRequestModel = GetAgentsRequestModel;
@@ -1,4 +1,7 @@
1
- export class OfficeModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OfficeModel = void 0;
4
+ class OfficeModel {
2
5
  constructor() {
3
6
  this.officeKey = '';
4
7
  this.officeAOR = '';
@@ -18,3 +21,4 @@ export class OfficeModel {
18
21
  this.officeZip = '';
19
22
  }
20
23
  }
24
+ exports.OfficeModel = OfficeModel;
@@ -1,5 +1,21 @@
1
- export * from './AgentInfoModel';
2
- export * from './AgentModel';
3
- export * from './GetAgentRequestModel';
4
- export * from './GetAgentsRequestModel';
5
- export * from './OfficeModel';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AgentInfoModel"), exports);
18
+ __exportStar(require("./AgentModel"), exports);
19
+ __exportStar(require("./GetAgentRequestModel"), exports);
20
+ __exportStar(require("./GetAgentsRequestModel"), exports);
21
+ __exportStar(require("./OfficeModel"), exports);
@@ -1,4 +1,7 @@
1
- export class GlobalQueryModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalQueryModel = void 0;
4
+ class GlobalQueryModel {
2
5
  constructor(data) {
3
6
  this.skip = 0;
4
7
  this.take = 10;
@@ -12,3 +15,4 @@ export class GlobalQueryModel {
12
15
  }
13
16
  }
14
17
  }
18
+ exports.GlobalQueryModel = GlobalQueryModel;
@@ -1,6 +1,10 @@
1
- export class LocationModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocationModel = void 0;
4
+ class LocationModel {
2
5
  constructor() {
3
6
  this.Latitude = 0;
4
7
  this.Longitude = 0;
5
8
  }
6
9
  }
10
+ exports.LocationModel = LocationModel;
@@ -1,6 +1,10 @@
1
- export class PaginationOptions {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaginationOptions = void 0;
4
+ class PaginationOptions {
2
5
  constructor() {
3
6
  this.Page = 0;
4
7
  this.Count = 0;
5
8
  }
6
9
  }
10
+ exports.PaginationOptions = PaginationOptions;
@@ -1,7 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Point = void 0;
1
4
  //TODO custom field
2
- export class Point {
5
+ class Point {
3
6
  constructor(latitude, longitude) {
4
7
  this.latitude = latitude;
5
8
  this.longitude = longitude;
6
9
  }
7
10
  }
11
+ exports.Point = Point;
@@ -1,5 +1,21 @@
1
- export * from './Point';
2
- export * from './GlobalQueryModel';
3
- export * from './LocationModel';
4
- export * from './PaginationOptions';
5
- export * from '../PData/models/ConditionModel';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Point"), exports);
18
+ __exportStar(require("./GlobalQueryModel"), exports);
19
+ __exportStar(require("./LocationModel"), exports);
20
+ __exportStar(require("./PaginationOptions"), exports);
21
+ __exportStar(require("../PData/models/ConditionModel"), exports);
@@ -1,6 +1,9 @@
1
- import { Point } from '../Common';
2
- import { Listing } from './Listing';
3
- export class AddressDetail {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressDetail = void 0;
4
+ const Common_1 = require("../Common");
5
+ const Listing_1 = require("./Listing");
6
+ class AddressDetail {
4
7
  constructor() {
5
8
  this.CoreListingId = 0;
6
9
  this.City = '';
@@ -33,10 +36,11 @@ export class AddressDetail {
33
36
  this.WaterfrontProximity = '';
34
37
  this.WaterfrontYN = null;
35
38
  this.Zoning = '';
36
- this.Coordinate = new Point(0, 0);
39
+ this.Coordinate = new Common_1.Point(0, 0);
37
40
  this.SamlsFullAddress = '';
38
41
  this.SamlsPartialAddress = '';
39
42
  this.AddressPolygons = [];
40
- this.CoreListing = new Listing();
43
+ this.CoreListing = new Listing_1.Listing();
41
44
  }
42
45
  }
46
+ exports.AddressDetail = AddressDetail;
@@ -1,4 +1,7 @@
1
- export class AddressPolygon {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressPolygon = void 0;
4
+ class AddressPolygon {
2
5
  constructor() {
3
6
  this.id = 0;
4
7
  this.addressId = 0;
@@ -8,3 +11,4 @@ export class AddressPolygon {
8
11
  this.address = null;
9
12
  }
10
13
  }
14
+ exports.AddressPolygon = AddressPolygon;
@@ -1,7 +1,11 @@
1
- export class Entity {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Entity = void 0;
4
+ class Entity {
2
5
  constructor(id, createDate, updateDate) {
3
6
  this.id = id;
4
7
  this.createDate = createDate;
5
8
  this.updateDate = updateDate;
6
9
  }
7
10
  }
11
+ exports.Entity = Entity;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Listing = void 0;
1
4
  //TODO need to revisit
2
- export class Listing {
5
+ class Listing {
3
6
  }
7
+ exports.Listing = Listing;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListingOpenHouse = void 0;
1
4
  //TODO need to revisit
2
- export class ListingOpenHouse {
5
+ class ListingOpenHouse {
3
6
  }
7
+ exports.ListingOpenHouse = ListingOpenHouse;
@@ -1,4 +1,7 @@
1
- export class ListingSchool {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListingSchool = void 0;
4
+ class ListingSchool {
2
5
  constructor() {
3
6
  this.schoolId = 0;
4
7
  this.coreListingId = 0;
@@ -7,3 +10,4 @@ export class ListingSchool {
7
10
  this.listing = null;
8
11
  }
9
12
  }
13
+ exports.ListingSchool = ListingSchool;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Polygon = void 0;
1
4
  //TODO need to revisit
2
- export class Polygon {
5
+ class Polygon {
3
6
  }
7
+ exports.Polygon = Polygon;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Property = void 0;
1
4
  //TODO need to revisit
2
- export class Property {
5
+ class Property {
3
6
  }
7
+ exports.Property = Property;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyFeature = void 0;
1
4
  //TODO need to revisit
2
- export class PropertyFeature {
5
+ class PropertyFeature {
3
6
  }
7
+ exports.PropertyFeature = PropertyFeature;
@@ -1,3 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.School = void 0;
1
4
  //TODO need to revisit
2
- export class School {
5
+ class School {
3
6
  }
7
+ exports.School = School;
@@ -1,10 +1,26 @@
1
- export * from './AddressDetail';
2
- export * from './AddressPolygon';
3
- export * from './Entity';
4
- export * from './Listing';
5
- export * from './ListingOpenHouse';
6
- export * from './ListingSchool';
7
- export * from './Polygon';
8
- export * from './Property';
9
- export * from './PropertyFeature';
10
- export * from './School';
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AddressDetail"), exports);
18
+ __exportStar(require("./AddressPolygon"), exports);
19
+ __exportStar(require("./Entity"), exports);
20
+ __exportStar(require("./Listing"), exports);
21
+ __exportStar(require("./ListingOpenHouse"), exports);
22
+ __exportStar(require("./ListingSchool"), exports);
23
+ __exportStar(require("./Polygon"), exports);
24
+ __exportStar(require("./Property"), exports);
25
+ __exportStar(require("./PropertyFeature"), exports);
26
+ __exportStar(require("./School"), exports);
@@ -1,7 +1,10 @@
1
- export var AgentTypeEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentTypeEnum = void 0;
4
+ var AgentTypeEnum;
2
5
  (function (AgentTypeEnum) {
3
6
  AgentTypeEnum[AgentTypeEnum["ListAgent"] = 1] = "ListAgent";
4
7
  AgentTypeEnum[AgentTypeEnum["CoListAgent"] = 2] = "CoListAgent";
5
8
  AgentTypeEnum[AgentTypeEnum["BuyerAgent"] = 3] = "BuyerAgent";
6
9
  AgentTypeEnum[AgentTypeEnum["CoBuyerAgent"] = 4] = "CoBuyerAgent";
7
- })(AgentTypeEnum || (AgentTypeEnum = {}));
10
+ })(AgentTypeEnum || (exports.AgentTypeEnum = AgentTypeEnum = {}));
@@ -1,4 +1,7 @@
1
- export var AssociationFeeFrequencyEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssociationFeeFrequencyEnum = void 0;
4
+ var AssociationFeeFrequencyEnum;
2
5
  (function (AssociationFeeFrequencyEnum) {
3
6
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["NotMapped"] = -1] = "NotMapped";
4
7
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Annually"] = 1] = "Annually";
@@ -11,4 +14,4 @@ export var AssociationFeeFrequencyEnum;
11
14
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Daily"] = 8] = "Daily";
12
15
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["OneTime"] = 9] = "OneTime";
13
16
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["SeeRemarks"] = 10] = "SeeRemarks";
14
- })(AssociationFeeFrequencyEnum || (AssociationFeeFrequencyEnum = {}));
17
+ })(AssociationFeeFrequencyEnum || (exports.AssociationFeeFrequencyEnum = AssociationFeeFrequencyEnum = {}));