@hapl/api-queries 0.1.92 → 0.1.94

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,27 @@
1
+ # v0.1.94 (Fri Nov 26 2021)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - FE-1180: Учет ДДС: добавить новое поле для расходов Плательщик [#29](https://github.com/homeappcorporate/api-queries/pull/29) ([@abd2561024](https://github.com/abd2561024))
6
+
7
+ #### Authors: 1
8
+
9
+ - Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
10
+
11
+ ---
12
+
13
+ # v0.1.93 (Thu Nov 25 2021)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - ITD-987: добавлены значения для словаря файлов ЗОУ [#27](https://github.com/homeappcorporate/api-queries/pull/27) ([@abd2561024](https://github.com/abd2561024))
18
+
19
+ #### Authors: 1
20
+
21
+ - Andrey Romashin ([@abd2561024](https://github.com/abd2561024))
22
+
23
+ ---
24
+
1
25
  # v0.1.92 (Thu Nov 25 2021)
2
26
 
3
27
  #### ⚠️ Pushed to `main`
@@ -164,8 +164,7 @@ function updateAvailableFundsRequest(_ref) {
164
164
  'Content-Type': 'application/json'
165
165
  }, headers),
166
166
  transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
167
- if (data.success) return data.data;
168
- return data.data.error;
167
+ return data.success ? data.data : data.data.error;
169
168
  }])
170
169
  }).then(function (res) {
171
170
  return res;
@@ -185,8 +184,7 @@ function deleteAvailableFundsRequest(_ref) {
185
184
  Accept: 'application/json'
186
185
  }, headers),
187
186
  transformResponse: [].concat(axios.defaults.transformResponse, [function (data) {
188
- if (data.success) return data.data;
189
- return data.data.error;
187
+ return data.success ? data.data : data.data.error;
190
188
  }])
191
189
  }).then(function (res) {
192
190
  return res;
@@ -1152,17 +1150,43 @@ var AvailableFundsIncomeType;
1152
1150
  AvailableFundsIncomeType["Other"] = "other";
1153
1151
  })(AvailableFundsIncomeType || (AvailableFundsIncomeType = {}));
1154
1152
 
1153
+ var AvailableFundsCommonPaymentType;
1154
+
1155
+ (function (AvailableFundsCommonPaymentType) {
1156
+ AvailableFundsCommonPaymentType["AdvancePaymentUnderTheAdvanceAgreement"] = "advance_payment_under_the_advance_agreement";
1157
+ AvailableFundsCommonPaymentType["BillOfCredit"] = "bill_of_credit";
1158
+ AvailableFundsCommonPaymentType["BonusPaymentToMentor"] = "bonus_payment_to_mentor";
1159
+ AvailableFundsCommonPaymentType["BonusPaymentToTeamlead"] = "bonus_payment_to_teamlead";
1160
+ AvailableFundsCommonPaymentType["BonusToExpert"] = "bonus_to_expert";
1161
+ AvailableFundsCommonPaymentType["BonusToTrainee"] = "bonus_to_trainee";
1162
+ AvailableFundsCommonPaymentType["ChargingBankAccount"] = "charging_bank_account";
1163
+ AvailableFundsCommonPaymentType["ClosingDeal"] = "closing_deal";
1164
+ AvailableFundsCommonPaymentType["LegalSupportPayment"] = "legal_support_payment";
1165
+ AvailableFundsCommonPaymentType["LetterOfGuarantee"] = "letter_of_guarantee";
1166
+ AvailableFundsCommonPaymentType["OtherPayments"] = "other_payments";
1167
+ AvailableFundsCommonPaymentType["PartnerCharges"] = "partner_charges";
1168
+ AvailableFundsCommonPaymentType["Prepayment"] = "prepayment";
1169
+ AvailableFundsCommonPaymentType["RealtyLegalCheck"] = "realty_legal_check";
1170
+ AvailableFundsCommonPaymentType["RefundOfAdvance"] = "refund_of_advance";
1171
+ AvailableFundsCommonPaymentType["SafeDepositBox"] = "safe_deposit_box";
1172
+ AvailableFundsCommonPaymentType["SecurityPayment"] = "security_payment";
1173
+ })(AvailableFundsCommonPaymentType || (AvailableFundsCommonPaymentType = {}));
1174
+
1155
1175
  var AvailableFundsCostType;
1156
1176
 
