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,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,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,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,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,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,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,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,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,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,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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|