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
@@ -0,0 +1,49 @@
1
+ import { AssociationFeeFrequencyEnum, DirectionFacesEnum, PhysicalPropertyTypeEnum, PropertyConditionEnum, PropertyLevelEnum } from '../Enums';
2
+ import { StyleModel } from './';
3
+ import { FeatureModel } from '../Feature';
4
+ export declare class PropertyModel {
5
+ associationFee: number | null;
6
+ associationFeeFrequency: AssociationFeeFrequencyEnum | null;
7
+ associationFeeIncludes: string;
8
+ associationName: string;
9
+ associationPhone: string;
10
+ basementDetails: string;
11
+ basementYN: boolean | null;
12
+ bathroomsFull: number | null;
13
+ bathroomsHalf: number | null;
14
+ bathroomsOneQuarter: number | null;
15
+ bathroomsPartial: number | null;
16
+ bathroomsThreeQuarter: number | null;
17
+ bathroomsTotal: number | null;
18
+ bedroomsTotal: number | null;
19
+ builderModel: string;
20
+ builderName: string;
21
+ buildingName: string;
22
+ directionFaces: DirectionFacesEnum | null;
23
+ entryLevel: number | null;
24
+ farmYN: boolean | null;
25
+ fireplacesTotal: number | null;
26
+ garageInBuildingYN: boolean | null;
27
+ garageSpaces: number | null;
28
+ levels: PropertyLevelEnum | null;
29
+ livingAreaSquareFeet: number | null;
30
+ livingAreaSquareMeters: number | null;
31
+ lotDescription: string;
32
+ lotSizeAcres: number | null;
33
+ lotSizeDimensions: string;
34
+ lotSizeSquareFeet: number | null;
35
+ newConstructionYN: boolean | null;
36
+ numberOfUnits: number | null;
37
+ parcelNumber: string;
38
+ parkingTotal: number | null;
39
+ physicalPropertyType: PhysicalPropertyTypeEnum | null;
40
+ poolPrivateYN: boolean | null;
41
+ propertyCondition: PropertyConditionEnum | null;
42
+ roofCondition: string;
43
+ roomsTotal: number | null;
44
+ stories: number | null;
45
+ universalPropertyId: string;
46
+ yearBuilt: number | null;
47
+ style: StyleModel | null;
48
+ features: FeatureModel[] | null;
49
+ }
@@ -0,0 +1,48 @@
1
+ export class PropertyModel {
2
+ constructor() {
3
+ this.associationFee = null;
4
+ this.associationFeeFrequency = null;
5
+ this.associationFeeIncludes = '';
6
+ this.associationName = '';
7
+ this.associationPhone = '';
8
+ this.basementDetails = '';
9
+ this.basementYN = null;
10
+ this.bathroomsFull = null;
11
+ this.bathroomsHalf = null;
12
+ this.bathroomsOneQuarter = null;
13
+ this.bathroomsPartial = null;
14
+ this.bathroomsThreeQuarter = null;
15
+ this.bathroomsTotal = null;
16
+ this.bedroomsTotal = null;
17
+ this.builderModel = '';
18
+ this.builderName = '';
19
+ this.buildingName = '';
20
+ this.directionFaces = null;
21
+ this.entryLevel = null;
22
+ this.farmYN = null;
23
+ this.fireplacesTotal = null;
24
+ this.garageInBuildingYN = null;
25
+ this.garageSpaces = null;
26
+ this.levels = null;
27
+ this.livingAreaSquareFeet = null;
28
+ this.livingAreaSquareMeters = null;
29
+ this.lotDescription = '';
30
+ this.lotSizeAcres = null;
31
+ this.lotSizeDimensions = '';
32
+ this.lotSizeSquareFeet = null;
33
+ this.newConstructionYN = null;
34
+ this.numberOfUnits = null;
35
+ this.parcelNumber = '';
36
+ this.parkingTotal = null;
37
+ this.physicalPropertyType = null;
38
+ this.poolPrivateYN = null;
39
+ this.propertyCondition = null;
40
+ this.roofCondition = '';
41
+ this.roomsTotal = null;
42
+ this.stories = null;
43
+ this.universalPropertyId = '';
44
+ this.yearBuilt = null;
45
+ this.style = null;
46
+ this.features = null;
47
+ }
48
+ }
@@ -0,0 +1,34 @@
1
+ export declare class RentPriceModel {
2
+ JanuaryPrice: number | null;
3
+ FebruaryPrice: number | null;
4
+ MarchPrice: number | null;
5
+ MarchToLDPrice: number | null;
6
+ MarchAprilPrice: number | null;
7
+ AprilPrice: number | null;
8
+ AprilToLDPrice: number | null;
9
+ AprilMayPrice: number | null;
10
+ MayPrice: number | null;
11
+ MayToLDPrice: number | null;
12
+ MayJunePrice: number | null;
13
+ MDToLDPrice: number | null;
14
+ JunePrice: number | null;
15
+ JuneToLDPrice: number | null;
16
+ JuneJulyPrice: number | null;
17
+ JulyPrice: number | null;
18
+ JulyToLDPrice: number | null;
19
+ JulyAugustPrice: number | null;
20
+ AugustPrice: number | null;
21
+ AugustToLDPrice: number | null;
22
+ SeptemberPrice: number | null;
23
+ OctoberPrice: number | null;
24
+ NovemberPrice: number | null;
25
+ DecemberPrice: number | null;
26
+ WeeklyPrice: number | null;
27
+ MonthlyPrice: number | null;
28
+ YearlyPrice: number | null;
29
+ ExtendedSeasonPrice: number | null;
30
+ OffSeasonPrice: number | null;
31
+ LowSeasonPrice: number | null;
32
+ WinterPrice: number | null;
33
+ FurnishedPrice: number | null;
34
+ }
@@ -0,0 +1,37 @@
1
+ //Fully cleaned
2
+ export class RentPriceModel {
3
+ constructor() {
4
+ this.JanuaryPrice = null;
5
+ this.FebruaryPrice = null;
6
+ this.MarchPrice = null;
7
+ this.MarchToLDPrice = null;
8
+ this.MarchAprilPrice = null;
9
+ this.AprilPrice = null;
10
+ this.AprilToLDPrice = null;
11
+ this.AprilMayPrice = null;
12
+ this.MayPrice = null;
13
+ this.MayToLDPrice = null;
14
+ this.MayJunePrice = null;
15
+ this.MDToLDPrice = null;
16
+ this.JunePrice = null;
17
+ this.JuneToLDPrice = null;
18
+ this.JuneJulyPrice = null;
19
+ this.JulyPrice = null;
20
+ this.JulyToLDPrice = null;
21
+ this.JulyAugustPrice = null;
22
+ this.AugustPrice = null;
23
+ this.AugustToLDPrice = null;
24
+ this.SeptemberPrice = null;
25
+ this.OctoberPrice = null;
26
+ this.NovemberPrice = null;
27
+ this.DecemberPrice = null;
28
+ this.WeeklyPrice = null;
29
+ this.MonthlyPrice = null;
30
+ this.YearlyPrice = null;
31
+ this.ExtendedSeasonPrice = null;
32
+ this.OffSeasonPrice = null;
33
+ this.LowSeasonPrice = null;
34
+ this.WinterPrice = null;
35
+ this.FurnishedPrice = null;
36
+ }
37
+ }
@@ -0,0 +1,4 @@
1
+ export declare class StyleModel {
2
+ Name: string;
3
+ Probability: number;
4
+ }
@@ -0,0 +1,7 @@
1
+ //Fully cleaned
2
+ export class StyleModel {
3
+ constructor() {
4
+ this.Name = '';
5
+ this.Probability = 0;
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ export declare class WalkScoreModel {
2
+ WalkScore: number | null;
3
+ WalkScoreDescription: string;
4
+ TransitScore: number | null;
5
+ TransitDescription: string;
6
+ TransitDetailsSummary: string;
7
+ BikeScore: number | null;
8
+ BikeDescription: string;
9
+ }
@@ -0,0 +1,12 @@
1
+ //Fully cleaned
2
+ export class WalkScoreModel {
3
+ constructor() {
4
+ this.WalkScore = null;
5
+ this.WalkScoreDescription = '';
6
+ this.TransitScore = null;
7
+ this.TransitDescription = '';
8
+ this.TransitDetailsSummary = '';
9
+ this.BikeScore = null;
10
+ this.BikeDescription = '';
11
+ }
12
+ }
@@ -0,0 +1,10 @@
1
+ export * from './ListingModel';
2
+ export * from './GetListingsByFilterRequestModel';
3
+ export * from './PropertyModel';
4
+ export * from './GetByMlsIdRequestModel';
5
+ export * from './GetByIdRequestModel';
6
+ export * from './StyleModel';
7
+ export * from './RentPriceModel';
8
+ export * from './WalkScoreModel';
9
+ export * from './OpenHouseModel';
10
+ export * from './PhotoModel';
@@ -0,0 +1,8 @@
1
+ export declare class MlsInfoModel {
2
+ id: number;
3
+ mls: string;
4
+ mlsName: string;
5
+ publicLogoUrl: string;
6
+ privateLogoUrl: string;
7
+ isLogoRequired: boolean;
8
+ }
@@ -0,0 +1,11 @@
1
+ //Fully cleaned
2
+ export class MlsInfoModel {
3
+ constructor() {
4
+ this.id = 0;
5
+ this.mls = '';
6
+ this.mlsName = '';
7
+ this.publicLogoUrl = '';
8
+ this.privateLogoUrl = '';
9
+ this.isLogoRequired = false;
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ export * from './MlsInfoModel';
@@ -0,0 +1 @@
1
+ export * from './models';
@@ -0,0 +1,4 @@
1
+ export declare enum Condition {
2
+ And = 0,
3
+ Or = 1
4
+ }
@@ -0,0 +1,5 @@
1
+ export var Condition;
2
+ (function (Condition) {
3
+ Condition[Condition["And"] = 0] = "And";
4
+ Condition[Condition["Or"] = 1] = "Or";
5
+ })(Condition || (Condition = {}));
@@ -0,0 +1,13 @@
1
+ import { Operator } from './Operator';
2
+ import { Condition } from './Condition';
3
+ export declare class ConditionModel {
4
+ value: string | null;
5
+ isNot: boolean;
6
+ operator: Operator | null;
7
+ nextProperty: string | null;
8
+ subConditions: ConditionModel[];
9
+ subCondition: Condition | null;
10
+ nextCondition: Condition | null;
11
+ property: string | null;
12
+ constructor(data?: Partial<ConditionModel>);
13
+ }
@@ -0,0 +1,15 @@
1
+ export class ConditionModel {
2
+ constructor(data) {
3
+ this.value = null;
4
+ this.isNot = false;
5
+ this.operator = null;
6
+ this.nextProperty = null;
7
+ this.subConditions = [];
8
+ this.subCondition = null;
9
+ this.nextCondition = null;
10
+ this.property = null;
11
+ if (data) {
12
+ Object.assign(this, data);
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,4 @@
1
+ export interface IPagination<T> {
2
+ data: T[];
3
+ totalCount: number;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ export declare enum Operator {
2
+ Eq = 0,
3
+ Gt = 1,
4
+ Ge = 2,
5
+ Lt = 3,
6
+ Le = 4,
7
+ In = 5,
8
+ Sw = 6,
9
+ Ew = 7,
10
+ Like = 8,
11
+ IsNull = 9,
12
+ Any = 10,
13
+ All = 11
14
+ }
@@ -0,0 +1,15 @@
1
+ export var Operator;
2
+ (function (Operator) {
3
+ Operator[Operator["Eq"] = 0] = "Eq";
4
+ Operator[Operator["Gt"] = 1] = "Gt";
5
+ Operator[Operator["Ge"] = 2] = "Ge";
6
+ Operator[Operator["Lt"] = 3] = "Lt";
7
+ Operator[Operator["Le"] = 4] = "Le";
8
+ Operator[Operator["In"] = 5] = "In";
9
+ Operator[Operator["Sw"] = 6] = "Sw";
10
+ Operator[Operator["Ew"] = 7] = "Ew";
11
+ Operator[Operator["Like"] = 8] = "Like";
12
+ Operator[Operator["IsNull"] = 9] = "IsNull";
13
+ Operator[Operator["Any"] = 10] = "Any";
14
+ Operator[Operator["All"] = 11] = "All";
15
+ })(Operator || (Operator = {}));
@@ -0,0 +1,7 @@
1
+ import { ConditionModel } from './ConditionModel';
2
+ export declare class OrderingModel {
3
+ property: string | null;
4
+ isDescending: boolean;
5
+ matchedConditions: ConditionModel[];
6
+ toString(): string;
7
+ }
@@ -0,0 +1,11 @@
1
+ export class OrderingModel {
2
+ constructor() {
3
+ this.property = null;
4
+ this.isDescending = false;
5
+ this.matchedConditions = [];
6
+ }
7
+ toString() {
8
+ const direction = this.isDescending ? 'desc' : 'asc';
9
+ return this.property !== null ? `p=${this.property},d=${direction}` : `c=${''},d=${direction}`; //TODO c
10
+ }
11
+ }
@@ -0,0 +1,5 @@
1
+ export * from './Operator';
2
+ export * from './Ordering';
3
+ export * from './Condition';
4
+ export * from './IPagination';
5
+ export * from './ConditionModel';
@@ -0,0 +1,6 @@
1
+ import { GeometryTypeEnum } from '../Enums';
2
+ export declare class LimitModel {
3
+ count: number;
4
+ type: GeometryTypeEnum | null;
5
+ constructor(data?: Partial<LimitModel>);
6
+ }
@@ -0,0 +1,9 @@
1
+ export class LimitModel {
2
+ constructor(data) {
3
+ this.count = 0;
4
+ this.type = null;
5
+ if (data) {
6
+ Object.assign(this, data);
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ import { LimitModel } from './LimitModel';
2
+ export declare class PolygonFilterRequestModel {
3
+ text: string;
4
+ states: string[];
5
+ skipNullUrlKey: boolean;
6
+ skipNullGeometry: boolean;
7
+ limits: LimitModel[];
8
+ constructor(data?: Partial<PolygonFilterRequestModel>);
9
+ }
@@ -0,0 +1,12 @@
1
+ export class PolygonFilterRequestModel {
2
+ constructor(data) {
3
+ this.text = '';
4
+ this.states = [];
5
+ this.skipNullUrlKey = false;
6
+ this.skipNullGeometry = false;
7
+ this.limits = [];
8
+ if (data) {
9
+ Object.assign(this, data);
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ import { GeometryTypeEnum } from '../Enums';
2
+ import { PolygonLiteResponseModel } from './PolygonLiteResponseModel';
3
+ export type PolygonType = keyof typeof GeometryTypeEnum;
4
+ export declare class PolygonFilterResponseModel {
5
+ type: PolygonType | null;
6
+ polygons: PolygonLiteResponseModel[];
7
+ constructor(data?: Partial<PolygonFilterResponseModel>);
8
+ }
@@ -0,0 +1,9 @@
1
+ export class PolygonFilterResponseModel {
2
+ constructor(data) {
3
+ this.type = null;
4
+ this.polygons = [];
5
+ if (data) {
6
+ Object.assign(this, data);
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,15 @@
1
+ export declare class PolygonLiteResponseModel {
2
+ id: number;
3
+ name: string;
4
+ shortName: string;
5
+ urlKey: string;
6
+ city: string;
7
+ county: string;
8
+ cityId: number | null;
9
+ state: string;
10
+ stateId: number | null;
11
+ neighborhood: string;
12
+ zip: string;
13
+ weight: number;
14
+ stateShortName: string;
15
+ }
@@ -0,0 +1,17 @@
1
+ export class PolygonLiteResponseModel {
2
+ constructor() {
3
+ this.id = 0;
4
+ this.name = '';
5
+ this.shortName = '';
6
+ this.urlKey = '';
7
+ this.city = '';
8
+ this.county = '';
9
+ this.cityId = null;
10
+ this.state = '';
11
+ this.stateId = null;
12
+ this.neighborhood = '';
13
+ this.zip = '';
14
+ this.weight = 0;
15
+ this.stateShortName = '';
16
+ }
17
+ }
@@ -0,0 +1,4 @@
1
+ export { LimitModel } from './LimitModel';
2
+ export { PolygonLiteResponseModel } from './PolygonLiteResponseModel';
3
+ export { PolygonFilterRequestModel } from './PolygonFilterRequestModel';
4
+ export { PolygonFilterResponseModel } from './PolygonFilterResponseModel';
File without changes
@@ -1,4 +1,5 @@
1
- // namespace Purlin.SAMLS.Integration.Model.School;
1
+ "use strict";
2
+ // namespace Purlin.SAMLS.Integration.Model.School;
2
3
  //
3
4
  // public class SchoolIdentifierModel
4
5
  // {
@@ -0,0 +1,13 @@
1
+ export declare class SchoolModel {
2
+ State: string;
3
+ Name: string;
4
+ LowGrade: string;
5
+ HighGrade: string;
6
+ Lat: number | null;
7
+ Lng: number | null;
8
+ IsPrivate: boolean;
9
+ Score: number | null;
10
+ Level: number | null;
11
+ Distance: number | null;
12
+ StudentNumber: number | null;
13
+ }
@@ -0,0 +1,16 @@
1
+ //Fully cleaned
2
+ export class SchoolModel {
3
+ constructor() {
4
+ this.State = '';
5
+ this.Name = '';
6
+ this.LowGrade = '';
7
+ this.HighGrade = '';
8
+ this.Lat = null;
9
+ this.Lng = null;
10
+ this.IsPrivate = false;
11
+ this.Score = null;
12
+ this.Level = null;
13
+ this.Distance = null;
14
+ this.StudentNumber = null;
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ export * from './SchoolModel';
@@ -0,0 +1,12 @@
1
+ export * from './Address';
2
+ export * from './Common';
3
+ export * from './Address/index';
4
+ export * from './Agent/index';
5
+ export * from './Entities/index';
6
+ export * from './Enums';
7
+ export * from './Feature';
8
+ export * from './Mls';
9
+ export * from './Listing';
10
+ export * from './Polygon';
11
+ export * from './PData';
12
+ export * from '../globals/models';
@@ -0,0 +1,8 @@
1
+ import { AddressDetail, ListingsClient, MlsClient } from '../clients';
2
+ import { PolygonClient } from '../clients/PolygonClient';
3
+ export declare class SamlsClient {
4
+ Mls: MlsClient;
5
+ Polygons: PolygonClient;
6
+ Listings: ListingsClient;
7
+ AddressDetails: AddressDetail;
8
+ }
@@ -1,11 +1,12 @@
1
1
  import { AddressDetail, ListingsClient, MlsClient } from '../clients';
2
2
  import { PolygonClient } from '../clients/PolygonClient';
3
-
4
3
  //TODO build is not completed
5
4
  //TODO and separate types in one file and remove src codes from library
6
5
  export class SamlsClient {
7
- Mls = new MlsClient();
8
- Polygons = new PolygonClient();
9
- Listings = new ListingsClient();
10
- AddressDetails = new AddressDetail();
6
+ constructor() {
7
+ this.Mls = new MlsClient();
8
+ this.Polygons = new PolygonClient();
9
+ this.Listings = new ListingsClient();
10
+ this.AddressDetails = new AddressDetail();
11
+ }
11
12
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "samls-js-integration",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "samls npm package",
5
- "main": "dist/node/samls.cjs",
6
- "types": "lib/index.ts",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "type-check": "tsc",
9
- "build": "rollup --config rollup.config.ts --configPlugin typescript",
9
+ "build": "tsc --project tsconfig.json",
10
+ "build:old": "rollup --config rollup.config.ts --configPlugin typescript",
10
11
  "publish-local": "npm run build && npm publish --registry http://localhost:4873"
11
12
  },
12
- "type": "module",
13
13
  "keywords": [
14
14
  "npm",
15
15
  "package"