@hapl/api-queries 0.1.95--canary.30.e3ca8db.0 → 0.1.95

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.1.95 (Mon Nov 29 2021)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Убрал ненужный словарь AvailableFunds [#31](https://github.com/homeappcorporate/api-queries/pull/31) ([@alexandropavlov](https://github.com/alexandropavlov))
6
+
7
+ #### Authors: 1
8
+
9
+ - Alexander Pavlov ([@alexandropavlov](https://github.com/alexandropavlov))
10
+
11
+ ---
12
+
1
13
  # v0.1.94 (Fri Nov 26 2021)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -842,27 +842,6 @@ function findServiceRequestsRequest(_ref) {
842
842
  });
843
843
  }
844
844
 
845
- function findServiceRequestShortInfoByIdRequest(_ref) {
846
- var _ref$baseURL = _ref.baseURL,
847
- baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
848
- urlParams = _ref.urlParams,
849
- headers = _ref.headers;
850
- return axios.get("/api/service-request/short/" + urlParams.id, {
851
- baseURL: baseURL,
852
- headers: _extends({
853
- Accept: 'application/json',
854
- 'Content-Type': 'application/json'
855
- }, headers),
856
- transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
857
- return data.success ? data.data : data.data.error;
858
- }])
859
- }).then(function (res) {
860
- return res;
861
- })["catch"](function (err) {
862
- throw err;
863
- });
864
- }
865
-
866
845
  function findServiceRequestCategorizedFilesRequest(_ref) {
867
846
  var _ref$baseURL = _ref.baseURL,
868
847
  baseURL = _ref$baseURL === void 0 ? 'https://clients.homeapp.ru' : _ref$baseURL,
@@ -1171,28 +1150,6 @@ var AvailableFundsIncomeType;
1171
1150
  AvailableFundsIncomeType["Other"] = "other";
1172
1151
  })(AvailableFundsIncomeType || (AvailableFundsIncomeType = {}));
1173
1152
 
1174
- var AvailableFundsCommonPaymentType;
1175
-
1176
- (function (AvailableFundsCommonPaymentType) {
1177
- AvailableFundsCommonPaymentType["AdvancePaymentUnderTheAdvanceAgreement"] = "advance_payment_under_the_advance_agreement";
1178
- AvailableFundsCommonPaymentType["BillOfCredit"] = "bill_of_credit";
1179
- AvailableFundsCommonPaymentType["BonusPaymentToMentor"] = "bonus_payment_to_mentor";
1180
- AvailableFundsCommonPaymentType["BonusPaymentToTeamlead"] = "bonus_payment_to_teamlead";
1181
- AvailableFundsCommonPaymentType["BonusToExpert"] = "bonus_to_expert";
1182
- AvailableFundsCommonPaymentType["BonusToTrainee"] = "bonus_to_trainee";
1183
- AvailableFundsCommonPaymentType["ChargingBankAccount"] = "charging_bank_account";
1184
- AvailableFundsCommonPaymentType["ClosingDeal"] = "closing_deal";
1185
- AvailableFundsCommonPaymentType["LegalSupportPayment"] = "legal_support_payment";
1186
- AvailableFundsCommonPaymentType["LetterOfGuarantee"] = "letter_of_guarantee";
1187
- AvailableFundsCommonPaymentType["OtherPayments"] = "other_payments";
1188
- AvailableFundsCommonPaymentType["PartnerCharges"] = "partner_charges";
1189
- AvailableFundsCommonPaymentType["Prepayment"] = "prepayment";
1190
- AvailableFundsCommonPaymentType["RealtyLegalCheck"] = "realty_legal_check";
1191
- AvailableFundsCommonPaymentType["RefundOfAdvance"] = "refund_of_advance";
1192
- AvailableFundsCommonPaymentType["SafeDepositBox"] = "safe_deposit_box";
1193
- AvailableFundsCommonPaymentType["SecurityPayment"] = "security_payment";
1194
- })(AvailableFundsCommonPaymentType || (AvailableFundsCommonPaymentType = {}));
1195
-
1196
1153
  var AvailableFundsCostType;
1197
1154
 
