samls-js-integration 1.0.45 → 1.1.40

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