samls-js-integration 1.0.39 → 1.0.41

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 (282) hide show
  1. package/README.md +6 -1
  2. package/dist/clients/AddressDetail.d.ts +5 -0
  3. package/dist/clients/AddressDetail.js +6 -0
  4. package/dist/clients/ListingsClient.d.ts +9 -0
  5. package/dist/clients/ListingsClient.js +18 -0
  6. package/dist/clients/MlsClient.d.ts +6 -0
  7. package/dist/clients/MlsClient.js +10 -0
  8. package/dist/clients/PolygonClient.d.ts +5 -0
  9. package/dist/clients/PolygonClient.js +7 -0
  10. package/dist/clients/index.js +3 -0
  11. package/dist/globals/HttpModule.d.ts +1 -0
  12. package/dist/globals/HttpModule.js +4 -0
  13. package/dist/globals/constants/url.d.ts +4 -0
  14. package/dist/globals/constants/url.js +4 -0
  15. package/dist/globals/index.js +3 -0
  16. package/dist/globals/models/IApiResponse.d.ts +5 -0
  17. package/dist/globals/models/IApiResponse.js +1 -0
  18. package/{lib/globals/models/index.ts → dist/globals/models/index.d.ts} +0 -1
  19. package/dist/globals/models/index.js +2 -0
  20. package/dist/index.js +2 -0
  21. package/dist/models/Address/AddressDetailModel.d.ts +37 -0
  22. package/dist/models/Address/AddressDetailModel.js +38 -0
  23. package/dist/models/Address/AddressQueryModel.d.ts +5 -0
  24. package/dist/models/Address/AddressQueryModel.js +8 -0
  25. package/dist/models/Address/index.js +2 -0
  26. package/dist/models/Agent/AgentInfoModel.d.ts +27 -0
  27. package/dist/models/Agent/AgentInfoModel.js +28 -0
  28. package/dist/models/Agent/AgentModel.d.ts +7 -0
  29. package/dist/models/Agent/AgentModel.js +8 -0
  30. package/dist/models/Agent/GetAgentRequestModel.d.ts +6 -0
  31. package/dist/models/Agent/GetAgentRequestModel.js +7 -0
  32. package/dist/models/Agent/GetAgentsRequestModel.d.ts +8 -0
  33. package/dist/models/Agent/GetAgentsRequestModel.js +10 -0
  34. package/dist/models/Agent/OfficeModel.d.ts +19 -0
  35. package/dist/models/Agent/OfficeModel.js +20 -0
  36. package/dist/models/Agent/index.js +5 -0
  37. package/dist/models/Common/GlobalQueryModel.d.ts +11 -0
  38. package/dist/models/Common/GlobalQueryModel.js +14 -0
  39. package/dist/models/Common/LocationModel.d.ts +4 -0
  40. package/dist/models/Common/LocationModel.js +6 -0
  41. package/dist/models/Common/PaginationOptions.d.ts +4 -0
  42. package/dist/models/Common/PaginationOptions.js +6 -0
  43. package/dist/models/Common/Point.d.ts +5 -0
  44. package/dist/models/Common/Point.js +7 -0
  45. package/dist/models/Common/index.js +5 -0
  46. package/dist/models/Entities/AddressDetail.d.ts +42 -0
  47. package/dist/models/Entities/AddressDetail.js +42 -0
  48. package/dist/models/Entities/AddressPolygon.d.ts +10 -0
  49. package/dist/models/Entities/AddressPolygon.js +10 -0
  50. package/dist/models/Entities/Entity.d.ts +6 -0
  51. package/dist/models/Entities/Entity.js +7 -0
  52. package/dist/models/Entities/Listing.d.ts +78 -0
  53. package/dist/models/Entities/Listing.js +3 -0
  54. package/dist/models/Entities/ListingOpenHouse.d.ts +24 -0
  55. package/dist/models/Entities/ListingOpenHouse.js +3 -0
  56. package/dist/models/Entities/ListingSchool.d.ts +9 -0
  57. package/dist/models/Entities/ListingSchool.js +9 -0
  58. package/dist/models/Entities/Polygon.d.ts +2 -0
  59. package/dist/models/Entities/Polygon.js +3 -0
  60. package/dist/models/Entities/Property.d.ts +2 -0
  61. package/dist/models/Entities/Property.js +3 -0
  62. package/dist/models/Entities/PropertyFeature.d.ts +2 -0
  63. package/dist/models/Entities/PropertyFeature.js +3 -0
  64. package/dist/models/Entities/School.d.ts +2 -0
  65. package/dist/models/Entities/School.js +3 -0
  66. package/dist/models/Entities/index.js +10 -0
  67. package/dist/models/Enums/AgentTypeEnum.d.ts +6 -0
  68. package/dist/models/Enums/AgentTypeEnum.js +7 -0
  69. package/dist/models/Enums/AssociationFeeFrequencyEnum.d.ts +13 -0
  70. package/dist/models/Enums/AssociationFeeFrequencyEnum.js +14 -0
  71. package/dist/models/Enums/AuthenticationTypeEnum.d.ts +6 -0
  72. package/dist/models/Enums/AuthenticationTypeEnum.js +7 -0
  73. package/dist/models/Enums/CurrencyEnum.d.ts +5 -0
  74. package/dist/models/Enums/CurrencyEnum.js +6 -0
  75. package/dist/models/Enums/DirectionFacesEnum.d.ts +11 -0
  76. package/dist/models/Enums/DirectionFacesEnum.js +12 -0
  77. package/dist/models/Enums/FeatureSourceEnum.d.ts +6 -0
  78. package/dist/models/Enums/FeatureSourceEnum.js +14 -0
  79. package/dist/models/Enums/GeometryTypeEnum.d.ts +10 -0
  80. package/dist/models/Enums/GeometryTypeEnum.js +11 -0
  81. package/dist/models/Enums/ListingStatusEnum.d.ts +15 -0
  82. package/dist/models/Enums/ListingStatusEnum.js +31 -0
  83. package/dist/models/Enums/ListingTypeClassEnum.d.ts +6 -0
  84. package/dist/models/Enums/ListingTypeClassEnum.js +6 -0
  85. package/dist/models/Enums/ListingTypeEnum.d.ts +16 -0
  86. package/dist/models/Enums/ListingTypeEnum.js +20 -0
  87. package/dist/models/Enums/MLSEnum.d.ts +38 -0
  88. package/dist/models/Enums/MLSEnum.js +39 -0
  89. package/dist/models/Enums/OrderByOptions.d.ts +6 -0
  90. package/dist/models/Enums/OrderByOptions.js +7 -0
  91. package/dist/models/Enums/OwnershipTypeEnum.d.ts +22 -0
  92. package/dist/models/Enums/OwnershipTypeEnum.js +26 -0
  93. package/dist/models/Enums/PhysicalPropertyClassEnum.d.ts +6 -0
  94. package/dist/models/Enums/PhysicalPropertyClassEnum.js +7 -0
  95. package/dist/models/Enums/PhysicalPropertyTypeEnum.d.ts +51 -0
  96. package/dist/models/Enums/PhysicalPropertyTypeEnum.js +55 -0
  97. package/dist/models/Enums/PlatformEnum.d.ts +6 -0
  98. package/dist/models/Enums/PlatformEnum.js +7 -0
  99. package/dist/models/Enums/ProcessingStatusEnum.d.ts +8 -0
  100. package/dist/models/Enums/ProcessingStatusEnum.js +9 -0
  101. package/dist/models/Enums/ProcessingTypeEnum.d.ts +5 -0
  102. package/dist/models/Enums/ProcessingTypeEnum.js +6 -0
  103. package/dist/models/Enums/PropertyConditionEnum.d.ts +17 -0
  104. package/dist/models/Enums/PropertyConditionEnum.js +21 -0
  105. package/dist/models/Enums/PropertyLevelEnum.d.ts +12 -0
  106. package/dist/models/Enums/PropertyLevelEnum.js +16 -0
  107. package/dist/models/Enums/StreetDirectionEnum.d.ts +11 -0
  108. package/dist/models/Enums/StreetDirectionEnum.js +15 -0
  109. package/dist/models/Enums/StreetSuffixEnum.d.ts +245 -0
  110. package/dist/models/Enums/StreetSuffixEnum.js +246 -0
  111. package/dist/models/Enums/index.js +22 -0
  112. package/dist/models/Feature/CategoryModel.d.ts +4 -0
  113. package/dist/models/Feature/CategoryModel.js +6 -0
  114. package/dist/models/Feature/FeatureModel.d.ts +9 -0
  115. package/dist/models/Feature/FeatureModel.js +9 -0
  116. package/dist/models/Feature/SubCategoryModel.d.ts +4 -0
  117. package/dist/models/Feature/SubCategoryModel.js +6 -0
  118. package/dist/models/Feature/index.js +3 -0
  119. package/dist/models/Listing/ClusteringFilterRequestBaseModel.d.ts +0 -0
  120. package/{lib/models/Listing/ClusteringFilterRequestBaseModel.ts → dist/models/Listing/ClusteringFilterRequestBaseModel.js} +2 -1
  121. package/dist/models/Listing/GetByIdRequestModel.d.ts +5 -0
  122. package/dist/models/Listing/GetByIdRequestModel.js +9 -0
  123. package/dist/models/Listing/GetByMlsIdRequestModel.d.ts +5 -0
  124. package/dist/models/Listing/GetByMlsIdRequestModel.js +9 -0
  125. package/dist/models/Listing/GetListingsByFilterRequestModel.d.ts +13 -0
  126. package/dist/models/Listing/GetListingsByFilterRequestModel.js +15 -0
  127. package/dist/models/Listing/ListingModel.d.ts +81 -0
  128. package/dist/models/Listing/ListingModel.js +75 -0
  129. package/dist/models/Listing/OpenHouseModel.d.ts +20 -0
  130. package/dist/models/Listing/OpenHouseModel.js +23 -0
  131. package/dist/models/Listing/PhotoModel.d.ts +10 -0
  132. package/dist/models/Listing/PhotoModel.js +13 -0
  133. package/dist/models/Listing/PropertyModel.d.ts +49 -0
  134. package/dist/models/Listing/PropertyModel.js +48 -0
  135. package/dist/models/Listing/RentPriceModel.d.ts +34 -0
  136. package/dist/models/Listing/RentPriceModel.js +37 -0
  137. package/dist/models/Listing/StyleModel.d.ts +4 -0
  138. package/dist/models/Listing/StyleModel.js +7 -0
  139. package/dist/models/Listing/WalkScoreModel.d.ts +9 -0
  140. package/dist/models/Listing/WalkScoreModel.js +12 -0
  141. package/dist/models/Listing/index.js +10 -0
  142. package/dist/models/Mls/MlsInfoModel.d.ts +8 -0
  143. package/dist/models/Mls/MlsInfoModel.js +11 -0
  144. package/dist/models/Mls/index.js +1 -0
  145. package/dist/models/PData/index.js +1 -0
  146. package/dist/models/PData/models/Condition.d.ts +4 -0
  147. package/dist/models/PData/models/Condition.js +5 -0
  148. package/dist/models/PData/models/ConditionModel.d.ts +13 -0
  149. package/dist/models/PData/models/ConditionModel.js +15 -0
  150. package/dist/models/PData/models/IPagination.d.ts +4 -0
  151. package/dist/models/PData/models/IPagination.js +1 -0
  152. package/dist/models/PData/models/Operator.d.ts +14 -0
  153. package/dist/models/PData/models/Operator.js +15 -0
  154. package/dist/models/PData/models/Ordering.d.ts +7 -0
  155. package/dist/models/PData/models/Ordering.js +11 -0
  156. package/dist/models/PData/models/index.js +5 -0
  157. package/dist/models/Polygon/LimitModel.d.ts +6 -0
  158. package/dist/models/Polygon/LimitModel.js +9 -0
  159. package/dist/models/Polygon/PolygonFilterRequestModel.d.ts +9 -0
  160. package/dist/models/Polygon/PolygonFilterRequestModel.js +12 -0
  161. package/dist/models/Polygon/PolygonFilterResponseModel.d.ts +8 -0
  162. package/dist/models/Polygon/PolygonFilterResponseModel.js +9 -0
  163. package/dist/models/Polygon/PolygonLiteResponseModel.d.ts +15 -0
  164. package/dist/models/Polygon/PolygonLiteResponseModel.js +17 -0
  165. package/dist/models/Polygon/index.js +4 -0
  166. package/dist/models/School/SchoolIdentifierModel.d.ts +0 -0
  167. package/{lib/models/School/SchoolIdentifierModel.ts → dist/models/School/SchoolIdentifierModel.js} +2 -1
  168. package/dist/models/School/SchoolModel.d.ts +13 -0
  169. package/dist/models/School/SchoolModel.js +16 -0
  170. package/dist/models/School/index.js +1 -0
  171. package/dist/models/index.js +12 -0
  172. package/dist/services/SamlsClient.d.ts +8 -0
  173. package/{lib/services/SamlsClient.ts → dist/services/SamlsClient.js} +6 -5
  174. package/package.json +5 -5
  175. package/dist/browser/samls.js +0 -1348
  176. package/dist/node/samls.cjs +0 -1345
  177. package/lib/clients/AddressDetail.ts +0 -10
  178. package/lib/clients/ListingsClient.ts +0 -36
  179. package/lib/clients/MlsClient.ts +0 -14
  180. package/lib/clients/PolygonClient.ts +0 -12
  181. package/lib/globals/HttpModule.ts +0 -6
  182. package/lib/globals/constants/url.ts +0 -4
  183. package/lib/globals/models/IApiResponse.ts +0 -5
  184. package/lib/globals/models/ObjectPropertyPathChecker.ts +0 -3
  185. package/lib/models/Address/AddressDetailModel.ts +0 -39
  186. package/lib/models/Address/AddressQueryModel.ts +0 -10
  187. package/lib/models/Agent/AgentInfoModel.ts +0 -28
  188. package/lib/models/Agent/AgentModel.ts +0 -8
  189. package/lib/models/Agent/GetAgentRequestModel.ts +0 -8
  190. package/lib/models/Agent/GetAgentsRequestModel.ts +0 -9
  191. package/lib/models/Agent/OfficeModel.ts +0 -20
  192. package/lib/models/Common/GlobalQueryModel.ts +0 -17
  193. package/lib/models/Common/LocationModel.ts +0 -4
  194. package/lib/models/Common/PaginationOptions.ts +0 -4
  195. package/lib/models/Common/Point.ts +0 -10
  196. package/lib/models/Entities/AddressDetail.ts +0 -46
  197. package/lib/models/Entities/AddressPolygon.ts +0 -11
  198. package/lib/models/Entities/Entity.ts +0 -11
  199. package/lib/models/Entities/Listing.ts +0 -87
  200. package/lib/models/Entities/ListingOpenHouse.ts +0 -26
  201. package/lib/models/Entities/ListingSchool.ts +0 -10
  202. package/lib/models/Entities/Polygon.ts +0 -23
  203. package/lib/models/Entities/Property.ts +0 -60
  204. package/lib/models/Entities/PropertyFeature.ts +0 -13
  205. package/lib/models/Entities/School.ts +0 -19
  206. package/lib/models/Enums/AgentTypeEnum.ts +0 -7
  207. package/lib/models/Enums/AssociationFeeFrequencyEnum.ts +0 -13
  208. package/lib/models/Enums/AuthenticationTypeEnum.ts +0 -6
  209. package/lib/models/Enums/CurrencyEnum.ts +0 -5
  210. package/lib/models/Enums/DirectionFacesEnum.ts +0 -11
  211. package/lib/models/Enums/FeatureSourceEnum.ts +0 -15
  212. package/lib/models/Enums/GeometryTypeEnum.ts +0 -10
  213. package/lib/models/Enums/ListingStatusEnum.ts +0 -35
  214. package/lib/models/Enums/ListingTypeClassEnum.ts +0 -7
  215. package/lib/models/Enums/ListingTypeEnum.ts +0 -20
  216. package/lib/models/Enums/MLSEnum.ts +0 -38
  217. package/lib/models/Enums/OrderByOptions.ts +0 -6
  218. package/lib/models/Enums/OwnershipTypeEnum.ts +0 -26
  219. package/lib/models/Enums/PhysicalPropertyClassEnum.ts +0 -6
  220. package/lib/models/Enums/PhysicalPropertyTypeEnum.ts +0 -55
  221. package/lib/models/Enums/PlatformEnum.ts +0 -6
  222. package/lib/models/Enums/ProcessingStatusEnum.ts +0 -8
  223. package/lib/models/Enums/ProcessingTypeEnum.ts +0 -5
  224. package/lib/models/Enums/PropertyConditionEnum.ts +0 -21
  225. package/lib/models/Enums/PropertyLevelEnum.ts +0 -16
  226. package/lib/models/Enums/StreetDirectionEnum.ts +0 -15
  227. package/lib/models/Enums/StreetSuffixEnum.ts +0 -245
  228. package/lib/models/Feature/CategoryModel.ts +0 -4
  229. package/lib/models/Feature/FeatureModel.ts +0 -11
  230. package/lib/models/Feature/SubCategoryModel.ts +0 -4
  231. package/lib/models/Listing/ClusteringFilterResponseModel.cs +0 -29
  232. package/lib/models/Listing/GetByAddressRequestModel.cs +0 -21
  233. package/lib/models/Listing/GetByAgentRequestModel.cs +0 -13
  234. package/lib/models/Listing/GetByIdRequestModel.ts +0 -12
  235. package/lib/models/Listing/GetByMlsIdRequestModel.ts +0 -12
  236. package/lib/models/Listing/GetListingsByFilterRequestModel.ts +0 -19
  237. package/lib/models/Listing/GetMapListingsRequestModel.cs +0 -16
  238. package/lib/models/Listing/GetNearByListingsRequestModel.cs +0 -17
  239. package/lib/models/Listing/GetPhotosByIdsRequestModel.cs +0 -6
  240. package/lib/models/Listing/ListingDistancedModel.cs +0 -7
  241. package/lib/models/Listing/ListingModel.ts +0 -88
  242. package/lib/models/Listing/ListingsLocationQueryModel.cs +0 -16
  243. package/lib/models/Listing/LocationOptions.cs +0 -8
  244. package/lib/models/Listing/NearByListingsResponse.cs +0 -37
  245. package/lib/models/Listing/OpenHouseLiteModel.cs +0 -7
  246. package/lib/models/Listing/OpenHouseModel.ts +0 -21
  247. package/lib/models/Listing/PhotoModel.ts +0 -10
  248. package/lib/models/Listing/PropertyModel.ts +0 -57
  249. package/lib/models/Listing/RentPriceModel.ts +0 -35
  250. package/lib/models/Listing/StyleModel.ts +0 -5
  251. package/lib/models/Listing/WalkScoreModel.ts +0 -10
  252. package/lib/models/Mls/MlsInfoModel.ts +0 -9
  253. package/lib/models/PData/models/Condition.ts +0 -4
  254. package/lib/models/PData/models/ConditionModel.ts +0 -20
  255. package/lib/models/PData/models/IPagination.ts +0 -4
  256. package/lib/models/PData/models/Operator.ts +0 -14
  257. package/lib/models/PData/models/Ordering.ts +0 -12
  258. package/lib/models/Polygon/LimitModel.ts +0 -12
  259. package/lib/models/Polygon/PolygonFilterRequestModel.ts +0 -15
  260. package/lib/models/Polygon/PolygonFilterResponseModel.ts +0 -15
  261. package/lib/models/Polygon/PolygonLiteResponseModel.ts +0 -15
  262. package/lib/models/Polygon/PolygonResponseModel.cs +0 -22
  263. package/lib/models/Polygon/PolygonsQueryModel.cs +0 -12
  264. package/lib/models/School/SchoolModel.ts +0 -14
  265. package/lib/models/School/SchoolsByRadiusBatchRequestModel.cs +0 -6
  266. package/lib/models/School/SchoolsByRadiusRequestModel.cs +0 -10
  267. /package/{lib/clients/index.ts → dist/clients/index.d.ts} +0 -0
  268. /package/{lib/globals/index.ts → dist/globals/index.d.ts} +0 -0
  269. /package/{lib/index.ts → dist/index.d.ts} +0 -0
  270. /package/{lib/models/Address/index.ts → dist/models/Address/index.d.ts} +0 -0
  271. /package/{lib/models/Agent/index.ts → dist/models/Agent/index.d.ts} +0 -0
  272. /package/{lib/models/Common/index.ts → dist/models/Common/index.d.ts} +0 -0
  273. /package/{lib/models/Entities/index.ts → dist/models/Entities/index.d.ts} +0 -0
  274. /package/{lib/models/Enums/index.ts → dist/models/Enums/index.d.ts} +0 -0
  275. /package/{lib/models/Feature/index.ts → dist/models/Feature/index.d.ts} +0 -0
  276. /package/{lib/models/Listing/index.ts → dist/models/Listing/index.d.ts} +0 -0
  277. /package/{lib/models/Mls/index.ts → dist/models/Mls/index.d.ts} +0 -0
  278. /package/{lib/models/PData/index.ts → dist/models/PData/index.d.ts} +0 -0
  279. /package/{lib/models/PData/models/index.ts → dist/models/PData/models/index.d.ts} +0 -0
  280. /package/{lib/models/Polygon/index.ts → dist/models/Polygon/index.d.ts} +0 -0
  281. /package/{lib/models/School/index.ts → dist/models/School/index.d.ts} +0 -0
  282. /package/{lib/models/index.ts → dist/models/index.d.ts} +0 -0
