@hapl/api-queries 0.1.169 → 0.1.172
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 +37 -0
- package/dist/api-queries.cjs.development.js +30 -0
- 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 +30 -0
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/index.d.ts +1 -0
- package/dist/clients/v1/api/serviceRequest/createServiceRequestByCrossSaleId/index.d.ts +25 -0
- package/dist/clients/v1/api/serviceRequest/findServiceRequestShortInfoById/index.d.ts +2 -2
- package/dist/clients/v1/api/serviceRequest/findServiceRequests/index.d.ts +1 -0
- package/dist/clients/v1/index.d.ts +1 -0
- package/dist/clients/v1/types/CrossSale.d.ts +4 -0
- package/dist/registry/v1/api/address/findAddressesByRealtyParams/index.d.ts +1 -1
- package/dist/registry/v1/api/realty/findRealties/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/clients/v1/api/index.ts +1 -0
- package/src/clients/v1/api/serviceRequest/createServiceRequestByCrossSaleId/index.ts +42 -0
- package/src/clients/v1/api/serviceRequest/findServiceRequestShortInfoById/index.ts +2 -2
- package/src/clients/v1/api/serviceRequest/findServiceRequests/index.ts +1 -0
- package/src/clients/v1/index.ts +7 -0
- package/src/clients/v1/types/CrossSale.ts +2 -0
- package/src/registry/v1/api/address/findAddressesByRealtyParams/index.ts +1 -1
- package/src/registry/v1/api/realty/findRealties/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# v0.1.172 (Mon Jun 20 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix: исправлен фильтр для запроса realty оценки [#99](https://github.com/homeappcorporate/api-queries/pull/99) ([@abd2561024](https://github.com/abd2561024))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.1.171 (Fri Jun 10 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- FE-1347: добавлен фильтр hasParentCrossSale в список зоу [#93](https://github.com/homeappcorporate/api-queries/pull/93) ([@alexandropavlov](https://github.com/alexandropavlov))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Alexander Pavlov ([@alexandropavlov](https://github.com/alexandropavlov))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# v0.1.170 (Fri Jun 10 2022)
|
|
26
|
+
|
|
27
|
+
#### 🐛 Bug Fix
|
|
28
|
+
|
|
29
|
+
- FE-1346: добавлена ручка для создания дочернего ЗОУ по crossSale [#92](https://github.com/homeappcorporate/api-queries/pull/92) ([@abd2561024](https://github.com/abd2561024) [@alexandropavlov](https://github.com/alexandropavlov))
|
|
30
|
+
|
|
31
|
+
#### Authors: 2
|
|
32
|
+
|
|
33
|
+
- Alexander Pavlov ([@alexandropavlov](https://github.com/alexandropavlov))
|
|
34
|
+
- Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# v0.1.169 (Tue Jun 07 2022)
|
|
2
39
|
|
|
3
40
|
#### 🐛 Bug Fix
|
|
@@ -1857,6 +1857,27 @@ function createServiceRequestRequest(_ref) {
|
|
|
1857
1857
|
});
|
|
1858
1858
|
}
|
|
1859
1859
|
|
|
1860
|
+
function createServiceRequestByCrossSaleIdRequest(_ref) {
|
|
1861
|
+
var _ref$baseURL = _ref.baseURL,
|
|
1862
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
1863
|
+
urlParams = _ref.urlParams,
|
|
1864
|
+
headers = _ref.headers;
|
|
1865
|
+
return axios.post("/api/cross-sale/create-child-service-request/" + urlParams.id, {}, {
|
|
1866
|
+
baseURL: baseURL,
|
|
1867
|
+
headers: _extends({
|
|
1868
|
+
Accept: 'application/json',
|
|
1869
|
+
'Content-Type': 'application/json'
|
|
1870
|
+
}, headers),
|
|
1871
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
1872
|
+
return data.success ? data.data : data.data.error;
|
|
1873
|
+
}])
|
|
1874
|
+
}).then(function (res) {
|
|
1875
|
+
return res;
|
|
1876
|
+
})["catch"](function (err) {
|
|
1877
|
+
throw err;
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1860
1881
|
function createServiceRequestActivityRequest(_ref) {
|
|
1861
1882
|
var _ref$baseURL = _ref.baseURL,
|
|
1862
1883
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
@@ -4470,6 +4491,14 @@ var Api = function Api(baseURL) {
|
|
|
4470
4491
|
});
|
|
4471
4492
|
};
|
|
4472
4493
|
|
|
4494
|
+
this.createServiceRequestByCrossSaleId = function (urlParams, headers) {
|
|
4495
|
+
return createServiceRequestByCrossSaleIdRequest({
|
|
4496
|
+
urlParams: urlParams,
|
|
4497
|
+
headers: headers,
|
|
4498
|
+
baseURL: _this.baseURL
|
|
4499
|
+
});
|
|
4500
|
+
};
|
|
4501
|
+
|
|
4473
4502
|
this.createServiceRequestActivity = function (body, headers) {
|
|
4474
4503
|
return createServiceRequestActivityRequest({
|
|
4475
4504
|
body: body,
|
|
@@ -4864,6 +4893,7 @@ var index = {
|
|
|
4864
4893
|
closeServiceRequestRequest: closeServiceRequestRequest,
|
|
4865
4894
|
completeServiceRequestModerationRequest: completeServiceRequestModerationRequest,
|
|
4866
4895
|
createServiceRequestRequest: createServiceRequestRequest,
|
|
4896
|
+
createServiceRequestByCrossSaleIdRequest: createServiceRequestByCrossSaleIdRequest,
|
|
4867
4897
|
createServiceRequestActivityRequest: createServiceRequestActivityRequest,
|
|
4868
4898
|
createServiceRequestCategorizedFileRequest: createServiceRequestCategorizedFileRequest,
|
|
4869
4899
|
deferServiceRequestRequest: deferServiceRequestRequest,
|