samls-js-integration 1.1.49 → 1.1.51
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/dist/Enums/FeatureSourceEnum.d.ts +1 -1
- package/dist/Enums/FeatureSourceEnum.js +1 -10
- package/dist/Feature/PropertyFeature.model.d.ts +5 -0
- package/dist/Feature/PropertyFeature.model.js +11 -0
- package/dist/Listing/GetListingsByIdsRequest.model.d.ts +3 -0
- package/dist/Listing/GetListingsByIdsRequest.model.js +9 -0
- package/dist/Listing/Property.model.d.ts +2 -2
- package/dist/Listing/Property.model.js +0 -1
- package/dist/Listing/index.d.ts +1 -0
- package/dist/Listing/index.js +3 -1
- package/package.json +1 -1
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FeatureSourceEnum = void 0;
|
|
4
4
|
var FeatureSourceEnum;
|
|
5
5
|
(function (FeatureSourceEnum) {
|
|
6
6
|
FeatureSourceEnum[FeatureSourceEnum["MLS"] = 1] = "MLS";
|
|
7
7
|
FeatureSourceEnum[FeatureSourceEnum["ImageProcessing"] = 2] = "ImageProcessing";
|
|
8
8
|
FeatureSourceEnum[FeatureSourceEnum["NLP"] = 4] = "NLP";
|
|
9
9
|
})(FeatureSourceEnum || (exports.FeatureSourceEnum = FeatureSourceEnum = {}));
|
|
10
|
-
// Helper function to check if a combination of flags is set
|
|
11
|
-
function hasFlag(enumValue, flag) {
|
|
12
|
-
return (enumValue & flag) === flag;
|
|
13
|
-
}
|
|
14
|
-
exports.hasFlag = hasFlag;
|
|
15
|
-
// // Usage example
|
|
16
|
-
// const value: FeatureSourceEnum = FeatureSourceEnum.MLS | FeatureSourceEnum.NLP;
|
|
17
|
-
// console.log(hasFlag(value, FeatureSourceEnum.MLS)); // true
|
|
18
|
-
// console.log(hasFlag(value, FeatureSourceEnum.ImageProcessing)); // false
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropertyFeatureModel = void 0;
|
|
4
|
+
const Listing_1 = require("../Listing");
|
|
5
|
+
class PropertyFeatureModel extends Listing_1.PropertyModel {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.sources = [];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PropertyFeatureModel = PropertyFeatureModel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetListingsByIdsRequestModel = void 0;
|
|
4
|
+
class GetListingsByIdsRequestModel {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.coreListingIds = [];
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.GetListingsByIdsRequestModel = GetListingsByIdsRequestModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AssociationFeeFrequencyEnum, DirectionFacesEnum, PhysicalPropertyTypeEnum, PropertyConditionEnum, PropertyLevelEnum } from '../Enums';
|
|
2
2
|
import { StyleModel } from './Style.model';
|
|
3
|
-
import {
|
|
3
|
+
import { PropertyFeatureModel } from '../Feature/PropertyFeature.model';
|
|
4
4
|
export declare class PropertyModel {
|
|
5
5
|
associationFee: number | null;
|
|
6
6
|
associationFeeFrequency: AssociationFeeFrequencyEnum;
|
|
@@ -43,7 +43,7 @@ export declare class PropertyModel {
|
|
|
43
43
|
universalPropertyId: string;
|
|
44
44
|
yearBuilt: number | null;
|
|
45
45
|
style: StyleModel | null;
|
|
46
|
-
features:
|
|
46
|
+
features: PropertyFeatureModel[] | null;
|
|
47
47
|
propertyCondition: PropertyConditionEnum | null;
|
|
48
48
|
physicalPropertyType: keyof typeof PhysicalPropertyTypeEnum;
|
|
49
49
|
}
|
package/dist/Listing/index.d.ts
CHANGED
|
@@ -21,3 +21,4 @@ export { OpenHouseModel } from './OpenHouse.model';
|
|
|
21
21
|
export { OfficeFilterModel } from './OfficeFilter.model';
|
|
22
22
|
export { MapListingsRequestModel, GlobalListingFilterModel, EnhancedGlobalListingFilterModel, } from './MapListingsRequest.model';
|
|
23
23
|
export { GetByLegacyMlsIdRequestModel } from './GetByLegacyMlsIdRequest.model';
|
|
24
|
+
export { GetListingsByIdsRequestModel } from './GetListingsByIdsRequest.model';
|
package/dist/Listing/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetByLegacyMlsIdRequestModel = exports.EnhancedGlobalListingFilterModel = exports.GlobalListingFilterModel = exports.MapListingsRequestModel = exports.OpenHouseModel = exports.WalkScoreModel = exports.RentPriceModel = exports.PropertyModel = exports.PhotoModel = exports.StyleModel = exports.ListingModel = exports.GetMapListingsRequestModel = exports.GetListingsByFilterRequestModel = exports.GetByOfficesRequestModel = exports.GetByMlsIdRequestModel = exports.GetByIdRequestModel = exports.GetByAgentsRequestModel = exports.GetByAgentRequestModel = exports.FeatureCacheModel = exports.ClusteringFilterResponseModel = exports.ClusteringFilterRequestModel = exports.BathroomTypeModel = exports.AgentFilterModel = void 0;
|
|
3
|
+
exports.GetListingsByIdsRequestModel = exports.GetByLegacyMlsIdRequestModel = exports.EnhancedGlobalListingFilterModel = exports.GlobalListingFilterModel = exports.MapListingsRequestModel = exports.OpenHouseModel = exports.WalkScoreModel = exports.RentPriceModel = exports.PropertyModel = exports.PhotoModel = exports.StyleModel = exports.ListingModel = exports.GetMapListingsRequestModel = exports.GetListingsByFilterRequestModel = exports.GetByOfficesRequestModel = exports.GetByMlsIdRequestModel = exports.GetByIdRequestModel = exports.GetByAgentsRequestModel = exports.GetByAgentRequestModel = exports.FeatureCacheModel = exports.ClusteringFilterResponseModel = exports.ClusteringFilterRequestModel = exports.BathroomTypeModel = exports.AgentFilterModel = void 0;
|
|
4
4
|
var AgentFilter_model_1 = require("./AgentFilter.model");
|
|
5
5
|
Object.defineProperty(exports, "AgentFilterModel", { enumerable: true, get: function () { return AgentFilter_model_1.AgentFilterModel; } });
|
|
6
6
|
var BathroomType_model_1 = require("./BathroomType.model");
|
|
@@ -45,3 +45,5 @@ Object.defineProperty(exports, "GlobalListingFilterModel", { enumerable: true, g
|
|
|
45
45
|
Object.defineProperty(exports, "EnhancedGlobalListingFilterModel", { enumerable: true, get: function () { return MapListingsRequest_model_1.EnhancedGlobalListingFilterModel; } });
|
|
46
46
|
var GetByLegacyMlsIdRequest_model_1 = require("./GetByLegacyMlsIdRequest.model");
|
|
47
47
|
Object.defineProperty(exports, "GetByLegacyMlsIdRequestModel", { enumerable: true, get: function () { return GetByLegacyMlsIdRequest_model_1.GetByLegacyMlsIdRequestModel; } });
|
|
48
|
+
var GetListingsByIdsRequest_model_1 = require("./GetListingsByIdsRequest.model");
|
|
49
|
+
Object.defineProperty(exports, "GetListingsByIdsRequestModel", { enumerable: true, get: function () { return GetListingsByIdsRequest_model_1.GetListingsByIdsRequestModel; } });
|