@hapl/api-queries 0.1.142--canary.70.c5f07ef.0 → 0.1.142
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 +148 -69
- 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 +148 -69
- package/dist/api-queries.esm.js.map +1 -1
- package/dist/clients/v1/api/contract/createContractLegalDocument/index.d.ts +24 -0
- package/dist/clients/v1/api/contract/findContractById/index.d.ts +29 -0
- package/dist/clients/v1/api/contract/findContractLegalDocumentById/index.d.ts +29 -0
- package/dist/clients/v1/api/index.d.ts +3 -1
- package/dist/clients/v1/dictionaries/ContractLegalDocument.d.ts +13 -0
- package/dist/clients/v1/dictionaries/index.d.ts +1 -0
- package/dist/clients/v1/index.d.ts +6 -4
- package/dist/clients/v1/types/ContractLegalDocument.d.ts +19 -0
- package/dist/clients/v1/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/clients/v1/api/contract/createContractLegalDocument/index.ts +37 -0
- package/src/clients/v1/api/contract/findContractById/index.ts +39 -0
- package/src/clients/v1/api/contract/findContractLegalDocumentById/index.ts +39 -0
- package/src/clients/v1/api/index.ts +3 -1
- package/src/clients/v1/dictionaries/ContractLegalDocument.ts +14 -0
- package/src/clients/v1/dictionaries/index.ts +1 -0
- package/src/clients/v1/index.ts +35 -25
- package/src/clients/v1/types/ContractLegalDocument.ts +21 -0
- package/src/clients/v1/types/index.ts +1 -0
- package/dist/clients/v1/api/serviceRequest/transferServiceRequest/index.d.ts +0 -30
- package/src/clients/v1/api/serviceRequest/transferServiceRequest/index.ts +0 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.1.142 (Tue Mar 01 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- FE-1279: ручки для работы с контрактом [#69](https://github.com/homeappcorporate/api-queries/pull/69) ([@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.141 (Thu Feb 24 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -667,6 +667,27 @@ function approveContractRequest(_ref) {
|
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
+
function createContractLegalDocumentRequest(_ref) {
|
|
671
|
+
var _ref$baseURL = _ref.baseURL,
|
|
672
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
673
|
+
urlParams = _ref.urlParams,
|
|
674
|
+
headers = _ref.headers;
|
|
675
|
+
return axios.post("/api/contract/" + urlParams.id + "/legal-document", null, {
|
|
676
|
+
baseURL: baseURL,
|
|
677
|
+
headers: _extends({
|
|
678
|
+
Accept: 'application/json',
|
|
679
|
+
'Content-Type': 'application/json'
|
|
680
|
+
}, headers),
|
|
681
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
682
|
+
return data.success ? null : data.data.error;
|
|
683
|
+
}])
|
|
684
|
+
}).then(function (res) {
|
|
685
|
+
return res;
|
|
686
|
+
})["catch"](function (err) {
|
|
687
|
+
throw err;
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
|
|
670
691
|
function declineContractRequest(_ref) {
|
|
671
692
|
var _ref$baseURL = _ref.baseURL,
|
|
672
693
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
@@ -691,6 +712,46 @@ function declineContractRequest(_ref) {
|
|
|
691
712
|
});
|
|
692
713
|
}
|
|
693
714
|
|
|
715
|
+
function findContractByIdRequest(_ref) {
|
|
716
|
+
var _ref$baseURL = _ref.baseURL,
|
|
717
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
718
|
+
urlParams = _ref.urlParams,
|
|
719
|
+
headers = _ref.headers;
|
|
720
|
+
return axios.get("/api/contract/" + urlParams.id, {
|
|
721
|
+
baseURL: baseURL,
|
|
722
|
+
headers: _extends({
|
|
723
|
+
Accept: 'application/json'
|
|
724
|
+
}, headers),
|
|
725
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
726
|
+
return data.success ? data.data : data.data.error;
|
|
727
|
+
}])
|
|
728
|
+
}).then(function (res) {
|
|
729
|
+
return res;
|
|
730
|
+
})["catch"](function (err) {
|
|
731
|
+
throw err;
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
function findContractLegalDocumentByIdRequest(_ref) {
|
|
736
|
+
var _ref$baseURL = _ref.baseURL,
|
|
737
|
+
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
738
|
+
urlParams = _ref.urlParams,
|
|
739
|
+
headers = _ref.headers;
|
|
740
|
+
return axios.get("/api/contract/" + urlParams.id + "/legal-document", {
|
|
741
|
+
baseURL: baseURL,
|
|
742
|
+
headers: _extends({
|
|
743
|
+
Accept: 'application/json'
|
|
744
|
+
}, headers),
|
|
745
|
+
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
746
|
+
return data.success ? data.data : data.data.error;
|
|
747
|
+
}])
|
|
748
|
+
}).then(function (res) {
|
|
749
|
+
return res;
|
|
750
|
+
})["catch"](function (err) {
|
|
751
|
+
throw err;
|
|
752
|
+
});
|
|
753
|
+
}
|
|
754
|
+
|
|
694
755
|
function findContractsRequest(_ref) {
|
|
695
756
|
var _ref$baseURL = _ref.baseURL,
|
|
696
757
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
@@ -2000,30 +2061,6 @@ function depublishServiceRequest(_ref) {
|
|
|
2000
2061
|
});
|
|
2001
2062
|
}
|
|
2002
2063
|
|
|
2003
|
-
function transferServiceRequest(_ref) {
|
|
2004
|
-
var _ref$baseURL = _ref.baseURL,
|
|
2005
|
-
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
2006
|
-
urlParams = _ref.urlParams,
|
|
2007
|
-
body = _ref.body,
|
|
2008
|
-
headers = _ref.headers;
|
|
2009
|
-
return axios.put("/api/service-request/transfer/" + urlParams.id, body, {
|
|
2010
|
-
baseURL: baseURL,
|
|
2011
|
-
headers: _extends({
|
|
2012
|
-
Accept: 'application/json',
|
|
2013
|
-
'Content-Type': 'application/json'
|
|
2014
|
-
}, headers),
|
|
2015
|
-
transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
|
|
2016
|
-
var _data$data;
|
|
2017
|
-
|
|
2018
|
-
return data.success ? null : (_data$data = data.data) == null ? void 0 : _data$data.error;
|
|
2019
|
-
}])
|
|
2020
|
-
}).then(function (res) {
|
|
2021
|
-
return res;
|
|
2022
|
-
})["catch"](function (err) {
|
|
2023
|
-
throw err;
|
|
2024
|
-
});
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
2064
|
function findSoldStatisticRequest(_ref) {
|
|
2028
2065
|
var _ref$baseURL = _ref.baseURL,
|
|
2029
2066
|
baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
|
|
@@ -2593,6 +2630,22 @@ var ContractKind;
|
|
|
2593
2630
|
ContractKind["LegalSupport"] = "legal-support";
|
|
2594
2631
|
})(ContractKind || (ContractKind = {}));
|
|
2595
2632
|
|
|
2633
|
+
var ContractLegalDocumentStatus;
|
|
2634
|
+
|
|
2635
|
+
(function (ContractLegalDocumentStatus) {
|
|
2636
|
+
ContractLegalDocumentStatus["NotRequested"] = "notRequested";
|
|
2637
|
+
ContractLegalDocumentStatus["Requested"] = "requested";
|
|
2638
|
+
ContractLegalDocumentStatus["Ready"] = "ready";
|
|
2639
|
+
ContractLegalDocumentStatus["NotFound"] = "notFound";
|
|
2640
|
+
})(ContractLegalDocumentStatus || (ContractLegalDocumentStatus = {}));
|
|
2641
|
+
|
|
2642
|
+
var ContractLegalDocumentType;
|
|
2643
|
+
|
|
2644
|
+
(function (ContractLegalDocumentType) {
|
|
2645
|
+
ContractLegalDocumentType["Egrn"] = "egrn";
|
|
2646
|
+
ContractLegalDocumentType["OwnershipTransfers"] = "ownershipTransfers";
|
|
2647
|
+
})(ContractLegalDocumentType || (ContractLegalDocumentType = {}));
|
|
2648
|
+
|
|
2596
2649
|
var DealNoLawyerReason;
|
|
2597
2650
|
|
|
2598
2651
|
(function (DealNoLawyerReason) {
|
|
@@ -3152,6 +3205,12 @@ var ContractDictionary = {
|
|
|
3152
3205
|
Kind: (_Kind = {}, _Kind[ContractKind.NotExclusive] = 'Не эксклюзив', _Kind[ContractKind.Exclusive] = 'Эксклюзив', _Kind[ContractKind.OnAdvance] = 'Устный', _Kind[ContractKind.LegalSupport] = 'Cопровождение', _Kind)
|
|
3153
3206
|
};
|
|
3154
3207
|
|
|
3208
|
+
var _Status$2, _Type$3;
|
|
3209
|
+
var ContractLegalDocumentDictionary = {
|
|
3210
|
+
Status: (_Status$2 = {}, _Status$2[ContractLegalDocumentStatus.NotFound] = 'Документ не найден', _Status$2[ContractLegalDocumentStatus.NotRequested] = 'Документ не запрашивался', _Status$2[ContractLegalDocumentStatus.Requested] = 'Документ запрошен', _Status$2[ContractLegalDocumentStatus.Ready] = 'Документ готов', _Status$2),
|
|
3211
|
+
Type: (_Type$3 = {}, _Type$3[ContractLegalDocumentType.Egrn] = 'ЕГРН', _Type$3[ContractLegalDocumentType.OwnershipTransfers] = 'Переход собственности', _Type$3)
|
|
3212
|
+
};
|
|
3213
|
+
|
|
3155
3214
|
var _DealNoLawyerReason, _DealPartnerDealType, _DealStatus;
|
|
3156
3215
|
var DealDictionary = {
|
|
3157
3216
|
DealNoLawyerReason: (_DealNoLawyerReason = {}, _DealNoLawyerReason[DealNoLawyerReason.FromDeveloper] = 'Новостройка от застройщика (не требуется юрист)', _DealNoLawyerReason[DealNoLawyerReason.NoLawyerOffice] = 'Офис без юристов', _DealNoLawyerReason),
|
|
@@ -3170,20 +3229,20 @@ var DealParticipantDictionary = {
|
|
|
3170
3229
|
DealParticipantPosition: (_DealParticipantPosit = {}, _DealParticipantPosit[DealParticipantPosition.Agent] = 'Агент', _DealParticipantPosit[DealParticipantPosition.Lawyer] = 'Юрист', _DealParticipantPosit[DealParticipantPosition.BankEmployee] = 'Сотрудник банка', _DealParticipantPosit[DealParticipantPosition.Relative] = 'Родственник', _DealParticipantPosit[DealParticipantPosition.Seller] = 'Продавец', _DealParticipantPosit[DealParticipantPosition.Other] = 'Другое', _DealParticipantPosit)
|
|
3171
3230
|
};
|
|
3172
3231
|
|
|
3173
|
-
var _Type$
|
|
3232
|
+
var _Type$4, _Category$1;
|
|
3174
3233
|
var FileDictionary = {
|
|
3175
|
-
Type: (_Type$
|
|
3234
|
+
Type: (_Type$4 = {}, _Type$4[FileType.Image] = 'Изображение', _Type$4[FileType.Audio] = 'Аудиозапись', _Type$4[FileType.Video] = 'Видео', _Type$4[FileType.Document] = 'Документ', _Type$4),
|
|
3176
3235
|
Category: (_Category$1 = {}, _Category$1[FileCategory.DeleteReason] = 'Является обоснованием закрытия контракта', _Category$1[FileCategory.EGRN] = 'ЕГРН', _Category$1[FileCategory.OwnershipTransfers] = 'Переходы собственности', _Category$1)
|
|
3177
3236
|
};
|
|
3178
3237
|
|
|
3179
|
-
var _Type$
|
|
3238
|
+
var _Type$5;
|
|
3180
3239
|
var GalleryImageDictionary = {
|
|
3181
|
-
Type: (_Type$
|
|
3240
|
+
Type: (_Type$5 = {}, _Type$5[GalleryImageType.Main] = 'Основная', _Type$5[GalleryImageType.Portrait] = 'Портрет', _Type$5)
|
|
3182
3241
|
};
|
|
3183
3242
|
|
|
3184
|
-
var _Type$
|
|
3243
|
+
var _Type$6, _RenovationType, _Gas, _HouseType, _LandShape, _LandUsageType, _Relief, _Electricity, _Furniture, _Sewerage, _WindowView;
|
|
3185
3244
|
var RealtyDictionary = {
|
|
3186
|
-
Type: (_Type$
|
|
3245
|
+
Type: (_Type$6 = {}, _Type$6[RealtyType.FlatSecondary] = 'Вторичка', _Type$6[RealtyType.FlatNew] = 'Новостройка', _Type$6[RealtyType.House] = 'Дом', _Type$6),
|
|
3187
3246
|
RenovationType: (_RenovationType = {}, _RenovationType[RealtyRenovationType.None] = 'Без ремонта', _RenovationType[RealtyRenovationType.Author] = 'Авторский', _RenovationType[RealtyRenovationType.Cosmetic] = 'Косметический', _RenovationType[RealtyRenovationType.Euro] = 'Евро', _RenovationType[RealtyRenovationType.FineFinishing] = 'Чистовая отделка', _RenovationType[RealtyRenovationType.RoughFinishing] = 'Черновая отделка', _RenovationType),
|
|
3188
3247
|
Gas: (_Gas = {}, _Gas[RealtyGas.None] = 'Нет', _Gas[RealtyGas.Connected] = 'Подключено', _Gas[RealtyGas.Border] = 'По границе', _Gas[RealtyGas.Possible] = 'Возможно', _Gas[RealtyGas.Autonomous] = 'Автономное', _Gas),
|
|
3189
3248
|
HouseType: (_HouseType = {}, _HouseType[RealtyHouseType.Townhouse] = 'Таунхаус', _HouseType[RealtyHouseType.House] = 'Дом', _HouseType[RealtyHouseType.Cottage] = 'Коттедж', _HouseType[RealtyHouseType.Part] = 'Часть дома', _HouseType[RealtyHouseType.Duplex] = 'Дуплекс', _HouseType),
|
|
@@ -3196,20 +3255,20 @@ var RealtyDictionary = {
|
|
|
3196
3255
|
WindowView: (_WindowView = {}, _WindowView[RealtyWindowView.Street] = 'На улицу', _WindowView[RealtyWindowView.Yard] = 'Во двор', _WindowView[RealtyWindowView.Both] = 'В обе стороны', _WindowView)
|
|
3197
3256
|
};
|
|
3198
3257
|
|
|
3199
|
-
var _Category$2, _ModerationStatus, _Status$
|
|
3258
|
+
var _Category$2, _ModerationStatus, _Status$3, _Type$7, _InvestType, _DepublishReason, _Source;
|
|
3200
3259
|
var ServiceRequestDictionary = {
|
|
3201
3260
|
Category: (_Category$2 = {}, _Category$2[ServiceRequestCategory.Depublished] = 'Неликвидный', _Category$2[ServiceRequestCategory.Discounted] = 'Цена снижена', _Category$2[ServiceRequestCategory.Cold] = 'Холодный', _Category$2[ServiceRequestCategory.Warm] = 'Тёплый', _Category$2[ServiceRequestCategory.New] = 'Новый', _Category$2[ServiceRequestCategory.Hot] = 'Горячий', _Category$2),
|
|
3202
3261
|
ModerationStatus: (_ModerationStatus = {}, _ModerationStatus[ServiceRequestModerationStatus.None] = 'Нет', _ModerationStatus[ServiceRequestModerationStatus.Sent] = 'Отправлен', _ModerationStatus[ServiceRequestModerationStatus.Booked] = 'Взят в работу', _ModerationStatus[ServiceRequestModerationStatus.Done] = 'Готов', _ModerationStatus),
|
|
3203
|
-
Status: (_Status$
|
|
3204
|
-
Type: (_Type$
|
|
3262
|
+
Status: (_Status$3 = {}, _Status$3[ServiceRequestStatus.LeadExpert] = 'Лид заведённый экспертом', _Status$3[ServiceRequestStatus.LeadAdv] = 'Лид пришедший с рекламы', _Status$3[ServiceRequestStatus.Booked] = 'Неподтверждённая бронь', _Status$3[ServiceRequestStatus.Approved] = 'Бронь одобренная РОП', _Status$3[ServiceRequestStatus.Declined] = 'Бронь отклонённая РОП', _Status$3[ServiceRequestStatus.Terminated] = 'Контракт расторгнут', _Status$3[ServiceRequestStatus.BookingCanceled] = 'ЗОУ закрыто', _Status$3[ServiceRequestStatus.Prepaid] = 'Получен аванс по сделке', _Status$3[ServiceRequestStatus.DealSigned] = 'Сделка подписана', _Status$3[ServiceRequestStatus.Registered] = 'Документы зарегистрированы', _Status$3[ServiceRequestStatus.DealDone] = 'Сделка закрыта', _Status$3[ServiceRequestStatus.NoPrepayment] = 'Запланирована сделка без аванса', _Status$3[ServiceRequestStatus.PrepaymentPlanned] = 'Запланирован аванс', _Status$3),
|
|
3263
|
+
Type: (_Type$7 = {}, _Type$7[ServiceRequestType.Buy] = 'Покупка', _Type$7[ServiceRequestType.Sell] = 'Продажа', _Type$7),
|
|
3205
3264
|
InvestType: (_InvestType = {}, _InvestType[ServiceRequestInvestType.Buyout] = 'Инвестпроект 1 этапа', _InvestType[ServiceRequestInvestType.Sell] = 'Инвестпроект 2 этапа', _InvestType),
|
|
3206
3265
|
DepublishReason: (_DepublishReason = {}, _DepublishReason[ServiceRequestDepublishReason.TemporaryDepublish] = 'Временное снятие объекта', _DepublishReason[ServiceRequestDepublishReason.DepublishOnAdvance] = 'Снятие объекта на время аванса', _DepublishReason[ServiceRequestDepublishReason.ClientRequest] = 'Просьба клиента убрать объект из рекламы', _DepublishReason[ServiceRequestDepublishReason.DeveloperRequest] = 'Запрет застройщика на размещение рекламы', _DepublishReason[ServiceRequestDepublishReason.BadObject] = 'Неликвидный объект, требуется работа с клиентом', _DepublishReason[ServiceRequestDepublishReason.BadObjectElite] = 'Неликвидный элитный объект', _DepublishReason[ServiceRequestDepublishReason.HardToSellObject] = '“Сложный“ в реализации объект', _DepublishReason[ServiceRequestDepublishReason.CrossSell] = 'Кросспродажи', _DepublishReason),
|
|
3207
3266
|
Source: (_Source = {}, _Source[ServiceRequestSource.Apk] = 'АПК', _Source[ServiceRequestSource.Recommendations] = 'Рекомендации', _Source[ServiceRequestSource.ColdCCMoscow] = 'ХО КЦ Москва', _Source[ServiceRequestSource.ColdCCZelenograd] = 'ХО КЦ Зеленоград', _Source[ServiceRequestSource.ColdCCZhukovsky] = 'ХО КЦ Жуковский', _Source[ServiceRequestSource.Marketing] = 'Маркетинг', _Source[ServiceRequestSource.Test] = 'Тест', _Source[ServiceRequestSource.Other] = 'Другое', _Source)
|
|
3208
3267
|
};
|
|
3209
3268
|
|
|
3210
|
-
var _Type$
|
|
3269
|
+
var _Type$8;
|
|
3211
3270
|
var ServiceRequestActivityDictionary = {
|
|
3212
|
-
Type: (_Type$
|
|
3271
|
+
Type: (_Type$8 = {}, _Type$8[ServiceRequestActivityType.Comment] = 'Комментарий', _Type$8[ServiceRequestActivityType.Edit] = 'Изменения', _Type$8[ServiceRequestActivityType.Transfer] = 'Перевод', _Type$8[ServiceRequestActivityType.Call] = 'Звонок', _Type$8[ServiceRequestActivityType.Task] = 'Задача', _Type$8[ServiceRequestActivityType.Contract] = 'Контракт', _Type$8[ServiceRequestActivityType.PublicationProblem] = 'Ошибка при публикации', _Type$8[ServiceRequestActivityType.MarkedUp] = 'Разметка', _Type$8[ServiceRequestActivityType.Published] = 'Публикация', _Type$8[ServiceRequestActivityType.Republished] = 'Повторная публикация', _Type$8[ServiceRequestActivityType.Depublished] = 'Снятие с публикации', _Type$8[ServiceRequestActivityType.PriceChanged] = 'Изменена цена', _Type$8[ServiceRequestActivityType.RequestPriceDown] = 'Запрос на снижение цены', _Type$8[ServiceRequestActivityType.ContractExpired] = 'Срок контракта истекает', _Type$8[ServiceRequestActivityType.CallTaskCreated] = 'Обращениие создано', _Type$8[ServiceRequestActivityType.RealtyShowScheduled] = 'Показ объекта запланирован', _Type$8[ServiceRequestActivityType.RealtyShowCompleted] = 'Показ объекта выполнен', _Type$8[ServiceRequestActivityType.RealtyShowCancelled] = 'Показ объекта отменен', _Type$8)
|
|
3213
3272
|
};
|
|
3214
3273
|
|
|
3215
3274
|
var _Category$3;
|
|
@@ -3217,16 +3276,16 @@ var ServiceRequestCategorizedFileDictionary = {
|
|
|
3217
3276
|
Category: (_Category$3 = {}, _Category$3[ServiceRequestCategorizedFileCategory.AdvAgreement] = 'Соглашение на рекламу', _Category$3[ServiceRequestCategorizedFileCategory.AdvanceForm] = 'Анкета на аванс', _Category$3[ServiceRequestCategorizedFileCategory.CheckList] = 'Чек-лист со встречи', _Category$3[ServiceRequestCategorizedFileCategory.Contract] = 'Договор оказания услуг', _Category$3[ServiceRequestCategorizedFileCategory.Kc] = 'Файлы от КЦ', _Category$3[ServiceRequestCategorizedFileCategory.Other] = 'Разное (ЗОУ)', _Category$3[ServiceRequestCategorizedFileCategory.OwnershipCheckReport] = 'Отчет проверки собственника', _Category$3[ServiceRequestCategorizedFileCategory.OwnershipJustification] = 'Основание права собственности', _Category$3[ServiceRequestCategorizedFileCategory.PassportClient] = 'Паспорта клиента (свид-ва о рождении)', _Category$3[ServiceRequestCategorizedFileCategory.Egrn] = 'ЕГРН', _Category$3[ServiceRequestCategorizedFileCategory.DeleteReason] = 'Является обоснованием закрытия контракта', _Category$3[ServiceRequestCategorizedFileCategory.OwnershipTransfers] = 'Переходы собственности', _Category$3[ServiceRequestCategorizedFileCategory.Risk] = 'Проверка на риски', _Category$3)
|
|
3218
3277
|
};
|
|
3219
3278
|
|
|
3220
|
-
var _Type$
|
|
3279
|
+
var _Type$9;
|
|
3221
3280
|
var ShapeDictionary = {
|
|
3222
|
-
Type: (_Type$
|
|
3281
|
+
Type: (_Type$9 = {}, _Type$9[ShapeType.AdministrativeDistrict] = 'Административный округ', _Type$9[ShapeType.Block] = 'Квартал', _Type$9[ShapeType.Complex] = 'Новостройка', _Type$9[ShapeType.District] = 'Район', _Type$9[ShapeType.House] = 'Здание', _Type$9[ShapeType.Microdistrict] = 'Микрорайон', _Type$9)
|
|
3223
3282
|
};
|
|
3224
3283
|
|
|
3225
|
-
var _Importance, _NotificationType, _Status$
|
|
3284
|
+
var _Importance, _NotificationType, _Status$4;
|
|
3226
3285
|
var TaskDictionary = {
|
|
3227
3286
|
Importance: (_Importance = {}, _Importance[TaskImportance.Normal] = 'Обычная', _Importance[TaskImportance.High] = 'Высокая', _Importance),
|
|
3228
3287
|
NotificationType: (_NotificationType = {}, _NotificationType[TaskNotificationType.Morning] = 'Утром', _NotificationType[TaskNotificationType.Min15] = 'За 15 минут', _NotificationType[TaskNotificationType.Hour1] = 'За час', _NotificationType[TaskNotificationType.Hour2] = 'За 2 часа', _NotificationType[TaskNotificationType.Nil] = 'Не напоминать', _NotificationType),
|
|
3229
|
-
Status: (_Status$
|
|
3288
|
+
Status: (_Status$4 = {}, _Status$4[TaskStatus.InProgress] = 'В работе', _Status$4[TaskStatus.Resolved] = 'Выполнена', _Status$4[TaskStatus.Closed] = 'Закрыта', _Status$4)
|
|
3230
3289
|
};
|
|
3231
3290
|
|
|
3232
3291
|
var _TelephonyType, _Direction$1, _Gender, _Level, _Office, _Role, _FiredType, _FiredReason, _AttractionChannel;
|
|
@@ -3242,9 +3301,9 @@ var UserDictionary = {
|
|
|
3242
3301
|
AttractionChannel: (_AttractionChannel = {}, _AttractionChannel[UserAttractionChannel.Recommendations] = 'Рекомендации', _AttractionChannel[UserAttractionChannel.PartnersOffice] = 'Офис партнеров', _AttractionChannel[UserAttractionChannel.HeadhunterXOHR] = 'headhunter ХО HR', _AttractionChannel[UserAttractionChannel.HeadhunterXOKC] = 'headhunter ХО КЦ', _AttractionChannel[UserAttractionChannel.KCCianBase] = 'КЦ базы Cian', _AttractionChannel[UserAttractionChannel.HeadhunterResponse] = 'headhunter отклик', _AttractionChannel[UserAttractionChannel.Marketing] = 'Маркетинг', _AttractionChannel[UserAttractionChannel.Site] = 'Сайт', _AttractionChannel[UserAttractionChannel.Activity] = 'Мероприятия', _AttractionChannel[UserAttractionChannel.Webinar] = 'Вебинар', _AttractionChannel[UserAttractionChannel.Other] = 'Другое', _AttractionChannel)
|
|
3243
3302
|
};
|
|
3244
3303
|
|
|
3245
|
-
var _Type$
|
|
3304
|
+
var _Type$a;
|
|
3246
3305
|
var UserPhoneDictionary = {
|
|
3247
|
-
Type: (_Type$
|
|
3306
|
+
Type: (_Type$a = {}, _Type$a[UserPhoneType.Sip] = 'Внутренний', _Type$a[UserPhoneType.Main] = 'Основной', _Type$a[UserPhoneType.Work] = 'Рабочий', _Type$a[UserPhoneType.Home] = 'Домашний', _Type$a[UserPhoneType.VirtualZadarma] = 'Общий виртуальный (ZADARMA)', _Type$a[UserPhoneType.VirtualVox] = 'Общий виртуальный (VOX)', _Type$a[UserPhoneType.CianZadarma] = 'Трекинг ЦИАН (ZADARMA)', _Type$a[UserPhoneType.CianVox] = 'Трекинг ЦИАН (VOX)', _Type$a[UserPhoneType.YandexZadarma] = 'Трекинг Яндекс (ZADARMA)', _Type$a[UserPhoneType.YandexVox] = 'Трекинг Яндекс (VOX)', _Type$a[UserPhoneType.AvitoZadarma] = 'Трекинг Avito (ZADARMA)', _Type$a[UserPhoneType.AvitoVox] = 'Трекинг Avito (VOX)', _Type$a[UserPhoneType.YaBlack] = 'Яндекс black (VOX)', _Type$a[UserPhoneType.CiBlack] = 'ЦИАН black (VOX)', _Type$a)
|
|
3248
3307
|
};
|
|
3249
3308
|
|
|
3250
3309
|
var _Concurrency;
|
|
@@ -3450,6 +3509,14 @@ var Api = function Api(baseURL) {
|
|
|
3450
3509
|
});
|
|
3451
3510
|
};
|
|
3452
3511
|
|
|
3512
|
+
this.createContractLegalDocument = function (urlParams, headers) {
|
|
3513
|
+
return createContractLegalDocumentRequest({
|
|
3514
|
+
urlParams: urlParams,
|
|
3515
|
+
headers: headers,
|
|
3516
|
+
baseURL: _this.baseURL
|
|
3517
|
+
});
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3453
3520
|
this.declineContract = function (urlParams, body, headers) {
|
|
3454
3521
|
return declineContractRequest({
|
|
3455
3522
|
urlParams: urlParams,
|
|
@@ -3467,6 +3534,22 @@ var Api = function Api(baseURL) {
|
|
|
3467
3534
|
});
|
|
3468
3535
|
};
|
|
3469
3536
|
|
|
3537
|
+
this.findContractById = function (urlParams, headers) {
|
|
3538
|
+
return findContractByIdRequest({
|
|
3539
|
+
urlParams: urlParams,
|
|
3540
|
+
headers: headers,
|
|
3541
|
+
baseURL: _this.baseURL
|
|
3542
|
+
});
|
|
3543
|
+
};
|
|
3544
|
+
|
|
3545
|
+
this.findContractLegalDocumentById = function (urlParams, headers) {
|
|
3546
|
+
return findContractLegalDocumentByIdRequest({
|
|
3547
|
+
urlParams: urlParams,
|
|
3548
|
+
headers: headers,
|
|
3549
|
+
baseURL: _this.baseURL
|
|
3550
|
+
});
|
|
3551
|
+
};
|
|
3552
|
+
|
|
3470
3553
|
this.signContract = function (urlParams, body, headers) {
|
|
3471
3554
|
return signContractRequest({
|
|
3472
3555
|
urlParams: urlParams,
|
|
@@ -3740,15 +3823,6 @@ var Api = function Api(baseURL) {
|
|
|
3740
3823
|
});
|
|
3741
3824
|
};
|
|
3742
3825
|
|
|
3743
|
-
this.depublishServiceRequest = function (urlParams, headers, body) {
|
|
3744
|
-
return depublishServiceRequest({
|
|
3745
|
-
urlParams: urlParams,
|
|
3746
|
-
headers: headers,
|
|
3747
|
-
body: body,
|
|
3748
|
-
baseURL: _this.baseURL
|
|
3749
|
-
});
|
|
3750
|
-
};
|
|
3751
|
-
|
|
3752
3826
|
this.disapproveCloseServiceRequest = function (urlParams, headers) {
|
|
3753
3827
|
return disapproveCloseServiceRequestRequest({
|
|
3754
3828
|
urlParams: urlParams,
|
|
@@ -3839,10 +3913,9 @@ var Api = function Api(baseURL) {
|
|
|
3839
3913
|
});
|
|
3840
3914
|
};
|
|
3841
3915
|
|
|
3842
|
-
this.
|
|
3843
|
-
return
|
|
3916
|
+
this.sendServiceRequestToModeration = function (urlParams, headers) {
|
|
3917
|
+
return sendServiceRequestToModerationRequest({
|
|
3844
3918
|
urlParams: urlParams,
|
|
3845
|
-
params: params,
|
|
3846
3919
|
headers: headers,
|
|
3847
3920
|
baseURL: _this.baseURL
|
|
3848
3921
|
});
|
|
@@ -3856,17 +3929,18 @@ var Api = function Api(baseURL) {
|
|
|
3856
3929
|
});
|
|
3857
3930
|
};
|
|
3858
3931
|
|
|
3859
|
-
this.
|
|
3860
|
-
return
|
|
3861
|
-
|
|
3932
|
+
this.depublishServiceRequest = function (urlParams, headers, body) {
|
|
3933
|
+
return depublishServiceRequest({
|
|
3934
|
+
urlParams: urlParams,
|
|
3862
3935
|
headers: headers,
|
|
3936
|
+
body: body,
|
|
3863
3937
|
baseURL: _this.baseURL
|
|
3864
3938
|
});
|
|
3865
3939
|
};
|
|
3866
3940
|
|
|
3867
|
-
this.
|
|
3868
|
-
return
|
|
3869
|
-
|
|
3941
|
+
this.returnDeferredServiceRequest = function (body, headers) {
|
|
3942
|
+
return returnDeferredServiceRequestRequest({
|
|
3943
|
+
body: body,
|
|
3870
3944
|
headers: headers,
|
|
3871
3945
|
baseURL: _this.baseURL
|
|
3872
3946
|
});
|
|
@@ -3888,10 +3962,10 @@ var Api = function Api(baseURL) {
|
|
|
3888
3962
|
});
|
|
3889
3963
|
};
|
|
3890
3964
|
|
|
3891
|
-
this.
|
|
3892
|
-
return
|
|
3965
|
+
this.findServiceRequestSellerReports = function (urlParams, params, headers) {
|
|
3966
|
+
return findServiceRequestSellerReportsRequest({
|
|
3893
3967
|
urlParams: urlParams,
|
|
3894
|
-
|
|
3968
|
+
params: params,
|
|
3895
3969
|
headers: headers,
|
|
3896
3970
|
baseURL: _this.baseURL
|
|
3897
3971
|
});
|
|
@@ -4028,7 +4102,10 @@ var index = {
|
|
|
4028
4102
|
createCallTaskRequest: createCallTaskRequest,
|
|
4029
4103
|
findCallTasksRequest: findCallTasksRequest,
|
|
4030
4104
|
approveContractRequest: approveContractRequest,
|
|
4105
|
+
createContractLegalDocumentRequest: createContractLegalDocumentRequest,
|
|
4031
4106
|
declineContractRequest: declineContractRequest,
|
|
4107
|
+
findContractByIdRequest: findContractByIdRequest,
|
|
4108
|
+
findContractLegalDocumentByIdRequest: findContractLegalDocumentByIdRequest,
|
|
4032
4109
|
findContractsRequest: findContractsRequest,
|
|
4033
4110
|
signContractRequest: signContractRequest,
|
|
4034
4111
|
terminateContractRequest: terminateContractRequest,
|
|
@@ -4080,7 +4157,6 @@ var index = {
|
|
|
4080
4157
|
startServiceRequestModerationForOldRealtyRequest: startServiceRequestModerationForOldRealtyRequest,
|
|
4081
4158
|
publishServiceRequest: publishServiceRequest,
|
|
4082
4159
|
depublishServiceRequest: depublishServiceRequest,
|
|
4083
|
-
transferServiceRequest: transferServiceRequest,
|
|
4084
4160
|
findSoldStatisticRequest: findSoldStatisticRequest,
|
|
4085
4161
|
createUserRequest: createUserRequest,
|
|
4086
4162
|
findUsersRequest: findUsersRequest,
|
|
@@ -4101,6 +4177,7 @@ var index = {
|
|
|
4101
4177
|
CallTaskDictionary: CallTaskDictionary,
|
|
4102
4178
|
ContactDictionary: ContactDictionary,
|
|
4103
4179
|
ContractDictionary: ContractDictionary,
|
|
4180
|
+
ContractLegalDocumentDictionary: ContractLegalDocumentDictionary,
|
|
4104
4181
|
DealDictionary: DealDictionary,
|
|
4105
4182
|
DealCategorizedFileDictionary: DealCategorizedFileDictionary,
|
|
4106
4183
|
DealParticipantDictionary: DealParticipantDictionary,
|
|
@@ -4140,6 +4217,8 @@ var index = {
|
|
|
4140
4217
|
get ContractType () { return ContractType; },
|
|
4141
4218
|
get ContractStatus () { return ContractStatus; },
|
|
4142
4219
|
get ContractKind () { return ContractKind; },
|
|
4220
|
+
get ContractLegalDocumentStatus () { return ContractLegalDocumentStatus; },
|
|
4221
|
+
get ContractLegalDocumentType () { return ContractLegalDocumentType; },
|
|
4143
4222
|
get DealNoLawyerReason () { return DealNoLawyerReason; },
|
|
4144
4223
|
get DealPartnerDealType () { return DealPartnerDealType; },
|
|
4145
4224
|
get DealStatus () { return DealStatus; },
|
|
@@ -5293,9 +5372,9 @@ var AddressMetroDistanceDictionary = {
|
|
|
5293
5372
|
Method: (_Method = {}, _Method[AddressMetroDistanceMethod.Car] = 'На машине', _Method[AddressMetroDistanceMethod.Foot] = 'Пешком', _Method)
|
|
5294
5373
|
};
|
|
5295
5374
|
|
|
5296
|
-
var _Type$
|
|
5375
|
+
var _Type$b, _DealType, _DealTypeFlatNew, _RenovationType$1, _RenovationTypeFlatNe, _FlatKind, _ParkingType, _FlatType, _WindowView$1, _DDUOwnerType, _Electricity$1, _Gas$1, _Heating, _LandUsageType$1, _LandPurpose, _LandShape$1, _Relief$1, _Plumbing, _Sewerage$1, _HouseType$1, _WallsMaterial$2, _Furniture$1, _AdditionalPriceCurre;
|
|
5297
5376
|
var RealtyDictionary$1 = {
|
|
5298
|
-
Type: (_Type$
|
|
5377
|
+
Type: (_Type$b = {}, _Type$b[RealtyType$1.FlatSecondary] = 'Вторичка', _Type$b[RealtyType$1.FlatNew] = 'Новостройка', _Type$b[RealtyType$1.House] = 'Дом', _Type$b),
|
|
5299
5378
|
DealType: (_DealType = {}, _DealType[RealtyDealType.Free] = 'Свободная продажа', _DealType[RealtyDealType.Alternative] = 'Альтернатива', _DealType),
|
|
5300
5379
|
DealTypeFlatNew: (_DealTypeFlatNew = {}, _DealTypeFlatNew[RealtyDealTypeFlatNew.Reassignment] = 'Договор уступки', _DealTypeFlatNew[RealtyDealTypeFlatNew.DKP] = 'ДКП', _DealTypeFlatNew[RealtyDealTypeFlatNew.DDU] = 'ДДУ', _DealTypeFlatNew[RealtyDealTypeFlatNew.PreSaleContract] = 'Предварительный договор купли-продажи', _DealTypeFlatNew),
|
|
5301
5380
|
RenovationType: (_RenovationType$1 = {}, _RenovationType$1[RealtyRenovationType$1.None] = 'Без ремонта', _RenovationType$1[RealtyRenovationType$1.Author] = 'Авторский', _RenovationType$1[RealtyRenovationType$1.Cosmetic] = 'Косметический', _RenovationType$1[RealtyRenovationType$1.Euro] = 'Евро', _RenovationType$1),
|
|
@@ -6260,9 +6339,9 @@ var AddressBTIParamsDictionary$2 = {
|
|
|
6260
6339
|
HeatingType: (_HeatingType$2 = {}, _HeatingType$2[AddressBTIParamsHeatingType$2.None] = 'Нет', _HeatingType$2[AddressBTIParamsHeatingType$2.Central] = 'Центральное', _HeatingType$2[AddressBTIParamsHeatingType$2.Local] = 'Отдельное', _HeatingType$2[AddressBTIParamsHeatingType$2.Gas] = 'Газовое', _HeatingType$2[AddressBTIParamsHeatingType$2.Electricity] = 'Электрическое', _HeatingType$2[AddressBTIParamsHeatingType$2.Liquid] = 'Жидкое топливо', _HeatingType$2)
|
|
6261
6340
|
};
|
|
6262
6341
|
|
|
6263
|
-
var _Type$
|
|
6342
|
+
var _Type$c, _RenovationType$2, _Gas$2, _HouseType$2, _LandShape$2, _LandUsageType$2, _Relief$2, _Electricity$2, _Furniture$2, _Sewerage$2, _WindowView$2;
|
|
6264
6343
|
var RealtyDictionary$2 = {
|
|
6265
|
-
Type: (_Type$
|
|
6344
|
+
Type: (_Type$c = {}, _Type$c[RealtyType$2.Flat] = 'Квартира', _Type$c[RealtyType$2.House] = 'Дом', _Type$c),
|
|
6266
6345
|
RenovationType: (_RenovationType$2 = {}, _RenovationType$2[RealtyRenovationType$2.None] = 'Без ремонта', _RenovationType$2[RealtyRenovationType$2.Author] = 'Авторский', _RenovationType$2[RealtyRenovationType$2.Cosmetic] = 'Косметический', _RenovationType$2[RealtyRenovationType$2.Euro] = 'Евро', _RenovationType$2[RealtyRenovationType$2.FineFinishing] = 'Чистовая отделка', _RenovationType$2[RealtyRenovationType$2.RoughFinishing] = 'Черновая отделка', _RenovationType$2),
|
|
6267
6346
|
Gas: (_Gas$2 = {}, _Gas$2[RealtyGas$2.None] = 'Нет', _Gas$2[RealtyGas$2.Connected] = 'Подключено', _Gas$2[RealtyGas$2.Border] = 'По границе', _Gas$2[RealtyGas$2.Possible] = 'Возможно', _Gas$2[RealtyGas$2.Autonomous] = 'Автономное', _Gas$2),
|
|
6268
6347
|
HouseType: (_HouseType$2 = {}, _HouseType$2[RealtyHouseType$2.Townhouse] = 'Таунхаус', _HouseType$2[RealtyHouseType$2.House] = 'Дом', _HouseType$2[RealtyHouseType$2.Cottage] = 'Коттедж', _HouseType$2[RealtyHouseType$2.Part] = 'Часть дома', _HouseType$2[RealtyHouseType$2.Duplex] = 'Дуплекс', _HouseType$2),
|
|
@@ -6275,9 +6354,9 @@ var RealtyDictionary$2 = {
|
|
|
6275
6354
|
WindowView: (_WindowView$2 = {}, _WindowView$2[RealtyWindowView$2.Street] = 'На улицу', _WindowView$2[RealtyWindowView$2.Yard] = 'Во двор', _WindowView$2[RealtyWindowView$2.Both] = 'В обе стороны', _WindowView$2)
|
|
6276
6355
|
};
|
|
6277
6356
|
|
|
6278
|
-
var _Type$
|
|
6357
|
+
var _Type$d;
|
|
6279
6358
|
var ShapeDictionary$1 = {
|
|
6280
|
-
Type: (_Type$
|
|
6359
|
+
Type: (_Type$d = {}, _Type$d[ShapeType$1.AdministrativeDistrict] = 'Административный округ', _Type$d[ShapeType$1.Block] = 'Квартал', _Type$d[ShapeType$1.Complex] = 'Новостройка', _Type$d[ShapeType$1.District] = 'Район', _Type$d[ShapeType$1.House] = 'Здание', _Type$d[ShapeType$1.Microdistrict] = 'Микрорайон', _Type$d)
|
|
6281
6360
|
};
|
|
6282
6361
|
|
|
6283
6362
|
var Api$3 = function Api(baseURL) {
|