@@ -1,1348 +0,0 @@
1
- // Samls 2023, version 1.0.0
2
- var samls = (function (exports, axios) {
3
- 'use strict';
4
-
5
- const URL = {
6
- domain: 'https://samls-providerapi.purlin.tech/api/',
7
- pathPrefix: '',
8
- };
9
-
10
- const requestConfig = { baseURL: URL.domain };
11
- const http = axios.create(requestConfig);
12
-
13
- const PATH_SEGMENT$1 = 'AddressDetail';
14
- class MlsClient {
15
- getMlsInfos() {
16
- return http.get(`${PATH_SEGMENT$1}/Mls`);
17
- }
18
- getMlsInfoById(id) {
19
- return http.get(`${PATH_SEGMENT$1}/Mls/${id}`);
20
- }
21
- }
22
-
23
- class ListingsClient {
24
- get(model) {
25
- return http.post('Listing', model);
26
- }
27
- getListingsByFilter(model) {
28
- return http.post('Listing/filter', model);
29
- }
30
- getByMlsId(model) {
31
- return http.post('Listing/mlsId', model);
32
- }
33
- getByQuery(queryModel) {
34
- return http.post('Listing/query', queryModel);
35
- }
36
- getListingTypeGroups() {
37
- return http.get('Listing/type/groups');
38
- }
39
- }
40
-
41
- let AddressDetail$1 = class AddressDetail {
42
- getByQuery(queryModel) {
43
- return http.post(`AddressDetail/query`, queryModel);
44
- }
45
- };
46
-
47
- const PATH_SEGMENT = 'Polygon';
48
- class PolygonClient {
49
- filter(model) {
50
- return http.post(`${PATH_SEGMENT}/filter`, model);
51
- }
52
- }
53
-
54
- //TODO build is not completed
55
- //TODO and separate types in one file and remove src codes from library
56
- class SamlsClient {
57
- constructor() {
58
- this.Mls = new MlsClient();
59
- this.Polygons = new PolygonClient();
60
- this.Listings = new ListingsClient();
61
- this.AddressDetails = new AddressDetail$1();
62
- }
63
- }
64
-
65
- //TODO custom field
66
- class Point {
67
- constructor(latitude, longitude) {
68
- this.latitude = latitude;
69
- this.longitude = longitude;
70
- }
71
- }
72
-
73
- class GlobalQueryModel {
74
- constructor(data) {
75
- this.skip = 0;
76
- this.take = 10;
77
- this.count = false;
78
- this.filter = null;
79
- this.order = null;
80
- this.conditions = null;
81
- this.fields = [];
82
- if (data) {
83
- Object.assign(this, data);
84
- }
85
- }
86
- }
87
-
88
- class LocationModel {
89
- constructor() {
90
- this.Latitude = 0;
91
- this.Longitude = 0;
92
- }
93
- }
94
-
95
- class PaginationOptions {
96
- constructor() {
97
- this.Page = 0;
98
- this.Count = 0;
99
- }
100
- }
101
-
102
- class ConditionModel {
103
- constructor(data) {
104
- this.value = null;
105
- this.isNot = false;
106
- this.operator = null;
107
- this.nextProperty = null;
108
- this.subConditions = [];
109
- this.subCondition = null;
110
- this.nextCondition = null;
111
- this.property = null;
112
- if (data) {
113
- Object.assign(this, data);
114
- }
115
- }
116
- }
117
-
118
- class AddressQueryModel extends GlobalQueryModel {
119
- constructor(fullAddress, data) {
120
- super(data);
121
- this.fullAddress = '';
122
- this.fullAddress = fullAddress;
123
- }
124
- }
125
-
126
- class AddressDetailModel {
127
- constructor() {
128
- this.coreListingId = 0;
129
- this.city = '';
130
- this.country = '';
131
- this.county = '';
132
- this.crossStreet = '';
133
- this.directions = '';
134
- this.elementarySchool = '';
135
- this.elementarySchoolDistrict = '';
136
- this.fullAddress = '';
137
- this.highSchool = '';
138
- this.highSchoolDistrict = '';
139
- this.latitude = null;
140
- this.locationDescription = '';
141
- this.longitude = null;
142
- this.middleOrJuniorSchool = '';
143
- this.middleOrJuniorSchoolDistrict = '';
144
- this.neighborhood = '';
145
- this.postalCode = '';
146
- this.seniorCommunityYN = null;
147
- this.stateOrProvince = '';
148
- this.streetDirPrefix = null;
149
- this.streetDirSuffix = null;
150
- this.streetName = '';
151
- this.streetNumber = '';
152
- this.streetSuffix = null;
153
- this.subDivision = '';
154
- this.unitNumber = '';
155
- this.waterBodyName = '';
156
- this.waterfrontProximity = '';
157
- this.waterfrontYN = null;
158
- this.zoning = '';
159
- this.samlsFullAddress = '';
160
- this.samlsPartialAddress = '';
161
- this.polygonCollection = [];
162
- }
163
- }
164
-
165
- class AgentInfoModel {
166
- constructor() {
167
- this.agentId = 0;
168
- this.agentAOR = '';
169
- this.agentDesignation = '';
170
- this.agentDirectPhone = '';
171
- this.agentEmail = '';
172
- this.agentFirstName = '';
173
- this.agentFullName = '';
174
- this.agentHomePhone = '';
175
- this.agentKey = '';
176
- this.agentLastName = '';
177
- this.agentLicenseNumber = '';
178
- this.agentMiddleName = '';
179
- this.agentMls = null;
180
- this.agentMlsId = '';
181
- this.agentMobilePhone = '';
182
- this.agentNamePrefix = '';
183
- this.agentNameSuffix = '';
184
- this.agentOfficePhone = '';
185
- this.agentOfficePhoneExt = '';
186
- this.agentPreferredPhone = '';
187
- this.agentStateLicense = '';
188
- this.agentUrl = '';
189
- this.teamKey = '';
190
- this.teamName = '';
191
- }
192
- }
193
-
194
- class AgentModel extends AgentInfoModel {
195
- constructor() {
196
- super(...arguments);
197
- this.agentTypeId = null;
198
- this.office = null;
199
- }
200
- }
201
-
202
- class GetAgentRequestModel {
203
- constructor() {
204
- this.agentMlsId = '';
205
- this.mlsId = null;
206
- }
207
- }
208
-
209
- class GetAgentsRequestModel extends PaginationOptions {
210
- constructor() {
211
- super(...arguments);
212
- this.email = '';
213
- this.lastName = '';
214
- this.firstName = '';
215
- this.mlsId = null;
216
- }
217
- }
218
-
219
- class OfficeModel {
220
- constructor() {
221
- this.officeKey = '';
222
- this.officeAOR = '';
223
- this.officeCity = '';
224
- this.officeEmail = '';
225
- this.officeLocation = '';
226
- this.officeMls = null;
227
- this.officeMlsId = '';
228
- this.officeName = '';
229
- this.officeNeighborhood = '';
230
- this.officePhone = '';
231
- this.officePhoneExt = '';
232
- this.officeState = '';
233
- this.officeStreetName = '';
234
- this.officeStreetNumber = '';
235
- this.officeURL = '';
236
- this.officeZip = '';
237
- }
238
- }
239
-
240
- //TODO need to revisit
241
- class Listing {
242
- }
243
-
244
- class AddressDetail {
245
- constructor() {
246
- this.CoreListingId = 0;
247
- this.City = '';
248
- this.Country = '';
249
- this.County = '';
250
- this.CrossStreet = '';
251
- this.Directions = '';
252
- this.ElementarySchool = '';
253
- this.ElementarySchoolDistrict = '';
254
- this.FullAddress = '';
255
- this.HighSchool = '';
256
- this.HighSchoolDistrict = '';
257
- this.Latitude = null;
258
- this.LocationDescription = '';
259
- this.Longitude = null;
260
- this.MiddleOrJuniorSchool = '';
261
- this.MiddleOrJuniorSchoolDistrict = '';
262
- this.Neighborhood = '';
263
- this.PostalCode = '';
264
- this.SeniorCommunityYN = null;
265
- this.StateOrProvince = '';
266
- this.StreetDirPrefix = null;
267
- this.StreetDirSuffix = null;
268
- this.StreetName = '';
269
- this.StreetNumber = '';
270
- this.StreetSuffix = null;
271
- this.SubDivision = '';
272
- this.UnitNumber = '';
273
- this.WaterBodyName = '';
274
- this.WaterfrontProximity = '';
275
- this.WaterfrontYN = null;
276
- this.Zoning = '';
277
- this.Coordinate = new Point(0, 0);
278
- this.SamlsFullAddress = '';
279
- this.SamlsPartialAddress = '';
280
- this.AddressPolygons = [];
281
- this.CoreListing = new Listing();
282
- }
283
- }
284
-
285
- class AddressPolygon {
286
- constructor() {
287
- this.id = 0;
288
- this.addressId = 0;
289
- this.polygonId = 0;
290
- this.createDate = null;
291
- this.polygon = null;
292
- this.address = null;
293
- }
294
- }
295
-
296
- class Entity {
297
- constructor(id, createDate, updateDate) {
298
- this.id = id;
299
- this.createDate = createDate;
300
- this.updateDate = updateDate;
301
- }
302
- }
303
-
304
- //TODO need to revisit
305
- class ListingOpenHouse {
306
- }
307
-
308
- class ListingSchool {
309
- constructor() {
310
- this.schoolId = 0;
311
- this.coreListingId = 0;
312
- this.school = null;
313
- this.distance = null;
314
- this.listing = null;
315
- }
316
- }
317
-
318
- //TODO need to revisit
319
- class Polygon {
320
- }
321
-
322
- //TODO need to revisit
323
- class Property {
324
- }
325
-
326
- //TODO need to revisit
327
- class PropertyFeature {
328
- }
329
-
330
- //TODO need to revisit
331
- class School {
332
- }
333
-
334
- exports.AgentTypeEnum = void 0;
335
- (function (AgentTypeEnum) {
336
- AgentTypeEnum[AgentTypeEnum["ListAgent"] = 1] = "ListAgent";
337
- AgentTypeEnum[AgentTypeEnum["CoListAgent"] = 2] = "CoListAgent";
338
- AgentTypeEnum[AgentTypeEnum["BuyerAgent"] = 3] = "BuyerAgent";
339
- AgentTypeEnum[AgentTypeEnum["CoBuyerAgent"] = 4] = "CoBuyerAgent";
340
- })(exports.AgentTypeEnum || (exports.AgentTypeEnum = {}));
341
-
342
- exports.AssociationFeeFrequencyEnum = void 0;
343
- (function (AssociationFeeFrequencyEnum) {
344
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["NotMapped"] = -1] = "NotMapped";
345
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Annually"] = 1] = "Annually";
346
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Quarterly"] = 2] = "Quarterly";
347
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Semiannually"] = 3] = "Semiannually";
348
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Bimonthly"] = 4] = "Bimonthly";
349
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Monthly"] = 5] = "Monthly";
350
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Semimonthly"] = 6] = "Semimonthly";
351
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Weekly"] = 7] = "Weekly";
352
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Daily"] = 8] = "Daily";
353
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["OneTime"] = 9] = "OneTime";
354
- AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["SeeRemarks"] = 10] = "SeeRemarks";
355
- })(exports.AssociationFeeFrequencyEnum || (exports.AssociationFeeFrequencyEnum = {}));
356
-
357
- exports.AuthenticationTypeEnum = void 0;
358
- (function (AuthenticationTypeEnum) {
359
- AuthenticationTypeEnum[AuthenticationTypeEnum["None"] = 0] = "None";
360
- AuthenticationTypeEnum[AuthenticationTypeEnum["AccessTokenParameter"] = 1] = "AccessTokenParameter";
361
- AuthenticationTypeEnum[AuthenticationTypeEnum["AccessTokenHeader"] = 2] = "AccessTokenHeader";
362
- AuthenticationTypeEnum[AuthenticationTypeEnum["ClientCredentials"] = 3] = "ClientCredentials";
363
- })(exports.AuthenticationTypeEnum || (exports.AuthenticationTypeEnum = {}));
364
-
365
- exports.CurrencyEnum = void 0;
366
- (function (CurrencyEnum) {
367
- CurrencyEnum[CurrencyEnum["NotMapped"] = -1] = "NotMapped";
368
- CurrencyEnum[CurrencyEnum["Other"] = 0] = "Other";
369
- CurrencyEnum[CurrencyEnum["USD"] = 1] = "USD";
370
- })(exports.CurrencyEnum || (exports.CurrencyEnum = {}));
371
-
372
- exports.DirectionFacesEnum = void 0;
373
- (function (DirectionFacesEnum) {
374
- DirectionFacesEnum[DirectionFacesEnum["NotMapped"] = -1] = "NotMapped";
375
- DirectionFacesEnum[DirectionFacesEnum["North"] = 1] = "North";
376
- DirectionFacesEnum[DirectionFacesEnum["NorthEast"] = 2] = "NorthEast";
377
- DirectionFacesEnum[DirectionFacesEnum["East"] = 3] = "East";
378
- DirectionFacesEnum[DirectionFacesEnum["SouthEast"] = 4] = "SouthEast";
379
- DirectionFacesEnum[DirectionFacesEnum["South"] = 5] = "South";
380
- DirectionFacesEnum[DirectionFacesEnum["SouthWest"] = 6] = "SouthWest";
381
- DirectionFacesEnum[DirectionFacesEnum["West"] = 7] = "West";
382
- DirectionFacesEnum[DirectionFacesEnum["NorthWest"] = 8] = "NorthWest";
383
- })(exports.DirectionFacesEnum || (exports.DirectionFacesEnum = {}));
384
-
385
- exports.FeatureSourceEnum = void 0;
386
- (function (FeatureSourceEnum) {
387
- FeatureSourceEnum[FeatureSourceEnum["MLS"] = 1] = "MLS";
388
- FeatureSourceEnum[FeatureSourceEnum["ImageProcessing"] = 2] = "ImageProcessing";
389
- FeatureSourceEnum[FeatureSourceEnum["NLP"] = 4] = "NLP";
390
- })(exports.FeatureSourceEnum || (exports.FeatureSourceEnum = {}));
391
- // Helper function to check if a combination of flags is set
392
- function hasFlag(enumValue, flag) {
393
- return (enumValue & flag) === flag;
394
- }
395
- // // Usage example
396
- // const value: FeatureSourceEnum = FeatureSourceEnum.MLS | FeatureSourceEnum.NLP;
397
- // console.log(hasFlag(value, FeatureSourceEnum.MLS)); // true
398
- // console.log(hasFlag(value, FeatureSourceEnum.ImageProcessing)); // false
399
-
400
- exports.GeometryTypeEnum = void 0;
401
- (function (GeometryTypeEnum) {
402
- GeometryTypeEnum[GeometryTypeEnum["Zip"] = 1] = "Zip";
403
- GeometryTypeEnum[GeometryTypeEnum["Neighborhood"] = 2] = "Neighborhood";
404
- GeometryTypeEnum[GeometryTypeEnum["City"] = 3] = "City";
405
- GeometryTypeEnum[GeometryTypeEnum["County"] = 4] = "County";
406
- GeometryTypeEnum[GeometryTypeEnum["State"] = 5] = "State";
407
- GeometryTypeEnum[GeometryTypeEnum["School"] = 6] = "School";
408
- GeometryTypeEnum[GeometryTypeEnum["SubNeighborhood"] = 7] = "SubNeighborhood";
409
- GeometryTypeEnum[GeometryTypeEnum["SubDivision"] = 8] = "SubDivision";
410
- })(exports.GeometryTypeEnum || (exports.GeometryTypeEnum = {}));
411
-
412
- exports.ListingStatusEnum = void 0;
413
- (function (ListingStatusEnum) {
414
- ListingStatusEnum[ListingStatusEnum["NotMapped"] = -1] = "NotMapped";
415
- ListingStatusEnum[ListingStatusEnum["Other"] = 0] = "Other";
416
- ListingStatusEnum[ListingStatusEnum["Active"] = 1] = "Active";
417
- ListingStatusEnum[ListingStatusEnum["ActiveUnderContract"] = 2] = "ActiveUnderContract";
418
- ListingStatusEnum[ListingStatusEnum["Auction"] = 3] = "Auction";
419
- ListingStatusEnum[ListingStatusEnum["ComingSoon"] = 4] = "ComingSoon";
420
- ListingStatusEnum[ListingStatusEnum["Closed"] = 5] = "Closed";
421
- ListingStatusEnum[ListingStatusEnum["Expired"] = 6] = "Expired";
422
- ListingStatusEnum[ListingStatusEnum["Withdrawn"] = 7] = "Withdrawn";
423
- ListingStatusEnum[ListingStatusEnum["Pending"] = 8] = "Pending";
424
- ListingStatusEnum[ListingStatusEnum["Cancelled"] = 9] = "Cancelled";
425
- ListingStatusEnum[ListingStatusEnum["TemporaryOffMarket"] = 10] = "TemporaryOffMarket";
426
- ListingStatusEnum[ListingStatusEnum["Incomplete"] = 11] = "Incomplete";
427
- })(exports.ListingStatusEnum || (exports.ListingStatusEnum = {}));
428
- // // Usage example
429
- // const status: ListingStatusEnum = ListingStatusEnum.Active;
430
- // console.log(listingStatusDisplayNames[status]); // "Active"
431
- // console.log(IsActiveListing(status)); // true
432
- // console.log(IsArchiveListing(status)); // false
433
-
434
- exports.ListingTypeClassEnum = void 0;
435
- (function (ListingTypeClassEnum) {
436
- ListingTypeClassEnum[ListingTypeClassEnum["Rental"] = 0] = "Rental";
437
- ListingTypeClassEnum[ListingTypeClassEnum["Residential"] = 1] = "Residential";
438
- ListingTypeClassEnum[ListingTypeClassEnum["Other"] = 2] = "Other";
439
- })(exports.ListingTypeClassEnum || (exports.ListingTypeClassEnum = {}));
440
-
441
- exports.ListingTypeEnum = void 0;
442
- (function (ListingTypeEnum) {
443
- ListingTypeEnum[ListingTypeEnum["NotMapped"] = -1] = "NotMapped";
444
- ListingTypeEnum[ListingTypeEnum["Other"] = 0] = "Other";
445
- ListingTypeEnum[ListingTypeEnum["CommercialLease"] = 1] = "CommercialLease";
446
- ListingTypeEnum[ListingTypeEnum["CommercialSale"] = 2] = "CommercialSale";
447
- ListingTypeEnum[ListingTypeEnum["FarmSale"] = 3] = "FarmSale";
448
- ListingTypeEnum[ListingTypeEnum["FarmLease"] = 4] = "FarmLease";
449
- ListingTypeEnum[ListingTypeEnum["LandSale"] = 5] = "LandSale";
450
- ListingTypeEnum[ListingTypeEnum["LandLease"] = 6] = "LandLease";
451
- ListingTypeEnum[ListingTypeEnum["ResidentialSale"] = 7] = "ResidentialSale";
452
- ListingTypeEnum[ListingTypeEnum["ResidentialLease"] = 8] = "ResidentialLease";
453
- ListingTypeEnum[ListingTypeEnum["ResidentialIncome"] = 9] = "ResidentialIncome";
454
- ListingTypeEnum[ListingTypeEnum["BoatDockSale"] = 10] = "BoatDockSale";
455
- ListingTypeEnum[ListingTypeEnum["BoatDockLease"] = 11] = "BoatDockLease";
456
- ListingTypeEnum[ListingTypeEnum["BusinessOpportunity"] = 12] = "BusinessOpportunity";
457
- })(exports.ListingTypeEnum || (exports.ListingTypeEnum = {}));
458
- // // Usage example
459
- // const typeName: ListingTypeEnum = ListingTypeEnum.ResidentialSale;
460
- // console.log(listingTypeEnumDisplayNames[typeName]); // "Residential sale"
461
-
462
- exports.MLSEnum = void 0;
463
- (function (MLSEnum) {
464
- MLSEnum[MLSEnum["HAR"] = 1] = "HAR";
465
- MLSEnum[MLSEnum["ONEKEY"] = 2] = "ONEKEY";
466
- MLSEnum[MLSEnum["STELLAR"] = 3] = "STELLAR";
467
- MLSEnum[MLSEnum["MLSPIN"] = 4] = "MLSPIN";
468
- MLSEnum[MLSEnum["NABOR"] = 5] = "NABOR";
469
- MLSEnum[MLSEnum["MIAMIRE"] = 6] = "MIAMIRE";
470
- MLSEnum[MLSEnum["REBNY"] = 7] = "REBNY";
471
- MLSEnum[MLSEnum["GLVAR"] = 8] = "GLVAR";
472
- MLSEnum[MLSEnum["FTL"] = 9] = "FTL";
473
- MLSEnum[MLSEnum["ACTRIS"] = 10] = "ACTRIS";
474
- MLSEnum[MLSEnum["RAIRC"] = 11] = "RAIRC";
475
- MLSEnum[MLSEnum["BCS"] = 12] = "BCS";
476
- MLSEnum[MLSEnum["CTEXAS"] = 13] = "CTEXAS";
477
- MLSEnum[MLSEnum["CRMLS"] = 14] = "CRMLS";
478
- MLSEnum[MLSEnum["RAMC"] = 15] = "RAMC";
479
- MLSEnum[MLSEnum["AGS"] = 16] = "AGS";
480
- MLSEnum[MLSEnum["PBB"] = 17] = "PBB";
481
- MLSEnum[MLSEnum["NEFAR"] = 18] = "NEFAR";
482
- MLSEnum[MLSEnum["VAIL"] = 19] = "VAIL";
483
- MLSEnum[MLSEnum["MOMLS"] = 20] = "MOMLS";
484
- MLSEnum[MLSEnum["SBR"] = 21] = "SBR";
485
- MLSEnum[MLSEnum["GRW"] = 22] = "GRW";
486
- MLSEnum[MLSEnum["IRESDS"] = 23] = "IRESDS";
487
- MLSEnum[MLSEnum["RECO"] = 24] = "RECO";
488
- MLSEnum[MLSEnum["SABOR"] = 25] = "SABOR";
489
- MLSEnum[MLSEnum["NTREIS"] = 26] = "NTREIS";
490
- MLSEnum[MLSEnum["HCMLS"] = 27] = "HCMLS";
491
- MLSEnum[MLSEnum["CLAW"] = 28] = "CLAW";
492
- MLSEnum[MLSEnum["NJMLS"] = 29] = "NJMLS";
493
- MLSEnum[MLSEnum["GSMLS"] = 30] = "GSMLS";
494
- MLSEnum[MLSEnum["MLSL"] = 31] = "MLSL";
495
- MLSEnum[MLSEnum["SMART"] = 32] = "SMART";
496
- MLSEnum[MLSEnum["BRIGHT"] = 33] = "BRIGHT";
497
- MLSEnum[MLSEnum["NCB"] = 34] = "NCB";
498
- MLSEnum[MLSEnum["OEAST"] = 35] = "OEAST";
499
- MLSEnum[MLSEnum["EELI"] = 36] = "EELI";
500
- })(exports.MLSEnum || (exports.MLSEnum = {}));
501
-
502
- exports.OrderByOptions = void 0;
503
- (function (OrderByOptions) {
504
- OrderByOptions[OrderByOptions["ByPrice"] = 1] = "ByPrice";
505
- OrderByOptions[OrderByOptions["ByPricePerSquareFeet"] = 2] = "ByPricePerSquareFeet";
506
- OrderByOptions[OrderByOptions["ByNewest"] = 3] = "ByNewest";
507
- OrderByOptions[OrderByOptions["BySize"] = 4] = "BySize";
508
- })(exports.OrderByOptions || (exports.OrderByOptions = {}));
509
-
510
- exports.OwnershipTypeEnum = void 0;
511
- (function (OwnershipTypeEnum) {
512
- OwnershipTypeEnum[OwnershipTypeEnum["NotMapped"] = -1] = "NotMapped";
513
- OwnershipTypeEnum[OwnershipTypeEnum["CoOp"] = 1] = "CoOp";
514
- OwnershipTypeEnum[OwnershipTypeEnum["CondoMinium"] = 2] = "CondoMinium";
515
- OwnershipTypeEnum[OwnershipTypeEnum["Corporation"] = 3] = "Corporation";
516
- OwnershipTypeEnum[OwnershipTypeEnum["FeeSimple"] = 4] = "FeeSimple";
517
- OwnershipTypeEnum[OwnershipTypeEnum["Fractional"] = 5] = "Fractional";
518
- OwnershipTypeEnum[OwnershipTypeEnum["Franchise"] = 6] = "Franchise";
519
- OwnershipTypeEnum[OwnershipTypeEnum["HomeownerAssociation"] = 7] = "HomeownerAssociation";
520
- OwnershipTypeEnum[OwnershipTypeEnum["JointTenancy"] = 8] = "JointTenancy";
521
- OwnershipTypeEnum[OwnershipTypeEnum["Partnership"] = 9] = "Partnership";
522
- OwnershipTypeEnum[OwnershipTypeEnum["Private"] = 10] = "Private";
523
- OwnershipTypeEnum[OwnershipTypeEnum["SoleProprietor"] = 11] = "SoleProprietor";
524
- OwnershipTypeEnum[OwnershipTypeEnum["TenancyByEntirety"] = 12] = "TenancyByEntirety";
525
- OwnershipTypeEnum[OwnershipTypeEnum["TenancyInCommon"] = 13] = "TenancyInCommon";
526
- OwnershipTypeEnum[OwnershipTypeEnum["Timeshare"] = 14] = "Timeshare";
527
- OwnershipTypeEnum[OwnershipTypeEnum["LimitedPartnership"] = 15] = "LimitedPartnership";
528
- OwnershipTypeEnum[OwnershipTypeEnum["REO"] = 16] = "REO";
529
- OwnershipTypeEnum[OwnershipTypeEnum["CorporateRELOOwned"] = 17] = "CorporateRELOOwned";
530
- OwnershipTypeEnum[OwnershipTypeEnum["HUDOwned"] = 18] = "HUDOwned";
531
- OwnershipTypeEnum[OwnershipTypeEnum["VAOwned"] = 19] = "VAOwned";
532
- })(exports.OwnershipTypeEnum || (exports.OwnershipTypeEnum = {}));
533
- // // Usage example
534
- // const ownershipType: OwnershipTypeEnum = OwnershipTypeEnum.FeeSimple;
535
- // console.log(ownershipTypeEnumDisplayNames[ownershipType]); // "Fee Simple"
536
-
537
- exports.PhysicalPropertyTypeEnum = void 0;
538
- (function (PhysicalPropertyTypeEnum) {
539
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["NotMapped"] = -1] = "NotMapped";
540
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Other"] = 0] = "Other";
541
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["HighRise"] = 1] = "HighRise";
542
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Apartment"] = 2] = "Apartment";
543
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Attached"] = 3] = "Attached";
544
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["CoOp"] = 4] = "CoOp";
545
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Condominium"] = 5] = "Condominium";
546
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["DetachedSingle"] = 6] = "DetachedSingle";
547
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Duplex"] = 7] = "Duplex";
548
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Fourplex"] = 8] = "Fourplex";
549
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["ManufacturedHome"] = 9] = "ManufacturedHome";
550
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["MixedUse"] = 10] = "MixedUse";
551
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["MobileHome"] = 11] = "MobileHome";
552
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["ModularHome"] = 12] = "ModularHome";
553
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["MultiFamily"] = 13] = "MultiFamily";
554
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Residential"] = 14] = "Residential";
555
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["SingleFamily"] = 15] = "SingleFamily";
556
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Timeshare"] = 16] = "Timeshare";
557
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Townhouse"] = 17] = "Townhouse";
558
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Triplex"] = 18] = "Triplex";
559
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Villa"] = 19] = "Villa";
560
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["AgriculturalLand"] = 20] = "AgriculturalLand";
561
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["BoatSlip"] = 21] = "BoatSlip";
562
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Business"] = 22] = "Business";
563
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Commercial"] = 23] = "Commercial";
564
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["DeededParking"] = 24] = "DeededParking";
565
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Farm"] = 25] = "Farm";
566
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["HotelMotel"] = 26] = "HotelMotel";
567
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Industrial"] = 27] = "Industrial";
568
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Office"] = 28] = "Office";
569
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Recreation"] = 29] = "Recreation";
570
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Restaurant"] = 30] = "Restaurant";
571
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Retail"] = 31] = "Retail";
572
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["SitePlanned"] = 32] = "SitePlanned";
573
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["SpecialPurpose"] = 33] = "SpecialPurpose";
574
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["StockCooperative"] = 34] = "StockCooperative";
575
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Warehouse"] = 35] = "Warehouse";
576
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["CommercialLand"] = 36] = "CommercialLand";
577
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["ImprovedLand"] = 37] = "ImprovedLand";
578
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["Land"] = 38] = "Land";
579
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["MultifamilyLot"] = 39] = "MultifamilyLot";
580
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["MultipleParcels"] = 40] = "MultipleParcels";
581
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["RVLot"] = 41] = "RVLot";
582
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["SingleFamilyLot"] = 42] = "SingleFamilyLot";
583
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["UnimprovedLand"] = 43] = "UnimprovedLand";
584
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["RanchLand"] = 44] = "RanchLand";
585
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["AccessoryApartment"] = 45] = "AccessoryApartment";
586
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["GarageApartment"] = 46] = "GarageApartment";
587
- PhysicalPropertyTypeEnum[PhysicalPropertyTypeEnum["PUD"] = 47] = "PUD";
588
- })(exports.PhysicalPropertyTypeEnum || (exports.PhysicalPropertyTypeEnum = {}));
589
- // Usage example
590
- // const propertyType: PhysicalPropertyTypeEnum = PhysicalPropertyTypeEnum.DetachedSingleFamilyResidence;
591
- // console.log(physicalPropertyTypeEnumDisplayNames[propertyType]); // "Detached single family residence"
592
-
593
- exports.PhysicalPropertyClassEnum = void 0;
594
- (function (PhysicalPropertyClassEnum) {
595
- PhysicalPropertyClassEnum[PhysicalPropertyClassEnum["Residential"] = 0] = "Residential";
596
- PhysicalPropertyClassEnum[PhysicalPropertyClassEnum["NonResidential"] = 1] = "NonResidential";
597
- PhysicalPropertyClassEnum[PhysicalPropertyClassEnum["Land"] = 2] = "Land";
598
- PhysicalPropertyClassEnum[PhysicalPropertyClassEnum["Other"] = 3] = "Other";
599
- })(exports.PhysicalPropertyClassEnum || (exports.PhysicalPropertyClassEnum = {}));
600
-
601
- exports.PlatformEnum = void 0;
602
- (function (PlatformEnum) {
603
- PlatformEnum[PlatformEnum["None"] = 0] = "None";
604
- PlatformEnum[PlatformEnum["Bridge"] = 1] = "Bridge";
605
- PlatformEnum[PlatformEnum["Trestle"] = 2] = "Trestle";
606
- PlatformEnum[PlatformEnum["Spark"] = 3] = "Spark";
607
- })(exports.PlatformEnum || (exports.PlatformEnum = {}));
608
-
609
- exports.ProcessingStatusEnum = void 0;
610
- (function (ProcessingStatusEnum) {
611
- ProcessingStatusEnum[ProcessingStatusEnum["Processing"] = -2] = "Processing";
612
- ProcessingStatusEnum[ProcessingStatusEnum["NotReady"] = -1] = "NotReady";
613
- ProcessingStatusEnum[ProcessingStatusEnum["NotProcessed"] = 0] = "NotProcessed";
614
- ProcessingStatusEnum[ProcessingStatusEnum["Processed"] = 1] = "Processed";
615
- ProcessingStatusEnum[ProcessingStatusEnum["Skipped"] = 2] = "Skipped";
616
- ProcessingStatusEnum[ProcessingStatusEnum["Failed"] = 3] = "Failed";
617
- })(exports.ProcessingStatusEnum || (exports.ProcessingStatusEnum = {}));
618
-
619
- exports.ProcessingTypeEnum = void 0;
620
- (function (ProcessingTypeEnum) {
621
- ProcessingTypeEnum[ProcessingTypeEnum["ImageProcessing"] = 1] = "ImageProcessing";
622
- ProcessingTypeEnum[ProcessingTypeEnum["NLProcessing"] = 2] = "NLProcessing";
623
- ProcessingTypeEnum[ProcessingTypeEnum["GeoProcessing"] = 3] = "GeoProcessing";
624
- })(exports.ProcessingTypeEnum || (exports.ProcessingTypeEnum = {}));
625
-
626
- exports.PropertyConditionEnum = void 0;
627
- (function (PropertyConditionEnum) {
628
- PropertyConditionEnum[PropertyConditionEnum["NotMapped"] = -1] = "NotMapped";
629
- PropertyConditionEnum[PropertyConditionEnum["ToBeBuilt"] = 1] = "ToBeBuilt";
630
- PropertyConditionEnum[PropertyConditionEnum["UnderConstruction"] = 2] = "UnderConstruction";
631
- PropertyConditionEnum[PropertyConditionEnum["Resale"] = 3] = "Resale";
632
- PropertyConditionEnum[PropertyConditionEnum["NewConstruction"] = 4] = "NewConstruction";
633
- PropertyConditionEnum[PropertyConditionEnum["UpdatedOrRemodeled"] = 5] = "UpdatedOrRemodeled";
634
- PropertyConditionEnum[PropertyConditionEnum["TeardownValueinLand"] = 6] = "TeardownValueinLand";
635
- PropertyConditionEnum[PropertyConditionEnum["FixerUpper"] = 7] = "FixerUpper";
636
- PropertyConditionEnum[PropertyConditionEnum["Good"] = 8] = "Good";
637
- PropertyConditionEnum[PropertyConditionEnum["Excellent"] = 9] = "Excellent";
638
- PropertyConditionEnum[PropertyConditionEnum["VeryGood"] = 10] = "VeryGood";
639
- PropertyConditionEnum[PropertyConditionEnum["Poor"] = 11] = "Poor";
640
- PropertyConditionEnum[PropertyConditionEnum["Average"] = 12] = "Average";
641
- PropertyConditionEnum[PropertyConditionEnum["Unknown"] = 13] = "Unknown";
642
- PropertyConditionEnum[PropertyConditionEnum["SeeRemarks"] = 14] = "SeeRemarks";
643
- })(exports.PropertyConditionEnum || (exports.PropertyConditionEnum = {}));
644
- // Usage example
645
- // const condition: PropertyConditionEnum = PropertyConditionEnum.NewConstruction;
646
- // console.log(propertyConditionEnumDisplayNames[condition]); // "New Construction"
647
-
648
- exports.PropertyLevelEnum = void 0;
649
- (function (PropertyLevelEnum) {
650
- PropertyLevelEnum[PropertyLevelEnum["NotMapped"] = -1] = "NotMapped";
651
- PropertyLevelEnum[PropertyLevelEnum["Other"] = 0] = "Other";
652
- PropertyLevelEnum[PropertyLevelEnum["One"] = 1] = "One";
653
- PropertyLevelEnum[PropertyLevelEnum["Two"] = 2] = "Two";
654
- PropertyLevelEnum[PropertyLevelEnum["OneAndHalf"] = 3] = "OneAndHalf";
655
- PropertyLevelEnum[PropertyLevelEnum["TwoAndHalf"] = 4] = "TwoAndHalf";
656
- PropertyLevelEnum[PropertyLevelEnum["ThreeOrMore"] = 5] = "ThreeOrMore";
657
- PropertyLevelEnum[PropertyLevelEnum["SplitLevel"] = 6] = "SplitLevel";
658
- PropertyLevelEnum[PropertyLevelEnum["SplitEntry"] = 7] = "SplitEntry";
659
- PropertyLevelEnum[PropertyLevelEnum["FrontToBackSplit"] = 8] = "FrontToBackSplit";
660
- })(exports.PropertyLevelEnum || (exports.PropertyLevelEnum = {}));
661
- // Usage example
662
- // const level: PropertyLevelEnum = PropertyLevelEnum.Two;
663
- // console.log(propertyLevelEnumDisplayNames[level]);
664
-
665
- exports.StreetSuffixEnum = void 0;
666
- (function (StreetSuffixEnum) {
667
- StreetSuffixEnum[StreetSuffixEnum["NotMapped"] = -1] = "NotMapped";
668
- StreetSuffixEnum[StreetSuffixEnum["Alley"] = 1] = "Alley";
669
- StreetSuffixEnum[StreetSuffixEnum["Anex"] = 2] = "Anex";
670
- StreetSuffixEnum[StreetSuffixEnum["Arcade"] = 3] = "Arcade";
671
- StreetSuffixEnum[StreetSuffixEnum["Avenue"] = 4] = "Avenue";
672
- StreetSuffixEnum[StreetSuffixEnum["Bayou"] = 5] = "Bayou";
673
- StreetSuffixEnum[StreetSuffixEnum["Beach"] = 6] = "Beach";
674
- StreetSuffixEnum[StreetSuffixEnum["Bend"] = 7] = "Bend";
675
- StreetSuffixEnum[StreetSuffixEnum["Bluff"] = 8] = "Bluff";
676
- StreetSuffixEnum[StreetSuffixEnum["Bluffs"] = 9] = "Bluffs";
677
- StreetSuffixEnum[StreetSuffixEnum["Bottom"] = 10] = "Bottom";
678
- StreetSuffixEnum[StreetSuffixEnum["Boulevard"] = 11] = "Boulevard";
679
- StreetSuffixEnum[StreetSuffixEnum["Branch"] = 12] = "Branch";
680
- StreetSuffixEnum[StreetSuffixEnum["Bridge"] = 13] = "Bridge";
681
- StreetSuffixEnum[StreetSuffixEnum["Brook"] = 14] = "Brook";
682
- StreetSuffixEnum[StreetSuffixEnum["Bypass"] = 15] = "Bypass";
683
- StreetSuffixEnum[StreetSuffixEnum["Camp"] = 16] = "Camp";
684
- StreetSuffixEnum[StreetSuffixEnum["Canyon"] = 17] = "Canyon";
685
- StreetSuffixEnum[StreetSuffixEnum["Cape"] = 18] = "Cape";
686
- StreetSuffixEnum[StreetSuffixEnum["Causeway"] = 19] = "Causeway";
687
- StreetSuffixEnum[StreetSuffixEnum["Center"] = 20] = "Center";
688
- StreetSuffixEnum[StreetSuffixEnum["Circle"] = 21] = "Circle";
689
- StreetSuffixEnum[StreetSuffixEnum["Circles"] = 22] = "Circles";
690
- StreetSuffixEnum[StreetSuffixEnum["Cliff"] = 23] = "Cliff";
691
- StreetSuffixEnum[StreetSuffixEnum["Cliffs"] = 24] = "Cliffs";
692
- StreetSuffixEnum[StreetSuffixEnum["Club"] = 25] = "Club";
693
- StreetSuffixEnum[StreetSuffixEnum["Common"] = 26] = "Common";
694
- StreetSuffixEnum[StreetSuffixEnum["Commons"] = 27] = "Commons";
695
- StreetSuffixEnum[StreetSuffixEnum["Corner"] = 28] = "Corner";
696
- StreetSuffixEnum[StreetSuffixEnum["Corners"] = 29] = "Corners";
697
- StreetSuffixEnum[StreetSuffixEnum["Course"] = 30] = "Course";
698
- StreetSuffixEnum[StreetSuffixEnum["Court"] = 31] = "Court";
699
- StreetSuffixEnum[StreetSuffixEnum["Courts"] = 32] = "Courts";
700
- StreetSuffixEnum[StreetSuffixEnum["Cove"] = 33] = "Cove";
701
- StreetSuffixEnum[StreetSuffixEnum["Coves"] = 34] = "Coves";
702
- StreetSuffixEnum[StreetSuffixEnum["Creek"] = 35] = "Creek";
703
- StreetSuffixEnum[StreetSuffixEnum["Crescent"] = 36] = "Crescent";
704
- StreetSuffixEnum[StreetSuffixEnum["Crest"] = 37] = "Crest";
705
- StreetSuffixEnum[StreetSuffixEnum["Crossing"] = 38] = "Crossing";
706
- StreetSuffixEnum[StreetSuffixEnum["Crossroad"] = 39] = "Crossroad";
707
- StreetSuffixEnum[StreetSuffixEnum["Crossroads"] = 40] = "Crossroads";
708
- StreetSuffixEnum[StreetSuffixEnum["Curve"] = 41] = "Curve";
709
- StreetSuffixEnum[StreetSuffixEnum["Dale"] = 42] = "Dale";
710
- StreetSuffixEnum[StreetSuffixEnum["Dam"] = 43] = "Dam";
711
- StreetSuffixEnum[StreetSuffixEnum["Divide"] = 44] = "Divide";
712
- StreetSuffixEnum[StreetSuffixEnum["Drive"] = 45] = "Drive";
713
- StreetSuffixEnum[StreetSuffixEnum["Drives"] = 46] = "Drives";
714
- StreetSuffixEnum[StreetSuffixEnum["Estate"] = 47] = "Estate";
715
- StreetSuffixEnum[StreetSuffixEnum["Estates"] = 48] = "Estates";
716
- StreetSuffixEnum[StreetSuffixEnum["Expressway"] = 49] = "Expressway";
717
- StreetSuffixEnum[StreetSuffixEnum["Extension"] = 50] = "Extension";
718
- StreetSuffixEnum[StreetSuffixEnum["Fall"] = 51] = "Fall";
719
- StreetSuffixEnum[StreetSuffixEnum["Falls"] = 52] = "Falls";
720
- StreetSuffixEnum[StreetSuffixEnum["Ferry"] = 53] = "Ferry";
721
- StreetSuffixEnum[StreetSuffixEnum["Field"] = 54] = "Field";
722
- StreetSuffixEnum[StreetSuffixEnum["Fields"] = 55] = "Fields";
723
- StreetSuffixEnum[StreetSuffixEnum["Flat"] = 56] = "Flat";
724
- StreetSuffixEnum[StreetSuffixEnum["Flats"] = 57] = "Flats";
725
- StreetSuffixEnum[StreetSuffixEnum["Ford"] = 58] = "Ford";
726
- StreetSuffixEnum[StreetSuffixEnum["Forest"] = 59] = "Forest";
727
- StreetSuffixEnum[StreetSuffixEnum["Forge"] = 60] = "Forge";
728
- StreetSuffixEnum[StreetSuffixEnum["Fork"] = 61] = "Fork";
729
- StreetSuffixEnum[StreetSuffixEnum["Fort"] = 62] = "Fort";
730
- StreetSuffixEnum[StreetSuffixEnum["Freeway"] = 63] = "Freeway";
731
- StreetSuffixEnum[StreetSuffixEnum["Garden"] = 64] = "Garden";
732
- StreetSuffixEnum[StreetSuffixEnum["Gardens"] = 65] = "Gardens";
733
- StreetSuffixEnum[StreetSuffixEnum["Gateway"] = 66] = "Gateway";
734
- StreetSuffixEnum[StreetSuffixEnum["Glen"] = 67] = "Glen";
735
- StreetSuffixEnum[StreetSuffixEnum["Green"] = 68] = "Green";
736
- StreetSuffixEnum[StreetSuffixEnum["Greens"] = 69] = "Greens";
737
- StreetSuffixEnum[StreetSuffixEnum["Grove"] = 70] = "Grove";
738
- StreetSuffixEnum[StreetSuffixEnum["Harbor"] = 71] = "Harbor";
739
- StreetSuffixEnum[StreetSuffixEnum["Haven"] = 72] = "Haven";
740
- StreetSuffixEnum[StreetSuffixEnum["Heights"] = 73] = "Heights";
741
- StreetSuffixEnum[StreetSuffixEnum["Highway"] = 74] = "Highway";
742
- StreetSuffixEnum[StreetSuffixEnum["Hill"] = 75] = "Hill";
743
- StreetSuffixEnum[StreetSuffixEnum["Hills"] = 76] = "Hills";
744
- StreetSuffixEnum[StreetSuffixEnum["Hollow"] = 77] = "Hollow";
745
- StreetSuffixEnum[StreetSuffixEnum["Island"] = 78] = "Island";
746
- StreetSuffixEnum[StreetSuffixEnum["Islands"] = 79] = "Islands";
747
- StreetSuffixEnum[StreetSuffixEnum["Isle"] = 80] = "Isle";
748
- StreetSuffixEnum[StreetSuffixEnum["Junction"] = 81] = "Junction";
749
- StreetSuffixEnum[StreetSuffixEnum["Key"] = 82] = "Key";
750
- StreetSuffixEnum[StreetSuffixEnum["Knoll"] = 83] = "Knoll";
751
- StreetSuffixEnum[StreetSuffixEnum["Knolls"] = 84] = "Knolls";
752
- StreetSuffixEnum[StreetSuffixEnum["Lake"] = 85] = "Lake";
753
- StreetSuffixEnum[StreetSuffixEnum["Lakes"] = 86] = "Lakes";
754
- StreetSuffixEnum[StreetSuffixEnum["Land"] = 87] = "Land";
755
- StreetSuffixEnum[StreetSuffixEnum["Landing"] = 88] = "Landing";
756
- StreetSuffixEnum[StreetSuffixEnum["Lane"] = 89] = "Lane";
757
- StreetSuffixEnum[StreetSuffixEnum["Light"] = 90] = "Light";
758
- StreetSuffixEnum[StreetSuffixEnum["Lights"] = 91] = "Lights";
759
- StreetSuffixEnum[StreetSuffixEnum["Lock"] = 92] = "Lock";
760
- StreetSuffixEnum[StreetSuffixEnum["Lodge"] = 93] = "Lodge";
761
- StreetSuffixEnum[StreetSuffixEnum["Loop"] = 94] = "Loop";
762
- StreetSuffixEnum[StreetSuffixEnum["Mall"] = 95] = "Mall";
763
- StreetSuffixEnum[StreetSuffixEnum["Manor"] = 96] = "Manor";
764
- StreetSuffixEnum[StreetSuffixEnum["Meadow"] = 97] = "Meadow";
765
- StreetSuffixEnum[StreetSuffixEnum["Meadows"] = 98] = "Meadows";
766
- StreetSuffixEnum[StreetSuffixEnum["Mews"] = 99] = "Mews";
767
- StreetSuffixEnum[StreetSuffixEnum["Mill"] = 100] = "Mill";
768
- StreetSuffixEnum[StreetSuffixEnum["Mills"] = 101] = "Mills";
769
- StreetSuffixEnum[StreetSuffixEnum["Mission"] = 102] = "Mission";
770
- StreetSuffixEnum[StreetSuffixEnum["Mount"] = 103] = "Mount";
771
- StreetSuffixEnum[StreetSuffixEnum["Mountain"] = 104] = "Mountain";
772
- StreetSuffixEnum[StreetSuffixEnum["Neck"] = 105] = "Neck";
773
- StreetSuffixEnum[StreetSuffixEnum["Orchard"] = 106] = "Orchard";
774
- StreetSuffixEnum[StreetSuffixEnum["Oval"] = 107] = "Oval";
775
- StreetSuffixEnum[StreetSuffixEnum["Overpass"] = 108] = "Overpass";
776
- StreetSuffixEnum[StreetSuffixEnum["Park"] = 109] = "Park";
777
- StreetSuffixEnum[StreetSuffixEnum["Parkway"] = 110] = "Parkway";
778
- StreetSuffixEnum[StreetSuffixEnum["Pass"] = 111] = "Pass";
779
- StreetSuffixEnum[StreetSuffixEnum["Passage"] = 112] = "Passage";
780
- StreetSuffixEnum[StreetSuffixEnum["Path"] = 113] = "Path";
781
- StreetSuffixEnum[StreetSuffixEnum["Pike"] = 114] = "Pike";
782
- StreetSuffixEnum[StreetSuffixEnum["Pine"] = 115] = "Pine";
783
- StreetSuffixEnum[StreetSuffixEnum["Pines"] = 116] = "Pines";
784
- StreetSuffixEnum[StreetSuffixEnum["Place"] = 117] = "Place";
785
- StreetSuffixEnum[StreetSuffixEnum["Plain"] = 118] = "Plain";
786
- StreetSuffixEnum[StreetSuffixEnum["Plains"] = 119] = "Plains";
787
- StreetSuffixEnum[StreetSuffixEnum["Plaza"] = 120] = "Plaza";
788
- StreetSuffixEnum[StreetSuffixEnum["Point"] = 121] = "Point";
789
- StreetSuffixEnum[StreetSuffixEnum["Port"] = 122] = "Port";
790
- StreetSuffixEnum[StreetSuffixEnum["Prairie"] = 123] = "Prairie";
791
- StreetSuffixEnum[StreetSuffixEnum["Radial"] = 124] = "Radial";
792
- StreetSuffixEnum[StreetSuffixEnum["Ranch"] = 125] = "Ranch";
793
- StreetSuffixEnum[StreetSuffixEnum["Rapid"] = 126] = "Rapid";
794
- StreetSuffixEnum[StreetSuffixEnum["Rapids"] = 127] = "Rapids";
795
- StreetSuffixEnum[StreetSuffixEnum["Rest"] = 128] = "Rest";
796
- StreetSuffixEnum[StreetSuffixEnum["Ridge"] = 129] = "Ridge";
797
- StreetSuffixEnum[StreetSuffixEnum["Ridges"] = 130] = "Ridges";
798
- StreetSuffixEnum[StreetSuffixEnum["River"] = 131] = "River";
799
- StreetSuffixEnum[StreetSuffixEnum["Road"] = 132] = "Road";
800
- StreetSuffixEnum[StreetSuffixEnum["Roads"] = 133] = "Roads";
801
- StreetSuffixEnum[StreetSuffixEnum["Route"] = 134] = "Route";
802
- StreetSuffixEnum[StreetSuffixEnum["Row"] = 135] = "Row";
803
- StreetSuffixEnum[StreetSuffixEnum["Rue"] = 136] = "Rue";
804
- StreetSuffixEnum[StreetSuffixEnum["Run"] = 137] = "Run";
805
- StreetSuffixEnum[StreetSuffixEnum["Shoal"] = 138] = "Shoal";
806
- StreetSuffixEnum[StreetSuffixEnum["Shore"] = 139] = "Shore";
807
- StreetSuffixEnum[StreetSuffixEnum["Shores"] = 140] = "Shores";
808
- StreetSuffixEnum[StreetSuffixEnum["Skyway"] = 141] = "Skyway";
809
- StreetSuffixEnum[StreetSuffixEnum["Spring"] = 142] = "Spring";
810
- StreetSuffixEnum[StreetSuffixEnum["Springs"] = 143] = "Springs";
811
- StreetSuffixEnum[StreetSuffixEnum["Spur"] = 144] = "Spur";
812
- StreetSuffixEnum[StreetSuffixEnum["Square"] = 145] = "Square";
813
- StreetSuffixEnum[StreetSuffixEnum["Station"] = 146] = "Station";
814
- StreetSuffixEnum[StreetSuffixEnum["Stravenue"] = 147] = "Stravenue";
815
- StreetSuffixEnum[StreetSuffixEnum["Stream"] = 148] = "Stream";
816
- StreetSuffixEnum[StreetSuffixEnum["Street"] = 149] = "Street";
817
- StreetSuffixEnum[StreetSuffixEnum["Streets"] = 150] = "Streets";
818
- StreetSuffixEnum[StreetSuffixEnum["Summit"] = 151] = "Summit";
819
- StreetSuffixEnum[StreetSuffixEnum["Terrace"] = 152] = "Terrace";
820
- StreetSuffixEnum[StreetSuffixEnum["Trace"] = 153] = "Trace";
821
- StreetSuffixEnum[StreetSuffixEnum["Track"] = 154] = "Track";
822
- StreetSuffixEnum[StreetSuffixEnum["Trail"] = 155] = "Trail";
823
- StreetSuffixEnum[StreetSuffixEnum["Trailer"] = 156] = "Trailer";
824
- StreetSuffixEnum[StreetSuffixEnum["Turnpike"] = 157] = "Turnpike";
825
- StreetSuffixEnum[StreetSuffixEnum["Valley"] = 158] = "Valley";
826
- StreetSuffixEnum[StreetSuffixEnum["Viaduct"] = 159] = "Viaduct";
827
- StreetSuffixEnum[StreetSuffixEnum["View"] = 160] = "View";
828
- StreetSuffixEnum[StreetSuffixEnum["Views"] = 161] = "Views";
829
- StreetSuffixEnum[StreetSuffixEnum["Village"] = 162] = "Village";
830
- StreetSuffixEnum[StreetSuffixEnum["Villages"] = 163] = "Villages";
831
- StreetSuffixEnum[StreetSuffixEnum["Ville"] = 164] = "Ville";
832
- StreetSuffixEnum[StreetSuffixEnum["Vista"] = 165] = "Vista";
833
- StreetSuffixEnum[StreetSuffixEnum["Walk"] = 166] = "Walk";
834
- StreetSuffixEnum[StreetSuffixEnum["Way"] = 167] = "Way";
835
- StreetSuffixEnum[StreetSuffixEnum["Ways"] = 168] = "Ways";
836
- StreetSuffixEnum[StreetSuffixEnum["Well"] = 169] = "Well";
837
- StreetSuffixEnum[StreetSuffixEnum["Wells"] = 170] = "Wells";
838
- StreetSuffixEnum[StreetSuffixEnum["Brooks"] = 171] = "Brooks";
839
- StreetSuffixEnum[StreetSuffixEnum["Burg"] = 172] = "Burg";
840
- StreetSuffixEnum[StreetSuffixEnum["Burgs"] = 173] = "Burgs";
841
- StreetSuffixEnum[StreetSuffixEnum["Centers"] = 174] = "Centers";
842
- StreetSuffixEnum[StreetSuffixEnum["Extensions"] = 175] = "Extensions";
843
- StreetSuffixEnum[StreetSuffixEnum["Fords"] = 176] = "Fords";
844
- StreetSuffixEnum[StreetSuffixEnum["Forges"] = 177] = "Forges";
845
- StreetSuffixEnum[StreetSuffixEnum["Forks"] = 178] = "Forks";
846
- StreetSuffixEnum[StreetSuffixEnum["Glens"] = 179] = "Glens";
847
- StreetSuffixEnum[StreetSuffixEnum["Groves"] = 180] = "Groves";
848
- StreetSuffixEnum[StreetSuffixEnum["Harbors"] = 181] = "Harbors";
849
- StreetSuffixEnum[StreetSuffixEnum["Inlet"] = 182] = "Inlet";
850
- StreetSuffixEnum[StreetSuffixEnum["Junctions"] = 183] = "Junctions";
851
- StreetSuffixEnum[StreetSuffixEnum["Keys"] = 184] = "Keys";
852
- StreetSuffixEnum[StreetSuffixEnum["Loaf"] = 185] = "Loaf";
853
- StreetSuffixEnum[StreetSuffixEnum["Locks"] = 186] = "Locks";
854
- StreetSuffixEnum[StreetSuffixEnum["Manors"] = 187] = "Manors";
855
- StreetSuffixEnum[StreetSuffixEnum["Motorway"] = 188] = "Motorway";
856
- StreetSuffixEnum[StreetSuffixEnum["Mountains"] = 189] = "Mountains";
857
- StreetSuffixEnum[StreetSuffixEnum["Parks"] = 190] = "Parks";
858
- StreetSuffixEnum[StreetSuffixEnum["Parkways"] = 191] = "Parkways";
859
- StreetSuffixEnum[StreetSuffixEnum["Points"] = 192] = "Points";
860
- StreetSuffixEnum[StreetSuffixEnum["Ports"] = 193] = "Ports";
861
- StreetSuffixEnum[StreetSuffixEnum["Ramp"] = 194] = "Ramp";
862
- StreetSuffixEnum[StreetSuffixEnum["Shoals"] = 195] = "Shoals";
863
- StreetSuffixEnum[StreetSuffixEnum["Spurs"] = 196] = "Spurs";
864
- StreetSuffixEnum[StreetSuffixEnum["Squares"] = 197] = "Squares";
865
- StreetSuffixEnum[StreetSuffixEnum["Throughway"] = 198] = "Throughway";
866
- StreetSuffixEnum[StreetSuffixEnum["Trafficway"] = 199] = "Trafficway";
867
- StreetSuffixEnum[StreetSuffixEnum["Tunnel"] = 200] = "Tunnel";
868
- StreetSuffixEnum[StreetSuffixEnum["Underpass"] = 201] = "Underpass";
869
- StreetSuffixEnum[StreetSuffixEnum["Union"] = 202] = "Union";
870
- StreetSuffixEnum[StreetSuffixEnum["Unions"] = 203] = "Unions";
871
- StreetSuffixEnum[StreetSuffixEnum["Valleys"] = 204] = "Valleys";
872
- StreetSuffixEnum[StreetSuffixEnum["Walks"] = 205] = "Walks";
873
- StreetSuffixEnum[StreetSuffixEnum["Wall"] = 206] = "Wall";
874
- StreetSuffixEnum[StreetSuffixEnum["AveCir"] = 207] = "AveCir";
875
- StreetSuffixEnum[StreetSuffixEnum["AveCt"] = 208] = "AveCt";
876
- StreetSuffixEnum[StreetSuffixEnum["AveDr"] = 209] = "AveDr";
877
- StreetSuffixEnum[StreetSuffixEnum["AveLn"] = 210] = "AveLn";
878
- StreetSuffixEnum[StreetSuffixEnum["AvePkwy"] = 211] = "AvePkwy";
879
- StreetSuffixEnum[StreetSuffixEnum["AvePl"] = 212] = "AvePl";
880
- StreetSuffixEnum[StreetSuffixEnum["AveRd"] = 213] = "AveRd";
881
- StreetSuffixEnum[StreetSuffixEnum["AveWay"] = 214] = "AveWay";
882
- StreetSuffixEnum[StreetSuffixEnum["Bay"] = 215] = "Bay";
883
- StreetSuffixEnum[StreetSuffixEnum["Cay"] = 216] = "Cay";
884
- StreetSuffixEnum[StreetSuffixEnum["CirCt"] = 217] = "CirCt";
885
- StreetSuffixEnum[StreetSuffixEnum["CirDr"] = 218] = "CirDr";
886
- StreetSuffixEnum[StreetSuffixEnum["Crossway"] = 219] = "Crossway";
887
- StreetSuffixEnum[StreetSuffixEnum["CtRd"] = 220] = "CtRd";
888
- StreetSuffixEnum[StreetSuffixEnum["DrRd"] = 221] = "DrRd";
889
- StreetSuffixEnum[StreetSuffixEnum["LnCt"] = 222] = "LnCt";
890
- StreetSuffixEnum[StreetSuffixEnum["LnRd"] = 223] = "LnRd";
891
- StreetSuffixEnum[StreetSuffixEnum["PlCt"] = 224] = "PlCt";
892
- StreetSuffixEnum[StreetSuffixEnum["PlDr"] = 225] = "PlDr";
893
- StreetSuffixEnum[StreetSuffixEnum["SqDr"] = 226] = "SqDr";
894
- StreetSuffixEnum[StreetSuffixEnum["StCir"] = 227] = "StCir";
895
- StreetSuffixEnum[StreetSuffixEnum["StCt"] = 228] = "StCt";
896
- StreetSuffixEnum[StreetSuffixEnum["StDr"] = 229] = "StDr";
897
- StreetSuffixEnum[StreetSuffixEnum["StLn"] = 230] = "StLn";
898
- StreetSuffixEnum[StreetSuffixEnum["StPl"] = 231] = "StPl";
899
- StreetSuffixEnum[StreetSuffixEnum["StRd"] = 232] = "StRd";
900
- StreetSuffixEnum[StreetSuffixEnum["Downs"] = 233] = "Downs";
901
- StreetSuffixEnum[StreetSuffixEnum["Gate"] = 234] = "Gate";
902
- StreetSuffixEnum[StreetSuffixEnum["Prom"] = 235] = "Prom";
903
- StreetSuffixEnum[StreetSuffixEnum["Via"] = 236] = "Via";
904
- StreetSuffixEnum[StreetSuffixEnum["Woods"] = 237] = "Woods";
905
- StreetSuffixEnum[StreetSuffixEnum["Close"] = 238] = "Close";
906
- StreetSuffixEnum[StreetSuffixEnum["Trails"] = 239] = "Trails";
907
- StreetSuffixEnum[StreetSuffixEnum["Mile"] = 240] = "Mile";
908
- StreetSuffixEnum[StreetSuffixEnum["Chase"] = 241] = "Chase";
909
- StreetSuffixEnum[StreetSuffixEnum["LaneSpur"] = 242] = "LaneSpur";
910
- })(exports.StreetSuffixEnum || (exports.StreetSuffixEnum = {}));
911
-
912
- exports.StreetDirectionEnum = void 0;
913
- (function (StreetDirectionEnum) {
914
- StreetDirectionEnum[StreetDirectionEnum["NotMapped"] = -1] = "NotMapped";
915
- StreetDirectionEnum[StreetDirectionEnum["North"] = 1] = "North";
916
- StreetDirectionEnum[StreetDirectionEnum["NorthEast"] = 2] = "NorthEast";
917
- StreetDirectionEnum[StreetDirectionEnum["East"] = 3] = "East";
918
- StreetDirectionEnum[StreetDirectionEnum["SouthEast"] = 4] = "SouthEast";
919
- StreetDirectionEnum[StreetDirectionEnum["South"] = 5] = "South";
920
- StreetDirectionEnum[StreetDirectionEnum["SouthWest"] = 6] = "SouthWest";
921
- StreetDirectionEnum[StreetDirectionEnum["West"] = 7] = "West";
922
- StreetDirectionEnum[StreetDirectionEnum["NorthWest"] = 8] = "NorthWest";
923
- })(exports.StreetDirectionEnum || (exports.StreetDirectionEnum = {}));
924
- // Usage example
925
- // const direction: StreetDirectionEnum = StreetDirectionEnum.East;
926
- // console.log(streetDirectionEnumDisplayNames[direction]); // "E"
927
-
928
- class CategoryModel {
929
- constructor() {
930
- this.id = 0;
931
- this.name = '';
932
- }
933
- }
934
-
935
- class FeatureModel {
936
- constructor() {
937
- this.id = 0;
938
- this.name = '';
939
- this.weight = 0;
940
- this.category = null;
941
- this.subCategory = null;
942
- }
943
- }
944
-
945
- class SubCategoryModel {
946
- constructor() {
947
- this.id = 0;
948
- this.name = '';
949
- }
950
- }
951
-
952
- //Fully cleaned
953
- class MlsInfoModel {
954
- constructor() {
955
- this.id = 0;
956
- this.mls = '';
957
- this.mlsName = '';
958
- this.publicLogoUrl = '';
959
- this.privateLogoUrl = '';
960
- this.isLogoRequired = false;
961
- }
962
- }
963
-
964
- class ListingModel {
965
- constructor() {
966
- this.id = 0;
967
- this.availabilityDate = null;
968
- this.buyerAgencyCompensation = null;
969
- this.buyerFinancing = '';
970
- this.closePrice = null;
971
- this.closeTimestamp = null;
972
- this.cumulativeDaysOnMarket = null;
973
- this.currency = null;
974
- this.daysOnMarket = null;
975
- this.disclosures = '';
976
- this.expirationDate = null;
977
- this.internetAddressDisplayYN = null;
978
- this.internetAutomatedValuationDisplayYN = null;
979
- this.internetConsumerCommentYN = null;
980
- this.internetEntireListingDisplayYN = null;
981
- this.lastModificationTimestamp = null;
982
- this.leaseTerm = '';
983
- this.listingAgreement = '';
984
- this.listingEntryTimestamp = null;
985
- this.listingId = '';
986
- this.listingService = '';
987
- this.listingStatus = null;
988
- this.listingTerms = '';
989
- this.listingType = null;
990
- this.listPrice = null;
991
- this.pricePerSqFeet = null;
992
- this.listPriceOriginal = null;
993
- this.lockBoxLocation = '';
994
- this.lockBoxSerialNumber = '';
995
- this.lockBoxType = '';
996
- this.maxPrice = null;
997
- this.minPrice = null;
998
- this.mlsArea = '';
999
- this.mlsName = '';
1000
- this.onMarketTimestamp = null;
1001
- this.offMarketTimestamp = null;
1002
- this.originalListingSource = '';
1003
- this.originatingSystemKey = '';
1004
- this.ownerPays = '';
1005
- this.ownershipType = null;
1006
- this.pendingTimestamp = null;
1007
- this.petDeposit = null;
1008
- this.petsAllowedYN = null;
1009
- this.photosChangeTimestamp = null;
1010
- this.photosCount = 0;
1011
- this.priceChangeTimestamp = null;
1012
- this.privateRemarks = '';
1013
- this.publicRemarks = '';
1014
- this.purchaseContractDate = null;
1015
- this.showingContactName = '';
1016
- this.showingContactPhone = '';
1017
- this.showingContactPhoneExt = '';
1018
- this.showingContactType = '';
1019
- this.statusChangeTimestamp = null;
1020
- this.taxAnnualAmount = null;
1021
- this.taxAssessedValue = null;
1022
- this.taxYear = null;
1023
- this.tenantPays = '';
1024
- this.virtualTourURLBranded = ' ';
1025
- this.virtualTourURLUnbranded = '';
1026
- this.withdrawnDate = null;
1027
- this.sourceMlsId = null;
1028
- this.property = null;
1029
- this.addressDetail = null;
1030
- this.rentPrices = null;
1031
- this.walkScores = null;
1032
- this.openHouses = null;
1033
- this.photos = null;
1034
- this.schools = null;
1035
- this.agents = null;
1036
- }
1037
- }
1038
-
1039
- class GetListingsByFilterRequestModel extends PaginationOptions {
1040
- constructor() {
1041
- super(...arguments);
1042
- this.ListingTypes = null;
1043
- this.OrderBy = null;
1044
- this.NumberOfBedrooms = null;
1045
- this.MinPrice = null;
1046
- this.MaxPrice = null;
1047
- this.ListingStatuses = null;
1048
- this.PropertyTypes = null;
1049
- this.PlaceIds = null;
1050
- this.Fields = null;
1051
- }
1052
- }
1053
-
1054
- class PropertyModel {
1055
- constructor() {
1056
- this.AssociationFee = null;
1057
- this.AssociationFeeFrequency = null;
1058
- this.AssociationFeeIncludes = '';
1059
- this.AssociationName = '';
1060
- this.AssociationPhone = '';
1061
- this.BasementDetails = '';
1062
- this.BasementYN = null;
1063
- this.BathroomsFull = null;
1064
- this.BathroomsHalf = null;
1065
- this.BathroomsOneQuarter = null;
1066
- this.BathroomsPartial = null;
1067
- this.BathroomsThreeQuarter = null;
1068
- this.BathroomsTotal = null;
1069
- this.BedroomsTotal = null;
1070
- this.BuilderModel = '';
1071
- this.BuilderName = '';
1072
- this.BuildingName = '';
1073
- this.DirectionFaces = null;
1074
- this.EntryLevel = null;
1075
- this.FarmYN = null;
1076
- this.FireplacesTotal = null;
1077
- this.GarageInBuildingYN = null;
1078
- this.GarageSpaces = null;
1079
- this.Levels = null;
1080
- this.LivingAreaSquareFeet = null;
1081
- this.LivingAreaSquareMeters = null;
1082
- this.LotDescription = '';
1083
- this.LotSizeAcres = null;
1084
- this.LotSizeDimensions = '';
1085
- this.LotSizeSquareFeet = null;
1086
- this.NewConstructionYN = null;
1087
- this.NumberOfUnits = null;
1088
- this.ParcelNumber = '';
1089
- this.ParkingTotal = null;
1090
- this.PhysicalPropertyType = null;
1091
- this.PoolPrivateYN = null;
1092
- this.PropertyCondition = null;
1093
- this.RoofCondition = '';
1094
- this.RoomsTotal = null;
1095
- this.Stories = null;
1096
- this.UniversalPropertyId = '';
1097
- this.YearBuilt = null;
1098
- this.Style = null;
1099
- this.Features = null;
1100
- }
1101
- }
1102
-
1103
- class GetByMlsIdRequestModel {
1104
- constructor(data) {
1105
- this.mlsId = '';
1106
- this.fields = [];
1107
- if (data) {
1108
- Object.assign(this, data);
1109
- }
1110
- }
1111
- }
1112
-
1113
- class GetByIdRequestModel {
1114
- constructor(data) {
1115
- this.id = 0;
1116
- this.fields = [];
1117
- if (data) {
1118
- Object.assign(this, data);
1119
- }
1120
- }
1121
- }
1122
-
1123
- //Fully cleaned
1124
- class StyleModel {
1125
- constructor() {
1126
- this.Name = '';
1127
- this.Probability = 0;
1128
- }
1129
- }
1130
-
1131
- //Fully cleaned
1132
- class RentPriceModel {
1133
- constructor() {
1134
- this.JanuaryPrice = null;
1135
- this.FebruaryPrice = null;
1136
- this.MarchPrice = null;
1137
- this.MarchToLDPrice = null;
1138
- this.MarchAprilPrice = null;
1139
- this.AprilPrice = null;
1140
- this.AprilToLDPrice = null;
1141
- this.AprilMayPrice = null;
1142
- this.MayPrice = null;
1143
- this.MayToLDPrice = null;
1144
- this.MayJunePrice = null;
1145
- this.MDToLDPrice = null;
1146
- this.JunePrice = null;
1147
- this.JuneToLDPrice = null;
1148
- this.JuneJulyPrice = null;
1149
- this.JulyPrice = null;
1150
- this.JulyToLDPrice = null;
1151
- this.JulyAugustPrice = null;
1152
- this.AugustPrice = null;
1153
- this.AugustToLDPrice = null;
1154
- this.SeptemberPrice = null;
1155
- this.OctoberPrice = null;
1156
- this.NovemberPrice = null;
1157
- this.DecemberPrice = null;
1158
- this.WeeklyPrice = null;
1159
- this.MonthlyPrice = null;
1160
- this.YearlyPrice = null;
1161
- this.ExtendedSeasonPrice = null;
1162
- this.OffSeasonPrice = null;
1163
- this.LowSeasonPrice = null;
1164
- this.WinterPrice = null;
1165
- this.FurnishedPrice = null;
1166
- }
1167
- }
1168
-
1169
- //Fully cleaned
1170
- class WalkScoreModel {
1171
- constructor() {
1172
- this.WalkScore = null;
1173
- this.WalkScoreDescription = '';
1174
- this.TransitScore = null;
1175
- this.TransitDescription = '';
1176
- this.TransitDetailsSummary = '';
1177
- this.BikeScore = null;
1178
- this.BikeDescription = '';
1179
- }
1180
- }
1181
-
1182
- //Fully cleaned
1183
- class OpenHouseModel {
1184
- constructor() {
1185
- this.Key = '';
1186
- this.Status = '';
1187
- this.Type = '';
1188
- this.Remarks = '';
1189
- this.AttendedBy = '';
1190
- this.LiveStreamUri = '';
1191
- this.ShowingAgentKey = '';
1192
- this.ShowingAgentMlsId = '';
1193
- this.ShowingAgentLastName = '';
1194
- this.RefreshmentsOrSnacks = '';
1195
- this.ShowingAgentFirstName = '';
1196
- this.LiveStreamDescription = '';
1197
- this.EndTime = null;
1198
- this.StartTime = null;
1199
- this.LiveStreamEnd = null;
1200
- this.LiveStreamStart = null;
1201
- this.ModificationTimestamp = null;
1202
- this.AppointmentRequiredYN = null;
1203
- }
1204
- }
1205
-
1206
- class PhotoModel {
1207
- constructor() {
1208
- this.Id = 0;
1209
- this.Url = '';
1210
- this.MlsUrl = '';
1211
- this.Order = 0;
1212
- this.CoreListingId = 0;
1213
- this.Tags = null;
1214
- }
1215
- }
1216
-
1217
- class LimitModel {
1218
- constructor(data) {
1219
- this.count = 0;
1220
- this.type = null;
1221
- if (data) {
1222
- Object.assign(this, data);
1223
- }
1224
- }
1225
- }
1226
-
1227
- class PolygonLiteResponseModel {
1228
- constructor() {
1229
- this.id = 0;
1230
- this.name = '';
1231
- this.shortName = '';
1232
- this.urlKey = '';
1233
- this.city = '';
1234
- this.county = '';
1235
- this.cityId = null;
1236
- this.state = '';
1237
- this.stateId = null;
1238
- this.neighborhood = '';
1239
- this.zip = '';
1240
- this.weight = 0;
1241
- this.stateShortName = '';
1242
- }
1243
- }
1244
-
1245
- class PolygonFilterRequestModel {
1246
- constructor(data) {
1247
- this.text = '';
1248
- this.states = [];
1249
- this.skipNullUrlKey = false;
1250
- this.skipNullGeometry = false;
1251
- this.limits = [];
1252
- if (data) {
1253
- Object.assign(this, data);
1254
- }
1255
- }
1256
- }
1257
-
1258
- class PolygonFilterResponseModel {
1259
- constructor(data) {
1260
- this.type = null;
1261
- this.polygons = [];
1262
- if (data) {
1263
- Object.assign(this, data);
1264
- }
1265
- }
1266
- }
1267
-
1268
- exports.Operator = void 0;
1269
- (function (Operator) {
1270
- Operator[Operator["Eq"] = 0] = "Eq";
1271
- Operator[Operator["Gt"] = 1] = "Gt";
1272
- Operator[Operator["Ge"] = 2] = "Ge";
1273
- Operator[Operator["Lt"] = 3] = "Lt";
1274
- Operator[Operator["Le"] = 4] = "Le";
1275
- Operator[Operator["In"] = 5] = "In";
1276
- Operator[Operator["Sw"] = 6] = "Sw";
1277
- Operator[Operator["Ew"] = 7] = "Ew";
1278
- Operator[Operator["Like"] = 8] = "Like";
1279
- Operator[Operator["IsNull"] = 9] = "IsNull";
1280
- Operator[Operator["Any"] = 10] = "Any";
1281
- Operator[Operator["All"] = 11] = "All";
1282
- })(exports.Operator || (exports.Operator = {}));
1283
-
1284
- class OrderingModel {
1285
- constructor() {
1286
- this.property = null;
1287
- this.isDescending = false;
1288
- this.matchedConditions = [];
1289
- }
1290
- toString() {
1291
- const direction = this.isDescending ? 'desc' : 'asc';
1292
- return this.property !== null ? `p=${this.property},d=${direction}` : `c=${''},d=${direction}`; //TODO c
1293
- }
1294
- }
1295
-
1296
- exports.Condition = void 0;
1297
- (function (Condition) {
1298
- Condition[Condition["And"] = 0] = "And";
1299
- Condition[Condition["Or"] = 1] = "Or";
1300
- })(exports.Condition || (exports.Condition = {}));
1301
-
1302
- exports.AddressDetail = AddressDetail;
1303
- exports.AddressDetailModel = AddressDetailModel;
1304
- exports.AddressPolygon = AddressPolygon;
1305
- exports.AddressQueryModel = AddressQueryModel;
1306
- exports.AgentInfoModel = AgentInfoModel;
1307
- exports.AgentModel = AgentModel;
1308
- exports.CategoryModel = CategoryModel;
1309
- exports.ConditionModel = ConditionModel;
1310
- exports.Entity = Entity;
1311
- exports.FeatureModel = FeatureModel;
1312
- exports.GetAgentRequestModel = GetAgentRequestModel;
1313
- exports.GetAgentsRequestModel = GetAgentsRequestModel;
1314
- exports.GetByIdRequestModel = GetByIdRequestModel;
1315
- exports.GetByMlsIdRequestModel = GetByMlsIdRequestModel;
1316
- exports.GetListingsByFilterRequestModel = GetListingsByFilterRequestModel;
1317
- exports.GlobalQueryModel = GlobalQueryModel;
1318
- exports.LimitModel = LimitModel;
1319
- exports.Listing = Listing;
1320
- exports.ListingModel = ListingModel;
1321
- exports.ListingOpenHouse = ListingOpenHouse;
1322
- exports.ListingSchool = ListingSchool;
1323
- exports.LocationModel = LocationModel;
1324
- exports.MlsInfoModel = MlsInfoModel;
1325
- exports.OfficeModel = OfficeModel;
1326
- exports.OpenHouseModel = OpenHouseModel;
1327
- exports.OrderingModel = OrderingModel;
1328
- exports.PaginationOptions = PaginationOptions;
1329
- exports.PhotoModel = PhotoModel;
1330
- exports.Point = Point;
1331
- exports.Polygon = Polygon;
1332
- exports.PolygonFilterRequestModel = PolygonFilterRequestModel;
1333
- exports.PolygonFilterResponseModel = PolygonFilterResponseModel;
1334
- exports.PolygonLiteResponseModel = PolygonLiteResponseModel;
1335
- exports.Property = Property;
1336
- exports.PropertyFeature = PropertyFeature;
1337
- exports.PropertyModel = PropertyModel;
1338
- exports.RentPriceModel = RentPriceModel;
1339
- exports.SamlsClient = SamlsClient;
1340
- exports.School = School;
1341
- exports.StyleModel = StyleModel;
1342
- exports.SubCategoryModel = SubCategoryModel;
1343
- exports.WalkScoreModel = WalkScoreModel;
1344
- exports.hasFlag = hasFlag;
1345
-
1346
- return exports;
1347
-
1348
- })({}, axios);