samls-js-integration 1.1.40 → 1.1.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 (315) hide show
  1. package/README.md +1 -2
  2. package/dist/Address/AddressDetailExtendedModel.d.ts +5 -0
  3. package/dist/Address/AddressDetailExtendedModel.js +12 -0
  4. package/dist/Address/AddressDetailModel.d.ts +37 -0
  5. package/dist/Address/AddressDetailModel.js +42 -0
  6. package/dist/Address/AddressQueryModel.d.ts +12 -0
  7. package/dist/Address/AddressQueryModel.js +17 -0
  8. package/dist/{models/Address → Address}/index.d.ts +1 -0
  9. package/dist/Address/index.js +19 -0
  10. package/dist/{models/Agent → Agent}/AgentInfoModel.d.ts +2 -2
  11. package/dist/{models/Agent → Agent}/AgentInfoModel.js +5 -1
  12. package/dist/{models/Agent → Agent}/AgentModel.d.ts +2 -1
  13. package/dist/Agent/AgentModel.js +13 -0
  14. package/dist/Agent/GetAgentRequestModel.js +10 -0
  15. package/dist/Agent/GetAgentsRequestModel.js +14 -0
  16. package/dist/{models/Agent → Agent}/OfficeModel.js +5 -1
  17. package/dist/Agent/index.js +21 -0
  18. package/dist/{models/Common → Common}/GlobalQueryModel.d.ts +3 -3
  19. package/dist/{models/Common → Common}/GlobalQueryModel.js +8 -4
  20. package/dist/Common/LocationModel.d.ts +4 -0
  21. package/dist/Common/LocationModel.js +10 -0
  22. package/dist/{models/Common → Common}/PaginationOptions.d.ts +2 -2
  23. package/dist/Common/PaginationOptions.js +10 -0
  24. package/dist/Common/Point.js +10 -0
  25. package/dist/{models/Common → Common}/index.d.ts +1 -1
  26. package/dist/Common/index.js +21 -0
  27. package/dist/Entities/Entity.d.ts +5 -0
  28. package/dist/Entities/Entity.js +2 -0
  29. package/dist/Entities/Listing.d.ts +11 -0
  30. package/dist/Entities/Listing.js +2 -0
  31. package/dist/Entities/ListingSchool.d.ts +8 -0
  32. package/dist/Entities/ListingSchool.js +2 -0
  33. package/dist/Entities/Property.d.ts +7 -0
  34. package/dist/Entities/Property.js +2 -0
  35. package/dist/Entities/index.d.ts +4 -0
  36. package/dist/Entities/index.js +2 -0
  37. package/dist/{models/Enums → Enums}/AgentTypeEnum.js +5 -2
  38. package/dist/{models/Enums → Enums}/AssociationFeeFrequencyEnum.js +5 -2
  39. package/dist/{models/Enums → Enums}/AuthenticationTypeEnum.js +5 -2
  40. package/dist/{models/Enums → Enums}/CurrencyEnum.js +5 -2
  41. package/dist/{models/Enums → Enums}/DirectionFacesEnum.js +5 -2
  42. package/dist/{models/Enums → Enums}/FeatureSourceEnum.js +7 -3
  43. package/dist/{models/Enums → Enums}/GeometryTypeEnum.d.ts +4 -1
  44. package/dist/{models/Enums → Enums}/GeometryTypeEnum.js +7 -2
  45. package/dist/Enums/Listing/BathroomOperator.enum.d.ts +5 -0
  46. package/dist/Enums/Listing/BathroomOperator.enum.js +9 -0
  47. package/dist/Enums/Listing/BathroomType.enum.d.ts +8 -0
  48. package/dist/Enums/Listing/BathroomType.enum.js +12 -0
  49. package/dist/Enums/Listing/ContextType.enum.d.ts +5 -0
  50. package/dist/Enums/Listing/ContextType.enum.js +9 -0
  51. package/dist/Enums/Listing/HomeType.enum.d.ts +13 -0
  52. package/dist/Enums/Listing/HomeType.enum.js +16 -0
  53. package/dist/Enums/Listing/ListingAgency.enum.d.ts +4 -0
  54. package/dist/Enums/Listing/ListingAgency.enum.js +8 -0
  55. package/dist/Enums/Listing/ListingOrder.enum.d.ts +17 -0
  56. package/dist/Enums/Listing/ListingOrder.enum.js +22 -0
  57. package/dist/{models/Enums/ListingStatusEnum.d.ts → Enums/Listing/ListingStatus.enum.d.ts} +1 -0
  58. package/dist/{models/Enums/ListingStatusEnum.js → Enums/Listing/ListingStatus.enum.js} +5 -17
  59. package/dist/{models/Enums/ListingTypeEnum.js → Enums/Listing/ListingType.enum.js} +5 -5
  60. package/dist/{models/Enums/ListingTypeClassEnum.d.ts → Enums/Listing/ListingTypeClass.enum.d.ts} +0 -1
  61. package/dist/{models/Enums/ListingTypeClassEnum.js → Enums/Listing/ListingTypeClass.enum.js} +5 -2
  62. package/dist/Enums/Listing/RentalPeriod.enum.d.ts +34 -0
  63. package/dist/Enums/Listing/RentalPeriod.enum.js +38 -0
  64. package/dist/Enums/Listing/index.d.ts +10 -0
  65. package/dist/Enums/Listing/index.js +24 -0
  66. package/dist/{models/Enums → Enums}/MLSEnum.d.ts +1 -0
  67. package/dist/{models/Enums → Enums}/MLSEnum.js +6 -2
  68. package/dist/{models/Enums → Enums}/OrderByOptions.js +5 -2
  69. package/dist/{models/Enums → Enums}/OwnershipTypeEnum.js +5 -2
  70. package/dist/{models/Enums → Enums}/PhysicalPropertyClassEnum.js +5 -2
  71. package/dist/{models/Enums → Enums}/PhysicalPropertyTypeEnum.d.ts +21 -21
  72. package/dist/{models/Enums → Enums}/PhysicalPropertyTypeEnum.js +26 -26
  73. package/dist/{models/Enums → Enums}/PlatformEnum.js +5 -2
  74. package/dist/{models/Enums → Enums}/ProcessingStatusEnum.js +5 -2
  75. package/dist/{models/Enums → Enums}/ProcessingTypeEnum.js +5 -2
  76. package/dist/{models/Enums → Enums}/PropertyConditionEnum.js +5 -5
  77. package/dist/{models/Enums → Enums}/PropertyLevelEnum.js +5 -2
  78. package/dist/{models/Enums → Enums}/StreetDirectionEnum.js +5 -2
  79. package/dist/{models/Enums → Enums}/StreetSuffixEnum.js +5 -2
  80. package/dist/{models/Enums → Enums}/index.d.ts +15 -17
  81. package/dist/Enums/index.js +36 -0
  82. package/dist/Feature/Category.model.js +10 -0
  83. package/dist/{models/Feature/FeatureModel.d.ts → Feature/Feature.model.d.ts} +4 -2
  84. package/dist/Feature/Feature.model.js +15 -0
  85. package/dist/Feature/SubCategory.model.js +10 -0
  86. package/dist/Feature/index.d.ts +3 -0
  87. package/dist/Feature/index.js +19 -0
  88. package/dist/Listing/AgentFilter.model.d.ts +5 -0
  89. package/dist/Listing/AgentFilter.model.js +10 -0
  90. package/dist/Listing/BathroomType.model.d.ts +6 -0
  91. package/dist/Listing/BathroomType.model.js +12 -0
  92. package/dist/Listing/ClusteringFilterRequest.model.d.ts +8 -0
  93. package/dist/Listing/ClusteringFilterRequest.model.js +13 -0
  94. package/dist/Listing/ClusteringFilterResponse.model.d.ts +23 -0
  95. package/dist/Listing/ClusteringFilterResponse.model.js +11 -0
  96. package/dist/Listing/FeatureCache.model.d.ts +5 -0
  97. package/dist/Listing/FeatureCache.model.js +11 -0
  98. package/dist/Listing/GetByAgentRequest.model.d.ts +10 -0
  99. package/dist/Listing/GetByAgentRequest.model.js +16 -0
  100. package/dist/Listing/GetByAgentsRequest.model.d.ts +8 -0
  101. package/dist/Listing/GetByAgentsRequest.model.js +13 -0
  102. package/dist/Listing/GetByIdRequest.model.js +13 -0
  103. package/dist/{models/Listing/GetByMlsIdRequestModel.d.ts → Listing/GetByMlsIdRequest.model.d.ts} +1 -2
  104. package/dist/Listing/GetByMlsIdRequest.model.js +13 -0
  105. package/dist/Listing/GetByOfficesRequest.model.d.ts +6 -0
  106. package/dist/Listing/GetByOfficesRequest.model.js +12 -0
  107. package/dist/{models/Listing/GetListingsByFilterRequestModel.js → Listing/GetListingsByFilterRequest.model.js} +6 -2
  108. package/dist/Listing/GetMapListingsRequest.model.d.ts +8 -0
  109. package/dist/Listing/GetMapListingsRequest.model.js +15 -0
  110. package/dist/Listing/IListingTypeGroups.model.d.ts +6 -0
  111. package/dist/Listing/IListingTypeGroups.model.js +2 -0
  112. package/dist/{models/Listing/ListingModel.d.ts → Listing/Listing.model.d.ts} +26 -24
  113. package/dist/{models/Listing/ListingModel.js → Listing/Listing.model.js} +11 -7
  114. package/dist/Listing/MapListingsRequest.model.d.ts +45 -0
  115. package/dist/Listing/MapListingsRequest.model.js +51 -0
  116. package/dist/Listing/MoveIn.model.d.ts +4 -0
  117. package/dist/Listing/MoveIn.model.js +10 -0
  118. package/dist/Listing/OfficeFilter.model.d.ts +7 -0
  119. package/dist/Listing/OfficeFilter.model.js +2 -0
  120. package/dist/Listing/OpenHouse.model.d.ts +20 -0
  121. package/dist/Listing/OpenHouse.model.js +26 -0
  122. package/dist/Listing/OpenHouseLite.model.d.ts +4 -0
  123. package/dist/Listing/OpenHouseLite.model.js +2 -0
  124. package/dist/{models/Listing/PhotoModel.js → Listing/Photo.model.js} +5 -1
  125. package/dist/Listing/PlaceFilter.model.d.ts +6 -0
  126. package/dist/Listing/PlaceFilter.model.js +12 -0
  127. package/dist/{models/Listing/PropertyModel.d.ts → Listing/Property.model.d.ts} +4 -4
  128. package/dist/{models/Listing/PropertyModel.js → Listing/Property.model.js} +10 -4
  129. package/dist/Listing/Rage.model.d.ts +4 -0
  130. package/dist/Listing/Rage.model.js +10 -0
  131. package/dist/Listing/RentPrice.model.d.ts +34 -0
  132. package/dist/Listing/RentPrice.model.js +40 -0
  133. package/dist/Listing/SchoolType.model.d.ts +4 -0
  134. package/dist/Listing/SchoolType.model.js +10 -0
  135. package/dist/Listing/Style.model.d.ts +4 -0
  136. package/dist/Listing/Style.model.js +10 -0
  137. package/dist/Listing/WalkScore.model.d.ts +9 -0
  138. package/dist/Listing/WalkScore.model.js +15 -0
  139. package/dist/Listing/index.d.ts +22 -0
  140. package/dist/Listing/index.js +45 -0
  141. package/dist/Mls/MlsInfo.model.d.ts +20 -0
  142. package/dist/Mls/MlsInfo.model.js +25 -0
  143. package/dist/Mls/MlsState.model.d.ts +5 -0
  144. package/dist/Mls/MlsState.model.js +11 -0
  145. package/dist/Mls/index.d.ts +2 -0
  146. package/dist/Mls/index.js +18 -0
  147. package/dist/PData/index.js +17 -0
  148. package/dist/PData/models/Condition.js +8 -0
  149. package/dist/{models/PData → PData}/models/ConditionModel.js +5 -1
  150. package/dist/PData/models/IPagination.js +2 -0
  151. package/dist/{models/PData → PData}/models/Operator.js +5 -2
  152. package/dist/{models/PData → PData}/models/Ordering.d.ts +1 -2
  153. package/dist/{models/PData → PData}/models/Ordering.js +12 -6
  154. package/dist/PData/models/QueryModel.d.ts +12 -0
  155. package/dist/PData/models/QueryModel.js +16 -0
  156. package/dist/{models/PData → PData}/models/index.d.ts +1 -0
  157. package/dist/PData/models/index.js +22 -0
  158. package/dist/Polygon/LimitModel.js +13 -0
  159. package/dist/Polygon/PolygonByWeightRequest.model.d.ts +12 -0
  160. package/dist/Polygon/PolygonByWeightRequest.model.js +16 -0
  161. package/dist/Polygon/PolygonByWeightResponseModel.d.ts +5 -0
  162. package/dist/Polygon/PolygonByWeightResponseModel.js +15 -0
  163. package/dist/{models/Polygon/PolygonFilterRequestModel.js → Polygon/PolygonFilterRequest.model.js} +5 -1
  164. package/dist/{models/Polygon/PolygonFilterResponseModel.d.ts → Polygon/PolygonFilterResponse.model.d.ts} +1 -1
  165. package/dist/Polygon/PolygonFilterResponse.model.js +13 -0
  166. package/dist/{models/Polygon/PolygonLiteResponseModel.d.ts → Polygon/PolygonLiteResponse.model.d.ts} +6 -0
  167. package/dist/Polygon/PolygonLiteResponse.model.js +28 -0
  168. package/dist/Polygon/PolygonResponse.model.d.ts +7 -0
  169. package/dist/Polygon/PolygonResponse.model.js +15 -0
  170. package/dist/Polygon/PolygonsQueryModel.d.ts +10 -0
  171. package/dist/Polygon/PolygonsQueryModel.js +17 -0
  172. package/dist/Polygon/index.d.ts +8 -0
  173. package/dist/Polygon/index.js +19 -0
  174. package/dist/School/SchoolModel.d.ts +13 -0
  175. package/dist/School/SchoolModel.js +19 -0
  176. package/dist/School/SchoolsByRadiusRequestModel.d.ts +8 -0
  177. package/dist/School/SchoolsByRadiusRequestModel.js +14 -0
  178. package/dist/School/index.d.ts +2 -0
  179. package/dist/School/index.js +18 -0
  180. package/dist/index.d.ts +11 -2
  181. package/dist/index.js +27 -2
  182. package/package.json +6 -3
  183. package/dist/clients/AddressDetail.d.ts +0 -5
  184. package/dist/clients/AddressDetail.js +0 -6
  185. package/dist/clients/ListingsClient.d.ts +0 -9
  186. package/dist/clients/ListingsClient.js +0 -18
  187. package/dist/clients/MlsClient.d.ts +0 -6
  188. package/dist/clients/MlsClient.js +0 -10
  189. package/dist/clients/PolygonClient.d.ts +0 -5
  190. package/dist/clients/PolygonClient.js +0 -7
  191. package/dist/clients/index.d.ts +0 -3
  192. package/dist/clients/index.js +0 -3
  193. package/dist/globals/HttpModule.d.ts +0 -1
  194. package/dist/globals/HttpModule.js +0 -4
  195. package/dist/globals/constants/url.d.ts +0 -4
  196. package/dist/globals/constants/url.js +0 -4
  197. package/dist/globals/index.d.ts +0 -3
  198. package/dist/globals/index.js +0 -3
  199. package/dist/globals/models/IApiResponse.d.ts +0 -5
  200. package/dist/globals/models/IApiResponse.js +0 -1
  201. package/dist/globals/models/index.d.ts +0 -2
  202. package/dist/globals/models/index.js +0 -2
  203. package/dist/models/Address/AddressDetailModel.d.ts +0 -37
  204. package/dist/models/Address/AddressDetailModel.js +0 -38
  205. package/dist/models/Address/AddressQueryModel.d.ts +0 -5
  206. package/dist/models/Address/AddressQueryModel.js +0 -8
  207. package/dist/models/Address/index.js +0 -2
  208. package/dist/models/Agent/AgentModel.js +0 -8
  209. package/dist/models/Agent/GetAgentRequestModel.js +0 -7
  210. package/dist/models/Agent/GetAgentsRequestModel.js +0 -10
  211. package/dist/models/Agent/index.js +0 -5
  212. package/dist/models/Common/LocationModel.d.ts +0 -4
  213. package/dist/models/Common/LocationModel.js +0 -6
  214. package/dist/models/Common/PaginationOptions.js +0 -6
  215. package/dist/models/Common/Point.js +0 -7
  216. package/dist/models/Common/index.js +0 -5
  217. package/dist/models/Entities/AddressDetail.d.ts +0 -42
  218. package/dist/models/Entities/AddressDetail.js +0 -42
  219. package/dist/models/Entities/AddressPolygon.d.ts +0 -10
  220. package/dist/models/Entities/AddressPolygon.js +0 -10
  221. package/dist/models/Entities/Entity.d.ts +0 -6
  222. package/dist/models/Entities/Entity.js +0 -7
  223. package/dist/models/Entities/Listing.d.ts +0 -78
  224. package/dist/models/Entities/Listing.js +0 -3
  225. package/dist/models/Entities/ListingOpenHouse.d.ts +0 -24
  226. package/dist/models/Entities/ListingOpenHouse.js +0 -3
  227. package/dist/models/Entities/ListingSchool.d.ts +0 -9
  228. package/dist/models/Entities/ListingSchool.js +0 -9
  229. package/dist/models/Entities/Polygon.d.ts +0 -2
  230. package/dist/models/Entities/Polygon.js +0 -3
  231. package/dist/models/Entities/Property.d.ts +0 -2
  232. package/dist/models/Entities/Property.js +0 -3
  233. package/dist/models/Entities/PropertyFeature.d.ts +0 -2
  234. package/dist/models/Entities/PropertyFeature.js +0 -3
  235. package/dist/models/Entities/School.d.ts +0 -2
  236. package/dist/models/Entities/School.js +0 -3
  237. package/dist/models/Entities/index.d.ts +0 -10
  238. package/dist/models/Entities/index.js +0 -10
  239. package/dist/models/Enums/index.js +0 -22
  240. package/dist/models/Feature/CategoryModel.js +0 -6
  241. package/dist/models/Feature/FeatureModel.js +0 -9
  242. package/dist/models/Feature/SubCategoryModel.js +0 -6
  243. package/dist/models/Feature/index.d.ts +0 -3
  244. package/dist/models/Feature/index.js +0 -3
  245. package/dist/models/Listing/ClusteringFilterRequestBaseModel.d.ts +0 -0
  246. package/dist/models/Listing/ClusteringFilterRequestBaseModel.js +0 -18
  247. package/dist/models/Listing/GetByIdRequestModel.js +0 -9
  248. package/dist/models/Listing/GetByMlsIdRequestModel.js +0 -9
  249. package/dist/models/Listing/OpenHouseModel.d.ts +0 -20
  250. package/dist/models/Listing/OpenHouseModel.js +0 -23
  251. package/dist/models/Listing/RentPriceModel.d.ts +0 -34
  252. package/dist/models/Listing/RentPriceModel.js +0 -37
  253. package/dist/models/Listing/StyleModel.d.ts +0 -4
  254. package/dist/models/Listing/StyleModel.js +0 -7
  255. package/dist/models/Listing/WalkScoreModel.d.ts +0 -9
  256. package/dist/models/Listing/WalkScoreModel.js +0 -12
  257. package/dist/models/Listing/index.d.ts +0 -10
  258. package/dist/models/Listing/index.js +0 -10
  259. package/dist/models/Mls/MlsInfoModel.d.ts +0 -8
  260. package/dist/models/Mls/MlsInfoModel.js +0 -11
  261. package/dist/models/Mls/index.d.ts +0 -1
  262. package/dist/models/Mls/index.js +0 -1
  263. package/dist/models/PData/index.js +0 -1
  264. package/dist/models/PData/models/Condition.js +0 -5
  265. package/dist/models/PData/models/IPagination.js +0 -1
  266. package/dist/models/PData/models/index.js +0 -5
  267. package/dist/models/Polygon/LimitModel.js +0 -9
  268. package/dist/models/Polygon/PolygonFilterResponseModel.js +0 -9
  269. package/dist/models/Polygon/PolygonLiteResponseModel.js +0 -17
  270. package/dist/models/Polygon/index.d.ts +0 -4
  271. package/dist/models/Polygon/index.js +0 -4
  272. package/dist/models/School/SchoolIdentifierModel.d.ts +0 -0
  273. package/dist/models/School/SchoolIdentifierModel.js +0 -9
  274. package/dist/models/School/SchoolModel.d.ts +0 -13
  275. package/dist/models/School/SchoolModel.js +0 -16
  276. package/dist/models/School/index.d.ts +0 -1
  277. package/dist/models/School/index.js +0 -1
  278. package/dist/models/index.d.ts +0 -12
  279. package/dist/models/index.js +0 -12
  280. package/dist/services/SamlsClient.d.ts +0 -8
  281. package/dist/services/SamlsClient.js +0 -12
  282. /package/dist/{models/Agent → Agent}/GetAgentRequestModel.d.ts +0 -0
  283. /package/dist/{models/Agent → Agent}/GetAgentsRequestModel.d.ts +0 -0
  284. /package/dist/{models/Agent → Agent}/OfficeModel.d.ts +0 -0
  285. /package/dist/{models/Agent → Agent}/index.d.ts +0 -0
  286. /package/dist/{models/Common → Common}/Point.d.ts +0 -0
  287. /package/dist/{models/Enums → Enums}/AgentTypeEnum.d.ts +0 -0
  288. /package/dist/{models/Enums → Enums}/AssociationFeeFrequencyEnum.d.ts +0 -0
  289. /package/dist/{models/Enums → Enums}/AuthenticationTypeEnum.d.ts +0 -0
  290. /package/dist/{models/Enums → Enums}/CurrencyEnum.d.ts +0 -0
  291. /package/dist/{models/Enums → Enums}/DirectionFacesEnum.d.ts +0 -0
  292. /package/dist/{models/Enums → Enums}/FeatureSourceEnum.d.ts +0 -0
  293. /package/dist/{models/Enums/ListingTypeEnum.d.ts → Enums/Listing/ListingType.enum.d.ts} +0 -0
  294. /package/dist/{models/Enums → Enums}/OrderByOptions.d.ts +0 -0
  295. /package/dist/{models/Enums → Enums}/OwnershipTypeEnum.d.ts +0 -0
  296. /package/dist/{models/Enums → Enums}/PhysicalPropertyClassEnum.d.ts +0 -0
  297. /package/dist/{models/Enums → Enums}/PlatformEnum.d.ts +0 -0
  298. /package/dist/{models/Enums → Enums}/ProcessingStatusEnum.d.ts +0 -0
  299. /package/dist/{models/Enums → Enums}/ProcessingTypeEnum.d.ts +0 -0
  300. /package/dist/{models/Enums → Enums}/PropertyConditionEnum.d.ts +0 -0
  301. /package/dist/{models/Enums → Enums}/PropertyLevelEnum.d.ts +0 -0
  302. /package/dist/{models/Enums → Enums}/StreetDirectionEnum.d.ts +0 -0
  303. /package/dist/{models/Enums → Enums}/StreetSuffixEnum.d.ts +0 -0
  304. /package/dist/{models/Feature/CategoryModel.d.ts → Feature/Category.model.d.ts} +0 -0
  305. /package/dist/{models/Feature/SubCategoryModel.d.ts → Feature/SubCategory.model.d.ts} +0 -0
  306. /package/dist/{models/Listing/GetByIdRequestModel.d.ts → Listing/GetByIdRequest.model.d.ts} +0 -0
  307. /package/dist/{models/Listing/GetListingsByFilterRequestModel.d.ts → Listing/GetListingsByFilterRequest.model.d.ts} +0 -0
  308. /package/dist/{models/Listing/PhotoModel.d.ts → Listing/Photo.model.d.ts} +0 -0
  309. /package/dist/{models/PData → PData}/index.d.ts +0 -0
  310. /package/dist/{models/PData → PData}/models/Condition.d.ts +0 -0
  311. /package/dist/{models/PData → PData}/models/ConditionModel.d.ts +0 -0
  312. /package/dist/{models/PData → PData}/models/IPagination.d.ts +0 -0
  313. /package/dist/{models/PData → PData}/models/Operator.d.ts +0 -0
  314. /package/dist/{models/Polygon → Polygon}/LimitModel.d.ts +0 -0
  315. /package/dist/{models/Polygon/PolygonFilterRequestModel.d.ts → Polygon/PolygonFilterRequest.model.d.ts} +0 -0
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # Samls-js-integration
2
2
 
