vector-shared 1.1.440 → 1.1.442
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/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/core/apartment-complex.type.d.ts +1 -0
- package/dist/types/core/archive-reason.type.d.ts +1 -0
- package/dist/types/core/attorney.type.d.ts +1 -0
- package/dist/types/core/base-entity.type.d.ts +0 -1
- package/dist/types/core/build-company.type.d.ts +1 -0
- package/dist/types/core/call.type.d.ts +1 -0
- package/dist/types/core/customer-property.type.d.ts +1 -0
- package/dist/types/core/customer-request.type.d.ts +1 -0
- package/dist/types/core/customer.type.d.ts +1 -0
- package/dist/types/core/handling.type.d.ts +1 -0
- package/dist/types/core/office-center.type.d.ts +1 -0
- package/dist/types/core/office.type.d.ts +1 -0
- package/dist/types/core/representation.type.d.ts +1 -0
- package/dist/types/core/topzone.type.d.ts +1 -0
- package/dist/types/core/unique-id-entity.type.d.ts +0 -1
- package/dist/types/core/user-attorney.type.d.ts +1 -0
- package/dist/types/snapshot/call.snapshot.d.ts +11 -0
- package/dist/types/snapshot/call.snapshot.js +3 -0
- package/dist/types/snapshot/call.snapshot.js.map +1 -0
- package/dist/types/snapshot/customer-property.snapshot.d.ts +84 -0
- package/dist/types/snapshot/customer-property.snapshot.js +3 -0
- package/dist/types/snapshot/customer-property.snapshot.js.map +1 -0
- package/dist/types/snapshot/customer-request.snapshot.d.ts +28 -0
- package/dist/types/snapshot/customer-request.snapshot.js +16 -0
- package/dist/types/snapshot/customer-request.snapshot.js.map +1 -0
- package/dist/types/snapshot/handling.snapshot.d.ts +20 -0
- package/dist/types/snapshot/handling.snapshot.js +3 -0
- package/dist/types/snapshot/handling.snapshot.js.map +1 -0
- package/dist/types/snapshot/index.d.ts +5 -0
- package/dist/types/snapshot/index.js +5 -0
- package/dist/types/snapshot/index.js.map +1 -1
- package/dist/types/snapshot/office-center.snapshot.d.ts +13 -0
- package/dist/types/snapshot/office-center.snapshot.js +3 -0
- package/dist/types/snapshot/office-center.snapshot.js.map +1 -0
- package/dist/types/snapshot/supported-aggregate-type.enum.d.ts +6 -1
- package/dist/types/snapshot/supported-aggregate-type.enum.js +5 -0
- package/dist/types/snapshot/supported-aggregate-type.enum.js.map +1 -1
- package/dist/types/snapshot-builder/snapshot-builder.type.d.ts +9 -1
- package/dist/types/snapshot-builder/snapshot-builder.type.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ import { ApartmentComplexInfoEntity } from './apartment-complex-info.type';
|
|
|
12
12
|
import { GeoEntity } from './geo.type';
|
|
13
13
|
import { TopzoneEntity } from './topzone.type';
|
|
14
14
|
export type ApartmentComplexEntity = BaseEntity & {
|
|
15
|
+
globalId: string;
|
|
15
16
|
name: MultiLanguage;
|
|
16
17
|
type: number | null;
|
|
17
18
|
lat: string | null;
|
|
@@ -6,6 +6,7 @@ import { HandlingEntity } from './handling.type';
|
|
|
6
6
|
import { CustomerPropertyEntity } from './customer-property.type';
|
|
7
7
|
import { CustomerRequestEntity } from './customer-request.type';
|
|
8
8
|
export type ArchiveReasonEntity = UniqueIdEntity & {
|
|
9
|
+
globalId: string;
|
|
9
10
|
text: MultiLanguage;
|
|
10
11
|
destination: ArchiveReasonDestinationEnum;
|
|
11
12
|
customers?: CustomerEntity[];
|
|
@@ -3,6 +3,7 @@ import { BaseEntity } from './base-entity.type';
|
|
|
3
3
|
import { AttorneyTypeEnum } from '../attorney/attorney-type.enum';
|
|
4
4
|
import { UserAttorneyEntity } from './user-attorney.type';
|
|
5
5
|
export type AttorneyEntity = BaseEntity & {
|
|
6
|
+
globalId: string;
|
|
6
7
|
name: MultiLanguage;
|
|
7
8
|
vchasnoApiKey: string | null;
|
|
8
9
|
edrpo: string | null;
|
|
@@ -4,6 +4,7 @@ import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
|
4
4
|
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
5
5
|
import { CurrencyValue } from '../common/currency.value.interface';
|
|
6
6
|
export type BuildCompanyEntity = BaseEntity & {
|
|
7
|
+
globalId: string;
|
|
7
8
|
name: string;
|
|
8
9
|
alias: string;
|
|
9
10
|
description: MultiLanguage;
|
|
@@ -4,6 +4,7 @@ import { AdvertSourceEntity } from './advert-source.type';
|
|
|
4
4
|
import { HandlingEntity } from './handling.type';
|
|
5
5
|
import { CallData } from '../call/call-data.type';
|
|
6
6
|
export type CallEntity = UniqueIdEntity & {
|
|
7
|
+
globalId: string;
|
|
7
8
|
callValue: number | null;
|
|
8
9
|
sourcePhone: string;
|
|
9
10
|
fromPhone: string;
|
|
@@ -25,6 +25,7 @@ import { CustomerPropertyOwner } from '../customer';
|
|
|
25
25
|
import { CustomerEntity } from './customer.type';
|
|
26
26
|
import { PropertyVideoEntity } from './property-video.type';
|
|
27
27
|
export type CustomerPropertyEntity = BaseEntity & {
|
|
28
|
+
globalId: string;
|
|
28
29
|
dealType: DealTypeEnum;
|
|
29
30
|
realtyType: RealtyTypeEnum;
|
|
30
31
|
realtySubtype: RealtySubtypeEnum | null;
|
|
@@ -11,6 +11,7 @@ import { XCustomerNotificationEntity } from './x-customer-notification.type';
|
|
|
11
11
|
import { ActivityPotential } from '../customer';
|
|
12
12
|
import { RecipientEnum } from '../handling';
|
|
13
13
|
export type CustomerRequestEntity = BaseEntity & {
|
|
14
|
+
globalId: string;
|
|
14
15
|
buyerId?: number;
|
|
15
16
|
buyer?: CustomerEntity;
|
|
16
17
|
realtorId?: number;
|
|
@@ -12,6 +12,7 @@ import { UserPointsChangeEntity } from './user-points-change.type';
|
|
|
12
12
|
import { UserAttorneyEntity } from './user-attorney.type';
|
|
13
13
|
import { ExclusiveBuyerAgreementData } from '../customer';
|
|
14
14
|
export type CustomerEntity = BaseEntity & {
|
|
15
|
+
globalId: string;
|
|
15
16
|
email: string | null;
|
|
16
17
|
photoUrl: string | null;
|
|
17
18
|
firstName: string;
|
|
@@ -8,6 +8,7 @@ import { AdvertSourceEntity } from './advert-source.type';
|
|
|
8
8
|
import { CustomerRequestEntity } from './customer-request.type';
|
|
9
9
|
import { UserPointsChangeEntity } from './user-points-change.type';
|
|
10
10
|
export type HandlingEntity = BaseEntity & {
|
|
11
|
+
globalId: string;
|
|
11
12
|
isBlackList: boolean;
|
|
12
13
|
archiveAnnotation: string | null;
|
|
13
14
|
callId?: number;
|
|
@@ -5,6 +5,7 @@ import { BaseEntity } from './base-entity.type';
|
|
|
5
5
|
import { OfficeEntity } from './office.type';
|
|
6
6
|
import { RepresentationEntity } from './representation.type';
|
|
7
7
|
export type OfficeCenterEntity = BaseEntity & {
|
|
8
|
+
globalId: string;
|
|
8
9
|
name: MultiLanguage;
|
|
9
10
|
alias: string;
|
|
10
11
|
weight: number;
|
|
@@ -13,6 +13,7 @@ import { OfficeCenterEntity } from './office-center.type';
|
|
|
13
13
|
import { EmployeeNormEntity } from './employee-norm.type';
|
|
14
14
|
import { ServiceConfig } from '../offices';
|
|
15
15
|
export type OfficeEntity = BaseEntity & {
|
|
16
|
+
globalId: string;
|
|
16
17
|
officeNumber: number;
|
|
17
18
|
email: string;
|
|
18
19
|
isActive: boolean;
|
|
@@ -5,6 +5,7 @@ import { TemplateRepresentationEntity } from './template-representation.type';
|
|
|
5
5
|
import { OfficeCenterEntity } from './office-center.type';
|
|
6
6
|
import { TelegramChatEntity } from './telegram-chat.type';
|
|
7
7
|
export type RepresentationEntity = BaseEntity & {
|
|
8
|
+
globalId: string;
|
|
8
9
|
fullName: string;
|
|
9
10
|
geoId?: number;
|
|
10
11
|
company: string;
|
|
@@ -6,6 +6,7 @@ import { ApartmentComplexEntity } from './apartment-complex.type';
|
|
|
6
6
|
import { CustomerRequestEntity } from './customer-request.type';
|
|
7
7
|
import { Bounds } from '../geo/bounds.type';
|
|
8
8
|
export type TopzoneEntity = BaseEntity & {
|
|
9
|
+
globalId: string;
|
|
9
10
|
name: MultiLanguage;
|
|
10
11
|
declension: MultiLanguage;
|
|
11
12
|
alias: string;
|
|
@@ -5,6 +5,7 @@ import { CustomerPropertyEntity } from './customer-property.type';
|
|
|
5
5
|
import { DealEntity } from './deal.type';
|
|
6
6
|
import { UserAttorneyType } from '../user';
|
|
7
7
|
export type UserAttorneyEntity = BaseEntity & {
|
|
8
|
+
globalId: string;
|
|
8
9
|
vchasnoApiKey: string | null;
|
|
9
10
|
vchasnoEmail: string | null;
|
|
10
11
|
vchasnoInn: string | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
2
|
+
export type CallSnapshot = BaseSnapshot & {
|
|
3
|
+
callValue: string | null;
|
|
4
|
+
sourcePhone: string;
|
|
5
|
+
fromPhone: string;
|
|
6
|
+
callType: string | null;
|
|
7
|
+
timeCreate: string | null;
|
|
8
|
+
callData: Record<string, unknown>;
|
|
9
|
+
redirectId: number | null;
|
|
10
|
+
sourceId: string | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/call.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { MultiLanguage } from '../common';
|
|
2
|
+
import { DealTypeEnum, RegistrationTypeEnum } from '../attributes';
|
|
3
|
+
import { RealtySubtypeEnum, RealtyTypeEnum, PropertyExclusiveStatusEnum } from '../customer-property';
|
|
4
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
5
|
+
type PropertyImage = {
|
|
6
|
+
id: string;
|
|
7
|
+
key: string;
|
|
8
|
+
url: string;
|
|
9
|
+
sort: number;
|
|
10
|
+
};
|
|
11
|
+
type PropertyDocument = {
|
|
12
|
+
id: string;
|
|
13
|
+
key: string;
|
|
14
|
+
url: string;
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
type ExclusiveAgreementData = {
|
|
18
|
+
number: string;
|
|
19
|
+
endDate: Date;
|
|
20
|
+
location: string;
|
|
21
|
+
realtySubtype: RealtySubtypeEnum | null;
|
|
22
|
+
roomsCount: number | null;
|
|
23
|
+
squareTotal: number | null;
|
|
24
|
+
squareLiving: number | null;
|
|
25
|
+
price: number | null;
|
|
26
|
+
otherRequirements: string | null;
|
|
27
|
+
currencyConvertCoefficient: number | null;
|
|
28
|
+
servicesSumPercent: number;
|
|
29
|
+
minServicesSum: number;
|
|
30
|
+
penaltyPercent: number;
|
|
31
|
+
additionalConditions: string;
|
|
32
|
+
};
|
|
33
|
+
export type CustomerPropertySnapshot = BaseSnapshot & {
|
|
34
|
+
dealType: DealTypeEnum;
|
|
35
|
+
realtyType: RealtyTypeEnum;
|
|
36
|
+
realtySubtype: RealtySubtypeEnum | null;
|
|
37
|
+
registrationType: RegistrationTypeEnum;
|
|
38
|
+
showOnSite: boolean;
|
|
39
|
+
hasInspection: boolean;
|
|
40
|
+
focus: boolean;
|
|
41
|
+
recipient: number | null;
|
|
42
|
+
streetMark: string | null;
|
|
43
|
+
houseNumber: number | null;
|
|
44
|
+
houseNumberAdd: number | null;
|
|
45
|
+
houseNumberTemp: string | null;
|
|
46
|
+
apartmentNumber: number | null;
|
|
47
|
+
apartmentNumberAdd: string | null;
|
|
48
|
+
apartmentNumberTemp: string | null;
|
|
49
|
+
landNumber: number | null;
|
|
50
|
+
fieldNumber: number | null;
|
|
51
|
+
geoArrNumber: number | null;
|
|
52
|
+
corps: string | null;
|
|
53
|
+
attributes: Record<string, unknown>;
|
|
54
|
+
description: MultiLanguage;
|
|
55
|
+
additionalOwners: Record<string, unknown> | null;
|
|
56
|
+
cadastralNumber: Record<string, unknown> | null;
|
|
57
|
+
lng: number | null;
|
|
58
|
+
lat: number | null;
|
|
59
|
+
archiveAnnotation: string | null;
|
|
60
|
+
archiveSetDate: Date | null;
|
|
61
|
+
vnpReasonId: number | null;
|
|
62
|
+
vnpTillDate: Date | null;
|
|
63
|
+
vnpAnnotation: string | null;
|
|
64
|
+
exclusiveStatus: PropertyExclusiveStatusEnum | null;
|
|
65
|
+
exclusiveAnnotation: string | null;
|
|
66
|
+
exclusiveTillDate: Date | null;
|
|
67
|
+
exclusiveSetDate: Date | null;
|
|
68
|
+
exclusiveAgreementData: ExclusiveAgreementData | null;
|
|
69
|
+
markAsLiquidAt: Date | null;
|
|
70
|
+
videoUrl: string | null;
|
|
71
|
+
sellerId: string | null;
|
|
72
|
+
realtorId: string | null;
|
|
73
|
+
createdById: string | null;
|
|
74
|
+
archiveReasonId: string | null;
|
|
75
|
+
complexId: string | null;
|
|
76
|
+
sourceId: string | null;
|
|
77
|
+
streetId: number | null;
|
|
78
|
+
geoId: number | null;
|
|
79
|
+
topzoneId: string | null;
|
|
80
|
+
attorneyId: string | null;
|
|
81
|
+
images: PropertyImage[];
|
|
82
|
+
documents: PropertyDocument[];
|
|
83
|
+
};
|
|
84
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-property.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/customer-property.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
2
|
+
export declare enum ActivityPotentialEnum {
|
|
3
|
+
High = "high",
|
|
4
|
+
Medium = "medium",
|
|
5
|
+
Low = "low"
|
|
6
|
+
}
|
|
7
|
+
export declare enum RecipientEnum {
|
|
8
|
+
ForMyself = 1,
|
|
9
|
+
ForRelatives = 2,
|
|
10
|
+
ForClients = 3
|
|
11
|
+
}
|
|
12
|
+
export type CustomerRequestSnapshot = BaseSnapshot & {
|
|
13
|
+
activity: ActivityPotentialEnum | null;
|
|
14
|
+
activityAnnotation: string | null;
|
|
15
|
+
setActiveAt: Date | null;
|
|
16
|
+
vnpTillDate: Date | null;
|
|
17
|
+
vnpAnnotation: string | null;
|
|
18
|
+
recipient: RecipientEnum | null;
|
|
19
|
+
hasVideo: boolean;
|
|
20
|
+
focus: boolean;
|
|
21
|
+
sourceId: string | null;
|
|
22
|
+
buyerId: string | null;
|
|
23
|
+
realtorId: string | null;
|
|
24
|
+
realtorAssignedAt: Date | null;
|
|
25
|
+
archiveAnnotation: string | null;
|
|
26
|
+
setArchiveAt: Date | null;
|
|
27
|
+
archiveReasonId: string | null;
|
|
28
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecipientEnum = exports.ActivityPotentialEnum = void 0;
|
|
4
|
+
var ActivityPotentialEnum;
|
|
5
|
+
(function (ActivityPotentialEnum) {
|
|
6
|
+
ActivityPotentialEnum["High"] = "high";
|
|
7
|
+
ActivityPotentialEnum["Medium"] = "medium";
|
|
8
|
+
ActivityPotentialEnum["Low"] = "low";
|
|
9
|
+
})(ActivityPotentialEnum || (exports.ActivityPotentialEnum = ActivityPotentialEnum = {}));
|
|
10
|
+
var RecipientEnum;
|
|
11
|
+
(function (RecipientEnum) {
|
|
12
|
+
RecipientEnum[RecipientEnum["ForMyself"] = 1] = "ForMyself";
|
|
13
|
+
RecipientEnum[RecipientEnum["ForRelatives"] = 2] = "ForRelatives";
|
|
14
|
+
RecipientEnum[RecipientEnum["ForClients"] = 3] = "ForClients";
|
|
15
|
+
})(RecipientEnum || (exports.RecipientEnum = RecipientEnum = {}));
|
|
16
|
+
//# sourceMappingURL=customer-request.snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-request.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/customer-request.snapshot.ts"],"names":[],"mappings":";;;AAEA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,oCAAW,CAAA;AACb,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAED,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,2DAAa,CAAA;IACb,iEAAgB,CAAA;IAChB,6DAAc,CAAA;AAChB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
2
|
+
export type HandlingSnapshot = BaseSnapshot & {
|
|
3
|
+
isBlackList: boolean;
|
|
4
|
+
archiveAnnotation: string | null;
|
|
5
|
+
callId: number | null;
|
|
6
|
+
type: number;
|
|
7
|
+
recipient: number;
|
|
8
|
+
readAt: Date | null;
|
|
9
|
+
annotation: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
country: string | null;
|
|
12
|
+
phoneNumber: string;
|
|
13
|
+
realtorId: string | null;
|
|
14
|
+
createdById: string | null;
|
|
15
|
+
handledById: string | null;
|
|
16
|
+
requestId: string | null;
|
|
17
|
+
propertyId: string | null;
|
|
18
|
+
sourceId: string | null;
|
|
19
|
+
archiveReasonId: string | null;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handling.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/handling.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -2,11 +2,16 @@ export * from './base.snapshot';
|
|
|
2
2
|
export * from './user.snapshot';
|
|
3
3
|
export * from './advert-source.snapshot';
|
|
4
4
|
export * from './customer.snapshot';
|
|
5
|
+
export * from './customer-property.snapshot';
|
|
6
|
+
export * from './customer-request.snapshot';
|
|
5
7
|
export * from './office.snapshot';
|
|
8
|
+
export * from './office-center.snapshot';
|
|
6
9
|
export * from './representation.snapshot';
|
|
7
10
|
export * from './attorney.snapshot';
|
|
8
11
|
export * from './build-company.snapshot';
|
|
9
12
|
export * from './archive-reason.snapshot';
|
|
10
13
|
export * from './topzone.snapshot';
|
|
11
14
|
export * from './apartment-complex.snapshot';
|
|
15
|
+
export * from './handling.snapshot';
|
|
16
|
+
export * from './call.snapshot';
|
|
12
17
|
export * from './supported-aggregate-type.enum';
|
|
@@ -18,12 +18,17 @@ __exportStar(require("./base.snapshot"), exports);
|
|
|
18
18
|
__exportStar(require("./user.snapshot"), exports);
|
|
19
19
|
__exportStar(require("./advert-source.snapshot"), exports);
|
|
20
20
|
__exportStar(require("./customer.snapshot"), exports);
|
|
21
|
+
__exportStar(require("./customer-property.snapshot"), exports);
|
|
22
|
+
__exportStar(require("./customer-request.snapshot"), exports);
|
|
21
23
|
__exportStar(require("./office.snapshot"), exports);
|
|
24
|
+
__exportStar(require("./office-center.snapshot"), exports);
|
|
22
25
|
__exportStar(require("./representation.snapshot"), exports);
|
|
23
26
|
__exportStar(require("./attorney.snapshot"), exports);
|
|
24
27
|
__exportStar(require("./build-company.snapshot"), exports);
|
|
25
28
|
__exportStar(require("./archive-reason.snapshot"), exports);
|
|
26
29
|
__exportStar(require("./topzone.snapshot"), exports);
|
|
27
30
|
__exportStar(require("./apartment-complex.snapshot"), exports);
|
|
31
|
+
__exportStar(require("./handling.snapshot"), exports);
|
|
32
|
+
__exportStar(require("./call.snapshot"), exports);
|
|
28
33
|
__exportStar(require("./supported-aggregate-type.enum"), exports);
|
|
29
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/snapshot/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,2DAAyC;AACzC,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C;AAC1C,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,+DAA6C;AAC7C,kEAAgD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/snapshot/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,2DAAyC;AACzC,sDAAoC;AACpC,+DAA6C;AAC7C,8DAA4C;AAC5C,oDAAkC;AAClC,2DAAyC;AACzC,4DAA0C;AAC1C,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,+DAA6C;AAC7C,sDAAoC;AACpC,kDAAgC;AAChC,kEAAgD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MultiLanguage } from '../common';
|
|
2
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
3
|
+
export type OfficeCenterSnapshot = BaseSnapshot & {
|
|
4
|
+
name: MultiLanguage;
|
|
5
|
+
alias: string;
|
|
6
|
+
weight: number;
|
|
7
|
+
lng: number | null;
|
|
8
|
+
lat: number | null;
|
|
9
|
+
contacts: Record<string, unknown>;
|
|
10
|
+
schedule: Record<string, unknown> | null;
|
|
11
|
+
group: MultiLanguage;
|
|
12
|
+
representationId: string | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"office-center.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/office-center.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -2,11 +2,16 @@ export declare enum SupportedAggregateType {
|
|
|
2
2
|
User = "user",
|
|
3
3
|
AdvertSource = "advert-source",
|
|
4
4
|
Customer = "customer",
|
|
5
|
+
CustomerProperty = "customer-property",
|
|
6
|
+
CustomerRequest = "customer-request",
|
|
5
7
|
Office = "office",
|
|
8
|
+
OfficeCenter = "office-center",
|
|
6
9
|
Representation = "representation",
|
|
7
10
|
Attorney = "attorney",
|
|
8
11
|
BuildCompany = "build-company",
|
|
9
12
|
ArchiveReason = "archive-reason",
|
|
10
13
|
Topzone = "topzone",
|
|
11
|
-
ApartmentComplex = "apartment-complex"
|
|
14
|
+
ApartmentComplex = "apartment-complex",
|
|
15
|
+
Handling = "handling",
|
|
16
|
+
Call = "call"
|
|
12
17
|
}
|
|
@@ -6,12 +6,17 @@ var SupportedAggregateType;
|
|
|
6
6
|
SupportedAggregateType["User"] = "user";
|
|
7
7
|
SupportedAggregateType["AdvertSource"] = "advert-source";
|
|
8
8
|
SupportedAggregateType["Customer"] = "customer";
|
|
9
|
+
SupportedAggregateType["CustomerProperty"] = "customer-property";
|
|
10
|
+
SupportedAggregateType["CustomerRequest"] = "customer-request";
|
|
9
11
|
SupportedAggregateType["Office"] = "office";
|
|
12
|
+
SupportedAggregateType["OfficeCenter"] = "office-center";
|
|
10
13
|
SupportedAggregateType["Representation"] = "representation";
|
|
11
14
|
SupportedAggregateType["Attorney"] = "attorney";
|
|
12
15
|
SupportedAggregateType["BuildCompany"] = "build-company";
|
|
13
16
|
SupportedAggregateType["ArchiveReason"] = "archive-reason";
|
|
14
17
|
SupportedAggregateType["Topzone"] = "topzone";
|
|
15
18
|
SupportedAggregateType["ApartmentComplex"] = "apartment-complex";
|
|
19
|
+
SupportedAggregateType["Handling"] = "handling";
|
|
20
|
+
SupportedAggregateType["Call"] = "call";
|
|
16
21
|
})(SupportedAggregateType || (exports.SupportedAggregateType = SupportedAggregateType = {}));
|
|
17
22
|
//# sourceMappingURL=supported-aggregate-type.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-aggregate-type.enum.js","sourceRoot":"","sources":["../../../types/snapshot/supported-aggregate-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"supported-aggregate-type.enum.js","sourceRoot":"","sources":["../../../types/snapshot/supported-aggregate-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAgBX;AAhBD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,wDAA8B,CAAA;IAC9B,+CAAqB,CAAA;IACrB,gEAAsC,CAAA;IACtC,8DAAoC,CAAA;IACpC,2CAAiB,CAAA;IACjB,wDAA8B,CAAA;IAC9B,2DAAiC,CAAA;IACjC,+CAAqB,CAAA;IACrB,wDAA8B,CAAA;IAC9B,0DAAgC,CAAA;IAChC,6CAAmB,CAAA;IACnB,gEAAsC,CAAA;IACtC,+CAAqB,CAAA;IACrB,uCAAa,CAAA;AACf,CAAC,EAhBW,sBAAsB,sCAAtB,sBAAsB,QAgBjC"}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import { UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, OfficeSnapshot, RepresentationSnapshot, AttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, SupportedAggregateType } from '../snapshot';
|
|
1
|
+
import { UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, CustomerPropertySnapshot, CustomerRequestSnapshot, OfficeSnapshot, OfficeCenterSnapshot, RepresentationSnapshot, AttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, HandlingSnapshot, CallSnapshot, SupportedAggregateType } from '../snapshot';
|
|
2
2
|
export type AggregateToSnapshot = {
|
|
3
3
|
[SupportedAggregateType.User]: UserSnapshot;
|
|
4
4
|
[SupportedAggregateType.AdvertSource]: AdvertSourceSnapshot;
|
|
5
5
|
[SupportedAggregateType.Customer]: CustomerSnapshot;
|
|
6
|
+
[SupportedAggregateType.CustomerProperty]: CustomerPropertySnapshot;
|
|
7
|
+
[SupportedAggregateType.CustomerRequest]: CustomerRequestSnapshot;
|
|
6
8
|
[SupportedAggregateType.Office]: OfficeSnapshot;
|
|
9
|
+
[SupportedAggregateType.OfficeCenter]: OfficeCenterSnapshot;
|
|
7
10
|
[SupportedAggregateType.Representation]: RepresentationSnapshot;
|
|
8
11
|
[SupportedAggregateType.Attorney]: AttorneySnapshot;
|
|
9
12
|
[SupportedAggregateType.BuildCompany]: BuildCompanySnapshot;
|
|
10
13
|
[SupportedAggregateType.ArchiveReason]: ArchiveReasonSnapshot;
|
|
11
14
|
[SupportedAggregateType.Topzone]: TopzoneSnapshot;
|
|
12
15
|
[SupportedAggregateType.ApartmentComplex]: ApartmentComplexSnapshot;
|
|
16
|
+
[SupportedAggregateType.Handling]: HandlingSnapshot;
|
|
17
|
+
[SupportedAggregateType.Call]: CallSnapshot;
|
|
13
18
|
};
|
|
14
19
|
export type Payload<A extends SupportedAggregateType = SupportedAggregateType> = AggregateToSnapshot[A];
|
|
15
20
|
export type SnapshotBuildResult<A extends SupportedAggregateType> = {
|
|
16
21
|
payload: Payload<A>;
|
|
22
|
+
} | {
|
|
23
|
+
success: false;
|
|
24
|
+
reason: string;
|
|
17
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot-builder.type.js","sourceRoot":"","sources":["../../../types/snapshot-builder/snapshot-builder.type.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"snapshot-builder.type.js","sourceRoot":"","sources":["../../../types/snapshot-builder/snapshot-builder.type.ts"],"names":[],"mappings":";;AAAA,0CAiBqB"}
|