@aldb2b/common 1.0.852 → 1.0.855
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/build/db/CustomModel.d.ts +25 -0
- package/build/db/MongooseBase.d.ts +25 -0
- package/build/db/aggregate/AggregateConvertor.d.ts +25 -0
- package/build/entities/interfaces/connection-dictionary.interface.d.ts +25 -0
- package/build/entities/models/common/common.provider.d.ts +25 -0
- package/build/entities/models/common/entities/audit-trail.entity.d.ts +25 -0
- package/build/entities/models/common/entities/location.entity.d.ts +61 -0
- package/build/entities/models/common/entities/location.entity.js.map +1 -0
- package/build/entities/models/common/index.d.ts +1 -0
- package/build/entities/models/common/index.js +1 -0
- package/build/entities/models/common/index.js.map +1 -1
- package/build/entities/models/companies/companies.provider.d.ts +26 -1
- package/build/entities/models/companies/companies.provider.js +1 -1
- package/build/entities/models/companies/companies.provider.js.map +1 -1
- package/build/entities/models/companies/entities/companies/company-contact-detail.schema.d.ts +70 -0
- package/build/entities/models/companies/entities/companies/company-contact-detail.schema.js +37 -0
- package/build/entities/models/companies/entities/companies/company-contact-detail.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/company-size.enum.d.ts +6 -0
- package/build/entities/models/companies/entities/companies/company-size.enum.js +11 -0
- package/build/entities/models/companies/entities/companies/company-size.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/company-statistic.entity.d.ts +25 -0
- package/build/entities/models/companies/entities/companies/company-type.enum.d.ts +26 -0
- package/build/entities/models/companies/entities/companies/company-type.enum.js +31 -0
- package/build/entities/models/companies/entities/companies/company-type.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/company-user-type.enum.d.ts +9 -0
- package/build/entities/models/companies/entities/companies/company-user-type.enum.js +14 -0
- package/build/entities/models/companies/entities/companies/company-user-type.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/company.entity.d.ts +138 -4
- package/build/entities/models/companies/entities/companies/company.entity.js +526 -13
- package/build/entities/models/companies/entities/companies/company.entity.js.map +1 -1
- package/build/entities/models/companies/entities/companies/export-capability.schema.d.ts +70 -0
- package/build/entities/models/companies/entities/companies/export-capability.schema.js +27 -0
- package/build/entities/models/companies/entities/companies/export-capability.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/fortune.enum.d.ts +6 -0
- package/build/entities/models/companies/entities/companies/fortune.enum.js +11 -0
- package/build/entities/models/companies/entities/companies/fortune.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/funding-stage.enum.d.ts +12 -0
- package/build/entities/models/companies/entities/companies/funding-stage.enum.js +17 -0
- package/build/entities/models/companies/entities/companies/funding-stage.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/group.enum.d.ts +6 -0
- package/build/entities/models/companies/entities/companies/group.enum.js +11 -0
- package/build/entities/models/companies/entities/companies/group.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/hr-data.schema.d.ts +61 -0
- package/build/entities/models/companies/entities/companies/hr-data.schema.js +18 -0
- package/build/entities/models/companies/entities/companies/hr-data.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/index.d.ts +21 -1
- package/build/entities/models/companies/entities/companies/index.js +21 -1
- package/build/entities/models/companies/entities/companies/index.js.map +1 -1
- package/build/entities/models/companies/entities/companies/investment-ticket.enum.d.ts +10 -0
- package/build/entities/models/companies/entities/companies/investment-ticket.enum.js +15 -0
- package/build/entities/models/companies/entities/companies/investment-ticket.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/investment-type.enum.d.ts +22 -0
- package/build/entities/models/companies/entities/companies/investment-type.enum.js +27 -0
- package/build/entities/models/companies/entities/companies/investment-type.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/investor.schema.d.ts +95 -0
- package/build/entities/models/companies/entities/companies/investor.schema.js +52 -0
- package/build/entities/models/companies/entities/companies/investor.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/manufacturer.schema.d.ts +63 -0
- package/build/entities/models/companies/entities/companies/manufacturer.schema.js +20 -0
- package/build/entities/models/companies/entities/companies/manufacturer.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/number-of-employees.enum.d.ts +10 -0
- package/build/entities/models/companies/entities/companies/number-of-employees.enum.js +15 -0
- package/build/entities/models/companies/entities/companies/number-of-employees.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/number-of-followers.enum.d.ts +7 -0
- package/build/entities/models/companies/entities/companies/number-of-followers.enum.js +12 -0
- package/build/entities/models/companies/entities/companies/number-of-followers.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/ownership-status.enum.d.ts +12 -0
- package/build/entities/models/companies/entities/companies/ownership-status.enum.js +17 -0
- package/build/entities/models/companies/entities/companies/ownership-status.enum.js.map +1 -0
- package/build/entities/models/companies/entities/companies/preference.schema.d.ts +69 -0
- package/build/entities/models/companies/entities/companies/preference.schema.js +26 -0
- package/build/entities/models/companies/entities/companies/preference.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/sector.schema.d.ts +62 -0
- package/build/entities/models/companies/entities/companies/sector.schema.js +20 -0
- package/build/entities/models/companies/entities/companies/sector.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/status-detail.schema.d.ts +63 -0
- package/build/entities/models/companies/entities/companies/status-detail.schema.js +26 -0
- package/build/entities/models/companies/entities/companies/status-detail.schema.js.map +1 -0
- package/build/entities/models/companies/entities/companies/trade-show-attended-as.enum.d.ts +11 -0
- package/build/entities/models/companies/entities/companies/trade-show-attended-as.enum.js +16 -0
- package/build/entities/models/companies/entities/companies/trade-show-attended-as.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/activity-log.schema.d.ts +62 -0
- package/build/entities/models/companies/entities/contacts/activity-log.schema.js +24 -0
- package/build/entities/models/companies/entities/contacts/activity-log.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/company-status-detail.schema.d.ts +63 -0
- package/build/entities/models/companies/entities/contacts/company-status-detail.schema.js +26 -0
- package/build/entities/models/companies/entities/contacts/company-status-detail.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/connection-degree.enum.d.ts +5 -0
- package/build/entities/models/companies/entities/contacts/connection-degree.enum.js +10 -0
- package/build/entities/models/companies/entities/contacts/connection-degree.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/contact-detail.schema.d.ts +70 -0
- package/build/entities/models/companies/entities/contacts/contact-detail.schema.js +31 -0
- package/build/entities/models/companies/entities/contacts/contact-detail.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/contact.entity.d.ts +144 -0
- package/build/entities/models/companies/entities/contacts/contact.entity.js +380 -0
- package/build/entities/models/companies/entities/contacts/contact.entity.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/data-association-modules.enum.d.ts +10 -0
- package/build/entities/models/companies/entities/contacts/data-association-modules.enum.js +15 -0
- package/build/entities/models/companies/entities/contacts/data-association-modules.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/department.enum.d.ts +31 -0
- package/build/entities/models/companies/entities/contacts/department.enum.js +36 -0
- package/build/entities/models/companies/entities/contacts/department.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/device-notification.schema.d.ts +60 -0
- package/build/entities/models/companies/entities/contacts/device-notification.schema.js +18 -0
- package/build/entities/models/companies/entities/contacts/device-notification.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/device.enum.d.ts +5 -0
- package/build/entities/models/companies/entities/contacts/device.enum.js +10 -0
- package/build/entities/models/companies/entities/contacts/device.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/index.d.ts +16 -0
- package/build/entities/models/companies/entities/contacts/index.js +33 -0
- package/build/entities/models/companies/entities/contacts/index.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/position.enum.d.ts +16 -0
- package/build/entities/models/companies/entities/contacts/position.enum.js +21 -0
- package/build/entities/models/companies/entities/contacts/position.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/seniority-level.enum.d.ts +15 -0
- package/build/entities/models/companies/entities/contacts/seniority-level.enum.js +20 -0
- package/build/entities/models/companies/entities/contacts/seniority-level.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/status.enum.d.ts +6 -0
- package/build/entities/models/companies/entities/contacts/status.enum.js +11 -0
- package/build/entities/models/companies/entities/contacts/status.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/user-activity.enum.d.ts +4 -0
- package/build/entities/models/companies/entities/contacts/user-activity.enum.js +9 -0
- package/build/entities/models/companies/entities/contacts/user-activity.enum.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/web-notification-key.schema.d.ts +59 -0
- package/build/entities/models/companies/entities/contacts/web-notification-key.schema.js +16 -0
- package/build/entities/models/companies/entities/contacts/web-notification-key.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/web-notification.schema.d.ts +61 -0
- package/build/entities/models/companies/entities/contacts/web-notification.schema.js +19 -0
- package/build/entities/models/companies/entities/contacts/web-notification.schema.js.map +1 -0
- package/build/entities/models/companies/entities/contacts/years-of-experience.enum.d.ts +7 -0
- package/build/entities/models/companies/entities/contacts/years-of-experience.enum.js +12 -0
- package/build/entities/models/companies/entities/contacts/years-of-experience.enum.js.map +1 -0
- package/build/entities/models/companies/index.d.ts +3 -2
- package/build/entities/models/companies/index.js +3 -2
- package/build/entities/models/companies/index.js.map +1 -1
- package/build/entities/models/companies/repositories/contact-common.repository.d.ts +7 -0
- package/build/entities/models/companies/repositories/contact-common.repository.js +12 -0
- package/build/entities/models/companies/repositories/contact-common.repository.js.map +1 -0
- package/build/entities/models/events/entities/event/event.entity.d.ts +25 -0
- package/build/entities/models/events/entities/eventProfile/company-profile-item.entity.d.ts +25 -0
- package/build/entities/models/events/entities/eventProfile/event-profile.entity.d.ts +25 -0
- package/build/entities/models/events/entities/eventType/event-type.entity.d.ts +25 -0
- package/build/entities/models/events/entities/timestamp.entity.d.ts +25 -0
- package/build/entities/models/events/events.provider.d.ts +25 -0
- package/build/entities/models/meetings/entities/meetingRequests/meeting-request.entity.d.ts +25 -0
- package/build/entities/models/meetings/entities/meetingRequests/rejected-contact.entity.d.ts +25 -0
- package/build/entities/models/meetings/entities/meetings/meeting.entity.d.ts +25 -0
- package/build/entities/models/meetings/entities/userAvailabilities/user-availability-timeslot.entity.d.ts +25 -0
- package/build/entities/models/meetings/entities/userAvailabilities/user-availability.entity.d.ts +25 -0
- package/build/entities/models/meetings/meetings.provider.d.ts +25 -0
- package/build/entities/models/model.providers.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription-user.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/eventSubscriptions/event-subscription.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/features/endpoint.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/features/feature.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/entities/subscriptionLogs/subscription-log.entity.d.ts +25 -0
- package/build/entities/models/subscriptions/subscriptions.provider.d.ts +25 -0
- package/build/entities/models/users/entities/rolePermissions/permission.entity.d.ts +25 -0
- package/build/entities/models/users/entities/rolePermissions/role-permission.entity.d.ts +25 -0
- package/build/entities/models/users/entities/users/chat-info.entity.d.ts +25 -0
- package/build/entities/models/users/entities/users/event-info.entity.d.ts +25 -0
- package/build/entities/models/users/entities/users/index.d.ts +1 -1
- package/build/entities/models/users/entities/users/index.js +1 -1
- package/build/entities/models/users/entities/users/index.js.map +1 -1
- package/build/entities/models/users/entities/users/user.entity.d.ts +25 -0
- package/build/entities/models/users/entities/users/user.entity.js +5 -5
- package/build/entities/models/users/entities/users/user.entity.js.map +1 -1
- package/build/entities/models/users/users.provider.d.ts +25 -0
- package/build/entities/mongoose.providers.d.ts +25 -0
- package/build/entities/services/generate-model.d.ts +25 -0
- package/build/entities/services/get-model-ref.d.ts +25 -0
- package/build/enums/company-status-condition.enum.d.ts +6 -0
- package/build/enums/company-status-condition.enum.js +11 -0
- package/build/enums/company-status-condition.enum.js.map +1 -0
- package/build/enums/company-status.enum.d.ts +9 -0
- package/build/enums/company-status.enum.js +14 -0
- package/build/enums/company-status.enum.js.map +1 -0
- package/build/enums/contact-type.enum.d.ts +8 -0
- package/build/enums/contact-type.enum.js +13 -0
- package/build/enums/contact-type.enum.js.map +1 -0
- package/build/enums/territory.enum.d.ts +27 -0
- package/build/enums/territory.enum.js +32 -0
- package/build/enums/territory.enum.js.map +1 -0
- package/build/enums/verify-data-source.enum.d.ts +4 -0
- package/build/enums/verify-data-source.enum.js +9 -0
- package/build/enums/verify-data-source.enum.js.map +1 -0
- package/build/index.d.ts +5 -0
- package/build/index.js +5 -0
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/entities/models/companies/entities/contact.entity.d.ts +0 -45
- package/build/entities/models/companies/entities/contact.entity.js +0 -52
- package/build/entities/models/companies/entities/contact.entity.js.map +0 -1
- package/build/entities/models/users/entities/users/location.entity.d.ts +0 -36
- package/build/entities/models/users/entities/users/location.entity.js.map +0 -1
- /package/build/entities/models/{users/entities/users → common/entities}/location.entity.js +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/aggregate" />
|
|
25
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/callback" />
|
|
26
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/collection" />
|
|
27
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/connection" />
|
|
28
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/cursor" />
|
|
29
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/document" />
|
|
30
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/error" />
|
|
31
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/expressions" />
|
|
32
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/helpers" />
|
|
33
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/middlewares" />
|
|
34
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/indexes" />
|
|
35
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/models" />
|
|
36
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/mongooseoptions" />
|
|
37
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/pipelinestage" />
|
|
38
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/populate" />
|
|
39
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/query" />
|
|
40
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schemaoptions" />
|
|
41
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schematypes" />
|
|
42
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/session" />
|
|
43
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/types" />
|
|
44
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/utility" />
|
|
45
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/validation" />
|
|
46
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/virtuals" />
|
|
47
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose" />
|
|
48
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
49
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
50
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/inferschematype" />
|
|
51
|
+
import { Schema } from 'mongoose';
|
|
52
|
+
import { CustomModel } from '../../../../../db/CustomModel';
|
|
53
|
+
export type ExportCapabilityModel = CustomModel<ExportCapability>;
|
|
54
|
+
export declare class ExportCapability {
|
|
55
|
+
_id: string;
|
|
56
|
+
exportQuantity?: string;
|
|
57
|
+
mainMarketDistributions?: string[];
|
|
58
|
+
startExportingDate?: Date;
|
|
59
|
+
numberOfEmployees: number;
|
|
60
|
+
nearestPort?: string;
|
|
61
|
+
averageProductionTime?: string;
|
|
62
|
+
averageLeadTime?: string;
|
|
63
|
+
hasOverseasOffice: boolean;
|
|
64
|
+
acceptedDeliveryTerms?: string;
|
|
65
|
+
acceptedPaymentCurrencies?: string[];
|
|
66
|
+
acceptedPaymentTypes?: string[];
|
|
67
|
+
languagesSpoken?: string[];
|
|
68
|
+
certifications?: string[];
|
|
69
|
+
}
|
|
70
|
+
export declare const getExportCapabilitySchema: () => Schema<ExportCapability, ExportCapabilityModel>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExportCapabilitySchema = exports.ExportCapability = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
class ExportCapability {
|
|
6
|
+
}
|
|
7
|
+
exports.ExportCapability = ExportCapability;
|
|
8
|
+
const getExportCapabilitySchema = () => {
|
|
9
|
+
const companyStatisticSchema = new mongoose_1.Schema({
|
|
10
|
+
exportQuantity: { type: String, trim: true },
|
|
11
|
+
mainMarketDistributions: { type: [String], default: [] },
|
|
12
|
+
startExportingDate: { type: Date },
|
|
13
|
+
numberOfEmployees: { type: Number },
|
|
14
|
+
nearestPort: { type: String, trim: true },
|
|
15
|
+
averageProductionTime: { type: String, trim: true },
|
|
16
|
+
averageLeadTime: { type: String, trim: true },
|
|
17
|
+
hasOverseasOffice: { type: Boolean },
|
|
18
|
+
acceptedDeliveryTerms: { type: String, trim: true },
|
|
19
|
+
acceptedPaymentCurrencies: { type: [String], default: [] },
|
|
20
|
+
acceptedPaymentTypes: { type: [String], default: [] },
|
|
21
|
+
languagesSpoken: { type: [String], default: [] },
|
|
22
|
+
certifications: { type: [String], default: [] },
|
|
23
|
+
});
|
|
24
|
+
return companyStatisticSchema;
|
|
25
|
+
};
|
|
26
|
+
exports.getExportCapabilitySchema = getExportCapabilitySchema;
|
|
27
|
+
//# sourceMappingURL=export-capability.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-capability.schema.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/export-capability.schema.ts"],"names":[],"mappings":";;;AAAA,uCAAiC;AAKjC,MAAa,gBAAgB;CAe5B;AAfD,4CAeC;AAEM,MAAM,yBAAyB,GAAG,GAGvC,EAAE;IACF,MAAM,sBAAsB,GAAG,IAAI,iBAAM,CAGvC;QACA,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QAC5C,uBAAuB,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACxD,kBAAkB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAClC,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACnC,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QACzC,qBAAqB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QACnD,eAAe,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QAC7C,iBAAiB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;QACpC,qBAAqB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QACnD,yBAAyB,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1D,oBAAoB,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,eAAe,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,cAAc,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;KAChD,CAAC,CAAA;IAEF,OAAO,sBAAsB,CAAA;AAC/B,CAAC,CAAA;AAxBY,QAAA,yBAAyB,6BAwBrC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Fortune = void 0;
|
|
4
|
+
var Fortune;
|
|
5
|
+
(function (Fortune) {
|
|
6
|
+
Fortune["FORTUNE_50"] = "Fortune_50";
|
|
7
|
+
Fortune["FORTUNE_51_100"] = "Fortune_51-100";
|
|
8
|
+
Fortune["FORTUNE_101_250"] = "Fortune_101-250";
|
|
9
|
+
Fortune["FORTUNE_251_500"] = "Fortune_251-500";
|
|
10
|
+
})(Fortune || (exports.Fortune = Fortune = {}));
|
|
11
|
+
//# sourceMappingURL=fortune.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fortune.enum.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/fortune.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,oCAAyB,CAAA;IACzB,4CAAiC,CAAA;IACjC,8CAAmC,CAAA;IACnC,8CAAmC,CAAA;AACrC,CAAC,EALW,OAAO,uBAAP,OAAO,QAKlB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum FundingStage {
|
|
2
|
+
MVP = "MVP",
|
|
3
|
+
PREE_SEED = "Pre-Seed Funding",
|
|
4
|
+
ANGEL = "Angel",
|
|
5
|
+
SEED_FUNDING = "Seed Funding",
|
|
6
|
+
SERIES_A = "Series A Funding",
|
|
7
|
+
SERIES_B = "Series B Funding",
|
|
8
|
+
SERIES_C = "Series C Funding",
|
|
9
|
+
SERIES_D = "Series D Funding",
|
|
10
|
+
PRE_IPO = "Pre IPO",
|
|
11
|
+
IPO_EXIT = "IPO/Exit"
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FundingStage = void 0;
|
|
4
|
+
var FundingStage;
|
|
5
|
+
(function (FundingStage) {
|
|
6
|
+
FundingStage["MVP"] = "MVP";
|
|
7
|
+
FundingStage["PREE_SEED"] = "Pre-Seed Funding";
|
|
8
|
+
FundingStage["ANGEL"] = "Angel";
|
|
9
|
+
FundingStage["SEED_FUNDING"] = "Seed Funding";
|
|
10
|
+
FundingStage["SERIES_A"] = "Series A Funding";
|
|
11
|
+
FundingStage["SERIES_B"] = "Series B Funding";
|
|
12
|
+
FundingStage["SERIES_C"] = "Series C Funding";
|
|
13
|
+
FundingStage["SERIES_D"] = "Series D Funding";
|
|
14
|
+
FundingStage["PRE_IPO"] = "Pre IPO";
|
|
15
|
+
FundingStage["IPO_EXIT"] = "IPO/Exit";
|
|
16
|
+
})(FundingStage || (exports.FundingStage = FundingStage = {}));
|
|
17
|
+
//# sourceMappingURL=funding-stage.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funding-stage.enum.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/funding-stage.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,2BAAW,CAAA;IACX,8CAA8B,CAAA;IAC9B,+BAAe,CAAA;IACf,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,6CAA6B,CAAA;IAC7B,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;AACvB,CAAC,EAXW,YAAY,4BAAZ,YAAY,QAWvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Group = void 0;
|
|
4
|
+
var Group;
|
|
5
|
+
(function (Group) {
|
|
6
|
+
Group["LESS_THAN_10"] = "Less_Than_10";
|
|
7
|
+
Group["11_50"] = "11-50";
|
|
8
|
+
Group["51_100"] = "51-100";
|
|
9
|
+
Group["100+"] = "100+";
|
|
10
|
+
})(Group || (exports.Group = Group = {}));
|
|
11
|
+
//# sourceMappingURL=group.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.enum.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/group.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAKX;AALD,WAAY,KAAK;IACf,sCAA6B,CAAA;IAC7B,wBAAiB,CAAA;IACjB,0BAAmB,CAAA;IACnB,sBAAe,CAAA;AACjB,CAAC,EALW,KAAK,qBAAL,KAAK,QAKhB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/aggregate" />
|
|
25
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/callback" />
|
|
26
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/collection" />
|
|
27
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/connection" />
|
|
28
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/cursor" />
|
|
29
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/document" />
|
|
30
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/error" />
|
|
31
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/expressions" />
|
|
32
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/helpers" />
|
|
33
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/middlewares" />
|
|
34
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/indexes" />
|
|
35
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/models" />
|
|
36
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/mongooseoptions" />
|
|
37
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/pipelinestage" />
|
|
38
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/populate" />
|
|
39
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/query" />
|
|
40
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schemaoptions" />
|
|
41
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schematypes" />
|
|
42
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/session" />
|
|
43
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/types" />
|
|
44
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/utility" />
|
|
45
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/validation" />
|
|
46
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/virtuals" />
|
|
47
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose" />
|
|
48
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
49
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
50
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/inferschematype" />
|
|
51
|
+
import { Schema } from 'mongoose';
|
|
52
|
+
import { CustomModel } from '../../../../../db/CustomModel';
|
|
53
|
+
export type HRDataModel = CustomModel<HRData>;
|
|
54
|
+
export declare class HRData {
|
|
55
|
+
_id: string;
|
|
56
|
+
lastLayoffMentionDate?: Date;
|
|
57
|
+
lastLeadershipHiringDate?: Date;
|
|
58
|
+
numberOfContacts?: number;
|
|
59
|
+
activelyHiring?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export declare const getHRDataSchema: () => Schema<HRData, HRDataModel>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getHRDataSchema = exports.HRData = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
class HRData {
|
|
6
|
+
}
|
|
7
|
+
exports.HRData = HRData;
|
|
8
|
+
const getHRDataSchema = () => {
|
|
9
|
+
const hrDataSchema = new mongoose_1.Schema({
|
|
10
|
+
lastLayoffMentionDate: { type: Date },
|
|
11
|
+
lastLeadershipHiringDate: { type: Date },
|
|
12
|
+
numberOfContacts: { type: Number },
|
|
13
|
+
activelyHiring: { type: Boolean },
|
|
14
|
+
});
|
|
15
|
+
return hrDataSchema;
|
|
16
|
+
};
|
|
17
|
+
exports.getHRDataSchema = getHRDataSchema;
|
|
18
|
+
//# sourceMappingURL=hr-data.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hr-data.schema.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/hr-data.schema.ts"],"names":[],"mappings":";;;AAAA,uCAAiC;AAKjC,MAAa,MAAM;CAMlB;AAND,wBAMC;AAEM,MAAM,eAAe,GAAG,GAAgC,EAAE;IAC/D,MAAM,YAAY,GAAG,IAAI,iBAAM,CAAsB;QACnD,qBAAqB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QACrC,wBAAwB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QACxC,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAClC,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;KAClC,CAAC,CAAA;IAEF,OAAO,YAAY,CAAA;AACrB,CAAC,CAAA;AATY,QAAA,eAAe,mBAS3B"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
export * from './company-
|
|
1
|
+
export * from './company-contact-detail.schema';
|
|
2
|
+
export * from './company-size.enum';
|
|
2
3
|
export * from './company-statistic-entity.enum';
|
|
4
|
+
export * from './company-statistic-type.enum';
|
|
3
5
|
export * from './company-statistic.entity';
|
|
6
|
+
export * from './company-type.enum';
|
|
4
7
|
export * from './company.entity';
|
|
8
|
+
export * from './export-capability.schema';
|
|
9
|
+
export * from './fortune.enum';
|
|
10
|
+
export * from './funding-stage.enum';
|
|
11
|
+
export * from './group.enum';
|
|
12
|
+
export * from './hr-data.schema';
|
|
13
|
+
export * from './investment-ticket.enum';
|
|
14
|
+
export * from './investment-type.enum';
|
|
15
|
+
export * from './investor.schema';
|
|
16
|
+
export * from './manufacturer.schema';
|
|
17
|
+
export * from './number-of-employees.enum';
|
|
18
|
+
export * from './number-of-followers.enum';
|
|
19
|
+
export * from './ownership-status.enum';
|
|
20
|
+
export * from './preference.schema';
|
|
21
|
+
export * from './sector.schema';
|
|
22
|
+
export * from './status-detail.schema';
|
|
23
|
+
export * from './trade-show-attended-as.enum';
|
|
24
|
+
export * from './company-user-type.enum';
|
|
@@ -14,8 +14,28 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./company-
|
|
17
|
+
__exportStar(require("./company-contact-detail.schema"), exports);
|
|
18
|
+
__exportStar(require("./company-size.enum"), exports);
|
|
18
19
|
__exportStar(require("./company-statistic-entity.enum"), exports);
|
|
20
|
+
__exportStar(require("./company-statistic-type.enum"), exports);
|
|
19
21
|
__exportStar(require("./company-statistic.entity"), exports);
|
|
22
|
+
__exportStar(require("./company-type.enum"), exports);
|
|
20
23
|
__exportStar(require("./company.entity"), exports);
|
|
24
|
+
__exportStar(require("./export-capability.schema"), exports);
|
|
25
|
+
__exportStar(require("./fortune.enum"), exports);
|
|
26
|
+
__exportStar(require("./funding-stage.enum"), exports);
|
|
27
|
+
__exportStar(require("./group.enum"), exports);
|
|
28
|
+
__exportStar(require("./hr-data.schema"), exports);
|
|
29
|
+
__exportStar(require("./investment-ticket.enum"), exports);
|
|
30
|
+
__exportStar(require("./investment-type.enum"), exports);
|
|
31
|
+
__exportStar(require("./investor.schema"), exports);
|
|
32
|
+
__exportStar(require("./manufacturer.schema"), exports);
|
|
33
|
+
__exportStar(require("./number-of-employees.enum"), exports);
|
|
34
|
+
__exportStar(require("./number-of-followers.enum"), exports);
|
|
35
|
+
__exportStar(require("./ownership-status.enum"), exports);
|
|
36
|
+
__exportStar(require("./preference.schema"), exports);
|
|
37
|
+
__exportStar(require("./sector.schema"), exports);
|
|
38
|
+
__exportStar(require("./status-detail.schema"), exports);
|
|
39
|
+
__exportStar(require("./trade-show-attended-as.enum"), exports);
|
|
40
|
+
__exportStar(require("./company-user-type.enum"), exports);
|
|
21
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAA+C;AAC/C,sDAAmC;AACnC,kEAA+C;AAC/C,gEAA6C;AAC7C,6DAA0C;AAC1C,sDAAmC;AACnC,mDAAgC;AAChC,6DAA0C;AAC1C,iDAA8B;AAC9B,uDAAoC;AACpC,+CAA4B;AAC5B,mDAAgC;AAChC,2DAAwC;AACxC,yDAAsC;AACtC,oDAAiC;AACjC,wDAAqC;AACrC,6DAA0C;AAC1C,6DAA0C;AAC1C,0DAAuC;AACvC,sDAAmC;AACnC,kDAA+B;AAC/B,yDAAsC;AACtC,gEAA6C;AAC7C,2DAAwC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvestmentTicket = void 0;
|
|
4
|
+
var InvestmentTicket;
|
|
5
|
+
(function (InvestmentTicket) {
|
|
6
|
+
InvestmentTicket["L50"] = "Less than $50k";
|
|
7
|
+
InvestmentTicket["K50"] = "$50k - $100k";
|
|
8
|
+
InvestmentTicket["K100"] = "$100k - $500";
|
|
9
|
+
InvestmentTicket["K500"] = "$500k - $1 Mil";
|
|
10
|
+
InvestmentTicket["M1"] = "$1 Mil - $2.5 Mil";
|
|
11
|
+
InvestmentTicket["M2"] = "$2.5 Mil - $5 Mil";
|
|
12
|
+
InvestmentTicket["M5"] = "$5-$10 Mil";
|
|
13
|
+
InvestmentTicket["M10"] = "$10 Mil +";
|
|
14
|
+
})(InvestmentTicket || (exports.InvestmentTicket = InvestmentTicket = {}));
|
|
15
|
+
//# sourceMappingURL=investment-ticket.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"investment-ticket.enum.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/investment-ticket.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,0CAAsB,CAAA;IACtB,wCAAoB,CAAA;IACpB,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;IACvB,6CAAyB,CAAA;IACzB,4CAAwB,CAAA;IACxB,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;AACnB,CAAC,EATW,gBAAgB,gCAAhB,gBAAgB,QAS3B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum InvestmentType {
|
|
2
|
+
PE_PRIVATE_EQUITY = "PE_Private_Equity",
|
|
3
|
+
VC_VENTURE_CAPITAL = "VC_Venture_Capital",
|
|
4
|
+
INCUBATORS_AND_ACCELERATORS = "Incubators_And_Accelerators",
|
|
5
|
+
ANGLE_INVESTORS = "Angle_Investors",
|
|
6
|
+
INVESTMENT_PARTNER = "Investment_Partner",
|
|
7
|
+
ANGEL_GROUP = "Angel_Group",
|
|
8
|
+
MICRO_VC = "Micro_VC",
|
|
9
|
+
INVESTMENT_BANK = "Investment_Bank",
|
|
10
|
+
CORPORATE_VENTURE_CAPITAL = "Corporate_Venture_Capital",
|
|
11
|
+
PENSION_FUND = "Pension_Fund",
|
|
12
|
+
SYNDICATE = "Syndicate",
|
|
13
|
+
STARTUP_COMPETITION = "Startup_Competition",
|
|
14
|
+
SECONDARY_PURCHASER = "Secondary_Purchaser",
|
|
15
|
+
ENTREPRENEURSHIP_PROGRAM = "Entrepreneurship_Program",
|
|
16
|
+
UNIVERSITY_PROGRAM = "University_Program",
|
|
17
|
+
GOVERNMENT_OFFICE = "Government_Office",
|
|
18
|
+
HEDGE_FUND = "Hedge_Fund",
|
|
19
|
+
FUND_OF_FUNDS = "Fund_Of_Funds",
|
|
20
|
+
COWORKING_SPACE = "Co-Working_Space",
|
|
21
|
+
VENTURE_DEBT = "Venture_Debt"
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvestmentType = void 0;
|
|
4
|
+
var InvestmentType;
|
|
5
|
+
(function (InvestmentType) {
|
|
6
|
+
InvestmentType["PE_PRIVATE_EQUITY"] = "PE_Private_Equity";
|
|
7
|
+
InvestmentType["VC_VENTURE_CAPITAL"] = "VC_Venture_Capital";
|
|
8
|
+
InvestmentType["INCUBATORS_AND_ACCELERATORS"] = "Incubators_And_Accelerators";
|
|
9
|
+
InvestmentType["ANGLE_INVESTORS"] = "Angle_Investors";
|
|
10
|
+
InvestmentType["INVESTMENT_PARTNER"] = "Investment_Partner";
|
|
11
|
+
InvestmentType["ANGEL_GROUP"] = "Angel_Group";
|
|
12
|
+
InvestmentType["MICRO_VC"] = "Micro_VC";
|
|
13
|
+
InvestmentType["INVESTMENT_BANK"] = "Investment_Bank";
|
|
14
|
+
InvestmentType["CORPORATE_VENTURE_CAPITAL"] = "Corporate_Venture_Capital";
|
|
15
|
+
InvestmentType["PENSION_FUND"] = "Pension_Fund";
|
|
16
|
+
InvestmentType["SYNDICATE"] = "Syndicate";
|
|
17
|
+
InvestmentType["STARTUP_COMPETITION"] = "Startup_Competition";
|
|
18
|
+
InvestmentType["SECONDARY_PURCHASER"] = "Secondary_Purchaser";
|
|
19
|
+
InvestmentType["ENTREPRENEURSHIP_PROGRAM"] = "Entrepreneurship_Program";
|
|
20
|
+
InvestmentType["UNIVERSITY_PROGRAM"] = "University_Program";
|
|
21
|
+
InvestmentType["GOVERNMENT_OFFICE"] = "Government_Office";
|
|
22
|
+
InvestmentType["HEDGE_FUND"] = "Hedge_Fund";
|
|
23
|
+
InvestmentType["FUND_OF_FUNDS"] = "Fund_Of_Funds";
|
|
24
|
+
InvestmentType["COWORKING_SPACE"] = "Co-Working_Space";
|
|
25
|
+
InvestmentType["VENTURE_DEBT"] = "Venture_Debt";
|
|
26
|
+
})(InvestmentType || (exports.InvestmentType = InvestmentType = {}));
|
|
27
|
+
//# sourceMappingURL=investment-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"investment-type.enum.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/investment-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAqBX;AArBD,WAAY,cAAc;IACxB,yDAAuC,CAAA;IACvC,2DAAyC,CAAA;IACzC,6EAA2D,CAAA;IAC3D,qDAAmC,CAAA;IACnC,2DAAyC,CAAA;IACzC,6CAA2B,CAAA;IAC3B,uCAAqB,CAAA;IACrB,qDAAmC,CAAA;IACnC,yEAAuD,CAAA;IACvD,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,6DAA2C,CAAA;IAC3C,6DAA2C,CAAA;IAC3C,uEAAqD,CAAA;IACrD,2DAAyC,CAAA;IACzC,yDAAuC,CAAA;IACvC,2CAAyB,CAAA;IACzB,iDAA+B,CAAA;IAC/B,sDAAoC,CAAA;IACpC,+CAA6B,CAAA;AAC/B,CAAC,EArBW,cAAc,8BAAd,cAAc,QAqBzB"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/aggregate" />
|
|
25
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/callback" />
|
|
26
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/collection" />
|
|
27
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/connection" />
|
|
28
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/cursor" />
|
|
29
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/document" />
|
|
30
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/error" />
|
|
31
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/expressions" />
|
|
32
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/helpers" />
|
|
33
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/middlewares" />
|
|
34
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/indexes" />
|
|
35
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/models" />
|
|
36
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/mongooseoptions" />
|
|
37
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/pipelinestage" />
|
|
38
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/populate" />
|
|
39
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/query" />
|
|
40
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schemaoptions" />
|
|
41
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/schematypes" />
|
|
42
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/session" />
|
|
43
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/types" />
|
|
44
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/utility" />
|
|
45
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/validation" />
|
|
46
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/virtuals" />
|
|
47
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose" />
|
|
48
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
49
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
50
|
+
/// <reference types="@aldb2b/common/node_modules/mongoose/types/inferschematype" />
|
|
51
|
+
import { Schema } from 'mongoose';
|
|
52
|
+
import { CustomModel } from '../../../../../db/CustomModel';
|
|
53
|
+
import { InvestmentType } from './investment-type.enum';
|
|
54
|
+
export type InvestorModel = CustomModel<Investor>;
|
|
55
|
+
export declare class Investor {
|
|
56
|
+
_id: string;
|
|
57
|
+
investmentType: InvestmentType;
|
|
58
|
+
numberOfInvestments?: number;
|
|
59
|
+
numberOfLeadInvestments?: number;
|
|
60
|
+
numberOfDiversityInvestments?: number;
|
|
61
|
+
numberOfPortfolioCompanies?: number;
|
|
62
|
+
numberOfPartnerInvestments?: number;
|
|
63
|
+
numberOfExits?: number;
|
|
64
|
+
numberOfIPOExits?: number;
|
|
65
|
+
ABRank?: number;
|
|
66
|
+
foundedDate?: Date;
|
|
67
|
+
founders?: number;
|
|
68
|
+
numberOfInvestors?: number;
|
|
69
|
+
numberOfLeadInvestors?: number;
|
|
70
|
+
estimatedRevenueRange?: number[];
|
|
71
|
+
closedDate?: Date;
|
|
72
|
+
delistedDate?: Date;
|
|
73
|
+
exitDate?: Date;
|
|
74
|
+
numberOfFoundedOrganisations?: number;
|
|
75
|
+
numberOfArticles?: number;
|
|
76
|
+
numberOfNewArticles?: number;
|
|
77
|
+
numberOfEvents?: number;
|
|
78
|
+
ABTrendScore?: number;
|
|
79
|
+
lastEquityFundingType?: string;
|
|
80
|
+
lastEquityFundingAmount?: number;
|
|
81
|
+
lastEquityFundingAmountCurrency?: string;
|
|
82
|
+
lastFundingAmount?: number;
|
|
83
|
+
lastFundingDate?: Date;
|
|
84
|
+
numberOfFundingRounds?: number;
|
|
85
|
+
IPOStatus?: string;
|
|
86
|
+
IPODate?: Date;
|
|
87
|
+
moneyRaisedAtIPO?: number;
|
|
88
|
+
alumni?: number;
|
|
89
|
+
acceleratorProgram?: string;
|
|
90
|
+
acceleratorDuration?: number;
|
|
91
|
+
acceleratorNextApplicationDeadline?: Date;
|
|
92
|
+
acceleratorApplicationDeadline?: Date;
|
|
93
|
+
acceleratorStage?: string;
|
|
94
|
+
}
|
|
95
|
+
export declare const getInvestorSchema: () => Schema<Investor, InvestorModel>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getInvestorSchema = exports.Investor = void 0;
|
|
4
|
+
const mongoose_1 = require("mongoose");
|
|
5
|
+
const investment_type_enum_1 = require("./investment-type.enum");
|
|
6
|
+
class Investor {
|
|
7
|
+
}
|
|
8
|
+
exports.Investor = Investor;
|
|
9
|
+
const getInvestorSchema = () => {
|
|
10
|
+
const investorSchema = new mongoose_1.Schema({
|
|
11
|
+
investmentType: { type: String, enum: Object.values(investment_type_enum_1.InvestmentType) },
|
|
12
|
+
numberOfInvestments: { type: Number },
|
|
13
|
+
numberOfLeadInvestments: { type: Number },
|
|
14
|
+
numberOfDiversityInvestments: { type: Number },
|
|
15
|
+
numberOfPortfolioCompanies: { type: Number },
|
|
16
|
+
numberOfPartnerInvestments: { type: Number },
|
|
17
|
+
numberOfExits: { type: Number },
|
|
18
|
+
numberOfIPOExits: { type: Number },
|
|
19
|
+
ABRank: { type: Number },
|
|
20
|
+
foundedDate: { type: Date },
|
|
21
|
+
founders: { type: Number },
|
|
22
|
+
numberOfInvestors: { type: Number },
|
|
23
|
+
numberOfLeadInvestors: { type: Number },
|
|
24
|
+
estimatedRevenueRange: { type: [Number] },
|
|
25
|
+
closedDate: { type: Date },
|
|
26
|
+
delistedDate: { type: Date },
|
|
27
|
+
exitDate: { type: Date },
|
|
28
|
+
numberOfFoundedOrganisations: { type: Number },
|
|
29
|
+
numberOfArticles: { type: Number },
|
|
30
|
+
numberOfNewArticles: { type: Number },
|
|
31
|
+
numberOfEvents: { type: Number },
|
|
32
|
+
ABTrendScore: { type: Number },
|
|
33
|
+
lastEquityFundingType: { type: String, trim: true },
|
|
34
|
+
lastEquityFundingAmount: { type: Number },
|
|
35
|
+
lastEquityFundingAmountCurrency: { type: String, trim: true },
|
|
36
|
+
lastFundingAmount: { type: Number },
|
|
37
|
+
lastFundingDate: { type: Date },
|
|
38
|
+
numberOfFundingRounds: { type: Number },
|
|
39
|
+
IPOStatus: { type: String },
|
|
40
|
+
IPODate: { type: Date },
|
|
41
|
+
moneyRaisedAtIPO: { type: Number },
|
|
42
|
+
alumni: { type: Number },
|
|
43
|
+
acceleratorProgram: { type: String, trim: true },
|
|
44
|
+
acceleratorDuration: { type: Number },
|
|
45
|
+
acceleratorNextApplicationDeadline: { type: Date },
|
|
46
|
+
acceleratorApplicationDeadline: { type: Date },
|
|
47
|
+
acceleratorStage: { type: String, trim: true },
|
|
48
|
+
});
|
|
49
|
+
return investorSchema;
|
|
50
|
+
};
|
|
51
|
+
exports.getInvestorSchema = getInvestorSchema;
|
|
52
|
+
//# sourceMappingURL=investor.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"investor.schema.js","sourceRoot":"","sources":["../../../../../../src/entities/models/companies/entities/companies/investor.schema.ts"],"names":[],"mappings":";;;AAAA,uCAAiC;AAEjC,iEAAuD;AAIvD,MAAa,QAAQ;CAuCpB;AAvCD,4BAuCC;AAEM,MAAM,iBAAiB,GAAG,GAAoC,EAAE;IACrE,MAAM,cAAc,GAAG,IAAI,iBAAM,CAA0B;QACzD,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,qCAAc,CAAC,EAAE;QACrE,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACrC,uBAAuB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACzC,4BAA4B,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC9C,0BAA0B,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC5C,0BAA0B,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC5C,aAAa,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC/B,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAClC,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACxB,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC1B,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACnC,qBAAqB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACvC,qBAAqB,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE;QACzC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAC1B,YAAY,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QACxB,4BAA4B,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC9C,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAClC,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACrC,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAChC,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC9B,qBAAqB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QACnD,uBAAuB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACzC,+BAA+B,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QAC7D,iBAAiB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACnC,eAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAC/B,qBAAqB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACvC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QACvB,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAClC,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACxB,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;QAChD,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QACrC,kCAAkC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAClD,8BAA8B,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;QAC9C,gBAAgB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;KAC/C,CAAC,CAAA;IAEF,OAAO,cAAc,CAAA;AACvB,CAAC,CAAA;AA1CY,QAAA,iBAAiB,qBA0C7B"}
|