3
3
  The package provides
4
- * Core http interface as a service to make calls to samls api with axios library.
5
4
  * A bunch of ts Models to work with Samls Data, model files have .model filename suffix to make it possible to use them
6
- easily in libraries supporting OpenApi specification(e.g. @nestjs/swagger).
5
+ easily in libraries supporting to the OpenApi specification(e.g. @nestjs/swagger).
@@ -0,0 +1,5 @@
1
+ import { AddressDetailModel } from './AddressDetailModel';
2
+ export declare class AddressDetailExtendedModel extends AddressDetailModel {
3
+ internetAddressDisplayYN: boolean | null;
4
+ internetEntireListingDisplayYN: boolean | null;
5
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressDetailExtendedModel = void 0;
4
+ const AddressDetailModel_1 = require("./AddressDetailModel");
5
+ class AddressDetailExtendedModel extends AddressDetailModel_1.AddressDetailModel {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.internetAddressDisplayYN = null;
9
+ this.internetEntireListingDisplayYN = null;
10
+ }
11
+ }
12
+ exports.AddressDetailExtendedModel = AddressDetailExtendedModel;
@@ -0,0 +1,37 @@
1
+ import { StreetDirectionEnum, StreetSuffixEnum } from '../Enums';
2
+ export declare class AddressDetailModel {
3
+ coreListingId: number;
4
+ city: string | null;
5
+ country: string | null;
6
+ county: string | null;
7
+ crossStreet: string | null;
8
+ directions: string | null;
9
+ elementarySchool: string | null;
10
+ elementarySchoolDistrict: string | null;
11
+ fullAddress: string | null;
12
+ highSchool: string | null;
13
+ highSchoolDistrict: string | null;
14
+ latitude: number | null;
15
+ locationDescription: string | null;
16
+ longitude: number | null;
17
+ middleOrJuniorSchool: string | null;
18
+ middleOrJuniorSchoolDistrict: string | null;
19
+ neighborhood: string | null;
20
+ postalCode: string | null;
21
+ seniorCommunityYN: boolean | null;
22
+ stateOrProvince: string | null;
23
+ streetDirPrefix: StreetDirectionEnum | null;
24
+ streetDirSuffix: StreetDirectionEnum | null;
25
+ streetName: string | null;
26
+ streetNumber: string | null;
27
+ streetSuffix: StreetSuffixEnum | null;
28
+ subDivision: string | null;
29
+ unitNumber: string | null;
30
+ waterBodyName: string | null;
31
+ waterfrontProximity: string | null;
32
+ waterfrontYN: boolean | null;
33
+ zoning: string | null;
34
+ samlsFullAddress: string | null;
35
+ samlsPartialAddress: string | null;
36
+ polygonCollection: number[];
37
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressDetailModel = void 0;
4
+ class AddressDetailModel {
5
+ constructor() {
6
+ this.coreListingId = 0;
7
+ this.city = null;
8
+ this.country = null;
9
+ this.county = null;
10
+ this.crossStreet = null;
11
+ this.directions = null;
12
+ this.elementarySchool = null;
13
+ this.elementarySchoolDistrict = null;
14
+ this.fullAddress = null;
15
+ this.highSchool = null;
16
+ this.highSchoolDistrict = null;
17
+ this.latitude = null;
18
+ this.locationDescription = null;
19
+ this.longitude = null;
20
+ this.middleOrJuniorSchool = null;
21
+ this.middleOrJuniorSchoolDistrict = null;
22
+ this.neighborhood = null;
23
+ this.postalCode = null;
24
+ this.seniorCommunityYN = null;
25
+ this.stateOrProvince = null;
26
+ this.streetDirPrefix = null;
27
+ this.streetDirSuffix = null;
28
+ this.streetName = null;
29
+ this.streetNumber = null;
30
+ this.streetSuffix = null;
31
+ this.subDivision = null;
32
+ this.unitNumber = null;
33
+ this.waterBodyName = null;
34
+ this.waterfrontProximity = null;
35
+ this.waterfrontYN = null;
36
+ this.zoning = null;
37
+ this.samlsFullAddress = null;
38
+ this.samlsPartialAddress = null;
39
+ this.polygonCollection = [];
40
+ }
41
+ }
42
+ exports.AddressDetailModel = AddressDetailModel;
@@ -0,0 +1,12 @@
1
+ import { GlobalQueryModel } from '../Common';
2
+ import { ListingTypeClassEnumKeys } from '../Listing';
3
+ import { ContextTypeEnum } from '../Enums/Listing/ContextType.enum';
4
+ import { ListingStatusEnum } from '../Enums';
5
+ export declare class AddressQueryModel extends GlobalQueryModel {
6
+ fullAddress: string;
7
+ internetAddressDisplayYN: boolean | null;
8
+ listingStatuses: ListingStatusEnum[];
9
+ contextType: ContextTypeEnum;
10
+ listingTypeClass: ListingTypeClassEnumKeys | null;
11
+ constructor(data?: Partial<AddressQueryModel>, superData?: Partial<GlobalQueryModel>);
12
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressQueryModel = void 0;
4
+ const Common_1 = require("../Common");
5
+ const ContextType_enum_1 = require("../Enums/Listing/ContextType.enum");
6
+ class AddressQueryModel extends Common_1.GlobalQueryModel {
7
+ constructor(data, superData) {
8
+ super(superData);
9
+ this.fullAddress = '';
10
+ this.internetAddressDisplayYN = null;
11
+ this.listingStatuses = [];
12
+ this.contextType = ContextType_enum_1.ContextTypeEnum.Both;
13
+ this.listingTypeClass = null;
14
+ Object.assign(this, data);
15
+ }
16
+ }
17
+ exports.AddressQueryModel = AddressQueryModel;
@@ -1,2 +1,3 @@
1
1
  export * from './AddressQueryModel';
2
2
  export * from './AddressDetailModel';
3
+ export * from './AddressDetailExtendedModel';
@@ -0,0 +1,19 @@
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);
19
+ __exportStar(require("./AddressDetailExtendedModel"), exports);
@@ -1,4 +1,4 @@
1
- import { MLSEnum } from "../Enums";
1
+ import { MLSEnum } from '../Enums';
2
2
  export declare class AgentInfoModel {
3
3
  agentId: number;
4
4
  agentAOR: string;
@@ -12,7 +12,7 @@ export declare class AgentInfoModel {
12
12
  agentLastName: string;
13
13
  agentLicenseNumber: string;
14
14
  agentMiddleName: string;
15
- agentMls: MLSEnum | null;
15
+ agentMls: keyof typeof MLSEnum | null;
16
16
  agentMlsId: string;
17
17
  agentMobilePhone: string;
18
18
  agentNamePrefix: string;
@@ -1,4 +1,7 @@
1
- export class AgentInfoModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentInfoModel = void 0;
4
+ class AgentInfoModel {
2
5
  constructor() {
3
6
  this.agentId = 0;
4
7
  this.agentAOR = '';
@@ -26,3 +29,4 @@ export class AgentInfoModel {
26
29
  this.teamName = '';
27
30
  }
28
31
  }
32
+ exports.AgentInfoModel = AgentInfoModel;
@@ -2,6 +2,7 @@ import { AgentInfoModel } from './AgentInfoModel';
2
2
  import { AgentTypeEnum } from '../Enums';
3
3
  import { OfficeModel } from './OfficeModel';
4
4
  export declare class AgentModel extends AgentInfoModel {
5
- agentTypeId: AgentTypeEnum | null;
5
+ order: number;
6
6
  office: OfficeModel | null;
7
+ agentTypeId: keyof typeof AgentTypeEnum | null;
7
8
  }
@@ -0,0 +1,13 @@
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 {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.order = 0;
9
+ this.office = null;
10
+ this.agentTypeId = null;
11
+ }
12
+ }
13
+ exports.AgentModel = AgentModel;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAgentRequestModel = void 0;
4
+ class GetAgentRequestModel {
5
+ constructor() {
6
+ this.agentMlsId = '';
7
+ this.mlsId = null;
8
+ }
9
+ }
10
+ exports.GetAgentRequestModel = GetAgentRequestModel;
@@ -0,0 +1,14 @@
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 {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.email = '';
9
+ this.lastName = '';
10
+ this.firstName = '';
11
+ this.mlsId = null;
12
+ }
13
+ }
14
+ exports.GetAgentsRequestModel = GetAgentsRequestModel;
@@ -1,4 +1,7 @@
1
- export class OfficeModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OfficeModel = void 0;
4
+ class OfficeModel {
2
5
  constructor() {
3
6
  this.officeKey = '';
4
7
  this.officeAOR = '';
@@ -18,3 +21,4 @@ export class OfficeModel {
18
21
  this.officeZip = '';
19
22
  }
20
23
  }
24
+ exports.OfficeModel = OfficeModel;
@@ -0,0 +1,21 @@
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,11 +1,11 @@
1
1
  import { ConditionModel, OrderingModel } from '../PData';
2
2
  export declare class GlobalQueryModel {
3
+ fields: string[];
4
+ count: boolean;
3
5
  skip: number | null;
4
6
  take: number | null;
5
- count: boolean;
6
7
  filter: string | null;
8
+ conditions: ConditionModel[];
7
9
  order: OrderingModel[] | null;
8
- conditions: ConditionModel[] | null;
9
- fields: string[];
10
10
  constructor(data?: Partial<GlobalQueryModel>);
11
11
  }
@@ -1,14 +1,18 @@
1
- export class GlobalQueryModel {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalQueryModel = void 0;
4
+ class GlobalQueryModel {
2
5
  constructor(data) {
6
+ this.fields = [];
7
+ this.count = false;
3
8
  this.skip = 0;
4
9
  this.take = 10;
5
- this.count = false;
6
10
  this.filter = null;
11
+ this.conditions = [];
7
12
  this.order = null;
8
- this.conditions = null;
9
- this.fields = [];
10
13
  if (data) {
11
14
  Object.assign(this, data);
12
15
  }
13
16
  }
14
17
  }
18
+ exports.GlobalQueryModel = GlobalQueryModel;
@@ -0,0 +1,4 @@
1
+ export declare class LocationModel {
2
+ latitude: number;
3
+ longitude: number;
4
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocationModel = void 0;
4
+ class LocationModel {
5
+ constructor() {
6
+ this.latitude = 0;
7
+ this.longitude = 0;
8
+ }
9
+ }
10
+ exports.LocationModel = LocationModel;
@@ -1,4 +1,4 @@
1
1
  export declare class PaginationOptions {
2
- Page: number;
3
- Count: number;
2
+ page: number;
3
+ count: number;
4
4
  }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaginationOptions = void 0;
4
+ class PaginationOptions {
5
+ constructor() {
6
+ this.page = 0;
7
+ this.count = 0;
8
+ }
9
+ }
10
+ exports.PaginationOptions = PaginationOptions;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Point = void 0;
4
+ class Point {
5
+ constructor(latitude, longitude) {
6
+ this.latitude = latitude;
7
+ this.longitude = longitude;
8
+ }
9
+ }
10
+ exports.Point = Point;
@@ -2,4 +2,4 @@ export * from './Point';
2
2
  export * from './GlobalQueryModel';
3
3
  export * from './LocationModel';
4
4
  export * from './PaginationOptions';
5
- export * from '../PData/models/ConditionModel';
5
+ export * from '../PData/models';
@@ -0,0 +1,21 @@
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"), exports);
@@ -0,0 +1,5 @@
1
+ export interface Entity<T = number> {
2
+ id: T;
3
+ createDate: string;
4
+ updateDate: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { Entity } from './Entity';
2
+ import { Property } from './Property';
3
+ export interface Listing extends Entity {
4
+ sourceUpdateDate: string | null;
5
+ sourceAgentsChangeDate: string | null;
6
+ sourcePhotosChangeDate: string | null;
7
+ sourceAddressChangeDate: string | null;
8
+ sourcePropertyChangeDate: string | null;
9
+ listingSchools: Listing[];
10
+ property: Property[];
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Entity } from './Entity';
2
+ import { Listing } from './Listing';
3
+ export interface ListingSchool extends Entity<number> {
4
+ coreListingId: number;
5
+ listing: Listing;
6
+ schoolId: number;
7
+ distance: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { Entity } from './Entity';
2
+ import { Listing } from './Listing';
3
+ export interface Property extends Entity<number> {
4
+ styleId: number;
5
+ coreListingId: number;
6
+ coreListing: Listing;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export { Entity } from './Entity';
2
+ export { Listing } from './Listing';
3
+ export { Property } from './Property';
4
+ export { ListingSchool } from './ListingSchool';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,10 @@
1
- export var AgentTypeEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentTypeEnum = void 0;
4
+ var AgentTypeEnum;
2
5
  (function (AgentTypeEnum) {
3
6
  AgentTypeEnum[AgentTypeEnum["ListAgent"] = 1] = "ListAgent";
4
7
  AgentTypeEnum[AgentTypeEnum["CoListAgent"] = 2] = "CoListAgent";
5
8
  AgentTypeEnum[AgentTypeEnum["BuyerAgent"] = 3] = "BuyerAgent";
6
9
  AgentTypeEnum[AgentTypeEnum["CoBuyerAgent"] = 4] = "CoBuyerAgent";
7
- })(AgentTypeEnum || (AgentTypeEnum = {}));
10
+ })(AgentTypeEnum || (exports.AgentTypeEnum = AgentTypeEnum = {}));
@@ -1,4 +1,7 @@
1
- export var AssociationFeeFrequencyEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssociationFeeFrequencyEnum = void 0;
4
+ var AssociationFeeFrequencyEnum;
2
5
  (function (AssociationFeeFrequencyEnum) {
3
6
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["NotMapped"] = -1] = "NotMapped";
4
7
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Annually"] = 1] = "Annually";
@@ -11,4 +14,4 @@ export var AssociationFeeFrequencyEnum;
11
14
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["Daily"] = 8] = "Daily";
12
15
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["OneTime"] = 9] = "OneTime";
13
16
  AssociationFeeFrequencyEnum[AssociationFeeFrequencyEnum["SeeRemarks"] = 10] = "SeeRemarks";
14
- })(AssociationFeeFrequencyEnum || (AssociationFeeFrequencyEnum = {}));
17
+ })(AssociationFeeFrequencyEnum || (exports.AssociationFeeFrequencyEnum = AssociationFeeFrequencyEnum = {}));
@@ -1,7 +1,10 @@
1
- export var AuthenticationTypeEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthenticationTypeEnum = void 0;
4
+ var AuthenticationTypeEnum;
2
5
  (function (AuthenticationTypeEnum) {
3
6
  AuthenticationTypeEnum[AuthenticationTypeEnum["None"] = 0] = "None";
4
7
  AuthenticationTypeEnum[AuthenticationTypeEnum["AccessTokenParameter"] = 1] = "AccessTokenParameter";
5
8
  AuthenticationTypeEnum[AuthenticationTypeEnum["AccessTokenHeader"] = 2] = "AccessTokenHeader";
6
9
  AuthenticationTypeEnum[AuthenticationTypeEnum["ClientCredentials"] = 3] = "ClientCredentials";
7
- })(AuthenticationTypeEnum || (AuthenticationTypeEnum = {}));
10
+ })(AuthenticationTypeEnum || (exports.AuthenticationTypeEnum = AuthenticationTypeEnum = {}));
@@ -1,6 +1,9 @@
1
- export var CurrencyEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurrencyEnum = void 0;
4
+ var CurrencyEnum;
2
5
  (function (CurrencyEnum) {
3
6
  CurrencyEnum[CurrencyEnum["NotMapped"] = -1] = "NotMapped";
4
7
  CurrencyEnum[CurrencyEnum["Other"] = 0] = "Other";
5
8
  CurrencyEnum[CurrencyEnum["USD"] = 1] = "USD";
6
- })(CurrencyEnum || (CurrencyEnum = {}));
9
+ })(CurrencyEnum || (exports.CurrencyEnum = CurrencyEnum = {}));
@@ -1,4 +1,7 @@
1
- export var DirectionFacesEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DirectionFacesEnum = void 0;
4
+ var DirectionFacesEnum;
2
5
  (function (DirectionFacesEnum) {
3
6
  DirectionFacesEnum[DirectionFacesEnum["NotMapped"] = -1] = "NotMapped";
4
7
  DirectionFacesEnum[DirectionFacesEnum["North"] = 1] = "North";
@@ -9,4 +12,4 @@ export var DirectionFacesEnum;
9
12
  DirectionFacesEnum[DirectionFacesEnum["SouthWest"] = 6] = "SouthWest";
10
13
  DirectionFacesEnum[DirectionFacesEnum["West"] = 7] = "West";
11
14
  DirectionFacesEnum[DirectionFacesEnum["NorthWest"] = 8] = "NorthWest";
12
- })(DirectionFacesEnum || (DirectionFacesEnum = {}));
15
+ })(DirectionFacesEnum || (exports.DirectionFacesEnum = DirectionFacesEnum = {}));
@@ -1,13 +1,17 @@
1
- export var FeatureSourceEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hasFlag = exports.FeatureSourceEnum = void 0;
4
+ var FeatureSourceEnum;
2
5
  (function (FeatureSourceEnum) {
3
6
  FeatureSourceEnum[FeatureSourceEnum["MLS"] = 1] = "MLS";
4
7
  FeatureSourceEnum[FeatureSourceEnum["ImageProcessing"] = 2] = "ImageProcessing";
5
8
  FeatureSourceEnum[FeatureSourceEnum["NLP"] = 4] = "NLP";
6
- })(FeatureSourceEnum || (FeatureSourceEnum = {}));
9
+ })(FeatureSourceEnum || (exports.FeatureSourceEnum = FeatureSourceEnum = {}));
7
10
  // Helper function to check if a combination of flags is set
