samls-js-integration 1.0.50 → 1.0.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.
Files changed (169) hide show
  1. package/dist/{models/Enums → Enums}/ListingTypeClassEnum.d.ts +0 -1
  2. package/dist/Listing/IListingTypeGroups.model.d.ts +6 -0
  3. package/dist/{models/Listing/ListingModel.d.ts → Listing/Listing.model.d.ts} +5 -5
  4. package/dist/{models/Listing/PropertyModel.d.ts → Listing/Property.model.d.ts} +1 -1
  5. package/dist/Listing/index.d.ts +11 -0
  6. package/dist/{clients → Listing}/index.js +11 -3
  7. package/dist/index.d.ts +10 -2
  8. package/dist/index.js +10 -2
  9. package/package.json +1 -1
  10. package/dist/clients/AddressDetail.d.ts +0 -5
  11. package/dist/clients/AddressDetail.js +0 -10
  12. package/dist/clients/ListingsClient.d.ts +0 -9
  13. package/dist/clients/ListingsClient.js +0 -22
  14. package/dist/clients/MlsClient.d.ts +0 -6
  15. package/dist/clients/MlsClient.js +0 -13
  16. package/dist/clients/PolygonClient.d.ts +0 -5
  17. package/dist/clients/PolygonClient.js +0 -11
  18. package/dist/clients/index.d.ts +0 -3
  19. package/dist/globals/HttpModule.d.ts +0 -1
  20. package/dist/globals/HttpModule.js +0 -7
  21. package/dist/globals/constants/url.d.ts +0 -4
  22. package/dist/globals/constants/url.js +0 -7
  23. package/dist/globals/index.d.ts +0 -3
  24. package/dist/globals/index.js +0 -19
  25. package/dist/globals/models/IApiResponse.d.ts +0 -5
  26. package/dist/globals/models/index.d.ts +0 -2
  27. package/dist/globals/models/index.js +0 -18
  28. package/dist/models/Listing/index.d.ts +0 -10
  29. package/dist/models/Listing/index.js +0 -26
  30. package/dist/models/index.d.ts +0 -11
  31. package/dist/models/index.js +0 -27
  32. package/dist/services/SamlsClient.d.ts +0 -8
  33. package/dist/services/SamlsClient.js +0 -16
  34. /package/dist/{models/Address → Address}/AddressDetailModel.d.ts +0 -0
  35. /package/dist/{models/Address → Address}/AddressDetailModel.js +0 -0
  36. /package/dist/{models/Address → Address}/AddressQueryModel.d.ts +0 -0
  37. /package/dist/{models/Address → Address}/AddressQueryModel.js +0 -0
  38. /package/dist/{models/Address → Address}/index.d.ts +0 -0
  39. /package/dist/{models/Address → Address}/index.js +0 -0
  40. /package/dist/{models/Agent → Agent}/AgentInfoModel.d.ts +0 -0
  41. /package/dist/{models/Agent → Agent}/AgentInfoModel.js +0 -0
  42. /package/dist/{models/Agent → Agent}/AgentModel.d.ts +0 -0
  43. /package/dist/{models/Agent → Agent}/AgentModel.js +0 -0
  44. /package/dist/{models/Agent → Agent}/GetAgentRequestModel.d.ts +0 -0
  45. /package/dist/{models/Agent → Agent}/GetAgentRequestModel.js +0 -0
  46. /package/dist/{models/Agent → Agent}/GetAgentsRequestModel.d.ts +0 -0
  47. /package/dist/{models/Agent → Agent}/GetAgentsRequestModel.js +0 -0
  48. /package/dist/{models/Agent → Agent}/OfficeModel.d.ts +0 -0
  49. /package/dist/{models/Agent → Agent}/OfficeModel.js +0 -0
  50. /package/dist/{models/Agent → Agent}/index.d.ts +0 -0
  51. /package/dist/{models/Agent → Agent}/index.js +0 -0
  52. /package/dist/{models/Common → Common}/GlobalQueryModel.d.ts +0 -0
  53. /package/dist/{models/Common → Common}/GlobalQueryModel.js +0 -0
  54. /package/dist/{models/Common → Common}/LocationModel.d.ts +0 -0
  55. /package/dist/{models/Common → Common}/LocationModel.js +0 -0
  56. /package/dist/{models/Common → Common}/PaginationOptions.d.ts +0 -0
  57. /package/dist/{models/Common → Common}/PaginationOptions.js +0 -0
  58. /package/dist/{models/Common → Common}/Point.d.ts +0 -0
  59. /package/dist/{models/Common → Common}/Point.js +0 -0
  60. /package/dist/{models/Common → Common}/index.d.ts +0 -0
  61. /package/dist/{models/Common → Common}/index.js +0 -0
  62. /package/dist/{models/Enums → Enums}/AgentTypeEnum.d.ts +0 -0
  63. /package/dist/{models/Enums → Enums}/AgentTypeEnum.js +0 -0
  64. /package/dist/{models/Enums → Enums}/AssociationFeeFrequencyEnum.d.ts +0 -0
  65. /package/dist/{models/Enums → Enums}/AssociationFeeFrequencyEnum.js +0 -0
  66. /package/dist/{models/Enums → Enums}/AuthenticationTypeEnum.d.ts +0 -0
  67. /package/dist/{models/Enums → Enums}/AuthenticationTypeEnum.js +0 -0
  68. /package/dist/{models/Enums → Enums}/CurrencyEnum.d.ts +0 -0
  69. /package/dist/{models/Enums → Enums}/CurrencyEnum.js +0 -0
  70. /package/dist/{models/Enums → Enums}/DirectionFacesEnum.d.ts +0 -0
  71. /package/dist/{models/Enums → Enums}/DirectionFacesEnum.js +0 -0
  72. /package/dist/{models/Enums → Enums}/FeatureSourceEnum.d.ts +0 -0
  73. /package/dist/{models/Enums → Enums}/FeatureSourceEnum.js +0 -0
  74. /package/dist/{models/Enums → Enums}/GeometryTypeEnum.d.ts +0 -0
  75. /package/dist/{models/Enums → Enums}/GeometryTypeEnum.js +0 -0
  76. /package/dist/{models/Enums → Enums}/ListingStatusEnum.d.ts +0 -0
  77. /package/dist/{models/Enums → Enums}/ListingStatusEnum.js +0 -0
  78. /package/dist/{models/Enums → Enums}/ListingTypeClassEnum.js +0 -0
  79. /package/dist/{models/Enums → Enums}/ListingTypeEnum.d.ts +0 -0
  80. /package/dist/{models/Enums → Enums}/ListingTypeEnum.js +0 -0
  81. /package/dist/{models/Enums → Enums}/MLSEnum.d.ts +0 -0
  82. /package/dist/{models/Enums → Enums}/MLSEnum.js +0 -0
  83. /package/dist/{models/Enums → Enums}/OrderByOptions.d.ts +0 -0
  84. /package/dist/{models/Enums → Enums}/OrderByOptions.js +0 -0
  85. /package/dist/{models/Enums → Enums}/OwnershipTypeEnum.d.ts +0 -0
  86. /package/dist/{models/Enums → Enums}/OwnershipTypeEnum.js +0 -0
  87. /package/dist/{models/Enums → Enums}/PhysicalPropertyClassEnum.d.ts +0 -0
  88. /package/dist/{models/Enums → Enums}/PhysicalPropertyClassEnum.js +0 -0
  89. /package/dist/{models/Enums → Enums}/PhysicalPropertyTypeEnum.d.ts +0 -0
  90. /package/dist/{models/Enums → Enums}/PhysicalPropertyTypeEnum.js +0 -0
  91. /package/dist/{models/Enums → Enums}/PlatformEnum.d.ts +0 -0
  92. /package/dist/{models/Enums → Enums}/PlatformEnum.js +0 -0
  93. /package/dist/{models/Enums → Enums}/ProcessingStatusEnum.d.ts +0 -0
  94. /package/dist/{models/Enums → Enums}/ProcessingStatusEnum.js +0 -0
  95. /package/dist/{models/Enums → Enums}/ProcessingTypeEnum.d.ts +0 -0
  96. /package/dist/{models/Enums → Enums}/ProcessingTypeEnum.js +0 -0
  97. /package/dist/{models/Enums → Enums}/PropertyConditionEnum.d.ts +0 -0
  98. /package/dist/{models/Enums → Enums}/PropertyConditionEnum.js +0 -0
  99. /package/dist/{models/Enums → Enums}/PropertyLevelEnum.d.ts +0 -0
  100. /package/dist/{models/Enums → Enums}/PropertyLevelEnum.js +0 -0
  101. /package/dist/{models/Enums → Enums}/StreetDirectionEnum.d.ts +0 -0
  102. /package/dist/{models/Enums → Enums}/StreetDirectionEnum.js +0 -0
  103. /package/dist/{models/Enums → Enums}/StreetSuffixEnum.d.ts +0 -0
  104. /package/dist/{models/Enums → Enums}/StreetSuffixEnum.js +0 -0
  105. /package/dist/{models/Enums → Enums}/index.d.ts +0 -0
  106. /package/dist/{models/Enums → Enums}/index.js +0 -0
  107. /package/dist/{models/Feature → Feature}/CategoryModel.d.ts +0 -0
  108. /package/dist/{models/Feature → Feature}/CategoryModel.js +0 -0
  109. /package/dist/{models/Feature → Feature}/FeatureModel.d.ts +0 -0
  110. /package/dist/{models/Feature → Feature}/FeatureModel.js +0 -0
  111. /package/dist/{models/Feature → Feature}/SubCategoryModel.d.ts +0 -0
  112. /package/dist/{models/Feature → Feature}/SubCategoryModel.js +0 -0
  113. /package/dist/{models/Feature → Feature}/index.d.ts +0 -0
  114. /package/dist/{models/Feature → Feature}/index.js +0 -0
  115. /package/dist/{models/Listing/ClusteringFilterRequestBaseModel.d.ts → Listing/ClusteringFilterRequestBase.model.d.ts} +0 -0
  116. /package/dist/{models/Listing/ClusteringFilterRequestBaseModel.js → Listing/ClusteringFilterRequestBase.model.js} +0 -0
  117. /package/dist/{models/Listing/GetByIdRequestModel.d.ts → Listing/GetByIdRequest.model.d.ts} +0 -0
  118. /package/dist/{models/Listing/GetByIdRequestModel.js → Listing/GetByIdRequest.model.js} +0 -0
  119. /package/dist/{models/Listing/GetByMlsIdRequestModel.d.ts → Listing/GetByMlsIdRequest.model.d.ts} +0 -0
  120. /package/dist/{models/Listing/GetByMlsIdRequestModel.js → Listing/GetByMlsIdRequest.model.js} +0 -0
  121. /package/dist/{models/Listing/GetListingsByFilterRequestModel.d.ts → Listing/GetListingsByFilterRequest.model.d.ts} +0 -0
  122. /package/dist/{models/Listing/GetListingsByFilterRequestModel.js → Listing/GetListingsByFilterRequest.model.js} +0 -0
  123. /package/dist/{globals/models/IApiResponse.js → Listing/IListingTypeGroups.model.js} +0 -0
  124. /package/dist/{models/Listing/ListingModel.js → Listing/Listing.model.js} +0 -0
  125. /package/dist/{models/Listing/OpenHouseModel.d.ts → Listing/OpenHouse.model.d.ts} +0 -0
  126. /package/dist/{models/Listing/OpenHouseModel.js → Listing/OpenHouse.model.js} +0 -0
  127. /package/dist/{models/Listing/PhotoModel.d.ts → Listing/Photo.model.d.ts} +0 -0
  128. /package/dist/{models/Listing/PhotoModel.js → Listing/Photo.model.js} +0 -0
  129. /package/dist/{models/Listing/PropertyModel.js → Listing/Property.model.js} +0 -0
  130. /package/dist/{models/Listing/RentPriceModel.d.ts → Listing/RentPrice.model.d.ts} +0 -0
  131. /package/dist/{models/Listing/RentPriceModel.js → Listing/RentPrice.model.js} +0 -0
  132. /package/dist/{models/Listing/StyleModel.d.ts → Listing/Style.model.d.ts} +0 -0
  133. /package/dist/{models/Listing/StyleModel.js → Listing/Style.model.js} +0 -0
  134. /package/dist/{models/Listing/WalkScoreModel.d.ts → Listing/WalkScore.model.d.ts} +0 -0
  135. /package/dist/{models/Listing/WalkScoreModel.js → Listing/WalkScore.model.js} +0 -0
  136. /package/dist/{models/Mls → Mls}/MlsInfoModel.d.ts +0 -0
  137. /package/dist/{models/Mls → Mls}/MlsInfoModel.js +0 -0
  138. /package/dist/{models/Mls → Mls}/index.d.ts +0 -0
  139. /package/dist/{models/Mls → Mls}/index.js +0 -0
  140. /package/dist/{models/PData → PData}/index.d.ts +0 -0
  141. /package/dist/{models/PData → PData}/index.js +0 -0
  142. /package/dist/{models/PData → PData}/models/Condition.d.ts +0 -0
  143. /package/dist/{models/PData → PData}/models/Condition.js +0 -0
  144. /package/dist/{models/PData → PData}/models/ConditionModel.d.ts +0 -0
  145. /package/dist/{models/PData → PData}/models/ConditionModel.js +0 -0
  146. /package/dist/{models/PData → PData}/models/IPagination.d.ts +0 -0
  147. /package/dist/{models/PData → PData}/models/IPagination.js +0 -0
  148. /package/dist/{models/PData → PData}/models/Operator.d.ts +0 -0
  149. /package/dist/{models/PData → PData}/models/Operator.js +0 -0
  150. /package/dist/{models/PData → PData}/models/Ordering.d.ts +0 -0
  151. /package/dist/{models/PData → PData}/models/Ordering.js +0 -0
  152. /package/dist/{models/PData → PData}/models/index.d.ts +0 -0
  153. /package/dist/{models/PData → PData}/models/index.js +0 -0
  154. /package/dist/{models/Polygon → Polygon}/LimitModel.d.ts +0 -0
  155. /package/dist/{models/Polygon → Polygon}/LimitModel.js +0 -0
  156. /package/dist/{models/Polygon → Polygon}/PolygonFilterRequestModel.d.ts +0 -0
  157. /package/dist/{models/Polygon → Polygon}/PolygonFilterRequestModel.js +0 -0
  158. /package/dist/{models/Polygon → Polygon}/PolygonFilterResponseModel.d.ts +0 -0
  159. /package/dist/{models/Polygon → Polygon}/PolygonFilterResponseModel.js +0 -0
  160. /package/dist/{models/Polygon → Polygon}/PolygonLiteResponseModel.d.ts +0 -0
  161. /package/dist/{models/Polygon → Polygon}/PolygonLiteResponseModel.js +0 -0
  162. /package/dist/{models/Polygon → Polygon}/index.d.ts +0 -0
  163. /package/dist/{models/Polygon → Polygon}/index.js +0 -0
  164. /package/dist/{models/School → School}/SchoolIdentifierModel.d.ts +0 -0
  165. /package/dist/{models/School → School}/SchoolIdentifierModel.js +0 -0
  166. /package/dist/{models/School → School}/SchoolModel.d.ts +0 -0
  167. /package/dist/{models/School → School}/SchoolModel.js +0 -0
  168. /package/dist/{models/School → School}/index.d.ts +0 -0
  169. /package/dist/{models/School → School}/index.js +0 -0
