vector-shared 1.1.427 → 1.1.429

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.
Files changed (62) hide show
  1. package/dist/constants/handling.constants.d.ts +6 -0
  2. package/dist/constants/handling.constants.js +30 -0
  3. package/dist/constants/handling.constants.js.map +1 -0
  4. package/dist/constants/realty-subtype.constants.d.ts +1 -0
  5. package/dist/constants/realty-subtype.constants.js +38 -0
  6. package/dist/constants/realty-subtype.constants.js.map +1 -0
  7. package/dist/index.d.ts +2 -0
  8. package/dist/index.js +2 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/tsconfig.tsbuildinfo +1 -1
  11. package/dist/types/attributes/classification-type.enum.js.map +1 -1
  12. package/dist/types/core/advert-source.type.d.ts +3 -2
  13. package/dist/types/core/base-entity.type.d.ts +1 -0
  14. package/dist/types/core/index.d.ts +1 -1
  15. package/dist/types/core/reset-password.type.d.ts +2 -2
  16. package/dist/types/core/unique-id-entity.type.d.ts +1 -0
  17. package/dist/types/deal/deal-user-attorney-link-type.enum.js.map +1 -1
  18. package/dist/types/direction/index.d.ts +1 -0
  19. package/dist/types/direction/index.js +6 -0
  20. package/dist/types/direction/index.js.map +1 -0
  21. package/dist/types/permissions/deal-permissions.enum.js +11 -11
  22. package/dist/types/permissions/geo-permissions.enum.js +13 -13
  23. package/dist/types/permissions/news-permissions.enum.js +3 -3
  24. package/dist/types/permissions/user-permissions.enum.js +9 -9
  25. package/dist/types/realty-presentation/index.d.ts +1 -1
  26. package/dist/types/snapshot/advert-source.snapshot.d.ts +10 -0
  27. package/dist/types/snapshot/advert-source.snapshot.js +3 -0
  28. package/dist/types/snapshot/advert-source.snapshot.js.map +1 -0
  29. package/dist/types/snapshot/apartment-complex.snapshot.d.ts +35 -0
  30. package/dist/types/snapshot/apartment-complex.snapshot.js +3 -0
  31. package/dist/types/snapshot/apartment-complex.snapshot.js.map +1 -0
  32. package/dist/types/snapshot/archive-reason.snapshot.d.ts +7 -0
  33. package/dist/types/snapshot/archive-reason.snapshot.js +3 -0
  34. package/dist/types/snapshot/archive-reason.snapshot.js.map +1 -0
  35. package/dist/types/snapshot/attorney.snapshot.d.ts +13 -0
  36. package/dist/types/snapshot/attorney.snapshot.js +3 -0
  37. package/dist/types/snapshot/attorney.snapshot.js.map +1 -0
  38. package/dist/types/snapshot/build-company.snapshot.d.ts +22 -0
  39. package/dist/types/snapshot/build-company.snapshot.js +3 -0
  40. package/dist/types/snapshot/build-company.snapshot.js.map +1 -0
  41. package/dist/types/snapshot/customer.snapshot.d.ts +53 -0
  42. package/dist/types/snapshot/customer.snapshot.js +3 -0
  43. package/dist/types/snapshot/customer.snapshot.js.map +1 -0
  44. package/dist/types/snapshot/index.d.ts +9 -0
  45. package/dist/types/snapshot/index.js +9 -0
  46. package/dist/types/snapshot/index.js.map +1 -1
  47. package/dist/types/snapshot/office.snapshot.d.ts +37 -0
  48. package/dist/types/snapshot/office.snapshot.js +3 -0
  49. package/dist/types/snapshot/office.snapshot.js.map +1 -0
  50. package/dist/types/snapshot/representation.snapshot.d.ts +7 -0
  51. package/dist/types/snapshot/representation.snapshot.js +3 -0
  52. package/dist/types/snapshot/representation.snapshot.js.map +1 -0
  53. package/dist/types/snapshot/supported-aggregate-type.enum.d.ts +10 -1
  54. package/dist/types/snapshot/supported-aggregate-type.enum.js +9 -0
  55. package/dist/types/snapshot/supported-aggregate-type.enum.js.map +1 -1
  56. package/dist/types/snapshot/topzone.snapshot.d.ts +19 -0
  57. package/dist/types/snapshot/topzone.snapshot.js +3 -0
  58. package/dist/types/snapshot/topzone.snapshot.js.map +1 -0
  59. package/dist/types/snapshot-builder/snapshot-builder.type.d.ts +10 -1
  60. package/dist/types/snapshot-builder/snapshot-builder.type.js.map +1 -1
  61. package/dist/utils/role.utils.d.ts +1 -1
  62. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ import { HandlingType } from '../types';