1157
1177
  (function (AvailableFundsCostType) {
1178
+ AvailableFundsCostType["BillOfCredit"] = "bill_of_credit";
1158
1179
  AvailableFundsCostType["BonusPaymentToMentor"] = "bonus_payment_to_mentor";
1159
1180
  AvailableFundsCostType["BonusPaymentToTeamlead"] = "bonus_payment_to_teamlead";
1160
- AvailableFundsCostType["BonusToTrainee"] = "bonus_to_trainee";
1161
1181
  AvailableFundsCostType["BonusToExpert"] = "bonus_to_expert";
1182
+ AvailableFundsCostType["BonusToTrainee"] = "bonus_to_trainee";
1162
1183
  AvailableFundsCostType["ChargingBankAccount"] = "charging_bank_account";
1163
1184
  AvailableFundsCostType["LegalSupportPayment"] = "legal_support_payment";
1164
1185
  AvailableFundsCostType["OtherPayments"] = "other_payments";
1186
+ AvailableFundsCostType["PartnerCharges"] = "partner_charges";
1187
+ AvailableFundsCostType["RealtyLegalCheck"] = "realty_legal_check";
1165
1188
  AvailableFundsCostType["RefundOfAdvance"] = "refund_of_advance";
1189
+ AvailableFundsCostType["SafeDepositBox"] = "safe_deposit_box";
1166
1190
  })(AvailableFundsCostType || (AvailableFundsCostType = {}));
1167
1191
 
1168
1192
  var AvailableFundsPaymentType;
@@ -1185,6 +1209,15 @@ var AvailableFundsRealtyType;
1185
1209
  AvailableFundsRealtyType["Resale"] = "resale";
1186
1210
  })(AvailableFundsRealtyType || (AvailableFundsRealtyType = {}));
1187
1211
 
1212
+ var AvailableFundsPayerType;
1213
+
1214
+ (function (AvailableFundsPayerType) {
1215
+ AvailableFundsPayerType["Common"] = "common";
1216
+ AvailableFundsPayerType["Homeapp"] = "homeapp";
1217
+ AvailableFundsPayerType["SalesHead"] = "sales_head";
1218
+ AvailableFundsPayerType["Expert"] = "expert";
1219
+ })(AvailableFundsPayerType || (AvailableFundsPayerType = {}));
1220
+
1188
1221
  var BuyerStatus;
1189
1222
 
