@hapl/api-queries 0.1.187--canary.117.ad0d1ca.0 → 0.1.187
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/CHANGELOG.md +12 -0
- package/dist/api-queries.cjs.development.js +0 -30
- package/dist/api-queries.cjs.development.js.map +1 -1
- package/dist/api-queries.cjs.production.min.js +1 -1
- package/dist/api-queries.cjs.production.min.js.map +1 -1
- package/dist/api-queries.esm.js +0 -30
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/expert/createExpertCase/index.d.ts +1 -1
- package/dist/clients/v1/api/index.d.ts +0 -1
- package/dist/clients/v1/index.d.ts +1 -2
- package/dist/clients/v1/types/index.d.ts +0 -1
- package/dist/clients/v2/api/realty/updateRealty/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/clients/v1/api/expert/createExpertCase/index.ts +1 -1
- package/src/clients/v1/api/index.ts +0 -2
- package/src/clients/v1/index.ts +1 -6
- package/src/clients/v1/types/index.ts +0 -1
- package/src/clients/v2/api/realty/updateRealty/index.ts +1 -0
- package/dist/clients/v1/api/event/findEventById/index.d.ts +0 -31
- package/dist/clients/v1/types/Event.d.ts +0 -12
- package/src/clients/v1/api/event/findEventById/index.ts +0 -39
- package/src/clients/v1/types/Event.ts +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.1.187 (Tue Sep 20 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- FE-1430: добавлено поле `refreshedAt` для сущности `realtyV2` [#116](https://github.com/homeappcorporate/api-queries/pull/116) ([@abd2561024](https://github.com/abd2561024))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.1.186 (Tue Sep 13 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -1323,26 +1323,6 @@ function updateDealRequest(_ref) {
|
|
|
1323
1323
|
});
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
-
function findEventByIdRequest(_ref) {
|
|
1327
|
-
var _ref$baseURL = _ref.baseURL,
|
|
1328
|
-
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
1329
|
-
urlParams = _ref.urlParams,
|
|
1330
|
-
headers = _ref.headers;
|
|
1331
|
-
return axios.get("/api/site/event/" + urlParams.id, {
|
|
1332
|
-
baseURL: baseURL,
|
|
1333
|
-
headers: _extends({
|
|
1334
|
-
Accept: 'application/json'
|
|
1335
|
-
}, headers),
|
|
1336
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
1337
|
-
return data.success ? data.data : data.data.error;
|
|
1338
|
-
}])
|
|
1339
|
-
}).then(function (res) {
|
|
1340
|
-
return res;
|
|
1341
|
-
})["catch"](function (err) {
|
|
1342
|
-
throw err;
|
|
1343
|
-
});
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
1326
|
function createExpertCaseRequest(_ref) {
|
|
1347
1327
|
var _ref$baseURL = _ref.baseURL,
|
|
1348
1328
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
@@ -4553,15 +4533,6 @@ var Api = function Api(baseURL) {
|
|
|
4553
4533
|
headers: headers,
|
|
4554
4534
|
baseURL: _this.baseURL
|
|
4555
4535
|
});
|
|
4556
|
-
}; // event
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
this.findEventById = function (urlParams, headers) {
|
|
4560
|
-
return findEventByIdRequest({
|
|
4561
|
-
urlParams: urlParams,
|
|
4562
|
-
headers: headers,
|
|
4563
|
-
baseURL: _this.baseURL
|
|
4564
|
-
});
|
|
4565
4536
|
}; // expert
|
|
4566
4537
|
|
|
4567
4538
|
|
|
@@ -5194,7 +5165,6 @@ var index = {
|
|
|
5194
5165
|
setDealSignedStateRequest: setDealSignedStateRequest,
|
|
5195
5166
|
terminateDealRequest: terminateDealRequest,
|
|
5196
5167
|
updateDealRequest: updateDealRequest,
|
|
5197
|
-
findEventByIdRequest: findEventByIdRequest,
|
|
5198
5168
|
createExpertCaseRequest: createExpertCaseRequest,
|
|
5199
5169
|
createExpertReviewRequest: createExpertReviewRequest,
|
|
5200
5170
|
findExpertByIdRequest: findExpertByIdRequest,
|