2
+ export declare const HANDLING_TYPE_TO_LABEL_MAP: Record<HandlingType, string>;
3
+ export declare const HANDLING_TYPE_OPTIONS: {
4
+ value: HandlingType;
5
+ label: string;
6
+ }[];
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HANDLING_TYPE_OPTIONS = exports.HANDLING_TYPE_TO_LABEL_MAP = void 0;
4
+ const types_1 = require("../types");
5
+ exports.HANDLING_TYPE_TO_LABEL_MAP = {
6
+ [types_1.HandlingType.Buyer]: 'Покупець (потенційний)',
7
+ [types_1.HandlingType.Seller]: 'Продавець (потенційний)',
8
+ [types_1.HandlingType.Tenant]: 'Орендодавець (потенційний)',
9
+ [types_1.HandlingType.Renter]: 'Орендатор (потенційний)',
10
+ [types_1.HandlingType.Other]: 'Інше АН (посередник)',
11
+ [types_1.HandlingType.Consultation]: 'Консультація',
12
+ [types_1.HandlingType.AboutWork]: 'Хоче працювати в нас',
13
+ [types_1.HandlingType.SPAM]: 'Спам (реклама, пропозиції та ін.)',
14
+ [types_1.HandlingType.Recall]: 'Повторний дзвінок',
15
+ };
16
+ exports.HANDLING_TYPE_OPTIONS = [
17
+ types_1.HandlingType.Buyer,
18
+ types_1.HandlingType.Seller,
19
+ types_1.HandlingType.Tenant,
20
+ types_1.HandlingType.Renter,
21
+ types_1.HandlingType.Other,
22
+ types_1.HandlingType.Consultation,
23
+ types_1.HandlingType.AboutWork,
24
+ types_1.HandlingType.SPAM,
25
+ types_1.HandlingType.Recall,
26
+ ].map(key => ({
27
+ value: key,
28
+ label: exports.HANDLING_TYPE_TO_LABEL_MAP[key],
29
+ }));
30
+ //# sourceMappingURL=handling.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handling.constants.js","sourceRoot":"","sources":["../../constants/handling.constants.ts"],"names":[],"mappings":";;;AAAA,oCAAwC;AAE3B,QAAA,0BAA0B,GAAiC;IACtE,CAAC,oBAAY,CAAC,KAAK,CAAC,EAAE,wBAAwB;IAC9C,CAAC,oBAAY,CAAC,MAAM,CAAC,EAAE,yBAAyB;IAChD,CAAC,oBAAY,CAAC,MAAM,CAAC,EAAE,4BAA4B;IACnD,CAAC,oBAAY,CAAC,MAAM,CAAC,EAAE,yBAAyB;IAChD,CAAC,oBAAY,CAAC,KAAK,CAAC,EAAE,sBAAsB;IAC5C,CAAC,oBAAY,CAAC,YAAY,CAAC,EAAE,cAAc;IAC3C,CAAC,oBAAY,CAAC,SAAS,CAAC,EAAE,sBAAsB;IAChD,CAAC,oBAAY,CAAC,IAAI,CAAC,EAAE,mCAAmC;IACxD,CAAC,oBAAY,CAAC,MAAM,CAAC,EAAE,mBAAmB;CAC3C,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACnC,oBAAY,CAAC,KAAK;IAClB,oBAAY,CAAC,MAAM;IACnB,oBAAY,CAAC,MAAM;IACnB,oBAAY,CAAC,MAAM;IACnB,oBAAY,CAAC,KAAK;IAClB,oBAAY,CAAC,YAAY;IACzB,oBAAY,CAAC,SAAS;IACtB,oBAAY,CAAC,IAAI;IACjB,oBAAY,CAAC,MAAM;CACpB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IACZ,KAAK,EAAE,GAAG;IACV,KAAK,EAAE,kCAA0B,CAAC,GAAG,CAAC;CACvC,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const REALTY_SUBTYPE_TO_LABEL_MAP: Record<string, string>;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REALTY_SUBTYPE_TO_LABEL_MAP = void 0;
4
+ const types_1 = require("../types");
5
+ exports.REALTY_SUBTYPE_TO_LABEL_MAP = {
6
+ [types_1.RealtySubtypeEnum.OneRoomApartments]: 'однокімнатна',
7
+ [types_1.RealtySubtypeEnum.TwoRoomApartments]: 'двокімнатна',
8
+ [types_1.RealtySubtypeEnum.ThreeRoomApartments]: 'трикімнатна',
9
+ [types_1.RealtySubtypeEnum.MultiRoomApartments]: 'багатокімнатна',
10
+ [types_1.RealtySubtypeEnum.CommunalApartments]: 'комунальна',
11
+ studio: 'студія',
12
+ penthouse: 'пентхаус',
13
+ duplex: 'дуплекс',
14
+ loft: 'лофт',
15
+ fourRoomApartment: 'чотирикімнатна',
16
+ townhouse: 'таунхаус',
17
+ cottage: 'котедж',
18
+ mansion: 'особняк',
19
+ villa: 'вілла',
20
+ [types_1.RealtySubtypeEnum.SummerHouses]: 'дача',
21
+ [types_1.RealtySubtypeEnum.CommercialLand]: 'комерційна',
22
+ residentialLand: 'під забудову',
23
+ agriculturalLand: 'сільськогосподарська',
24
+ industrialLand: 'промислова',
25
+ recreationalLand: 'рекреаційна',
26
+ forestLand: 'лісова',
27
+ [types_1.RealtySubtypeEnum.Offices]: 'офіс',
28
+ retail: 'торгова площа',
29
+ [types_1.RealtySubtypeEnum.Warehouses]: 'склад',
30
+ production: 'виробниче приміщення',
31
+ [types_1.RealtySubtypeEnum.Restaurants]: 'ресторан',
32
+ [types_1.RealtySubtypeEnum.Hotels]: 'готель',
33
+ shoppingCenter: 'торговий центр',
34
+ businessCenter: 'бізнес-центр',
35
+ garage: 'гараж',
36
+ parking: 'паркінг',
37
+ };
38
+ //# sourceMappingURL=realty-subtype.constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"realty-subtype.constants.js","sourceRoot":"","sources":["../../constants/realty-subtype.constants.ts"],"names":[],"mappings":";;;AAAA,oCAA6C;AAEhC,QAAA,2BAA2B,GAA2B;IACjE,CAAC,yBAAiB,CAAC,iBAAiB,CAAC,EAAE,cAAc;IACrD,CAAC,yBAAiB,CAAC,iBAAiB,CAAC,EAAE,aAAa;IACpD,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE,aAAa;IACtD,CAAC,yBAAiB,CAAC,mBAAmB,CAAC,EAAE,gBAAgB;IACzD,CAAC,yBAAiB,CAAC,kBAAkB,CAAC,EAAE,YAAY;IACpD,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,UAAU;IACrB,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,gBAAgB;IACnC,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,CAAC,yBAAiB,CAAC,YAAY,CAAC,EAAE,MAAM;IACxC,CAAC,yBAAiB,CAAC,cAAc,CAAC,EAAE,YAAY;IAChD,eAAe,EAAE,cAAc;IAC/B,gBAAgB,EAAE,sBAAsB;IACxC,cAAc,EAAE,YAAY;IAC5B,gBAAgB,EAAE,aAAa;IAC/B,UAAU,EAAE,QAAQ;IACpB,CAAC,yBAAiB,CAAC,OAAO,CAAC,EAAE,MAAM;IACnC,MAAM,EAAE,eAAe;IACvB,CAAC,yBAAiB,CAAC,UAAU,CAAC,EAAE,OAAO;IACvC,UAAU,EAAE,sBAAsB;IAClC,CAAC,yBAAiB,CAAC,WAAW,CAAC,EAAE,UAAU;IAC3C,CAAC,yBAAiB,CAAC,MAAM,CAAC,EAAE,QAAQ;IACpC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,cAAc;IAC9B,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,SAAS;CACnB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -4,3 +4,5 @@ export { Role, ROLE_WEIGHT_MAP } from './types';
4
4
  export * from './constants/customer-service.constants';
