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.
- package/README.md +6 -1
- package/dist/clients/AddressDetail.d.ts +5 -0
- package/dist/clients/AddressDetail.js +6 -0
- package/dist/clients/ListingsClient.d.ts +9 -0
- package/dist/clients/ListingsClient.js +18 -0
- package/dist/clients/MlsClient.d.ts +6 -0
- package/dist/clients/MlsClient.js +10 -0
- package/dist/clients/PolygonClient.d.ts +5 -0
- package/dist/clients/PolygonClient.js +7 -0
- package/dist/clients/index.js +3 -0
- package/dist/globals/HttpModule.d.ts +1 -0
- package/dist/globals/HttpModule.js +4 -0
- package/dist/globals/constants/url.d.ts +4 -0
- package/dist/globals/constants/url.js +4 -0
- package/dist/globals/index.js +3 -0
- package/dist/globals/models/IApiResponse.d.ts +5 -0
- package/dist/globals/models/IApiResponse.js +1 -0
- package/{lib/globals/models/index.ts → dist/globals/models/index.d.ts} +0 -1
- package/dist/globals/models/index.js +2 -0
- package/dist/index.js +2 -0
- package/dist/models/Address/AddressDetailModel.d.ts +37 -0
- package/dist/models/Address/AddressDetailModel.js +38 -0
- package/dist/models/Address/AddressQueryModel.d.ts +5 -0
- package/dist/models/Address/AddressQueryModel.js +8 -0
- package/dist/models/Address/index.js +2 -0
- package/dist/models/Agent/AgentInfoModel.d.ts +27 -0
- package/dist/models/Agent/AgentInfoModel.js +28 -0
- package/dist/models/Agent/AgentModel.d.ts +7 -0
- package/dist/models/Agent/AgentModel.js +8 -0
- package/dist/models/Agent/GetAgentRequestModel.d.ts +6 -0
- package/dist/models/Agent/GetAgentRequestModel.js +7 -0
- package/dist/models/Agent/GetAgentsRequestModel.d.ts +8 -0
- package/dist/models/Agent/GetAgentsRequestModel.js +10 -0
- package/dist/models/Agent/OfficeModel.d.ts +19 -0
- package/dist/models/Agent/OfficeModel.js +20 -0
- package/dist/models/Agent/index.js +5 -0
- package/dist/models/Common/GlobalQueryModel.d.ts +11 -0
- package/dist/models/Common/GlobalQueryModel.js +14 -0
- package/dist/models/Common/LocationModel.d.ts +4 -0
- package/dist/models/Common/LocationModel.js +6 -0
- package/dist/models/Common/PaginationOptions.d.ts +4 -0
- package/dist/models/Common/PaginationOptions.js +6 -0
- package/dist/models/Common/Point.d.ts +5 -0
- package/dist/models/Common/Point.js +7 -0
- package/dist/models/Common/index.js +5 -0
- package/dist/models/Entities/AddressDetail.d.ts +42 -0
- package/dist/models/Entities/AddressDetail.js +42 -0
- package/dist/models/Entities/AddressPolygon.d.ts +10 -0
- package/dist/models/Entities/AddressPolygon.js +10 -0
- package/dist/models/Entities/Entity.d.ts +6 -0
- package/dist/models/Entities/Entity.js +7 -0
- package/dist/models/Entities/Listing.d.ts +78 -0
- package/dist/models/Entities/Listing.js +3 -0
- package/dist/models/Entities/ListingOpenHouse.d.ts +24 -0
- package/dist/models/Entities/ListingOpenHouse.js +3 -0
- package/dist/models/Entities/ListingSchool.d.ts +9 -0
- package/dist/models/Entities/ListingSchool.js +9 -0
- package/dist/models/Entities/Polygon.d.ts +2 -0
- package/dist/models/Entities/Polygon.js +3 -0
- package/dist/models/Entities/Property.d.ts +2 -0
- package/dist/models/Entities/Property.js +3 -0
- package/dist/models/Entities/PropertyFeature.d.ts +2 -0
- package/dist/models/Entities/PropertyFeature.js +3 -0
- package/dist/models/Entities/School.d.ts +2 -0
- package/dist/models/Entities/School.js +3 -0
- package/dist/models/Entities/index.js +10 -0
- package/dist/models/Enums/AgentTypeEnum.d.ts +6 -0
- package/dist/models/Enums/AgentTypeEnum.js +7 -0
- package/dist/models/Enums/AssociationFeeFrequencyEnum.d.ts +13 -0
- package/dist/models/Enums/AssociationFeeFrequencyEnum.js +14 -0
- package/dist/models/Enums/AuthenticationTypeEnum.d.ts +6 -0
- package/dist/models/Enums/AuthenticationTypeEnum.js +7 -0
- package/dist/models/Enums/CurrencyEnum.d.ts +5 -0
- package/dist/models/Enums/CurrencyEnum.js +6 -0
- package/dist/models/Enums/DirectionFacesEnum.d.ts +11 -0
- package/dist/models/Enums/DirectionFacesEnum.js +12 -0
- package/dist/models/Enums/FeatureSourceEnum.d.ts +6 -0
- package/dist/models/Enums/FeatureSourceEnum.js +14 -0
- package/dist/models/Enums/GeometryTypeEnum.d.ts +10 -0
- package/dist/models/Enums/GeometryTypeEnum.js +11 -0
- package/dist/models/Enums/ListingStatusEnum.d.ts +15 -0
- package/dist/models/Enums/ListingStatusEnum.js +31 -0
- package/dist/models/Enums/ListingTypeClassEnum.d.ts +6 -0
- package/dist/models/Enums/ListingTypeClassEnum.js +6 -0
- package/dist/models/Enums/ListingTypeEnum.d.ts +16 -0
- package/dist/models/Enums/ListingTypeEnum.js +20 -0
- package/dist/models/Enums/MLSEnum.d.ts +38 -0
- package/dist/models/Enums/MLSEnum.js +39 -0
- package/dist/models/Enums/OrderByOptions.d.ts +6 -0
- package/dist/models/Enums/OrderByOptions.js +7 -0
- package/dist/models/Enums/OwnershipTypeEnum.d.ts +22 -0
- package/dist/models/Enums/OwnershipTypeEnum.js +26 -0
- package/dist/models/Enums/PhysicalPropertyClassEnum.d.ts +6 -0
- package/dist/models/Enums/PhysicalPropertyClassEnum.js +7 -0
- package/dist/models/Enums/PhysicalPropertyTypeEnum.d.ts +51 -0
- package/dist/models/Enums/PhysicalPropertyTypeEnum.js +55 -0
- package/dist/models/Enums/PlatformEnum.d.ts +6 -0
- package/dist/models/Enums/PlatformEnum.js +7 -0
- package/dist/models/Enums/ProcessingStatusEnum.d.ts +8 -0
- package/dist/models/Enums/ProcessingStatusEnum.js +9 -0
- package/dist/models/Enums/ProcessingTypeEnum.d.ts +5 -0
- package/dist/models/Enums/ProcessingTypeEnum.js +6 -0
- package/dist/models/Enums/PropertyConditionEnum.d.ts +17 -0
- package/dist/models/Enums/PropertyConditionEnum.js +21 -0
- package/dist/models/Enums/PropertyLevelEnum.d.ts +12 -0
- package/dist/models/Enums/PropertyLevelEnum.js +16 -0
- package/dist/models/Enums/StreetDirectionEnum.d.ts +11 -0
- package/dist/models/Enums/StreetDirectionEnum.js +15 -0
- package/dist/models/Enums/StreetSuffixEnum.d.ts +245 -0
- package/dist/models/Enums/StreetSuffixEnum.js +246 -0
- package/dist/models/Enums/index.js +22 -0
- package/dist/models/Feature/CategoryModel.d.ts +4 -0
- package/dist/models/Feature/CategoryModel.js +6 -0
- package/dist/models/Feature/FeatureModel.d.ts +9 -0
- package/dist/models/Feature/FeatureModel.js +9 -0
- package/dist/models/Feature/SubCategoryModel.d.ts +4 -0
- package/dist/models/Feature/SubCategoryModel.js +6 -0
- package/dist/models/Feature/index.js +3 -0
- package/dist/models/Listing/ClusteringFilterRequestBaseModel.d.ts +0 -0
- package/{lib/models/Listing/ClusteringFilterRequestBaseModel.ts → dist/models/Listing/ClusteringFilterRequestBaseModel.js} +2 -1
- package/dist/models/Listing/GetByIdRequestModel.d.ts +5 -0
- package/dist/models/Listing/GetByIdRequestModel.js +9 -0
- package/dist/models/Listing/GetByMlsIdRequestModel.d.ts +5 -0
- package/dist/models/Listing/GetByMlsIdRequestModel.js +9 -0
- package/dist/models/Listing/GetListingsByFilterRequestModel.d.ts +13 -0
- package/dist/models/Listing/GetListingsByFilterRequestModel.js +15 -0
- package/dist/models/Listing/ListingModel.d.ts +81 -0
- package/dist/models/Listing/ListingModel.js +75 -0
- package/dist/models/Listing/OpenHouseModel.d.ts +20 -0
- package/dist/models/Listing/OpenHouseModel.js +23 -0
- package/dist/models/Listing/PhotoModel.d.ts +10 -0
- package/dist/models/Listing/PhotoModel.js +13 -0
- package/dist/models/Listing/PropertyModel.d.ts +49 -0
- package/dist/models/Listing/PropertyModel.js +48 -0
- package/dist/models/Listing/RentPriceModel.d.ts +34 -0
- package/dist/models/Listing/RentPriceModel.js +37 -0
- package/dist/models/Listing/StyleModel.d.ts +4 -0
- package/dist/models/Listing/StyleModel.js +7 -0
- package/dist/models/Listing/WalkScoreModel.d.ts +9 -0
- package/dist/models/Listing/WalkScoreModel.js +12 -0
- package/dist/models/Listing/index.js +10 -0
- package/dist/models/Mls/MlsInfoModel.d.ts +8 -0
- package/dist/models/Mls/MlsInfoModel.js +11 -0
- package/dist/models/Mls/index.js +1 -0
- package/dist/models/PData/index.js +1 -0
- package/dist/models/PData/models/Condition.d.ts +4 -0
- package/dist/models/PData/models/Condition.js +5 -0
- package/dist/models/PData/models/ConditionModel.d.ts +13 -0
- package/dist/models/PData/models/ConditionModel.js +15 -0
- package/dist/models/PData/models/IPagination.d.ts +4 -0
- package/dist/models/PData/models/IPagination.js +1 -0
- package/dist/models/PData/models/Operator.d.ts +14 -0
- package/dist/models/PData/models/Operator.js +15 -0
- package/dist/models/PData/models/Ordering.d.ts +7 -0
- package/dist/models/PData/models/Ordering.js +11 -0
- package/dist/models/PData/models/index.js +5 -0
- package/dist/models/Polygon/LimitModel.d.ts +6 -0
- package/dist/models/Polygon/LimitModel.js +9 -0
- package/dist/models/Polygon/PolygonFilterRequestModel.d.ts +9 -0
- package/dist/models/Polygon/PolygonFilterRequestModel.js +12 -0
- package/dist/models/Polygon/PolygonFilterResponseModel.d.ts +8 -0
- package/dist/models/Polygon/PolygonFilterResponseModel.js +9 -0
- package/dist/models/Polygon/PolygonLiteResponseModel.d.ts +15 -0
- package/dist/models/Polygon/PolygonLiteResponseModel.js +17 -0
- package/dist/models/Polygon/index.js +4 -0
- package/dist/models/School/SchoolIdentifierModel.d.ts +0 -0
- package/{lib/models/School/SchoolIdentifierModel.ts → dist/models/School/SchoolIdentifierModel.js} +2 -1
- package/dist/models/School/SchoolModel.d.ts +13 -0
- package/dist/models/School/SchoolModel.js +16 -0
- package/dist/models/School/index.js +1 -0
- package/dist/models/index.js +12 -0
- package/dist/services/SamlsClient.d.ts +8 -0
- package/{lib/services/SamlsClient.ts → dist/services/SamlsClient.js} +6 -5
- package/package.json +5 -5
- package/dist/browser/samls.js +0 -1348
- package/dist/node/samls.cjs +0 -1345
- package/lib/clients/AddressDetail.ts +0 -10
- package/lib/clients/ListingsClient.ts +0 -36
- package/lib/clients/MlsClient.ts +0 -14
- package/lib/clients/PolygonClient.ts +0 -12
- package/lib/globals/HttpModule.ts +0 -6
- package/lib/globals/constants/url.ts +0 -4
- package/lib/globals/models/IApiResponse.ts +0 -5
- package/lib/globals/models/ObjectPropertyPathChecker.ts +0 -3
- package/lib/models/Address/AddressDetailModel.ts +0 -39
- package/lib/models/Address/AddressQueryModel.ts +0 -10
- package/lib/models/Agent/AgentInfoModel.ts +0 -28
- package/lib/models/Agent/AgentModel.ts +0 -8
- package/lib/models/Agent/GetAgentRequestModel.ts +0 -8
- package/lib/models/Agent/GetAgentsRequestModel.ts +0 -9
- package/lib/models/Agent/OfficeModel.ts +0 -20
- package/lib/models/Common/GlobalQueryModel.ts +0 -17
- package/lib/models/Common/LocationModel.ts +0 -4
- package/lib/models/Common/PaginationOptions.ts +0 -4
- package/lib/models/Common/Point.ts +0 -10
- package/lib/models/Entities/AddressDetail.ts +0 -46
- package/lib/models/Entities/AddressPolygon.ts +0 -11
- package/lib/models/Entities/Entity.ts +0 -11
- package/lib/models/Entities/Listing.ts +0 -87
- package/lib/models/Entities/ListingOpenHouse.ts +0 -26
- package/lib/models/Entities/ListingSchool.ts +0 -10
- package/lib/models/Entities/Polygon.ts +0 -23
- package/lib/models/Entities/Property.ts +0 -60
- package/lib/models/Entities/PropertyFeature.ts +0 -13
- package/lib/models/Entities/School.ts +0 -19
- package/lib/models/Enums/AgentTypeEnum.ts +0 -7
- package/lib/models/Enums/AssociationFeeFrequencyEnum.ts +0 -13
- package/lib/models/Enums/AuthenticationTypeEnum.ts +0 -6
- package/lib/models/Enums/CurrencyEnum.ts +0 -5
- package/lib/models/Enums/DirectionFacesEnum.ts +0 -11
- package/lib/models/Enums/FeatureSourceEnum.ts +0 -15
- package/lib/models/Enums/GeometryTypeEnum.ts +0 -10
- package/lib/models/Enums/ListingStatusEnum.ts +0 -35
- package/lib/models/Enums/ListingTypeClassEnum.ts +0 -7
- package/lib/models/Enums/ListingTypeEnum.ts +0 -20
- package/lib/models/Enums/MLSEnum.ts +0 -38
- package/lib/models/Enums/OrderByOptions.ts +0 -6
- package/lib/models/Enums/OwnershipTypeEnum.ts +0 -26
- package/lib/models/Enums/PhysicalPropertyClassEnum.ts +0 -6
- package/lib/models/Enums/PhysicalPropertyTypeEnum.ts +0 -55
- package/lib/models/Enums/PlatformEnum.ts +0 -6
- package/lib/models/Enums/ProcessingStatusEnum.ts +0 -8
- package/lib/models/Enums/ProcessingTypeEnum.ts +0 -5
- package/lib/models/Enums/PropertyConditionEnum.ts +0 -21
- package/lib/models/Enums/PropertyLevelEnum.ts +0 -16
- package/lib/models/Enums/StreetDirectionEnum.ts +0 -15
- package/lib/models/Enums/StreetSuffixEnum.ts +0 -245
- package/lib/models/Feature/CategoryModel.ts +0 -4
- package/lib/models/Feature/FeatureModel.ts +0 -11
- package/lib/models/Feature/SubCategoryModel.ts +0 -4
- package/lib/models/Listing/ClusteringFilterResponseModel.cs +0 -29
- package/lib/models/Listing/GetByAddressRequestModel.cs +0 -21
- package/lib/models/Listing/GetByAgentRequestModel.cs +0 -13
- package/lib/models/Listing/GetByIdRequestModel.ts +0 -12
- package/lib/models/Listing/GetByMlsIdRequestModel.ts +0 -12
- package/lib/models/Listing/GetListingsByFilterRequestModel.ts +0 -19
- package/lib/models/Listing/GetMapListingsRequestModel.cs +0 -16
- package/lib/models/Listing/GetNearByListingsRequestModel.cs +0 -17
- package/lib/models/Listing/GetPhotosByIdsRequestModel.cs +0 -6
- package/lib/models/Listing/ListingDistancedModel.cs +0 -7
- package/lib/models/Listing/ListingModel.ts +0 -88
- package/lib/models/Listing/ListingsLocationQueryModel.cs +0 -16
- package/lib/models/Listing/LocationOptions.cs +0 -8
- package/lib/models/Listing/NearByListingsResponse.cs +0 -37
- package/lib/models/Listing/OpenHouseLiteModel.cs +0 -7
- package/lib/models/Listing/OpenHouseModel.ts +0 -21
- package/lib/models/Listing/PhotoModel.ts +0 -10
- package/lib/models/Listing/PropertyModel.ts +0 -57
- package/lib/models/Listing/RentPriceModel.ts +0 -35
- package/lib/models/Listing/StyleModel.ts +0 -5
- package/lib/models/Listing/WalkScoreModel.ts +0 -10
- package/lib/models/Mls/MlsInfoModel.ts +0 -9
- package/lib/models/PData/models/Condition.ts +0 -4
- package/lib/models/PData/models/ConditionModel.ts +0 -20
- package/lib/models/PData/models/IPagination.ts +0 -4
- package/lib/models/PData/models/Operator.ts +0 -14
- package/lib/models/PData/models/Ordering.ts +0 -12
- package/lib/models/Polygon/LimitModel.ts +0 -12
- package/lib/models/Polygon/PolygonFilterRequestModel.ts +0 -15
- package/lib/models/Polygon/PolygonFilterResponseModel.ts +0 -15
- package/lib/models/Polygon/PolygonLiteResponseModel.ts +0 -15
- package/lib/models/Polygon/PolygonResponseModel.cs +0 -22
- package/lib/models/Polygon/PolygonsQueryModel.cs +0 -12
- package/lib/models/School/SchoolModel.ts +0 -14
- package/lib/models/School/SchoolsByRadiusBatchRequestModel.cs +0 -6
- package/lib/models/School/SchoolsByRadiusRequestModel.cs +0 -10
- /package/{lib/clients/index.ts → dist/clients/index.d.ts} +0 -0
- /package/{lib/globals/index.ts → dist/globals/index.d.ts} +0 -0
- /package/{lib/index.ts → dist/index.d.ts} +0 -0
- /package/{lib/models/Address/index.ts → dist/models/Address/index.d.ts} +0 -0
- /package/{lib/models/Agent/index.ts → dist/models/Agent/index.d.ts} +0 -0
- /package/{lib/models/Common/index.ts → dist/models/Common/index.d.ts} +0 -0
- /package/{lib/models/Entities/index.ts → dist/models/Entities/index.d.ts} +0 -0
- /package/{lib/models/Enums/index.ts → dist/models/Enums/index.d.ts} +0 -0
- /package/{lib/models/Feature/index.ts → dist/models/Feature/index.d.ts} +0 -0
- /package/{lib/models/Listing/index.ts → dist/models/Listing/index.d.ts} +0 -0
- /package/{lib/models/Mls/index.ts → dist/models/Mls/index.d.ts} +0 -0
- /package/{lib/models/PData/index.ts → dist/models/PData/index.d.ts} +0 -0
- /package/{lib/models/PData/models/index.ts → dist/models/PData/models/index.d.ts} +0 -0
- /package/{lib/models/Polygon/index.ts → dist/models/Polygon/index.d.ts} +0 -0
- /package/{lib/models/School/index.ts → dist/models/School/index.d.ts} +0 -0
- /package/{lib/models/index.ts → dist/models/index.d.ts} +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export enum ListingStatusEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
Other = 0,
|
|
4
|
-
Active,
|
|
5
|
-
ActiveUnderContract,
|
|
6
|
-
Auction,
|
|
7
|
-
ComingSoon,
|
|
8
|
-
Closed,
|
|
9
|
-
Expired,
|
|
10
|
-
Withdrawn,
|
|
11
|
-
Pending,
|
|
12
|
-
Cancelled,
|
|
13
|
-
TemporaryOffMarket,
|
|
14
|
-
Incomplete,
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Extension methods
|
|
18
|
-
function IsActiveListing(status: ListingStatusEnum): boolean {
|
|
19
|
-
return (
|
|
20
|
-
status === ListingStatusEnum.Active ||
|
|
21
|
-
status === ListingStatusEnum.ActiveUnderContract ||
|
|
22
|
-
status === ListingStatusEnum.Auction ||
|
|
23
|
-
status === ListingStatusEnum.ComingSoon
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function IsArchiveListing(status: ListingStatusEnum): boolean {
|
|
28
|
-
return !IsActiveListing(status);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// // Usage example
|
|
32
|
-
// const status: ListingStatusEnum = ListingStatusEnum.Active;
|
|
33
|
-
// console.log(listingStatusDisplayNames[status]); // "Active"
|
|
34
|
-
// console.log(IsActiveListing(status)); // true
|
|
35
|
-
// console.log(IsArchiveListing(status)); // false
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export enum ListingTypeEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
Other,
|
|
4
|
-
CommercialLease,
|
|
5
|
-
CommercialSale,
|
|
6
|
-
FarmSale,
|
|
7
|
-
FarmLease,
|
|
8
|
-
LandSale,
|
|
9
|
-
LandLease,
|
|
10
|
-
ResidentialSale,
|
|
11
|
-
ResidentialLease,
|
|
12
|
-
ResidentialIncome,
|
|
13
|
-
BoatDockSale,
|
|
14
|
-
BoatDockLease,
|
|
15
|
-
BusinessOpportunity,
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// // Usage example
|
|
19
|
-
// const typeName: ListingTypeEnum = ListingTypeEnum.ResidentialSale;
|
|
20
|
-
// console.log(listingTypeEnumDisplayNames[typeName]); // "Residential sale"
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export enum MLSEnum {
|
|
2
|
-
HAR = 1,
|
|
3
|
-
ONEKEY,
|
|
4
|
-
STELLAR,
|
|
5
|
-
MLSPIN,
|
|
6
|
-
NABOR,
|
|
7
|
-
MIAMIRE,
|
|
8
|
-
REBNY,
|
|
9
|
-
GLVAR,
|
|
10
|
-
FTL,
|
|
11
|
-
ACTRIS,
|
|
12
|
-
RAIRC,
|
|
13
|
-
BCS,
|
|
14
|
-
CTEXAS,
|
|
15
|
-
CRMLS,
|
|
16
|
-
RAMC,
|
|
17
|
-
AGS,
|
|
18
|
-
PBB,
|
|
19
|
-
NEFAR,
|
|
20
|
-
VAIL,
|
|
21
|
-
MOMLS,
|
|
22
|
-
SBR,
|
|
23
|
-
GRW,
|
|
24
|
-
IRESDS,
|
|
25
|
-
RECO,
|
|
26
|
-
SABOR,
|
|
27
|
-
NTREIS,
|
|
28
|
-
HCMLS,
|
|
29
|
-
CLAW,
|
|
30
|
-
NJMLS,
|
|
31
|
-
GSMLS,
|
|
32
|
-
MLSL,
|
|
33
|
-
SMART,
|
|
34
|
-
BRIGHT,
|
|
35
|
-
NCB,
|
|
36
|
-
OEAST,
|
|
37
|
-
EELI,
|
|
38
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export enum OwnershipTypeEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
CoOp = 1,
|
|
4
|
-
CondoMinium, //TODO this was Condominium after convertion
|
|
5
|
-
Corporation,
|
|
6
|
-
FeeSimple,
|
|
7
|
-
Fractional,
|
|
8
|
-
Franchise,
|
|
9
|
-
HomeownerAssociation,
|
|
10
|
-
JointTenancy,
|
|
11
|
-
Partnership,
|
|
12
|
-
Private,
|
|
13
|
-
SoleProprietor,
|
|
14
|
-
TenancyByEntirety,
|
|
15
|
-
TenancyInCommon,
|
|
16
|
-
Timeshare,
|
|
17
|
-
LimitedPartnership,
|
|
18
|
-
REO,
|
|
19
|
-
CorporateRELOOwned,
|
|
20
|
-
HUDOwned,
|
|
21
|
-
VAOwned,
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// // Usage example
|
|
25
|
-
// const ownershipType: OwnershipTypeEnum = OwnershipTypeEnum.FeeSimple;
|
|
26
|
-
// console.log(ownershipTypeEnumDisplayNames[ownershipType]); // "Fee Simple"
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export enum PhysicalPropertyTypeEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
Other = 0,
|
|
4
|
-
HighRise,
|
|
5
|
-
Apartment,
|
|
6
|
-
Attached,
|
|
7
|
-
CoOp,
|
|
8
|
-
Condominium,
|
|
9
|
-
DetachedSingle,
|
|
10
|
-
Duplex,
|
|
11
|
-
Fourplex,
|
|
12
|
-
ManufacturedHome,
|
|
13
|
-
MixedUse,
|
|
14
|
-
MobileHome,
|
|
15
|
-
ModularHome,
|
|
16
|
-
MultiFamily,
|
|
17
|
-
Residential,
|
|
18
|
-
SingleFamily,
|
|
19
|
-
Timeshare,
|
|
20
|
-
Townhouse,
|
|
21
|
-
Triplex,
|
|
22
|
-
Villa,
|
|
23
|
-
AgriculturalLand,
|
|
24
|
-
BoatSlip,
|
|
25
|
-
Business,
|
|
26
|
-
Commercial,
|
|
27
|
-
DeededParking,
|
|
28
|
-
Farm,
|
|
29
|
-
HotelMotel,
|
|
30
|
-
Industrial,
|
|
31
|
-
Office,
|
|
32
|
-
Recreation,
|
|
33
|
-
Restaurant,
|
|
34
|
-
Retail,
|
|
35
|
-
SitePlanned,
|
|
36
|
-
SpecialPurpose,
|
|
37
|
-
StockCooperative,
|
|
38
|
-
Warehouse,
|
|
39
|
-
CommercialLand,
|
|
40
|
-
ImprovedLand,
|
|
41
|
-
Land,
|
|
42
|
-
MultifamilyLot,
|
|
43
|
-
MultipleParcels,
|
|
44
|
-
RVLot,
|
|
45
|
-
SingleFamilyLot,
|
|
46
|
-
UnimprovedLand,
|
|
47
|
-
RanchLand,
|
|
48
|
-
AccessoryApartment,
|
|
49
|
-
GarageApartment,
|
|
50
|
-
PUD,
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Usage example
|
|
54
|
-
// const propertyType: PhysicalPropertyTypeEnum = PhysicalPropertyTypeEnum.DetachedSingleFamilyResidence;
|
|
55
|
-
// console.log(physicalPropertyTypeEnumDisplayNames[propertyType]); // "Detached single family residence"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export enum PropertyConditionEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
ToBeBuilt = 1, // Display Name: "To Be Built"
|
|
4
|
-
UnderConstruction, // Display Name: "Under Construction"
|
|
5
|
-
Resale, // Display Name: "Resale"
|
|
6
|
-
NewConstruction, // Display Name: "New Construction"
|
|
7
|
-
UpdatedOrRemodeled, // Display Name: "Updated or Remodeled"
|
|
8
|
-
TeardownValueinLand, // Display Name: "Teardown / Value in Land"
|
|
9
|
-
FixerUpper, // Display Name: "Fixer-upper"
|
|
10
|
-
Good, // Display Name: "Good"
|
|
11
|
-
Excellent, // Display Name: "Excellent"
|
|
12
|
-
VeryGood, // Display Name: "Very Good"
|
|
13
|
-
Poor, // Display Name: "Poor"
|
|
14
|
-
Average, // Display Name: "Average"
|
|
15
|
-
Unknown, // Display Name: "Unknown"
|
|
16
|
-
SeeRemarks, // Display Name: "See Remarks"
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Usage example
|
|
20
|
-
// const condition: PropertyConditionEnum = PropertyConditionEnum.NewConstruction;
|
|
21
|
-
// console.log(propertyConditionEnumDisplayNames[condition]); // "New Construction"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export enum PropertyLevelEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
Other,
|
|
4
|
-
One,
|
|
5
|
-
Two,
|
|
6
|
-
OneAndHalf,
|
|
7
|
-
TwoAndHalf,
|
|
8
|
-
ThreeOrMore,
|
|
9
|
-
SplitLevel,
|
|
10
|
-
SplitEntry,
|
|
11
|
-
FrontToBackSplit,
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Usage example
|
|
15
|
-
// const level: PropertyLevelEnum = PropertyLevelEnum.Two;
|
|
16
|
-
// console.log(propertyLevelEnumDisplayNames[level]);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export enum StreetDirectionEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
North = 1,
|
|
4
|
-
NorthEast,
|
|
5
|
-
East,
|
|
6
|
-
SouthEast,
|
|
7
|
-
South,
|
|
8
|
-
SouthWest,
|
|
9
|
-
West,
|
|
10
|
-
NorthWest,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Usage example
|
|
14
|
-
// const direction: StreetDirectionEnum = StreetDirectionEnum.East;
|
|
15
|
-
// console.log(streetDirectionEnumDisplayNames[direction]); // "E"
|
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
export enum StreetSuffixEnum {
|
|
2
|
-
NotMapped = -1,
|
|
3
|
-
Alley = 1,
|
|
4
|
-
Anex,
|
|
5
|
-
Arcade,
|
|
6
|
-
Avenue,
|
|
7
|
-
Bayou,
|
|
8
|
-
Beach,
|
|
9
|
-
Bend,
|
|
10
|
-
Bluff,
|
|
11
|
-
Bluffs,
|
|
12
|
-
Bottom,
|
|
13
|
-
Boulevard,
|
|
14
|
-
Branch,
|
|
15
|
-
Bridge,
|
|
16
|
-
Brook,
|
|
17
|
-
Bypass,
|
|
18
|
-
Camp,
|
|
19
|
-
Canyon,
|
|
20
|
-
Cape,
|
|
21
|
-
Causeway,
|
|
22
|
-
Center,
|
|
23
|
-
Circle,
|
|
24
|
-
Circles,
|
|
25
|
-
Cliff,
|
|
26
|
-
Cliffs,
|
|
27
|
-
Club,
|
|
28
|
-
Common,
|
|
29
|
-
Commons,
|
|
30
|
-
Corner,
|
|
31
|
-
Corners,
|
|
32
|
-
Course,
|
|
33
|
-
Court,
|
|
34
|
-
Courts,
|
|
35
|
-
Cove,
|
|
36
|
-
Coves,
|
|
37
|
-
Creek,
|
|
38
|
-
Crescent,
|
|
39
|
-
Crest,
|
|
40
|
-
Crossing,
|
|
41
|
-
Crossroad,
|
|
42
|
-
Crossroads,
|
|
43
|
-
Curve,
|
|
44
|
-
Dale,
|
|
45
|
-
Dam,
|
|
46
|
-
Divide,
|
|
47
|
-
Drive,
|
|
48
|
-
Drives,
|
|
49
|
-
Estate,
|
|
50
|
-
Estates,
|
|
51
|
-
Expressway,
|
|
52
|
-
Extension,
|
|
53
|
-
Fall,
|
|
54
|
-
Falls,
|
|
55
|
-
Ferry,
|
|
56
|
-
Field,
|
|
57
|
-
Fields,
|
|
58
|
-
Flat,
|
|
59
|
-
Flats,
|
|
60
|
-
Ford,
|
|
61
|
-
Forest,
|
|
62
|
-
Forge,
|
|
63
|
-
Fork,
|
|
64
|
-
Fort,
|
|
65
|
-
Freeway,
|
|
66
|
-
Garden,
|
|
67
|
-
Gardens,
|
|
68
|
-
Gateway,
|
|
69
|
-
Glen,
|
|
70
|
-
Green,
|
|
71
|
-
Greens,
|
|
72
|
-
Grove,
|
|
73
|
-
Harbor,
|
|
74
|
-
Haven,
|
|
75
|
-
Heights,
|
|
76
|
-
Highway,
|
|
77
|
-
Hill,
|
|
78
|
-
Hills,
|
|
79
|
-
Hollow,
|
|
80
|
-
Island,
|
|
81
|
-
Islands,
|
|
82
|
-
Isle,
|
|
83
|
-
Junction,
|
|
84
|
-
Key,
|
|
85
|
-
Knoll,
|
|
86
|
-
Knolls,
|
|
87
|
-
Lake,
|
|
88
|
-
Lakes,
|
|
89
|
-
Land,
|
|
90
|
-
Landing,
|
|
91
|
-
Lane,
|
|
92
|
-
Light,
|
|
93
|
-
Lights,
|
|
94
|
-
Lock,
|
|
95
|
-
Lodge,
|
|
96
|
-
Loop,
|
|
97
|
-
Mall,
|
|
98
|
-
Manor,
|
|
99
|
-
Meadow,
|
|
100
|
-
Meadows,
|
|
101
|
-
Mews,
|
|
102
|
-
Mill,
|
|
103
|
-
Mills,
|
|
104
|
-
Mission,
|
|
105
|
-
Mount,
|
|
106
|
-
Mountain,
|
|
107
|
-
Neck,
|
|
108
|
-
Orchard,
|
|
109
|
-
Oval,
|
|
110
|
-
Overpass,
|
|
111
|
-
Park,
|
|
112
|
-
Parkway,
|
|
113
|
-
Pass,
|
|
114
|
-
Passage,
|
|
115
|
-
Path,
|
|
116
|
-
Pike,
|
|
117
|
-
Pine,
|
|
118
|
-
Pines,
|
|
119
|
-
Place,
|
|
120
|
-
Plain,
|
|
121
|
-
Plains,
|
|
122
|
-
Plaza,
|
|
123
|
-
Point,
|
|
124
|
-
Port,
|
|
125
|
-
Prairie,
|
|
126
|
-
Radial,
|
|
127
|
-
Ranch,
|
|
128
|
-
Rapid,
|
|
129
|
-
Rapids,
|
|
130
|
-
Rest,
|
|
131
|
-
Ridge,
|
|
132
|
-
Ridges,
|
|
133
|
-
River,
|
|
134
|
-
Road,
|
|
135
|
-
Roads,
|
|
136
|
-
Route,
|
|
137
|
-
Row,
|
|
138
|
-
Rue,
|
|
139
|
-
Run,
|
|
140
|
-
Shoal,
|
|
141
|
-
Shore,
|
|
142
|
-
Shores,
|
|
143
|
-
Skyway,
|
|
144
|
-
Spring,
|
|
145
|
-
Springs,
|
|
146
|
-
Spur,
|
|
147
|
-
Square,
|
|
148
|
-
Station,
|
|
149
|
-
Stravenue,
|
|
150
|
-
Stream,
|
|
151
|
-
Street,
|
|
152
|
-
Streets,
|
|
153
|
-
Summit,
|
|
154
|
-
Terrace,
|
|
155
|
-
Trace,
|
|
156
|
-
Track,
|
|
157
|
-
Trail,
|
|
158
|
-
Trailer,
|
|
159
|
-
Turnpike,
|
|
160
|
-
Valley,
|
|
161
|
-
Viaduct,
|
|
162
|
-
View,
|
|
163
|
-
Views,
|
|
164
|
-
Village,
|
|
165
|
-
Villages,
|
|
166
|
-
Ville,
|
|
167
|
-
Vista,
|
|
168
|
-
Walk,
|
|
169
|
-
Way,
|
|
170
|
-
Ways,
|
|
171
|
-
Well,
|
|
172
|
-
Wells,
|
|
173
|
-
Brooks,
|
|
174
|
-
Burg,
|
|
175
|
-
Burgs,
|
|
176
|
-
Centers,
|
|
177
|
-
Extensions,
|
|
178
|
-
Fords,
|
|
179
|
-
Forges,
|
|
180
|
-
Forks,
|
|
181
|
-
Glens,
|
|
182
|
-
Groves,
|
|
183
|
-
Harbors,
|
|
184
|
-
Inlet,
|
|
185
|
-
Junctions,
|
|
186
|
-
Keys,
|
|
187
|
-
Loaf,
|
|
188
|
-
Locks,
|
|
189
|
-
Manors,
|
|
190
|
-
Motorway,
|
|
191
|
-
Mountains,
|
|
192
|
-
Parks,
|
|
193
|
-
Parkways,
|
|
194
|
-
Points,
|
|
195
|
-
Ports,
|
|
196
|
-
Ramp,
|
|
197
|
-
Shoals,
|
|
198
|
-
Spurs,
|
|
199
|
-
Squares,
|
|
200
|
-
Throughway,
|
|
201
|
-
Trafficway,
|
|
202
|
-
Tunnel,
|
|
203
|
-
Underpass,
|
|
204
|
-
Union,
|
|
205
|
-
Unions,
|
|
206
|
-
Valleys,
|
|
207
|
-
Walks,
|
|
208
|
-
Wall,
|
|
209
|
-
AveCir,
|
|
210
|
-
AveCt,
|
|
211
|
-
AveDr,
|
|
212
|
-
AveLn,
|
|
213
|
-
AvePkwy,
|
|
214
|
-
AvePl,
|
|
215
|
-
AveRd,
|
|
216
|
-
AveWay,
|
|
217
|
-
Bay,
|
|
218
|
-
Cay,
|
|
219
|
-
CirCt,
|
|
220
|
-
CirDr,
|
|
221
|
-
Crossway,
|
|
222
|
-
CtRd,
|
|
223
|
-
DrRd,
|
|
224
|
-
LnCt,
|
|
225
|
-
LnRd,
|
|
226
|
-
PlCt,
|
|
227
|
-
PlDr,
|
|
228
|
-
SqDr,
|
|
229
|
-
StCir,
|
|
230
|
-
StCt,
|
|
231
|
-
StDr,
|
|
232
|
-
StLn,
|
|
233
|
-
StPl,
|
|
234
|
-
StRd,
|
|
235
|
-
Downs,
|
|
236
|
-
Gate,
|
|
237
|
-
Prom,
|
|
238
|
-
Via,
|
|
239
|
-
Woods,
|
|
240
|
-
Close,
|
|
241
|
-
Trails,
|
|
242
|
-
Mile,
|
|
243
|
-
Chase,
|
|
244
|
-
LaneSpur,
|
|
245
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//Fully Cleaned
|
|
2
|
-
import { CategoryModel } from './CategoryModel';
|
|
3
|
-
import { SubCategoryModel } from './SubCategoryModel';
|
|
4
|
-
|
|
5
|
-
export class FeatureModel {
|
|
6
|
-
id: number = 0;
|
|
7
|
-
name: string = '';
|
|
8
|
-
weight: number = 0;
|
|
9
|
-
category: CategoryModel | null = null;
|
|
10
|
-
subCategory: SubCategoryModel | null = null;
|
|
11
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
using Purlin.SAMLS.Integration.Model.Enums;
|
|
2
|
-
|
|
3
|
-
namespace Purlin.SAMLS.Integration.Model.Listing;
|
|
4
|
-
|
|
5
|
-
public class ClusteringFilterResponseModel
|
|
6
|
-
{
|
|
7
|
-
public int TotalCount { get; set; }
|
|
8
|
-
public IEnumerable<MarkerInfo> MarkersInfo { get; set; }
|
|
9
|
-
public IEnumerable<NonClusteredListingsInfo> NonClusteredListingsInfo { get; set; }
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
public class MarkerInfo
|
|
13
|
-
{
|
|
14
|
-
public int Count { get; set; }
|
|
15
|
-
public float Latitude { get; set; }
|
|
16
|
-
public float Longitude { get; set; }
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
public class NonClusteredListingsInfo
|
|
20
|
-
{
|
|
21
|
-
public long Id { get; set; }
|
|
22
|
-
public float Latitude { get; set; }
|
|
23
|
-
public float Longitude { get; set; }
|
|
24
|
-
public double? ListPrice { get; set; }
|
|
25
|
-
public RentPriceModel RentPrices { get; set; }
|
|
26
|
-
public ListingStatusEnum ListingStatus { get; set; }
|
|
27
|
-
public DateTime? ListingEntryTimestamp { get; set; }
|
|
28
|
-
public OpenHouseLiteModel OpenHouse { get; set; }
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
using System.Text.Json.Serialization;
|
|
2
|
-
|
|
3
|
-
namespace Purlin.SAMLS.Integration.Model.Listing;
|
|
4
|
-
|
|
5
|
-
public class GetByAddressRequestModel
|
|
6
|
-
{
|
|
7
|
-
[JsonPropertyName("fullAddress")]
|
|
8
|
-
public string FullAddress { get; set; }
|
|
9
|
-
|
|
10
|
-
[JsonPropertyName("skip")]
|
|
11
|
-
public int Skip { get; set; } = 0;
|
|
12
|
-
|
|
13
|
-
[JsonPropertyName("take")]
|
|
14
|
-
public int Take { get; set; } = 10;
|
|
15
|
-
|
|
16
|
-
[JsonPropertyName("activeStatusGroup")]
|
|
17
|
-
public bool ActiveStatusGroup { get; set; } = true;
|
|
18
|
-
|
|
19
|
-
[JsonPropertyName("fields")]
|
|
20
|
-
public List<string> Fields { get; set; } = new();
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
using Purlin.SAMLS.Integration.Model.Common;
|
|
2
|
-
using Purlin.SAMLS.Integration.Model.Enums;
|
|
3
|
-
|
|
4
|
-
namespace Purlin.SAMLS.Integration.Model.Listing;
|
|
5
|
-
|
|
6
|
-
public class GetByAgentRequestModel : PaginationOptions
|
|
7
|
-
{
|
|
8
|
-
public MLSEnum MlsId { get; set; }
|
|
9
|
-
public string AgentMlsId { get; set; }
|
|
10
|
-
public IEnumerable<AgentTypeEnum> AgentTypes { get; set; }
|
|
11
|
-
public bool ActiveStatusGroup { get; set; } = true;
|
|
12
|
-
public List<string> Fields { get; set; }
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ListingModel } from './ListingModel';
|
|
2
|
-
|
|
3
|
-
export class GetByMlsIdRequestModel {
|
|
4
|
-
mlsId: string = '';
|
|
5
|
-
fields: (keyof ListingModel)[] = [];
|
|
6
|
-
|
|
7
|
-
constructor(data?: Partial<GetByMlsIdRequestModel>) {
|
|
8
|
-
if (data) {
|
|
9
|
-
Object.assign(this, data);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PaginationOptions } from '../Common';
|
|
2
|
-
import {
|
|
3
|
-
ListingStatusEnum,
|
|
4
|
-
ListingTypeEnum,
|
|
5
|
-
OrderByOptions,
|
|
6
|
-
PhysicalPropertyTypeEnum,
|
|
7
|
-
} from '../Enums';
|
|
8
|
-
|
|
9
|
-
export class GetListingsByFilterRequestModel extends PaginationOptions {
|
|
10
|
-
ListingTypes: ListingTypeEnum[] | null = null;
|
|
11
|
-
OrderBy: OrderByOptions | null = null;
|
|
12
|
-
NumberOfBedrooms: number | null = null;
|
|
13
|
-
MinPrice: number | null = null;
|
|
14
|
-
MaxPrice: number | null = null;
|
|
15
|
-
ListingStatuses: ListingStatusEnum[] | null = null;
|
|
16
|
-
PropertyTypes: PhysicalPropertyTypeEnum[] | null = null;
|
|
17
|
-
PlaceIds: number[] | null = null;
|
|
18
|
-
Fields: string[] | null = null;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
using NetTopologySuite.Geometries;
|
|
2
|
-
using Purlin.SAMLS.Integration.Model.Common;
|
|
3
|
-
|
|
4
|
-
namespace Purlin.SAMLS.Integration.Model.Listing;
|
|
5
|
-
|
|
6
|
-
public class GetMapListingsRequestBaseModel
|
|
7
|
-
{
|
|
8
|
-
public int ZoomLevel { get; set; }
|
|
9
|
-
|
|
10
|
-
public GlobalQueryModel Query { get; set; } = new ();
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
public class GetMapListingsRequestModel : GetMapListingsRequestBaseModel
|
|
14
|
-
{
|
|
15
|
-
public Geometry Polygon { get; set; }
|
|
16
|
-
}
|