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,17 +0,0 @@
1
- using Purlin.SAMLS.Integration.Model.Enums;
2
-
3
- namespace Purlin.SAMLS.Integration.Model.Listing;
4
- public class GetNearByListingsRequestModel
5
- {
6
- public long Id { get; set; }
7
- public int? Count { get; set; }
8
- public IEnumerable<ListingStatusEnum> Statuses { get; set; }
9
- public PhysicalPropertyClassEnum PhysicalPropertyClass { get; set; }
10
- public PriceIntervalModel PriceInterval { get; set; }
11
- }
12
-
13
- public class PriceIntervalModel
14
- {
15
- public int? Above { get; set; }
16
- public int? Below { get; set; }
17
- }
@@ -1,6 +0,0 @@
1
- namespace Purlin.SAMLS.Integration.Model.Listing;
2
-
3
- public class GetPhotosByIdsRequestModel
4
- {
5
- public IEnumerable<long> PhotoIds { get; set; }
6
- }
@@ -1,7 +0,0 @@
1
- namespace Purlin.SAMLS.Integration.Model.Listing;
2
-
3
- public class ListingDistancedModel : ListingModel
4
- {
5
- public IEnumerable<StyleModel> Styles { get; set; }
6
- public double? Distance { get; set; }
7
- }
@@ -1,88 +0,0 @@
1
- import {
2
- MLSEnum,
3
- CurrencyEnum,
4
- ListingTypeEnum,
5
- ListingStatusEnum,
6
- OwnershipTypeEnum,
7
- } from '../Enums';
8
- import { AddressDetailModel } from '../Address';
9
- import { AgentModel } from '../Agent';
10
- import { PropertyModel } from './PropertyModel';
11
- import { RentPriceModel } from './RentPriceModel';
12
- import { WalkScoreModel } from './WalkScoreModel';
13
- import { OpenHouseModel } from './OpenHouseModel';
14
- import { PhotoModel } from './PhotoModel';
15
- import { SchoolModel } from '../School';
16
-
17
- export class ListingModel {
18
- id: number = 0;
19
- availabilityDate: Date | null = null;
20
- buyerAgencyCompensation: number | null = null;
21
- buyerFinancing: string = '';
22
- closePrice: number | null = null;
23
- closeTimestamp: Date | null = null;
24
- cumulativeDaysOnMarket: number | null = null;
25
- currency: CurrencyEnum | null = null;
26
- daysOnMarket: number | null = null;
27
- disclosures: string = '';
28
- expirationDate: Date | null = null;
29
- internetAddressDisplayYN: boolean | null = null;
30
- internetAutomatedValuationDisplayYN: boolean | null = null;
31
- internetConsumerCommentYN: boolean | null = null;
32
- internetEntireListingDisplayYN: boolean | null = null;
33
- lastModificationTimestamp: Date | null = null;
34
- leaseTerm: string = '';
35
- listingAgreement: string = '';
36
- listingEntryTimestamp: Date | null = null;
37
- listingId: string = '';
38
- listingService: string = '';
39
- listingStatus: ListingStatusEnum | null = null;
40
- listingTerms: string = '';
41
- listingType: keyof typeof ListingTypeEnum | null = null;
42
- listPrice: number | null = null;
43
- pricePerSqFeet: number | null = null;
44
- listPriceOriginal: number | null = null;
45
- lockBoxLocation: string = '';
46
- lockBoxSerialNumber: string = '';
47
- lockBoxType: string = '';
48
- maxPrice: number | null = null;
49
- minPrice: number | null = null;
50
- mlsArea: string = '';
51
- mlsName: string = '';
52
- onMarketTimestamp: Date | null = null;
53
- offMarketTimestamp: Date | null = null;
54
- originalListingSource: string = '';
55
- originatingSystemKey: string = '';
56
- ownerPays: string = '';
57
- ownershipType: OwnershipTypeEnum | null = null;
58
- pendingTimestamp: Date | null = null;
59
- petDeposit: number | null = null;
60
- petsAllowedYN: boolean | null = null;
61
- photosChangeTimestamp: Date | null = null;
62
- photosCount: number = 0;
63
- priceChangeTimestamp: Date | null = null;
64
- privateRemarks: string = '';
65
- publicRemarks: string = '';
66
- purchaseContractDate: Date | null = null;
67
- showingContactName: string = '';
68
- showingContactPhone: string = '';
69
- showingContactPhoneExt: string = '';
70
- showingContactType: string = '';
71
- statusChangeTimestamp: Date | null = null;
72
- taxAnnualAmount: number | null = null;
73
- taxAssessedValue: number | null = null;
74
- taxYear: number | null = null;
75
- tenantPays: string = '';
76
- virtualTourURLBranded: string = ' ';
77
- virtualTourURLUnbranded: string = '';
78
- withdrawnDate: Date | null = null;
79
- sourceMlsId: MLSEnum | null = null;
80
- property: PropertyModel | null = null;
81
- addressDetail: AddressDetailModel | null = null;
82
- rentPrices: RentPriceModel | null = null;
83
- walkScores: WalkScoreModel | null = null;
84
- openHouses: OpenHouseModel[] | null = null;
85
- photos: PhotoModel[] | null = null;
86
- schools: SchoolModel[] | null = null;
87
- agents: AgentModel[] | null = null;
88
- }
@@ -1,16 +0,0 @@
1
- using Purlin.PData.Search;
2
- using Purlin.SAMLS.Integration.Model.Common;
3
- using System.Text.Json.Serialization;
4
-
5
- namespace Purlin.SAMLS.Integration.Model.Listing;
6
-
7
- public class ListingsLocationQueryModel : GlobalQueryModel
8
- {
9
- [JsonIgnore]
10
- public override bool Count { get; set; }
11
-
12
- [JsonIgnore]
13
- public override List<OrderingModel> Orderings { get; set; }
14
-
15
- public LocationOptions Location { get; set; }
16
- }
@@ -1,8 +0,0 @@
1
- using Purlin.SAMLS.Integration.Model.Common;
2
-
3
- namespace Purlin.SAMLS.Integration.Model.Listing;
4
-
5
- public class LocationOptions : LocationModel
6
- {
7
- public double? Radius { get; set; }
8
- }
@@ -1,37 +0,0 @@
1
- using Purlin.SAMLS.Integration.Model.Enums;
2
-
3
- namespace Purlin.SAMLS.Integration.Model.Listing;
4
-
5
- public class NearByListingsResponse
6
- {
7
- public NearByListingModel Listing { get; set; }
8
- public IEnumerable<NearByListingModel> NearByListings { get; set; }
9
- }
10
-
11
- public class NearByListingModel
12
- {
13
- public long Id { get; set; }
14
- public float? Latitude { get; set; }
15
- public float? Longitude { get; set; }
16
- public string PostalCode { get; set; }
17
- public string StateOrProvince { get; set; }
18
- public ListingTypeEnum ListingType { get; set; }
19
- public PhysicalPropertyTypeEnum PhysicalPropertyType { get; set; }
20
- public double? AssociationFee { get; set; }
21
- public double ListPrice { get; set; }
22
- public int? BedroomsTotal { get; set; }
23
- public int? BathroomsTotal { get; set; }
24
- public int? Stories { get; set; }
25
- public int? GarageSpaces { get; set; }
26
- public double? LivingAreaSquareFeet { get; set; }
27
- public int? YearBuilt { get; set; }
28
- public IEnumerable<string> Features { get; set; }
29
- public IEnumerable<NearByListingsStyleModel> Styles { get; set; }
30
- public double? Distance { get; set; }
31
- }
32
-
33
- public class NearByListingsStyleModel
34
- {
35
- public string Name { get; set; }
36
- public double Probability { get; set; }
37
- }
@@ -1,7 +0,0 @@
1
- namespace Purlin.SAMLS.Integration.Model.Listing;
2
-
3
- public class OpenHouseLiteModel
4
- {
5
- public DateTime? StartTime { get; set; }
6
- public DateTime? EndTime { get; set; }
7
- }
@@ -1,21 +0,0 @@
1
- //Fully cleaned
2
- export class OpenHouseModel {
3
- Key: string = '';
4
- Status: string = '';
5
- Type: string = '';
6
- Remarks: string = '';
7
- AttendedBy: string = '';
8
- LiveStreamUri: string = '';
9
- ShowingAgentKey: string = '';
10
- ShowingAgentMlsId: string = '';
11
- ShowingAgentLastName: string = '';
12
- RefreshmentsOrSnacks: string = '';
13
- ShowingAgentFirstName: string = '';
14
- LiveStreamDescription: string = '';
15
- EndTime: Date | null = null;
16
- StartTime: Date | null = null;
17
- LiveStreamEnd: Date | null = null;
18
- LiveStreamStart: Date | null = null;
19
- ModificationTimestamp: Date | null = null;
20
- AppointmentRequiredYN: boolean | null = null;
21
- }
@@ -1,10 +0,0 @@
1
- import { FeatureModel } from '../Feature';
2
-
3
- export class PhotoModel {
4
- Id: number = 0;
5
- Url: string = '';
6
- MlsUrl: string = '';
7
- Order: number = 0;
8
- CoreListingId: number = 0;
9
- Tags: FeatureModel[] | null = null;
10
- }
@@ -1,57 +0,0 @@
1
- //fully converted
2
- import {
3
- AssociationFeeFrequencyEnum,
4
- DirectionFacesEnum,
5
- PhysicalPropertyTypeEnum,
6
- PropertyConditionEnum,
7
- PropertyLevelEnum,
8
- } from '../Enums';
9
- import { StyleModel } from './';
10
- import { FeatureModel } from '../Feature';
11
-
12
- export class PropertyModel {
13
- AssociationFee: number | null = null;
14
- AssociationFeeFrequency: AssociationFeeFrequencyEnum | null = null;
15
- AssociationFeeIncludes: string = '';
16
- AssociationName: string = '';
17
- AssociationPhone: string = '';
18
- BasementDetails: string = '';
19
- BasementYN: boolean | null = null;
20
- BathroomsFull: number | null = null;
21
- BathroomsHalf: number | null = null;
22
- BathroomsOneQuarter: number | null = null;
23
- BathroomsPartial: number | null = null;
24
- BathroomsThreeQuarter: number | null = null;
25
- BathroomsTotal: number | null = null;
26
- BedroomsTotal: number | null = null;
27
- BuilderModel: string = '';
28
- BuilderName: string = '';
29
- BuildingName: string = '';
30
- DirectionFaces: DirectionFacesEnum | null = null;
31
- EntryLevel: number | null = null;
32
- FarmYN: boolean | null = null;
33
- FireplacesTotal: number | null = null;
34
- GarageInBuildingYN: boolean | null = null;
35
- GarageSpaces: number | null = null;
36
- Levels: PropertyLevelEnum | null = null;
37
- LivingAreaSquareFeet: number | null = null;
38
- LivingAreaSquareMeters: number | null = null;
39
- LotDescription: string = '';
40
- LotSizeAcres: number | null = null;
41
- LotSizeDimensions: string = '';
42
- LotSizeSquareFeet: number | null = null;
43
- NewConstructionYN: boolean | null = null;
44
- NumberOfUnits: number | null = null;
45
- ParcelNumber: string = '';
46
- ParkingTotal: number | null = null;
47
- PhysicalPropertyType: PhysicalPropertyTypeEnum | null = null;
48
- PoolPrivateYN: boolean | null = null;
49
- PropertyCondition: PropertyConditionEnum | null = null;
50
- RoofCondition: string = '';
51
- RoomsTotal: number | null = null;
52
- Stories: number | null = null;
53
- UniversalPropertyId: string = '';
54
- YearBuilt: number | null = null;
55
- Style: StyleModel | null = null;
56
- Features: FeatureModel[] | null = null;
57
- }
@@ -1,35 +0,0 @@
1
- //Fully cleaned
2
- export class RentPriceModel {
3
- JanuaryPrice: number | null = null;
4
- FebruaryPrice: number | null = null;
5
- MarchPrice: number | null = null;
6
- MarchToLDPrice: number | null = null;
7
- MarchAprilPrice: number | null = null;
8
- AprilPrice: number | null = null;
9
- AprilToLDPrice: number | null = null;
10
- AprilMayPrice: number | null = null;
11
- MayPrice: number | null = null;
12
- MayToLDPrice: number | null = null;
13
- MayJunePrice: number | null = null;
14
- MDToLDPrice: number | null = null;
15
- JunePrice: number | null = null;
16
- JuneToLDPrice: number | null = null;
17
- JuneJulyPrice: number | null = null;
18
- JulyPrice: number | null = null;
19
- JulyToLDPrice: number | null = null;
20
- JulyAugustPrice: number | null = null;
21
- AugustPrice: number | null = null;
22
- AugustToLDPrice: number | null = null;
23
- SeptemberPrice: number | null = null;
24
- OctoberPrice: number | null = null;
25
- NovemberPrice: number | null = null;
26
- DecemberPrice: number | null = null;
27
- WeeklyPrice: number | null = null;
28
- MonthlyPrice: number | null = null;
29
- YearlyPrice: number | null = null;
30
- ExtendedSeasonPrice: number | null = null;
31
- OffSeasonPrice: number | null = null;
32
- LowSeasonPrice: number | null = null;
33
- WinterPrice: number | null = null;
34
- FurnishedPrice: number | null = null;
35
- }
@@ -1,5 +0,0 @@
1
- //Fully cleaned
2
- export class StyleModel {
3
- Name: string = '';
4
- Probability: number = 0;
5
- }
@@ -1,10 +0,0 @@
1
- //Fully cleaned
2
- export class WalkScoreModel {
3
- WalkScore: number | null = null;
4
- WalkScoreDescription: string = '';
5
- TransitScore: number | null = null;
6
- TransitDescription = '';
7
- TransitDetailsSummary = '';
8
- BikeScore: number | null = null;
9
- BikeDescription: string = '';
10
- }
@@ -1,9 +0,0 @@
1
- //Fully cleaned
2
- export class MlsInfoModel {
3
- id: number = 0;
4
- mls: string = '';
5
- mlsName: string = '';
6
- publicLogoUrl: string = '';
7
- privateLogoUrl: string = '';
8
- isLogoRequired: boolean = false;
9
- }
@@ -1,4 +0,0 @@
1
- export enum Condition {
2
- And,
3
- Or,
4
- }
@@ -1,20 +0,0 @@
1
- import { Operator } from './Operator';
2
- import { Condition } from './Condition';
3
- import { Leaves } from '../../../globals';
4
-
5
- export class ConditionModel<T = any> {
6
- value: string | null = null;
7
- isNot: boolean = false;
8
- operator: Operator | null = null;
9
- nextProperty: string | null = null;
10
- subConditions: ConditionModel<T>[] = [];
11
- subCondition: Condition | null = null;
12
- nextCondition: Condition | null = null;
13
- property: (T extends any ? Leaves<T> : string) | null = null;
14
-
15
- constructor(data?: Partial<ConditionModel<T>>) {
16
- if (data) {
17
- Object.assign(this, data);
18
- }
19
- }
20
- }
@@ -1,4 +0,0 @@
1
- export interface IPagination<T> {
2
- data: T[];
3
- totalCount: number;
4
- }
@@ -1,14 +0,0 @@
1
- export enum Operator {
2
- Eq,
3
- Gt,
4
- Ge,
5
- Lt,
6
- Le,
7
- In,
8
- Sw,
9
- Ew,
10
- Like,
11
- IsNull,
12
- Any,
13
- All,
14
- }
@@ -1,12 +0,0 @@
1
- import { ConditionModel } from './ConditionModel';
2
-
3
- export class OrderingModel {
4
- property: string | null = null;
5
- isDescending: boolean = false;
6
- matchedConditions: ConditionModel[] = [];
7
-
8
- toString(): string {
9
- const direction = this.isDescending ? 'desc' : 'asc';
10
- return this.property !== null ? `p=${this.property},d=${direction}` : `c=${''},d=${direction}`; //TODO c
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- import { GeometryTypeEnum } from '../Enums';
2
-
3
- export class LimitModel {
4
- count: number = 0;
5
- type: GeometryTypeEnum | null = null;
6
-
7
- constructor(data?: Partial<LimitModel>) {
8
- if (data) {
9
- Object.assign(this, data);
10
- }
11
- }
12
- }
@@ -1,15 +0,0 @@
1
- import { LimitModel } from './LimitModel';
2
-
3
- export class PolygonFilterRequestModel {
4
- text: string = '';
5
- states: string[] = [];
6
- skipNullUrlKey: boolean = false;
7
- skipNullGeometry: boolean = false;
8
- limits: LimitModel[] = [];
9
-
10
- constructor(data?: Partial<PolygonFilterRequestModel>) {
11
- if (data) {
12
- Object.assign(this, data);
13
- }
14
- }
15
- }
@@ -1,15 +0,0 @@
1
- import { GeometryTypeEnum } from '../Enums';
2
- import { PolygonLiteResponseModel } from './PolygonLiteResponseModel';
3
-
4
- export type PolygonType = keyof typeof GeometryTypeEnum;
5
-
6
- export class PolygonFilterResponseModel {
7
- type: PolygonType | null = null;
8
- polygons: PolygonLiteResponseModel[] = [];
9
-
10
- constructor(data?: Partial<PolygonFilterResponseModel>) {
11
- if (data) {
12
- Object.assign(this, data);
13
- }
14
- }
15
- }
@@ -1,15 +0,0 @@
1
- export class PolygonLiteResponseModel {
2
- id: number = 0;
3
- name: string = '';
4
- shortName: string = '';
5
- urlKey: string = '';
6
- city: string = '';
7
- county: string = '';
8
- cityId: number | null = null;
9
- state: string = '';
10
- stateId: number | null = null;
11
- neighborhood: string = '';
12
- zip: string = '';
13
- weight: number = 0;
14
- stateShortName: string = '';
15
- }
@@ -1,22 +0,0 @@
1
- using NetTopologySuite.Geometries;
2
- using Purlin.SAMLS.Integration.Model.Enums;
3
-
4
- namespace Purlin.SAMLS.Integration.Model.Polygon;
5
-
6
- public class PolygonResponseModel
7
- {
8
- public int Id { get; set; }
9
- public string Name { get; set; }
10
- public string ShortName { get; set; }
11
- public GeometryTypeEnum Type { get; set; }
12
- public Geometry Geometry { get; set; }
13
- public string UrlKey { get; set; }
14
- public double Weight { get; set; }
15
- public string FIPSCode { get; set; }
16
- public int? StateId { get; set; }
17
- public string State { get; set; }
18
- public int? CityId { get; set; }
19
- public string City { get; set; }
20
- public string County { get; set; }
21
- public string Neighborhood { get; set; }
22
- }
@@ -1,12 +0,0 @@
1
- using Purlin.PData.Search;
2
-
3
- namespace Purlin.SAMLS.Integration.Model.Polygon;
4
-
5
- public class PolygonsQueryModel
6
- {
7
- public bool Count { get; set; }
8
- public List<ConditionModel> Conditions { get; set; }
9
- public List<OrderingModel> Orderings { get; set; }
10
- public int? Skip { get; set; }
11
- public int? Take { get; set; }
12
- }
@@ -1,14 +0,0 @@
1
- //Fully cleaned
2
- export class SchoolModel {
3
- State: string = '';
4
- Name: string = '';
5
- LowGrade: string = '';
6
- HighGrade: string = '';
7
- Lat: number | null = null;
8
- Lng: number | null = null;
9
- IsPrivate: boolean = false;
10
- Score: number | null = null;
11
- Level: number | null = null;
12
- Distance: number | null = null;
13
- StudentNumber: number | null = null;
14
- }
@@ -1,6 +0,0 @@
1
- namespace Purlin.SAMLS.Integration.Model.School;
2
-
3
- public class SchoolsByRadiusBatchRequestModel : SchoolsByRadiusRequestModel
4
- {
5
- public int Identifier { get; set; }
6
- }
@@ -1,10 +0,0 @@
1
- namespace Purlin.SAMLS.Integration.Model.School;
2
-
3
- public class SchoolsByRadiusRequestModel
4
- {
5
- public float Lat { get; set; }
6
- public float Lng { get; set; }
7
- public float Radius { get; set; }
8
- public int CountOfPublicSchools { get; set; }
9
- public int CountOfPrivateSchools { get; set; }
10
- }
File without changes
File without changes