@@ -3,4 +3,3 @@ export declare enum ListingTypeClassEnum {
3
3
  Residential = 1,
4
4
  Other = 2
5
5
  }
6
- export type ListingTypeClassEnumKeys = keyof typeof ListingTypeClassEnum;
@@ -0,0 +1,6 @@
1
+ import { ListingTypeClassEnum, ListingTypeEnum } from '../Enums';
2
+ export type ListingTypeEnumKeys = keyof typeof ListingTypeEnum;
3
+ export type ListingTypeClassEnumKeys = keyof typeof ListingTypeClassEnum;
4
+ export type IListingTypeGroups = {
5
+ [K in ListingTypeClassEnumKeys]: ListingTypeEnumKeys[];
6
+ };
@@ -1,11 +1,11 @@
1
1
  import { CurrencyEnum, ListingStatusEnum, ListingTypeEnum, MLSEnum, OwnershipTypeEnum } from '../Enums';
2
2
  import { AddressDetailModel } from '../Address';
3
3
  import { AgentModel } from '../Agent';
4
- import { PropertyModel } from './PropertyModel';
5
- import { RentPriceModel } from './RentPriceModel';
6
- import { WalkScoreModel } from './WalkScoreModel';
7
- import { OpenHouseModel } from './OpenHouseModel';
8
- import { PhotoModel } from './PhotoModel';
4
+ import { PropertyModel } from './Property.model';
5
+ import { RentPriceModel } from './RentPrice.model';
6
+ import { WalkScoreModel } from './WalkScore.model';
7
+ import { OpenHouseModel } from './OpenHouse.model';
8
+ import { PhotoModel } from './Photo.model';
9
9
  import { SchoolModel } from '../School';