1198
1155
  (function (AvailableFundsCostType) {
@@ -1865,11 +1822,10 @@ var AddressBTIParamsDictionary = {
1865
1822
  HeatingType: (_HeatingType = {}, _HeatingType[AddressBTIParamsHeatingType.None] = 'Нет', _HeatingType[AddressBTIParamsHeatingType.Central] = 'Центральное', _HeatingType[AddressBTIParamsHeatingType.Local] = 'Отдельное', _HeatingType[AddressBTIParamsHeatingType.Gas] = 'Газовое', _HeatingType[AddressBTIParamsHeatingType.Electricity] = 'Электрическое', _HeatingType[AddressBTIParamsHeatingType.Liquid] = 'Жидкое топливо', _HeatingType)
1866
1823
  };
1867
1824
 
1868
- var _IncomeType, _CostType, _CommonPaymentType, _PaymentType, _RealtyType, _PayerType;
1825
+ var _IncomeType, _CostType, _PaymentType, _RealtyType, _PayerType;
1869
1826
  var AvailableFundsDictionary = {
1870
1827
  IncomeType: (_IncomeType = {}, _IncomeType[AvailableFundsIncomeType.Cashbox] = 'Касса', _IncomeType[AvailableFundsIncomeType.CheckingAccount] = 'Расчетный счет', _IncomeType[AvailableFundsIncomeType.Other] = 'Прочее', _IncomeType),
1871
1828
  CostType: (_CostType = {}, _CostType[AvailableFundsCostType.BillOfCredit] = 'Оплата аккредитива', _CostType[AvailableFundsCostType.BonusPaymentToMentor] = 'Выплата бонуса наставнику', _CostType[AvailableFundsCostType.BonusPaymentToTeamlead] = 'Выплата бонуса РОПу', _CostType[AvailableFundsCostType.BonusToTrainee] = 'Выплата бонуса стажеру', _CostType[AvailableFundsCostType.BonusToExpert] = 'Выплата бонуса эксперту', _CostType[AvailableFundsCostType.ChargingBankAccount] = 'Внесение на р/с', _CostType[AvailableFundsCostType.LegalSupportPayment] = 'Внесение за альтернативный объект', _CostType[AvailableFundsCostType.OtherPayments] = 'Прочие расходы', _CostType[AvailableFundsCostType.PartnerCharges] = 'Партнерские расходы', _CostType[AvailableFundsCostType.RefundOfAdvance] = 'Возврат аванса', _CostType[AvailableFundsCostType.RealtyLegalCheck] = 'Проверка объектов', _CostType[AvailableFundsCostType.SafeDepositBox] = 'Оплата банковской ячейки', _CostType),
1872
- CommonPaymentType: (_CommonPaymentType = {}, _CommonPaymentType[AvailableFundsCommonPaymentType.AdvancePaymentUnderTheAdvanceAgreement] = 'Аванс по соглашению об авансе', _CommonPaymentType[AvailableFundsCommonPaymentType.BillOfCredit] = 'Оплата аккредитива', _CommonPaymentType[AvailableFundsCommonPaymentType.BonusPaymentToMentor] = 'Выплата бонуса наставнику', _CommonPaymentType[AvailableFundsCommonPaymentType.BonusPaymentToTeamlead] = 'Выплата бонуса РОПу', _CommonPaymentType[AvailableFundsCommonPaymentType.BonusToTrainee] = 'Выплата бонуса стажеру', _CommonPaymentType[AvailableFundsCommonPaymentType.BonusToExpert] = 'Выплата бонуса эксперту', _CommonPaymentType[AvailableFundsCommonPaymentType.ChargingBankAccount] = 'Внесение на р/с', _CommonPaymentType[AvailableFundsCommonPaymentType.ClosingDeal] = 'Закрытие сделки', _CommonPaymentType[AvailableFundsCommonPaymentType.LegalSupportPayment] = 'Внесение за альтернативный объект', _CommonPaymentType[AvailableFundsCommonPaymentType.LetterOfGuarantee] = 'Гарантийное письмо', _CommonPaymentType[AvailableFundsCommonPaymentType.OtherPayments] = 'Прочие расходы', _CommonPaymentType[AvailableFundsCommonPaymentType.PartnerCharges] = 'Партнерские расходы', _CommonPaymentType[AvailableFundsCommonPaymentType.Prepayment] = 'Предоплата', _CommonPaymentType[AvailableFundsCommonPaymentType.RealtyLegalCheck] = 'Проверка объектов', _CommonPaymentType[AvailableFundsCommonPaymentType.RefundOfAdvance] = 'Возврат аванса', _CommonPaymentType[AvailableFundsCommonPaymentType.SafeDepositBox] = 'Оплата банковской ячейки', _CommonPaymentType[AvailableFundsCommonPaymentType.SecurityPayment] = 'Обеспечительный платеж', _CommonPaymentType),
1873
1829
  PaymentType: (_PaymentType = {}, _PaymentType[AvailableFundsPaymentType.AdvancePaymentUnderTheAdvanceAgreement] = 'Аванс по соглашению об авансе', _PaymentType[AvailableFundsPaymentType.ClosingDeal] = 'Закрытие сделки', _PaymentType[AvailableFundsPaymentType.LetterOfGuarantee] = 'Гарантийное письмо', _PaymentType[AvailableFundsPaymentType.OtherPayment] = 'Прочие поступления', _PaymentType[AvailableFundsPaymentType.Prepayment] = 'Предоплата', _PaymentType[AvailableFundsPaymentType.SecurityPayment] = 'Обеспечительный платеж', _PaymentType),
1874
1830
  RealtyType: (_RealtyType = {}, _RealtyType[AvailableFundsRealtyType.Elite] = 'Элитная', _RealtyType[AvailableFundsRealtyType.Foreign] = 'Зарубежная', _RealtyType[AvailableFundsRealtyType.NewFlatDeveloper] = 'Новостройки/Застройщик', _RealtyType[AvailableFundsRealtyType.Resale] = 'Вторичка', _RealtyType),
1875
1831
  PayerType: (_PayerType = {}, _PayerType[AvailableFundsPayerType.Common] = 'Общий', _PayerType[AvailableFundsPayerType.Homeapp] = 'Homeapp', _PayerType[AvailableFundsPayerType.SalesHead] = 'РОП', _PayerType[AvailableFundsPayerType.Expert] = 'Эксперт', _PayerType)
@@ -2241,14 +2197,6 @@ var Api = function Api(baseURL) {
2241
2197
  });
2242
2198
  };
2243
2199
 
2244
- this.findServiceRequestShortInfoById = function (urlParams, headers) {
2245
- return findServiceRequestShortInfoByIdRequest({
2246
- urlParams: urlParams,
2247
- headers: headers,
2248
- baseURL: _this.baseURL
2249
- });
2250
- };
2251
-
2252
2200
  this.findServiceRequestCategorizedFiles = function (urlParams, params, headers) {
2253
2201
  return findServiceRequestCategorizedFilesRequest({
2254
2202
  urlParams: urlParams,
@@ -2369,7 +2317,6 @@ var index = {
2369
2317
  findServiceRequestByIdRequest: findServiceRequestByIdRequest,
2370
2318
  findServiceRequestDuplicatesRequest: findServiceRequestDuplicatesRequest,
2371
2319
  findServiceRequestsRequest: findServiceRequestsRequest,
2372
- findServiceRequestShortInfoByIdRequest: findServiceRequestShortInfoByIdRequest,
2373
2320
  findServiceRequestCategorizedFilesRequest: findServiceRequestCategorizedFilesRequest,
2374
2321
  sendServiceRequestToModerationRequest: sendServiceRequestToModerationRequest,
2375
2322
  startServiceRequestModerationRequest: startServiceRequestModerationRequest,
@@ -2401,7 +2348,6 @@ var index = {
2401
2348
  get AddressBTIParamsWallsMaterial () { return AddressBTIParamsWallsMaterial; },
2402
2349
  get AddressBTIParamsHeatingType () { return AddressBTIParamsHeatingType; },
2403
2350
  get AvailableFundsIncomeType () { return AvailableFundsIncomeType; },
2404
- get AvailableFundsCommonPaymentType () { return AvailableFundsCommonPaymentType; },
2405
2351
  get AvailableFundsCostType () { return AvailableFundsCostType; },
2406
2352
  get AvailableFundsPaymentType () { return AvailableFundsPaymentType; },
2407
2353
  get AvailableFundsRealtyType () { return AvailableFundsRealtyType; },