samls-js-integration 1.0.48 → 1.0.49
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MlsInfoModel } from '../models';
|
|
2
2
|
import { IApiResponse } from '../globals';
|
|
3
3
|
export declare class MlsClient {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
getMLSs(): Promise<IApiResponse<MlsInfoModel[]>>;
|
|
5
|
+
getSingleMls(id: number): Promise<IApiResponse<MlsInfoModel>>;
|
|
6
6
|
}
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MlsClient = void 0;
|
|
4
4
|
const globals_1 = require("../globals");
|
|
5
|
-
const PATH_SEGMENT = 'AddressDetail';
|
|
6
5
|
class MlsClient {
|
|
7
|
-
|
|
8
|
-
return globals_1.http.get(
|
|
6
|
+
getMLSs() {
|
|
7
|
+
return globals_1.http.get('Mls');
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
return globals_1.http.get(
|
|
9
|
+
getSingleMls(id) {
|
|
10
|
+
return globals_1.http.get(`Mls/${id}`);
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
exports.MlsClient = MlsClient;
|