10
10
  export declare class ListingModel {
11
11
  id: number;
@@ -1,5 +1,5 @@
1
1
  import { AssociationFeeFrequencyEnum, DirectionFacesEnum, PhysicalPropertyTypeEnum, PropertyConditionEnum, PropertyLevelEnum } from '../Enums';
2
- import { StyleModel } from './';
2
+ import { StyleModel } from './Style.model';
3
3
  import { FeatureModel } from '../Feature';
4
4
  export declare class PropertyModel {
5
5
  associationFee: number | null;
@@ -0,0 +1,11 @@
1
+ export * from './Listing.model';
2
+ export * from './GetListingsByFilterRequest.model';
3
+ export * from './Property.model';
4
+ export * from './GetByMlsIdRequest.model';
5
+ export * from './GetByIdRequest.model';
6
+ export * from './Style.model';
7
+ export * from './RentPrice.model';
8
+ export * from './WalkScore.model';
9
+ export * from './OpenHouse.model';
10
+ export * from './Photo.model';
11
+ export * from './IListingTypeGroups.model';
@@ -14,6 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./MlsClient"), exports);
18
- __exportStar(require("./ListingsClient"), exports);
19
- __exportStar(require("./AddressDetail"), exports);
17
+ __exportStar(require("./Listing.model"), exports);
18
+ __exportStar(require("./GetListingsByFilterRequest.model"), exports);
19
+ __exportStar(require("./Property.model"), exports);
20
+ __exportStar(require("./GetByMlsIdRequest.model"), exports);
21
+ __exportStar(require("./GetByIdRequest.model"), exports);
22
+ __exportStar(require("./Style.model"), exports);
23
+ __exportStar(require("./RentPrice.model"), exports);
24
+ __exportStar(require("./WalkScore.model"), exports);
25
+ __exportStar(require("./OpenHouse.model"), exports);
26
+ __exportStar(require("./Photo.model"), exports);
27
+ __exportStar(require("./IListingTypeGroups.model"), exports);
package/dist/index.d.ts CHANGED
@@ -1,2 +1,10 @@
1
- export * from './services/SamlsClient';
2
- export * from './models';
1
+ export * from './Address';
2
+ export * from './Common';
3
+ export * from './Address';
4
+ export * from './Agent';
5
+ export * from './Enums';
6
+ export * from './Feature';
7
+ export * from './Mls';
8
+ export * from './Listing';
9
+ export * from './Polygon';
10
+ export * from './PData';
package/dist/index.js CHANGED
@@ -14,5 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./services/SamlsClient"), exports);
18
- __exportStar(require("./models"), exports);
17
+ __exportStar(require("./Address"), exports);
18
+ __exportStar(require("./Common"), exports);
19
+ __exportStar(require("./Address"), exports);
20
+ __exportStar(require("./Agent"), exports);
21
+ __exportStar(require("./Enums"), exports);
22
+ __exportStar(require("./Feature"), exports);
23
+ __exportStar(require("./Mls"), exports);
24
+ __exportStar(require("./Listing"), exports);
25
+ __exportStar(require("./Polygon"), exports);
26
+ __exportStar(require("./PData"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samls-js-integration",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "samls npm package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- import { AddressDetailModel, AddressQueryModel } from '../models';
2
- import { IApiResponse, IPagination } from '../globals';
3
- export declare class AddressDetail {
4
- getByQuery(queryModel: AddressQueryModel): Promise<IApiResponse<IPagination<AddressDetailModel>>>;
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddressDetail = void 0;
4
- const globals_1 = require("../globals");
5
- class AddressDetail {
6
- getByQuery(queryModel) {
7
- return globals_1.http.post(`AddressDetail/query`, queryModel);
8
- }
9
- }
10
- exports.AddressDetail = AddressDetail;
@@ -1,9 +0,0 @@
1
- import { ListingModel, GetByMlsIdRequestModel, GetListingsByFilterRequestModel, GlobalQueryModel, ListingTypeClassEnum, ListingTypeEnum, GetByIdRequestModel } from '../models';
2
- import { IPagination, IApiResponse } from '../globals';
3
- export declare class ListingsClient {
4
- get(model: GetByIdRequestModel): Promise<IApiResponse<ListingModel>>;
5
- getListingsByFilter(model: GetListingsByFilterRequestModel): Promise<IApiResponse<IPagination<ListingModel>>>;
6
- getByMlsId(model: GetByMlsIdRequestModel): Promise<IApiResponse<Partial<ListingModel>[]>>;
7
- getByQuery(queryModel: GlobalQueryModel): Promise<IApiResponse<IPagination<ListingModel>>>;
8
- getListingTypeGroups(): Promise<IApiResponse<Record<keyof typeof ListingTypeClassEnum, (keyof typeof ListingTypeEnum)[]>>>;
9
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListingsClient = void 0;
4
- const globals_1 = require("../globals");
5
- class ListingsClient {
6
- get(model) {
7
- return globals_1.http.post('Listing', model);
8
- }
9
- getListingsByFilter(model) {
10
- return globals_1.http.post('Listing/filter', model);
11
- }
12
- getByMlsId(model) {
13
- return globals_1.http.post('Listing/mlsId', model);
14
- }
15
- getByQuery(queryModel) {
16
- return globals_1.http.post('Listing/query', queryModel);
17
- }
18
- getListingTypeGroups() {
19
- return globals_1.http.get('Listing/type/groups');
20
- }
21
- }
22
- exports.ListingsClient = ListingsClient;
@@ -1,6 +0,0 @@
1
- import { MlsInfoModel } from '../models';
2
- import { IApiResponse } from '../globals';
3
- export declare class MlsClient {
4
- getMLSs(): Promise<IApiResponse<MlsInfoModel[]>>;
5
- getSingleMls(id: number): Promise<IApiResponse<MlsInfoModel>>;
6
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MlsClient = void 0;
4
- const globals_1 = require("../globals");
5
- class MlsClient {
6
- getMLSs() {
7
- return globals_1.http.get('Mls');
8
- }
9
- getSingleMls(id) {
10
- return globals_1.http.get(`Mls/${id}`);
11
- }
12
- }
13
- exports.MlsClient = MlsClient;
@@ -1,5 +0,0 @@
1
- import { IApiResponse } from '../globals';
2
- import { PolygonFilterRequestModel, PolygonFilterResponseModel } from '../models';
3
- export declare class PolygonClient {
4
- filter(model: PolygonFilterRequestModel): Promise<IApiResponse<PolygonFilterResponseModel[]>>;
5
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PolygonClient = void 0;
4
- const globals_1 = require("../globals");
5
- const PATH_SEGMENT = 'Polygon';
6
- class PolygonClient {
7
- filter(model) {
8
- return globals_1.http.post(`${PATH_SEGMENT}/filter`, model);
9
- }
10
- }
11
- exports.PolygonClient = PolygonClient;
@@ -1,3 +0,0 @@
1
- export * from './MlsClient';
2
- export * from './ListingsClient';
3
- export * from './AddressDetail';
@@ -1 +0,0 @@
1
- export declare const http: import("axios").AxiosInstance;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.http = void 0;
4
- const axios_1 = require("axios");
5
- const url_1 = require("./constants/url");
6
- const requestConfig = { baseURL: url_1.URL.domain };
7
- exports.http = axios_1.default.create(requestConfig);
@@ -1,4 +0,0 @@
1
- export declare const URL: {
2
- domain: string;
3
- pathPrefix: string;
4
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.URL = void 0;
4
- exports.URL = {
5
- domain: 'https://samls-providerapi.purlin.vision/api/',
6
- pathPrefix: '',
7
- };
@@ -1,3 +0,0 @@
1
- export * from './HttpModule';
2
- export * from './models';
3
- export * from './constants/url';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./HttpModule"), exports);
18
- __exportStar(require("./models"), exports);
19
- __exportStar(require("./constants/url"), exports);
@@ -1,5 +0,0 @@
1
- export interface IApiResponse<T> {
2
- data: T;
3
- statusCode: number;
4
- message: string;
5
- }
@@ -1,2 +0,0 @@
1
- export * from '../../models/PData/models/IPagination';
2
- export * from './IApiResponse';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../models/PData/models/IPagination"), exports);
18
- __exportStar(require("./IApiResponse"), exports);
@@ -1,10 +0,0 @@
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';
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ListingModel"), exports);
18
- __exportStar(require("./GetListingsByFilterRequestModel"), exports);
19
- __exportStar(require("./PropertyModel"), exports);
20
- __exportStar(require("./GetByMlsIdRequestModel"), exports);
21
- __exportStar(require("./GetByIdRequestModel"), exports);
22
- __exportStar(require("./StyleModel"), exports);
23
- __exportStar(require("./RentPriceModel"), exports);
24
- __exportStar(require("./WalkScoreModel"), exports);
25
- __exportStar(require("./OpenHouseModel"), exports);
26
- __exportStar(require("./PhotoModel"), exports);
@@ -1,11 +0,0 @@
1
- export * from './Address';
2
- export * from './Common';
3
- export * from './Address/index';
4
- export * from './Agent/index';
5
- export * from './Enums';
6
- export * from './Feature';
7
- export * from './Mls';
8
- export * from './Listing';
9
- export * from './Polygon';
10
- export * from './PData';
11
- export * from '../globals/models';
@@ -1,27 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Address"), exports);
18
- __exportStar(require("./Common"), exports);
19
- __exportStar(require("./Address/index"), exports);
20
- __exportStar(require("./Agent/index"), exports);
21
- __exportStar(require("./Enums"), exports);
22
- __exportStar(require("./Feature"), exports);
23
- __exportStar(require("./Mls"), exports);
24
- __exportStar(require("./Listing"), exports);
25
- __exportStar(require("./Polygon"), exports);
26
- __exportStar(require("./PData"), exports);
27
- __exportStar(require("../globals/models"), exports);
@@ -1,8 +0,0 @@
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,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SamlsClient = void 0;
4
- const clients_1 = require("../clients");
5
- const PolygonClient_1 = require("../clients/PolygonClient");
6
- //TODO build is not completed
7
- //TODO and separate types in one file and remove src codes from library
8
- class SamlsClient {
9
- constructor() {
10
- this.Mls = new clients_1.MlsClient();
11
- this.Polygons = new PolygonClient_1.PolygonClient();
12
- this.Listings = new clients_1.ListingsClient();
13
- this.AddressDetails = new clients_1.AddressDetail();
14
- }
15
- }
16
- exports.SamlsClient = SamlsClient;
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
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
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