vector-shared 1.1.445 → 1.1.447
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/funnel/funnel-dto.type.d.ts +40 -0
- package/dist/types/funnel/funnel-dto.type.js +3 -0
- package/dist/types/funnel/funnel-dto.type.js.map +1 -0
- package/dist/types/funnel/funnel-entity-progress.type.d.ts +46 -0
- package/dist/types/funnel/funnel-entity-progress.type.js +3 -0
- package/dist/types/funnel/funnel-entity-progress.type.js.map +1 -0
- package/dist/types/funnel/funnel-mandatory-task.type.d.ts +42 -0
- package/dist/types/funnel/funnel-mandatory-task.type.js +35 -0
- package/dist/types/funnel/funnel-mandatory-task.type.js.map +1 -0
- package/dist/types/funnel/funnel-manual-subtask.type.d.ts +18 -0
- package/dist/types/funnel/funnel-manual-subtask.type.js +3 -0
- package/dist/types/funnel/funnel-manual-subtask.type.js.map +1 -0
- package/dist/types/funnel/funnel-manual-task.type.d.ts +11 -0
- package/dist/types/funnel/funnel-manual-task.type.js +3 -0
- package/dist/types/funnel/funnel-manual-task.type.js.map +1 -0
- package/dist/types/funnel/funnel-response.type.d.ts +29 -0
- package/dist/types/funnel/funnel-response.type.js +3 -0
- package/dist/types/funnel/funnel-response.type.js.map +1 -0
- package/dist/types/funnel/index.d.ts +6 -0
- package/dist/types/funnel/index.js +6 -0
- package/dist/types/funnel/index.js.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +15 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/snapshot/customer-call.snapshot.d.ts +6 -0
- package/dist/types/snapshot/customer-call.snapshot.js +3 -0
- package/dist/types/snapshot/customer-call.snapshot.js.map +1 -0
- package/dist/types/snapshot/geo.snapshot.d.ts +15 -0
- package/dist/types/snapshot/geo.snapshot.js +3 -0
- package/dist/types/snapshot/geo.snapshot.js.map +1 -0
- package/dist/types/snapshot/index.d.ts +3 -0
- package/dist/types/snapshot/index.js +3 -0
- package/dist/types/snapshot/index.js.map +1 -1
- package/dist/types/snapshot/supported-aggregate-type.enum.d.ts +4 -1
- package/dist/types/snapshot/supported-aggregate-type.enum.js +3 -0
- package/dist/types/snapshot/supported-aggregate-type.enum.js.map +1 -1
- package/dist/types/snapshot/topzone.snapshot.d.ts +1 -10
- package/dist/types/snapshot/user-attorney.snapshot.d.ts +18 -0
- package/dist/types/snapshot/user-attorney.snapshot.js +3 -0
- package/dist/types/snapshot/user-attorney.snapshot.js.map +1 -0
- package/dist/types/snapshot-builder/snapshot-builder.type.d.ts +4 -1
- package/dist/types/snapshot-builder/snapshot-builder.type.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type GetFunnelProgressDto = {
|
|
2
|
+
propertyId?: number;
|
|
3
|
+
requestId?: number;
|
|
4
|
+
handlingId?: number;
|
|
5
|
+
currentStage: string;
|
|
6
|
+
};
|
|
7
|
+
export type UpdateFunnelStageDto = {
|
|
8
|
+
propertyId?: number;
|
|
9
|
+
requestId?: number;
|
|
10
|
+
handlingId?: number;
|
|
11
|
+
currentStage: string;
|
|
12
|
+
};
|
|
13
|
+
export type ToggleManualSubtaskDto = {
|
|
14
|
+
propertyId?: number;
|
|
15
|
+
requestId?: number;
|
|
16
|
+
handlingId?: number;
|
|
17
|
+
currentStage: string;
|
|
18
|
+
taskKey: string;
|
|
19
|
+
completed: boolean;
|
|
20
|
+
};
|
|
21
|
+
export type CreateFunnelCommentDto = {
|
|
22
|
+
propertyId?: number;
|
|
23
|
+
requestId?: number;
|
|
24
|
+
handlingId?: number;
|
|
25
|
+
comment: string;
|
|
26
|
+
};
|
|
27
|
+
export type CreateFunnelRemarkDto = {
|
|
28
|
+
propertyId?: number;
|
|
29
|
+
requestId?: number;
|
|
30
|
+
handlingId?: number;
|
|
31
|
+
realtorId: number;
|
|
32
|
+
remark: string;
|
|
33
|
+
};
|
|
34
|
+
export type CreateFunnelReminderDto = {
|
|
35
|
+
propertyId?: number;
|
|
36
|
+
requestId?: number;
|
|
37
|
+
handlingId?: number;
|
|
38
|
+
message: string;
|
|
39
|
+
remindAt: Date;
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-dto.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-dto.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BaseEntity } from '../core/base-entity.type';
|
|
2
|
+
import { CustomerPropertyEntity } from '../core/customer-property.type';
|
|
3
|
+
import { CustomerRequestEntity } from '../core/customer-request.type';
|
|
4
|
+
import { HandlingEntity } from '../core/handling.type';
|
|
5
|
+
export type ManualTaskState = {
|
|
6
|
+
taskKey: string;
|
|
7
|
+
completed: boolean;
|
|
8
|
+
completedAt?: Date;
|
|
9
|
+
completedByUserId?: number;
|
|
10
|
+
};
|
|
11
|
+
export type FunnelComment = {
|
|
12
|
+
id: string;
|
|
13
|
+
comment: string;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
createdByUserId: number;
|
|
16
|
+
};
|
|
17
|
+
export type FunnelRemark = {
|
|
18
|
+
id: string;
|
|
19
|
+
remark: string;
|
|
20
|
+
realtorId: number;
|
|
21
|
+
isRead: boolean;
|
|
22
|
+
readAt?: Date;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
createdByUserId: number;
|
|
25
|
+
};
|
|
26
|
+
export type FunnelReminder = {
|
|
27
|
+
id: string;
|
|
28
|
+
message: string;
|
|
29
|
+
remindAt: Date;
|
|
30
|
+
isSent: boolean;
|
|
31
|
+
sentAt?: Date;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
createdByUserId: number;
|
|
34
|
+
};
|
|
35
|
+
export type FunnelEntityProgressEntity = BaseEntity & {
|
|
36
|
+
propertyId?: number | null;
|
|
37
|
+
property?: CustomerPropertyEntity;
|
|
38
|
+
requestId?: number | null;
|
|
39
|
+
request?: CustomerRequestEntity;
|
|
40
|
+
handlingId?: number | null;
|
|
41
|
+
handling?: HandlingEntity;
|
|
42
|
+
manual: Record<string, ManualTaskState[]>;
|
|
43
|
+
comments: FunnelComment[];
|
|
44
|
+
remarks: FunnelRemark[];
|
|
45
|
+
reminders: FunnelReminder[];
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-entity-progress.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-entity-progress.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseEntity } from '../core/base-entity.type';
|
|
2
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
+
export declare enum TaskConditionType {
|
|
4
|
+
HAS_REALTOR = "hasRealtor",
|
|
5
|
+
HAS_PROPERTY_ASSIGNED = "hasPropertyAssigned",
|
|
6
|
+
HAS_REQUEST_ASSIGNED = "hasRequestAssigned",
|
|
7
|
+
HAS_PRICE = "hasPrice",
|
|
8
|
+
HAS_PHOTOS = "hasPhotos",
|
|
9
|
+
HAS_ADDRESS = "hasAddress",
|
|
10
|
+
HAS_DESCRIPTION = "hasDescription",
|
|
11
|
+
HAS_BUDGET = "hasBudget",
|
|
12
|
+
HAS_CRITERIA = "hasCriteria",
|
|
13
|
+
IS_PUBLISHED = "isPublished",
|
|
14
|
+
IS_ACTIVE = "isActive",
|
|
15
|
+
HAS_PROPERTY_WITH_SELLER = "hasPropertyWithSeller",
|
|
16
|
+
HAS_SELLER_CONTACTS = "hasSellerContacts",
|
|
17
|
+
NO_DUPLICATES = "noDuplicates",
|
|
18
|
+
HAS_MIN_PHOTOS = "hasMinPhotos",
|
|
19
|
+
HAS_SELFIE_PHOTO = "hasSelfiePhoto",
|
|
20
|
+
HAS_AD_TEXT = "hasAdText",
|
|
21
|
+
HAS_TITLE = "hasTitle",
|
|
22
|
+
HAS_TRANSLATION = "hasTranslation",
|
|
23
|
+
HAS_ALL_ATTRIBUTES = "hasAllAttributes",
|
|
24
|
+
HAS_PRESENTATION_GENERATED = "hasPresentationGenerated",
|
|
25
|
+
IS_VNP_PREPAYMENT = "isVnpPrepayment",
|
|
26
|
+
HAS_CALCULATION = "hasCalculation",
|
|
27
|
+
HAS_BUYER_REGISTERED = "hasBuyerRegistered",
|
|
28
|
+
HAS_PRESENTATION_CREATED = "hasPresentationCreated",
|
|
29
|
+
IS_VNP_PREPAYMENT_REQUEST = "isVnpPrepaymentRequest",
|
|
30
|
+
HAS_CALCULATION_REQUEST = "hasCalculationRequest",
|
|
31
|
+
HAS_SELECTION_CREATED = "hasSelectionCreated"
|
|
32
|
+
}
|
|
33
|
+
export type FunnelMandatoryTaskEntity = BaseEntity & {
|
|
34
|
+
key: string;
|
|
35
|
+
name: MultiLanguage;
|
|
36
|
+
description: MultiLanguage;
|
|
37
|
+
category: string;
|
|
38
|
+
stage: string;
|
|
39
|
+
entity: 'property' | 'request';
|
|
40
|
+
conditionType: TaskConditionType;
|
|
41
|
+
order: number;
|
|
42
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskConditionType = void 0;
|
|
4
|
+
var TaskConditionType;
|
|
5
|
+
(function (TaskConditionType) {
|
|
6
|
+
TaskConditionType["HAS_REALTOR"] = "hasRealtor";
|
|
7
|
+
TaskConditionType["HAS_PROPERTY_ASSIGNED"] = "hasPropertyAssigned";
|
|
8
|
+
TaskConditionType["HAS_REQUEST_ASSIGNED"] = "hasRequestAssigned";
|
|
9
|
+
TaskConditionType["HAS_PRICE"] = "hasPrice";
|
|
10
|
+
TaskConditionType["HAS_PHOTOS"] = "hasPhotos";
|
|
11
|
+
TaskConditionType["HAS_ADDRESS"] = "hasAddress";
|
|
12
|
+
TaskConditionType["HAS_DESCRIPTION"] = "hasDescription";
|
|
13
|
+
TaskConditionType["HAS_BUDGET"] = "hasBudget";
|
|
14
|
+
TaskConditionType["HAS_CRITERIA"] = "hasCriteria";
|
|
15
|
+
TaskConditionType["IS_PUBLISHED"] = "isPublished";
|
|
16
|
+
TaskConditionType["IS_ACTIVE"] = "isActive";
|
|
17
|
+
TaskConditionType["HAS_PROPERTY_WITH_SELLER"] = "hasPropertyWithSeller";
|
|
18
|
+
TaskConditionType["HAS_SELLER_CONTACTS"] = "hasSellerContacts";
|
|
19
|
+
TaskConditionType["NO_DUPLICATES"] = "noDuplicates";
|
|
20
|
+
TaskConditionType["HAS_MIN_PHOTOS"] = "hasMinPhotos";
|
|
21
|
+
TaskConditionType["HAS_SELFIE_PHOTO"] = "hasSelfiePhoto";
|
|
22
|
+
TaskConditionType["HAS_AD_TEXT"] = "hasAdText";
|
|
23
|
+
TaskConditionType["HAS_TITLE"] = "hasTitle";
|
|
24
|
+
TaskConditionType["HAS_TRANSLATION"] = "hasTranslation";
|
|
25
|
+
TaskConditionType["HAS_ALL_ATTRIBUTES"] = "hasAllAttributes";
|
|
26
|
+
TaskConditionType["HAS_PRESENTATION_GENERATED"] = "hasPresentationGenerated";
|
|
27
|
+
TaskConditionType["IS_VNP_PREPAYMENT"] = "isVnpPrepayment";
|
|
28
|
+
TaskConditionType["HAS_CALCULATION"] = "hasCalculation";
|
|
29
|
+
TaskConditionType["HAS_BUYER_REGISTERED"] = "hasBuyerRegistered";
|
|
30
|
+
TaskConditionType["HAS_PRESENTATION_CREATED"] = "hasPresentationCreated";
|
|
31
|
+
TaskConditionType["IS_VNP_PREPAYMENT_REQUEST"] = "isVnpPrepaymentRequest";
|
|
32
|
+
TaskConditionType["HAS_CALCULATION_REQUEST"] = "hasCalculationRequest";
|
|
33
|
+
TaskConditionType["HAS_SELECTION_CREATED"] = "hasSelectionCreated";
|
|
34
|
+
})(TaskConditionType || (exports.TaskConditionType = TaskConditionType = {}));
|
|
35
|
+
//# sourceMappingURL=funnel-mandatory-task.type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-mandatory-task.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-mandatory-task.type.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBA+BX;AA/BD,WAAY,iBAAiB;IAC3B,+CAA0B,CAAA;IAC1B,kEAA6C,CAAA;IAC7C,gEAA2C,CAAA;IAC3C,2CAAsB,CAAA;IACtB,6CAAwB,CAAA;IACxB,+CAA0B,CAAA;IAC1B,uDAAkC,CAAA;IAClC,6CAAwB,CAAA;IACxB,iDAA4B,CAAA;IAC5B,iDAA4B,CAAA;IAC5B,2CAAsB,CAAA;IAEtB,uEAAkD,CAAA;IAClD,8DAAyC,CAAA;IACzC,mDAA8B,CAAA;IAC9B,oDAA+B,CAAA;IAC/B,wDAAmC,CAAA;IACnC,8CAAyB,CAAA;IACzB,2CAAsB,CAAA;IACtB,uDAAkC,CAAA;IAClC,4DAAuC,CAAA;IACvC,4EAAuD,CAAA;IACvD,0DAAqC,CAAA;IACrC,uDAAkC,CAAA;IAElC,gEAA2C,CAAA;IAC3C,wEAAmD,CAAA;IACnD,yEAAoD,CAAA;IACpD,sEAAiD,CAAA;IACjD,kEAA6C,CAAA;AAC/C,CAAC,EA/BW,iBAAiB,iCAAjB,iBAAiB,QA+B5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseEntity } from '../core/base-entity.type';
|
|
2
|
+
import { CustomerPropertyEntity } from '../core/customer-property.type';
|
|
3
|
+
import { CustomerRequestEntity } from '../core/customer-request.type';
|
|
4
|
+
import { HandlingEntity } from '../core/handling.type';
|
|
5
|
+
import { UserEntity } from '../core/user.type';
|
|
6
|
+
export type FunnelManualSubtaskEntity = BaseEntity & {
|
|
7
|
+
propertyId?: number | null;
|
|
8
|
+
property?: CustomerPropertyEntity;
|
|
9
|
+
requestId?: number | null;
|
|
10
|
+
request?: CustomerRequestEntity;
|
|
11
|
+
handlingId?: number | null;
|
|
12
|
+
handling?: HandlingEntity;
|
|
13
|
+
subtaskId: string;
|
|
14
|
+
completed: boolean;
|
|
15
|
+
completedAt?: Date | null;
|
|
16
|
+
completedByUserId?: number | null;
|
|
17
|
+
completedByUser?: UserEntity;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-manual-subtask.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-manual-subtask.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseEntity } from '../core/base-entity.type';
|
|
2
|
+
import { MultiLanguage } from '../common/multi-language-column.type';
|
|
3
|
+
export type FunnelManualTaskEntity = BaseEntity & {
|
|
4
|
+
key: string;
|
|
5
|
+
name: MultiLanguage;
|
|
6
|
+
description: MultiLanguage;
|
|
7
|
+
category: string;
|
|
8
|
+
stage: string;
|
|
9
|
+
entity: 'property' | 'request';
|
|
10
|
+
order: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-manual-task.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-manual-task.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FunnelComment, FunnelRemark, FunnelReminder } from './funnel-entity-progress.type';
|
|
2
|
+
export type FunnelStage = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
order: number;
|
|
7
|
+
};
|
|
8
|
+
export type FunnelTask = {
|
|
9
|
+
key: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
type: 'mandatory' | 'manual';
|
|
13
|
+
completed: boolean;
|
|
14
|
+
editable: boolean;
|
|
15
|
+
completedAt?: Date;
|
|
16
|
+
completedByUserId?: number;
|
|
17
|
+
};
|
|
18
|
+
export type FunnelTaskCategory = {
|
|
19
|
+
category: string;
|
|
20
|
+
tasks: FunnelTask[];
|
|
21
|
+
};
|
|
22
|
+
export type FunnelProgressResponse = {
|
|
23
|
+
currentStage: string;
|
|
24
|
+
stages: FunnelStage[];
|
|
25
|
+
taskCategories: FunnelTaskCategory[];
|
|
26
|
+
comments: FunnelComment[];
|
|
27
|
+
remarks: FunnelRemark[];
|
|
28
|
+
reminders: FunnelReminder[];
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funnel-response.type.js","sourceRoot":"","sources":["../../../types/funnel/funnel-response.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { FunnelEntityProgressEntity, ManualTaskState, FunnelComment, FunnelRemark, FunnelReminder, } from './funnel-entity-progress.type';
|
|
2
|
+
export { FunnelManualSubtaskEntity } from './funnel-manual-subtask.type';
|
|
3
|
+
export { FunnelMandatoryTaskEntity, TaskConditionType, } from './funnel-mandatory-task.type';
|
|
4
|
+
export { FunnelManualTaskEntity } from './funnel-manual-task.type';
|
|
5
|
+
export { GetFunnelProgressDto, UpdateFunnelStageDto, ToggleManualSubtaskDto, CreateFunnelCommentDto, CreateFunnelRemarkDto, CreateFunnelReminderDto, } from './funnel-dto.type';
|
|
6
|
+
export { FunnelStage, FunnelProgressResponse, FunnelTask, FunnelTaskCategory, } from './funnel-response.type';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskConditionType = void 0;
|
|
4
|
+
var funnel_mandatory_task_type_1 = require("./funnel-mandatory-task.type");
|
|
5
|
+
Object.defineProperty(exports, "TaskConditionType", { enumerable: true, get: function () { return funnel_mandatory_task_type_1.TaskConditionType; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/funnel/index.ts"],"names":[],"mappings":";;;AAQA,2EAGsC;AADpC,+HAAA,iBAAiB,OAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export { CustomerRequestSelectionUpdateStatus } from './customer/customer-reques
|
|
|
78
78
|
export { MismatchActionEnum } from './mistmatch/mismatch-action.types.enum';
|
|
79
79
|
export { ApartmentComplexSortByFieldEnum, ApartmentComplexSearchParamsDto, ApartmentComplexAutocompleteParamsDto, } from './apartment-complex';
|
|
80
80
|
export { AdvertSourceEntity, AgencyEntity, ApartmentComplexImageEntity, ApartmentComplexInfoEntity, ApartmentComplexEntity, AppraiserEntity, ArchiveReasonEntity, AttentionRequiredEntity, AttorneyEntity, AttributeRepresentationEntity, AttributeValueEntity, AttributeEntity, BaseEntity, BuildCompanyEntity, CallRedirectEntity, CallEntity, ContractTypeEntity, CustomerBucketEntity, CustomerCallEntity, CustomerPhoneEntity, CustomerPropertyDuplicateEntity, CustomerPropertyEntity, CustomerRequestSelectionEntity, CustomerRequestEntity, CustomerEntity, DealDocumentEntity, DealParticipantEntity, DealTransactionEntity, DealTypePercentageEntity, DealTypeEntity, DealEntity, DocumentEntity, DutyEntity, EmployeeNormEntity, FeedbackFileEntity, FeedbackViewEntity, FeedbackEntity, FlatEntity, FloorEntity, GeoTopzoneEntity, GeoEntity, GoogleContactEntity, HandlingListeningEntity, HandlingEntity, ImageEntity, LayoutEntity, MismatchAggregateEntity, MismatchDecisionEntity, MismatchReasonEntity, MismatchReportEntity, NormCategoryEntity, NotaryEntity, NotificationPreferenceEntity, NotificationEntity, OfficeCenterEntity, OfficeEntity, PermissionEntity, PermissionCategoryEntity, PropertyDocumentEntity, PropertyImageEntity, PropertySeoEntity, QueueEntity, RealtorNumberEntity, RepresentationEntity, RequestPresentationPropertyEntity, RequestPresentationEntity, RequestPropertyEntity, RealtyPresentationEntity, RealtyPresentationImageEntity, RoleEntity, SectionEntity, StreetEntity, TelegramChatEntity, TelegramMessageEntity, TemplateCommentReactionEntity, TemplateCommentEntity, TemplateOfficeEntity, TemplateParticipantEntity, TemplateReactionEntity, TemplateRepresentationEntity, TemplateRoleEntity, TemplateViewEntity, TemplateEntity, TimeMetricEntity, TopzoneEntity, UniqueIdEntity, UploadedFileEntity, UserActionsLogEntity, UserAttorneyEntity, UserOfficeEntity, UserPhoneEntity, UserPointsChangeEntity, UserPointsRuleEntity, UserProfileEntity, UserEntity, ValuationEntity, VnpReasonEntity, XCustomerNotificationEntity, ObjectClassificationQueueEntity, ResetPasswordEntity, UserTrustedDeviceEntity, DirtyAggregatesEntity, OutboxEntity, PropertyVideoEntity, VideoEntity, } from './core';
|
|
81
|
-
export { BaseSnapshot, UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, OfficeSnapshot, OfficeCenterSnapshot, RepresentationSnapshot, AttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, SupportedAggregateType, } from './snapshot';
|
|
81
|
+
export { BaseSnapshot, UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, CustomerPropertySnapshot, CustomerRequestSnapshot, OfficeSnapshot, OfficeCenterSnapshot, RepresentationSnapshot, AttorneySnapshot, UserAttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, HandlingSnapshot, CallSnapshot, CustomerCallSnapshot, SupportedAggregateType, } from './snapshot';
|
|
82
82
|
export { AggregateToSnapshot, Payload, SnapshotBuildResult, } from './snapshot-builder';
|
|
83
83
|
export { LoginByGoogleDto, LoginDto, ForgotPasswordDto, ResetPasswordDto, LoginResponseDto, ForgotPasswordResponseDto, ResetPasswordResponseDto, ValidateResetTokenRequestDto, ValidateResetTokenResponseDto, TwoFactorAuthResponseDto, Initiate2FADto, Verify2FADto, } from './auth';
|
|
84
84
|
export { ArchiveReasonDestinationEnum, ArchiveReasonDropdownParamsDto, } from './archive-reasons';
|
|
@@ -136,3 +136,4 @@ export { HandlerProps, XlsAreasHandlers } from './parse/mapping-handler.types';
|
|
|
136
136
|
export { XlsMappingColRows, XlsArea, HeaderSettings, } from './parse/mapping.types';
|
|
137
137
|
export { ParserSchemes } from './parse/schemes.enum';
|
|
138
138
|
export { AttachVideoToPropertyDto } from './video';
|
|
139
|
+
export * from './funnel';
|
package/dist/types/index.js
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
17
|
exports.AttributeTypeEnum = exports.AttributeDestinationEnum = exports.AttributeCategoryEnum = exports.RegistrationTypeEnum = exports.DealTypeEnum = exports.ApartmentTypeEnum = exports.ObjectTypeEnum = exports.AttributeUnitEnum = exports.AttributeKeyEnum = exports.Male = exports.ClassificationType = exports.DirectionEnum = exports.PropertyDocumentCategory = exports.PropertyExclusiveStatusEnum = exports.RealtySubtypeEnum = exports.RentTypeEnum = exports.MarketTypeEnum = exports.RealtyTypeEnum = exports.LanguageEnum = exports.NodeEnvEnum = exports.MyOfficePermissions = exports.UserActionLogsPermissions = exports.FunnelPermissions = exports.MainPagePermissions = exports.FlatPermissions = exports.FloorPermissions = exports.SectionPermissions = exports.QueuePermissions = exports.LayoutPermissions = exports.ApartmentComplexPermissions = exports.BuildCompanyPermissions = exports.NewsPermissions = exports.NotaryPermissions = exports.TelephonyPermissions = exports.DutyPermissions = exports.FeedbackPermissions = exports.DealPermissions = exports.ExportedPropertyPermissions = exports.CustomerRequestPermissions = exports.AttributePermissions = exports.GeoPermissions = exports.OrganizationPermissions = exports.AdvertPermissions = exports.AnalyticPermission = exports.SellerPermissions = exports.BuyerPermissions = exports.HandlingPermissions = exports.CustomerPropertyPermissions = exports.UserPermissions = exports.PermissionEnum = void 0;
|
|
4
18
|
exports.DealAgreementTypeDto = exports.BuildCompanySortByFieldEnum = exports.AttentionRequiredEntityEnum = exports.AttentionRequiredOfficeStatisticSortByFieldEnum = exports.AttentionRequiredWithChangesSortByFieldEnum = exports.AttorneyTypeEnum = exports.ArchiveReasonDestinationEnum = exports.SupportedAggregateType = exports.ApartmentComplexSortByFieldEnum = exports.MismatchActionEnum = exports.CustomerRequestSelectionUpdateStatus = exports.CustomerPropertyDuplicateStatusEnum = exports.ApartmentComplexImageCategory = exports.FlatStatus = exports.FeedbackCategoryEnum = exports.FeedbackStatusEnum = exports.Messenger = exports.UserPointsEvent = exports.PropertyDocumentTypeEnum = exports.ReactionEnum = exports.TemplateContentEnum = exports.TemplateEnum = exports.VchasnoDocumentStatus = exports.VchasnoDocumentCategory = exports.DealParticipantType = exports.DealExpensesCategory = exports.DealTransactionEnum = exports.DealAgreementType = exports.DealFormat = exports.MortgageProgram = exports.PartyTypeEnum = exports.DealPayer = exports.DealDocumentEnum = exports.RealtyPlatform = exports.ModelName = exports.CallTypeEnum = exports.ComplexType = exports.Currency = exports.Day = exports.QueryBoolean = exports.CustomerBucketScope = exports.ActivityPotential = exports.CustomerType = exports.RecipientEnum = exports.HandlingType = exports.PromotionGeo = exports.GeoLevel = exports.GeoTypeEnum = exports.NormCategoriesEnum = exports.ImageCategoryEnum = void 0;
|
|
@@ -224,4 +238,5 @@ var parse_fields_enum_1 = require("./parse/parse-fields.enum");
|
|
|
224
238
|
Object.defineProperty(exports, "ParseFields", { enumerable: true, get: function () { return parse_fields_enum_1.ParseFields; } });
|
|
225
239
|
var schemes_enum_1 = require("./parse/schemes.enum");
|
|
226
240
|
Object.defineProperty(exports, "ParserSchemes", { enumerable: true, get: function () { return schemes_enum_1.ParserSchemes; } });
|
|
241
|
+
__exportStar(require("./funnel"), exports);
|
|
227
242
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,iEAgCuC;AA/BrC,iHAAA,cAAc,OAAA;AACd,kHAAA,eAAe,OAAA;AACf,8HAAA,2BAA2B,OAAA;AAC3B,sHAAA,mBAAmB,OAAA;AACnB,mHAAA,gBAAgB,OAAA;AAChB,oHAAA,iBAAiB,OAAA;AACjB,qHAAA,kBAAkB,OAAA;AAClB,oHAAA,iBAAiB,OAAA;AACjB,0HAAA,uBAAuB,OAAA;AACvB,iHAAA,cAAc,OAAA;AACd,uHAAA,oBAAoB,OAAA;AACpB,6HAAA,0BAA0B,OAAA;AAC1B,8HAAA,2BAA2B,OAAA;AAC3B,kHAAA,eAAe,OAAA;AACf,sHAAA,mBAAmB,OAAA;AACnB,kHAAA,eAAe,OAAA;AACf,uHAAA,oBAAoB,OAAA;AACpB,oHAAA,iBAAiB,OAAA;AACjB,kHAAA,eAAe,OAAA;AACf,0HAAA,uBAAuB,OAAA;AACvB,8HAAA,2BAA2B,OAAA;AAC3B,oHAAA,iBAAiB,OAAA;AACjB,mHAAA,gBAAgB,OAAA;AAChB,qHAAA,kBAAkB,OAAA;AAClB,mHAAA,gBAAgB,OAAA;AAChB,kHAAA,eAAe,OAAA;AACf,sHAAA,mBAAmB,OAAA;AACnB,oHAAA,iBAAiB,OAAA;AACjB,4HAAA,yBAAyB,OAAA;AACzB,sHAAA,mBAAmB,OAAA;AAGrB,0DAAuD;AAA9C,4GAAA,WAAW,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jB,iHAAA,sBAAsB,OAAA;AAIxB,yCAYqB;AAVnB,wIAAA,2CAA2C,OAAA;AAM3C,wIAAA,2CAA2C,OAAA;AAO7C,mCAMkB;AADhB,+GAAA,qBAAqB,OAAA;AAsBvB,qCAKmB;AADjB,iHAAA,sBAAsB,OAAA;AAIxB,iDAA0E;AAA1C,iHAAA,gBAAgB,OAAA;AAGhD,+BA0BgB;AAtBd,wGAAA,gBAAgB,OAAA;AAahB,2GAAA,mBAAmB,OAAA;AAYrB,uDAG4B;AAD1B,iIAAA,6BAA6B,OAAA;AAsB/B,yDA6B6B;AAN3B,oIAAA,+BAA+B,OAAA;AASjC,uCAWoB;AAHlB,mHAAA,uBAAuB,OAAA;AAiBzB,mCAakB;AARhB,uGAAA,aAAa,OAAA;AAaf,+DAAwD;AAA/C,gHAAA,WAAW,OAAA;AAQpB,qDAAqD;AAA5C,6GAAA,aAAa,OAAA;AAMtB,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-call.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/customer-call.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
2
|
+
import { MultiLanguage } from '../common';
|
|
3
|
+
export type GeoSnapshot = BaseSnapshot & {
|
|
4
|
+
name: MultiLanguage;
|
|
5
|
+
declension: MultiLanguage;
|
|
6
|
+
alias: string;
|
|
7
|
+
lvl: number;
|
|
8
|
+
lft: number | null;
|
|
9
|
+
rgt: number | null;
|
|
10
|
+
lat: string | null;
|
|
11
|
+
lng: string | null;
|
|
12
|
+
type: string;
|
|
13
|
+
domain: string | null;
|
|
14
|
+
subdomain: boolean;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/geo.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -8,10 +8,13 @@ export * from './office.snapshot';
|
|
|
8
8
|
export * from './office-center.snapshot';
|
|
9
9
|
export * from './representation.snapshot';
|
|
10
10
|
export * from './attorney.snapshot';
|
|
11
|
+
export * from './user-attorney.snapshot';
|
|
11
12
|
export * from './build-company.snapshot';
|
|
12
13
|
export * from './archive-reason.snapshot';
|
|
13
14
|
export * from './topzone.snapshot';
|
|
14
15
|
export * from './apartment-complex.snapshot';
|
|
15
16
|
export * from './handling.snapshot';
|
|
16
17
|
export * from './call.snapshot';
|
|
18
|
+
export * from './customer-call.snapshot';
|
|
19
|
+
export * from './geo.snapshot';
|
|
17
20
|
export * from './supported-aggregate-type.enum';
|
|
@@ -24,11 +24,14 @@ __exportStar(require("./office.snapshot"), exports);
|
|
|
24
24
|
__exportStar(require("./office-center.snapshot"), exports);
|
|
25
25
|
__exportStar(require("./representation.snapshot"), exports);
|
|
26
26
|
__exportStar(require("./attorney.snapshot"), exports);
|
|
27
|
+
__exportStar(require("./user-attorney.snapshot"), exports);
|
|
27
28
|
__exportStar(require("./build-company.snapshot"), exports);
|
|
28
29
|
__exportStar(require("./archive-reason.snapshot"), exports);
|
|
29
30
|
__exportStar(require("./topzone.snapshot"), exports);
|
|
30
31
|
__exportStar(require("./apartment-complex.snapshot"), exports);
|
|
31
32
|
__exportStar(require("./handling.snapshot"), exports);
|
|
32
33
|
__exportStar(require("./call.snapshot"), exports);
|
|
34
|
+
__exportStar(require("./customer-call.snapshot"), exports);
|
|
35
|
+
__exportStar(require("./geo.snapshot"), exports);
|
|
33
36
|
__exportStar(require("./supported-aggregate-type.enum"), exports);
|
|
34
37
|
//# 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,+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"}
|
|
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,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,+DAA6C;AAC7C,sDAAoC;AACpC,kDAAgC;AAChC,2DAAyC;AACzC,iDAA+B;AAC/B,kEAAgD"}
|
|
@@ -8,10 +8,13 @@ export declare enum SupportedAggregateType {
|
|
|
8
8
|
OfficeCenter = "office-center",
|
|
9
9
|
Representation = "representation",
|
|
10
10
|
Attorney = "attorney",
|
|
11
|
+
UserAttorney = "user-attorney",
|
|
11
12
|
BuildCompany = "build-company",
|
|
12
13
|
ArchiveReason = "archive-reason",
|
|
13
14
|
Topzone = "topzone",
|
|
14
15
|
ApartmentComplex = "apartment-complex",
|
|
15
16
|
Handling = "handling",
|
|
16
|
-
Call = "call"
|
|
17
|
+
Call = "call",
|
|
18
|
+
CustomerCall = "customer-call",
|
|
19
|
+
Geo = "geo"
|
|
17
20
|
}
|
|
@@ -12,11 +12,14 @@ var SupportedAggregateType;
|
|
|
12
12
|
SupportedAggregateType["OfficeCenter"] = "office-center";
|
|
13
13
|
SupportedAggregateType["Representation"] = "representation";
|
|
14
14
|
SupportedAggregateType["Attorney"] = "attorney";
|
|
15
|
+
SupportedAggregateType["UserAttorney"] = "user-attorney";
|
|
15
16
|
SupportedAggregateType["BuildCompany"] = "build-company";
|
|
16
17
|
SupportedAggregateType["ArchiveReason"] = "archive-reason";
|
|
17
18
|
SupportedAggregateType["Topzone"] = "topzone";
|
|
18
19
|
SupportedAggregateType["ApartmentComplex"] = "apartment-complex";
|
|
19
20
|
SupportedAggregateType["Handling"] = "handling";
|
|
20
21
|
SupportedAggregateType["Call"] = "call";
|
|
22
|
+
SupportedAggregateType["CustomerCall"] = "customer-call";
|
|
23
|
+
SupportedAggregateType["Geo"] = "geo";
|
|
21
24
|
})(SupportedAggregateType || (exports.SupportedAggregateType = SupportedAggregateType = {}));
|
|
22
25
|
//# 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,sBAmBX;AAnBD,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,wDAA8B,CAAA;IAC9B,0DAAgC,CAAA;IAChC,6CAAmB,CAAA;IACnB,gEAAsC,CAAA;IACtC,+CAAqB,CAAA;IACrB,uCAAa,CAAA;IACb,wDAA8B,CAAA;IAC9B,qCAAW,CAAA;AACb,CAAC,EAnBW,sBAAsB,sCAAtB,sBAAsB,QAmBjC"}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { BaseSnapshot } from './base.snapshot';
|
|
2
2
|
import { MultiLanguage } from '../common';
|
|
3
|
-
type Coordinate = {
|
|
4
|
-
lat: string;
|
|
5
|
-
lng: string;
|
|
6
|
-
};
|
|
7
|
-
type Bounds = {
|
|
8
|
-
northeast: Coordinate;
|
|
9
|
-
southwest: Coordinate;
|
|
10
|
-
};
|
|
11
3
|
export type TopzoneSnapshot = BaseSnapshot & {
|
|
12
4
|
name: MultiLanguage;
|
|
13
5
|
declension: MultiLanguage;
|
|
14
6
|
alias: string;
|
|
15
7
|
lat: string | null;
|
|
16
8
|
lng: string | null;
|
|
17
|
-
|
|
9
|
+
geo: string[];
|
|
18
10
|
};
|
|
19
|
-
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseSnapshot } from './base.snapshot';
|
|
2
|
+
import { UserAttorneyType } from '../user/user-attorney-type.enum';
|
|
3
|
+
export type UserAttorneySnapshot = BaseSnapshot & {
|
|
4
|
+
userId: string;
|
|
5
|
+
attorneyId: string | null;
|
|
6
|
+
vchasnoApiKey: string | null;
|
|
7
|
+
vchasnoEmail: string | null;
|
|
8
|
+
vchasnoInn: string | null;
|
|
9
|
+
fullName: string | null;
|
|
10
|
+
edrpou: string | null;
|
|
11
|
+
inn: string | null;
|
|
12
|
+
tov: string | null;
|
|
13
|
+
fromDate: Date | null;
|
|
14
|
+
attorneyNumber: string | null;
|
|
15
|
+
attorneyAddress: string | null;
|
|
16
|
+
edrpouRecordNumber: string | null;
|
|
17
|
+
type: UserAttorneyType | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-attorney.snapshot.js","sourceRoot":"","sources":["../../../types/snapshot/user-attorney.snapshot.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, CustomerPropertySnapshot, CustomerRequestSnapshot, OfficeSnapshot, OfficeCenterSnapshot, RepresentationSnapshot, AttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, HandlingSnapshot, CallSnapshot, SupportedAggregateType } from '../snapshot';
|
|
1
|
+
import { UserSnapshot, AdvertSourceSnapshot, CustomerSnapshot, CustomerPropertySnapshot, CustomerRequestSnapshot, OfficeSnapshot, OfficeCenterSnapshot, RepresentationSnapshot, AttorneySnapshot, UserAttorneySnapshot, BuildCompanySnapshot, ArchiveReasonSnapshot, TopzoneSnapshot, ApartmentComplexSnapshot, HandlingSnapshot, CallSnapshot, CustomerCallSnapshot, GeoSnapshot, SupportedAggregateType } from '../snapshot';
|
|
2
2
|
export type AggregateToSnapshot = {
|
|
3
3
|
[SupportedAggregateType.User]: UserSnapshot;
|
|
4
4
|
[SupportedAggregateType.AdvertSource]: AdvertSourceSnapshot;
|
|
@@ -9,12 +9,15 @@ export type AggregateToSnapshot = {
|
|
|
9
9
|
[SupportedAggregateType.OfficeCenter]: OfficeCenterSnapshot;
|
|
10
10
|
[SupportedAggregateType.Representation]: RepresentationSnapshot;
|
|
11
11
|
[SupportedAggregateType.Attorney]: AttorneySnapshot;
|
|
12
|
+
[SupportedAggregateType.UserAttorney]: UserAttorneySnapshot;
|
|
12
13
|
[SupportedAggregateType.BuildCompany]: BuildCompanySnapshot;
|
|
13
14
|
[SupportedAggregateType.ArchiveReason]: ArchiveReasonSnapshot;
|
|
14
15
|
[SupportedAggregateType.Topzone]: TopzoneSnapshot;
|
|
15
16
|
[SupportedAggregateType.ApartmentComplex]: ApartmentComplexSnapshot;
|
|
16
17
|
[SupportedAggregateType.Handling]: HandlingSnapshot;
|
|
17
18
|
[SupportedAggregateType.Call]: CallSnapshot;
|
|
19
|
+
[SupportedAggregateType.CustomerCall]: CustomerCallSnapshot;
|
|
20
|
+
[SupportedAggregateType.Geo]: GeoSnapshot;
|
|
18
21
|
};
|
|
19
22
|
export type Payload<A extends SupportedAggregateType = SupportedAggregateType> = AggregateToSnapshot[A];
|
|
20
23
|
export type SnapshotBuildResult<A extends SupportedAggregateType> = {
|
|
@@ -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,0CAoBqB"}
|