5
5
  export * from './constants/auth-service.constants';
6
6
  export * from './constants/norm-category.constants';
7
+ export * from './constants/handling.constants';
8
+ export * from './constants/realty-subtype.constants';
package/dist/index.js CHANGED
@@ -23,4 +23,6 @@ Object.defineProperty(exports, "ROLE_WEIGHT_MAP", { enumerable: true, get: funct
23
23
  __exportStar(require("./constants/customer-service.constants"), exports);
24
24
  __exportStar(require("./constants/auth-service.constants"), exports);
25
25
  __exportStar(require("./constants/norm-category.constants"), exports);
26
+ __exportStar(require("./constants/handling.constants"), exports);
27
+ __exportStar(require("./constants/realty-subtype.constants"), exports);
26
28
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAAwB;AAExB,0CAAwB;AAGxB,iCAAgD;AAAvC,6FAAA,IAAI,OAAA;AAAE,wGAAA,eAAe,OAAA;AAG9B,yEAAuD;AACvD,qEAAmD;AACnD,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAAwB;AAExB,0CAAwB;AAGxB,iCAAgD;AAAvC,6FAAA,IAAI,OAAA;AAAE,wGAAA,eAAe,OAAA;AAG9B,yEAAuD;AACvD,qEAAmD;AACnD,sEAAoD;AACpD,iEAA+C;AAC/C,uEAAqD"}