1190
1223
  (function (BuyerStatus) {
@@ -1630,6 +1663,8 @@ var ServiceRequestSource;
1630
1663
  var ServiceRequestCategorizedFileCategory;
1631
1664
 
1632
1665
  (function (ServiceRequestCategorizedFileCategory) {
1666
+ ServiceRequestCategorizedFileCategory["AdvAgreement"] = "adv_agreement";
1667
+ ServiceRequestCategorizedFileCategory["AdvanceForm"] = "advance_form";
1633
1668
  ServiceRequestCategorizedFileCategory["CheckList"] = "check_list";
1634
1669
  ServiceRequestCategorizedFileCategory["Contract"] = "contract";
1635
1670
  ServiceRequestCategorizedFileCategory["DeleteReason"] = "deleteReason";
@@ -1809,12 +1844,14 @@ var AddressBTIParamsDictionary = {
1809
1844
  HeatingType: (_HeatingType = {}, _HeatingType[AddressBTIParamsHeatingType.None] = 'Нет', _HeatingType[AddressBTIParamsHeatingType.Central] = 'Центральное', _HeatingType[AddressBTIParamsHeatingType.Local] = 'Отдельное', _HeatingType[AddressBTIParamsHeatingType.Gas] = 'Газовое', _HeatingType[AddressBTIParamsHeatingType.Electricity] = 'Электрическое', _HeatingType[AddressBTIParamsHeatingType.Liquid] = 'Жидкое топливо', _HeatingType)
1810
1845
  };
1811
1846
 
1812
- var _IncomeType, _CostType, _PaymentType, _RealtyType;
1847
+ var _IncomeType, _CostType, _CommonPaymentType, _PaymentType, _RealtyType, _PayerType;
1813
1848
  var AvailableFundsDictionary = {
1814
1849
  IncomeType: (_IncomeType = {}, _IncomeType[AvailableFundsIncomeType.Cashbox] = 'Касса', _IncomeType[AvailableFundsIncomeType.CheckingAccount] = 'Расчетный счет', _IncomeType[AvailableFundsIncomeType.Other] = 'Прочее', _IncomeType),
1815
- CostType: (_CostType = {}, _CostType[AvailableFundsCostType.BonusPaymentToMentor] = 'Выплата бонуса наставнику', _CostType[AvailableFundsCostType.BonusPaymentToTeamlead] = 'Выплата бонуса РОПу', _CostType[AvailableFundsCostType.BonusToTrainee] = 'Выплата бонуса стажеру', _CostType[AvailableFundsCostType.BonusToExpert] = 'Выплата бонуса эксперту', _CostType[AvailableFundsCostType.ChargingBankAccount] = 'Внесение на р/с', _CostType[AvailableFundsCostType.LegalSupportPayment] = 'Внесение за альтернативный объект', _CostType[AvailableFundsCostType.OtherPayments] = 'Прочие расходы', _CostType[AvailableFundsCostType.RefundOfAdvance] = 'Возврат аванса', _CostType),
1850
+ 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),
1851
+ 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),
1816
1852
  PaymentType: (_PaymentType = {}, _PaymentType[AvailableFundsPaymentType.AdvancePaymentUnderTheAdvanceAgreement] = 'Аванс по соглашению об авансе', _PaymentType[AvailableFundsPaymentType.ClosingDeal] = 'Закрытие сделки', _PaymentType[AvailableFundsPaymentType.LetterOfGuarantee] = 'Гарантийное письмо', _PaymentType[AvailableFundsPaymentType.OtherPayment] = 'Прочие поступления', _PaymentType[AvailableFundsPaymentType.Prepayment] = 'Предоплата', _PaymentType[AvailableFundsPaymentType.SecurityPayment] = 'Обеспечительный платеж', _PaymentType),
1817
- RealtyType: (_RealtyType = {}, _RealtyType[AvailableFundsRealtyType.Elite] = 'Элитная', _RealtyType[AvailableFundsRealtyType.Foreign] = 'Зарубежная', _RealtyType[AvailableFundsRealtyType.NewFlatDeveloper] = 'Новостройки/Застройщик', _RealtyType[AvailableFundsRealtyType.Resale] = 'Вторичка', _RealtyType)
1853
+ RealtyType: (_RealtyType = {}, _RealtyType[AvailableFundsRealtyType.Elite] = 'Элитная', _RealtyType[AvailableFundsRealtyType.Foreign] = 'Зарубежная', _RealtyType[AvailableFundsRealtyType.NewFlatDeveloper] = 'Новостройки/Застройщик', _RealtyType[AvailableFundsRealtyType.Resale] = 'Вторичка', _RealtyType),
1854
+ PayerType: (_PayerType = {}, _PayerType[AvailableFundsPayerType.Common] = 'Общий', _PayerType[AvailableFundsPayerType.Homeapp] = 'Homeapp', _PayerType[AvailableFundsPayerType.SalesHead] = 'РОП', _PayerType[AvailableFundsPayerType.Expert] = 'Эксперт', _PayerType)
1818
1855
  };
1819
1856
 
1820
1857
  var _BuyerStatus;
@@ -1899,7 +1936,7 @@ var ServiceRequestDictionary = {
1899
1936
 
1900
1937
  var _Category$3;
1901
1938
  var ServiceRequestCategorizedFileDictionary = {
1902
- Category: (_Category$3 = {}, _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)
1939
+ 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)
1903
1940
  };
1904
1941
 
1905
1942
  var _Importance, _NotificationType, _Status$2;
@@ -2334,9 +2371,11 @@ var index = {
2334
2371
  get AddressBTIParamsWallsMaterial () { return AddressBTIParamsWallsMaterial; },
2335
2372
  get AddressBTIParamsHeatingType () { return AddressBTIParamsHeatingType; },
2336
2373
  get AvailableFundsIncomeType () { return AvailableFundsIncomeType; },
2374
+ get AvailableFundsCommonPaymentType () { return AvailableFundsCommonPaymentType; },
2337
2375
  get AvailableFundsCostType () { return AvailableFundsCostType; },
2338
2376
  get AvailableFundsPaymentType () { return AvailableFundsPaymentType; },
2339
2377
  get AvailableFundsRealtyType () { return AvailableFundsRealtyType; },
2378
+ get AvailableFundsPayerType () { return AvailableFundsPayerType; },
2340
2379
  get BuyerStatus () { return BuyerStatus; },
2341
2380
  get BuyerRealtyShowStatus () { return BuyerRealtyShowStatus; },
2342
2381
  get CallType () { return CallType; },