8
- export function hasFlag(enumValue, flag) {
11
+ function hasFlag(enumValue, flag) {
9
12
  return (enumValue & flag) === flag;
10
13
  }
14
+ exports.hasFlag = hasFlag;
11
15
  // // Usage example
12
16
  // const value: FeatureSourceEnum = FeatureSourceEnum.MLS | FeatureSourceEnum.NLP;
13
17
  // console.log(hasFlag(value, FeatureSourceEnum.MLS)); // true
@@ -6,5 +6,8 @@ export declare enum GeometryTypeEnum {
6
6
  State = 5,
7
7
  School = 6,
8
8
  SubNeighborhood = 7,
9
- SubDivision = 8
9
+ SubDivision = 8,
10
+ Market = 9,
11
+ Country = 10
10
12
  }
13
+ export type GeometryTypeEnumKey = keyof typeof GeometryTypeEnum;
@@ -1,4 +1,7 @@
1
- export var GeometryTypeEnum;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GeometryTypeEnum = void 0;
4
+ var GeometryTypeEnum;
2
5
  (function (GeometryTypeEnum) {
3
6
  GeometryTypeEnum[GeometryTypeEnum["Zip"] = 1] = "Zip";
4
7
  GeometryTypeEnum[GeometryTypeEnum["Neighborhood"] = 2] = "Neighborhood";
@@ -8,4 +11,6 @@ export var GeometryTypeEnum;
8
11
  GeometryTypeEnum[GeometryTypeEnum["School"] = 6] = "School";
9
12
  GeometryTypeEnum[GeometryTypeEnum["SubNeighborhood"] = 7] = "SubNeighborhood";
10
13
  GeometryTypeEnum[GeometryTypeEnum["SubDivision"] = 8] = "SubDivision";
11
- })(GeometryTypeEnum || (GeometryTypeEnum = {}));
14
+ GeometryTypeEnum[GeometryTypeEnum["Market"] = 9] = "Market";
15
+ GeometryTypeEnum[GeometryTypeEnum["Country"] = 10] = "Country";
16
+ })(GeometryTypeEnum || (exports.GeometryTypeEnum = GeometryTypeEnum = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum BathroomTypeOperator {
2
+ Eq = 0,
3
+ Ge = 1,
4
+ Le = 2
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BathroomTypeOperator = void 0;
4
+ var BathroomTypeOperator;
5
+ (function (BathroomTypeOperator) {
6
+ BathroomTypeOperator[BathroomTypeOperator["Eq"] = 0] = "Eq";
7
+ BathroomTypeOperator[BathroomTypeOperator["Ge"] = 1] = "Ge";
8
+ BathroomTypeOperator[BathroomTypeOperator["Le"] = 2] = "Le";
9
+ })(BathroomTypeOperator || (exports.BathroomTypeOperator = BathroomTypeOperator = {}));
@@ -0,0 +1,8 @@
1
+ export declare enum BathroomType {
2
+ Full = "Full",
3
+ Half = "Half",
4
+ Total = "ToTal",
5
+ OneQuarter = "Operator",
6
+ ThreeQuarter = "ThreeQuarter",
7
+ TotalDecimal = "TotalDecimal"
8
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BathroomType = void 0;
4
+ var BathroomType;
5
+ (function (BathroomType) {
6
+ BathroomType["Full"] = "Full";
7
+ BathroomType["Half"] = "Half";
8
+ BathroomType["Total"] = "ToTal";
9
+ BathroomType["OneQuarter"] = "Operator";
10
+ BathroomType["ThreeQuarter"] = "ThreeQuarter";
11
+ BathroomType["TotalDecimal"] = "TotalDecimal";
12
+ })(BathroomType || (exports.BathroomType = BathroomType = {}));