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
|
@@ -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,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 @@
|
|
|
1
|
+
export * from './MlsInfoModel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './models';
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,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,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,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,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
|
+
}
|
|
File without changes
|
|
@@ -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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"description": "samls npm package",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"types": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"type-check": "tsc",
|
|
9
|
-
"build": "
|
|
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"
|