@aldb2b/common 1.0.517 → 1.0.519
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/entities/entities.module.d.ts +2 -0
- package/build/{database/database.module.js → entities/entities.module.js} +6 -6
- package/build/{database/database.module.js.map → entities/entities.module.js.map} +1 -1
- package/build/entities/models/companies/company.entity.d.ts +68 -0
- package/build/entities/models/companies/company.entity.js +21 -0
- package/build/entities/models/companies/company.entity.js.map +1 -0
- package/build/entities/models/companies/contact.entity.d.ts +65 -0
- package/build/entities/models/companies/contact.entity.js +18 -0
- package/build/entities/models/companies/contact.entity.js.map +1 -0
- package/build/entities/models/companies/index.d.ts +2 -0
- package/build/{database → entities}/models/companies/index.js +2 -2
- package/build/entities/models/companies/index.js.map +1 -0
- package/build/{database/models/companies/contact.schema.d.ts → entities/models/events/event.entity.d.ts} +8 -3
- package/build/entities/models/events/event.entity.js +12 -0
- package/build/entities/models/events/event.entity.js.map +1 -0
- package/build/entities/models/events/index.d.ts +1 -0
- package/build/{database → entities}/models/events/index.js +1 -1
- package/build/entities/models/events/index.js.map +1 -0
- package/build/entities/models/model.providers.d.ts +91 -0
- package/build/{database → entities}/models/model.providers.js +2 -2
- package/build/entities/models/model.providers.js.map +1 -0
- package/build/entities/models/users/index.js.map +1 -0
- package/build/entities/models/users/rolePermissions/index.d.ts +1 -0
- package/build/{database → entities}/models/users/rolePermissions/index.js +1 -1
- package/build/entities/models/users/rolePermissions/index.js.map +1 -0
- package/build/entities/models/users/rolePermissions/role-permission.entity.d.ts +75 -0
- package/build/{database/models/users/rolePermissions/role-permission.schema.js → entities/models/users/rolePermissions/role-permission.entity.js} +8 -2
- package/build/entities/models/users/rolePermissions/role-permission.entity.js.map +1 -0
- package/build/{database/models/events/event.schema.d.ts → entities/models/users/users/chat-info.entity.d.ts} +8 -3
- package/build/entities/models/users/users/chat-info.entity.js +12 -0
- package/build/entities/models/users/users/chat-info.entity.js.map +1 -0
- package/build/{database → entities}/models/users/users/event-info-operations.enum.js.map +1 -1
- package/build/entities/models/users/users/event-info.entity.d.ts +68 -0
- package/build/entities/models/users/users/event-info.entity.js +23 -0
- package/build/entities/models/users/users/event-info.entity.js.map +1 -0
- package/build/{database → entities}/models/users/users/index.d.ts +4 -1
- package/build/{database → entities}/models/users/users/index.js +4 -1
- package/build/entities/models/users/users/index.js.map +1 -0
- package/build/{database/models/companies/company.schema.d.ts → entities/models/users/users/location.entity.d.ts} +8 -3
- package/build/entities/models/users/users/location.entity.js +12 -0
- package/build/entities/models/users/users/location.entity.js.map +1 -0
- package/build/{database → entities}/models/users/users/user-role.enum.js.map +1 -1
- package/build/{database → entities}/models/users/users/user-status.enum.js.map +1 -1
- package/build/{database → entities}/models/users/users/user-type.enum.js.map +1 -1
- package/build/entities/models/users/users/user.entity.d.ts +93 -0
- package/build/{database/models/users/users/user.schema.js → entities/models/users/users/user.entity.js} +11 -27
- package/build/entities/models/users/users/user.entity.js.map +1 -0
- package/build/{database → entities}/mongoose.providers.js.map +1 -1
- package/build/events/update-user-event-info.interface.d.ts +1 -1
- package/build/index.d.ts +6 -6
- package/build/index.js +6 -6
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/database/database.module.d.ts +0 -2
- package/build/database/models/companies/company.schema.js +0 -6
- package/build/database/models/companies/company.schema.js.map +0 -1
- package/build/database/models/companies/contact.schema.js +0 -6
- package/build/database/models/companies/contact.schema.js.map +0 -1
- package/build/database/models/companies/index.d.ts +0 -2
- package/build/database/models/companies/index.js.map +0 -1
- package/build/database/models/events/event.schema.js +0 -6
- package/build/database/models/events/event.schema.js.map +0 -1
- package/build/database/models/events/index.d.ts +0 -1
- package/build/database/models/events/index.js.map +0 -1
- package/build/database/models/model.providers.d.ts +0 -460
- package/build/database/models/model.providers.js.map +0 -1
- package/build/database/models/users/index.js.map +0 -1
- package/build/database/models/users/rolePermissions/index.d.ts +0 -1
- package/build/database/models/users/rolePermissions/index.js.map +0 -1
- package/build/database/models/users/rolePermissions/role-permission.schema.d.ts +0 -149
- package/build/database/models/users/rolePermissions/role-permission.schema.js.map +0 -1
- package/build/database/models/users/users/index.js.map +0 -1
- package/build/database/models/users/users/user.schema.d.ts +0 -196
- package/build/database/models/users/users/user.schema.js.map +0 -1
- /package/build/{database → entities}/models/users/index.d.ts +0 -0
- /package/build/{database → entities}/models/users/index.js +0 -0
- /package/build/{database → entities}/models/users/users/event-info-operations.enum.d.ts +0 -0
- /package/build/{database → entities}/models/users/users/event-info-operations.enum.js +0 -0
- /package/build/{database → entities}/models/users/users/user-role.enum.d.ts +0 -0
- /package/build/{database → entities}/models/users/users/user-role.enum.js +0 -0
- /package/build/{database → entities}/models/users/users/user-status.enum.d.ts +0 -0
- /package/build/{database → entities}/models/users/users/user-status.enum.js +0 -0
- /package/build/{database → entities}/models/users/users/user-type.enum.d.ts +0 -0
- /package/build/{database → entities}/models/users/users/user-type.enum.js +0 -0
- /package/build/{database → entities}/mongoose.providers.d.ts +0 -0
- /package/build/{database → entities}/mongoose.providers.js +0 -0
|
@@ -1,149 +0,0 @@
|
|
|
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 mongoose from 'mongoose';
|
|
52
|
-
import { UserRole } from '../users/user-role.enum';
|
|
53
|
-
import { UserType } from '../users/user-type.enum';
|
|
54
|
-
export declare const InitialRolePermissionSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
55
|
-
type: UserType;
|
|
56
|
-
title: UserRole;
|
|
57
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
58
|
-
type?: {
|
|
59
|
-
service: string;
|
|
60
|
-
type: string;
|
|
61
|
-
title: string;
|
|
62
|
-
route: string;
|
|
63
|
-
isAllowed: boolean;
|
|
64
|
-
};
|
|
65
|
-
required?: unknown;
|
|
66
|
-
}>;
|
|
67
|
-
createdAt: Date;
|
|
68
|
-
updatedAt: Date;
|
|
69
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
70
|
-
type: UserType;
|
|
71
|
-
title: UserRole;
|
|
72
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
73
|
-
type?: {
|
|
74
|
-
service: string;
|
|
75
|
-
type: string;
|
|
76
|
-
title: string;
|
|
77
|
-
route: string;
|
|
78
|
-
isAllowed: boolean;
|
|
79
|
-
};
|
|
80
|
-
required?: unknown;
|
|
81
|
-
}>;
|
|
82
|
-
createdAt: Date;
|
|
83
|
-
updatedAt: Date;
|
|
84
|
-
}>> & mongoose.FlatRecord<{
|
|
85
|
-
type: UserType;
|
|
86
|
-
title: UserRole;
|
|
87
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
88
|
-
type?: {
|
|
89
|
-
service: string;
|
|
90
|
-
type: string;
|
|
91
|
-
title: string;
|
|
92
|
-
route: string;
|
|
93
|
-
isAllowed: boolean;
|
|
94
|
-
};
|
|
95
|
-
required?: unknown;
|
|
96
|
-
}>;
|
|
97
|
-
createdAt: Date;
|
|
98
|
-
updatedAt: Date;
|
|
99
|
-
}> & {
|
|
100
|
-
_id: mongoose.Types.ObjectId;
|
|
101
|
-
}>;
|
|
102
|
-
export declare const RolePermissionSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
103
|
-
type: UserType;
|
|
104
|
-
title: UserRole;
|
|
105
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
106
|
-
type?: {
|
|
107
|
-
service: string;
|
|
108
|
-
type: string;
|
|
109
|
-
title: string;
|
|
110
|
-
route: string;
|
|
111
|
-
isAllowed: boolean;
|
|
112
|
-
};
|
|
113
|
-
required?: unknown;
|
|
114
|
-
}>;
|
|
115
|
-
createdAt: Date;
|
|
116
|
-
updatedAt: Date;
|
|
117
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
118
|
-
type: UserType;
|
|
119
|
-
title: UserRole;
|
|
120
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
121
|
-
type?: {
|
|
122
|
-
service: string;
|
|
123
|
-
type: string;
|
|
124
|
-
title: string;
|
|
125
|
-
route: string;
|
|
126
|
-
isAllowed: boolean;
|
|
127
|
-
};
|
|
128
|
-
required?: unknown;
|
|
129
|
-
}>;
|
|
130
|
-
createdAt: Date;
|
|
131
|
-
updatedAt: Date;
|
|
132
|
-
}>> & mongoose.FlatRecord<{
|
|
133
|
-
type: UserType;
|
|
134
|
-
title: UserRole;
|
|
135
|
-
permissions: mongoose.Types.DocumentArray<{
|
|
136
|
-
type?: {
|
|
137
|
-
service: string;
|
|
138
|
-
type: string;
|
|
139
|
-
title: string;
|
|
140
|
-
route: string;
|
|
141
|
-
isAllowed: boolean;
|
|
142
|
-
};
|
|
143
|
-
required?: unknown;
|
|
144
|
-
}>;
|
|
145
|
-
createdAt: Date;
|
|
146
|
-
updatedAt: Date;
|
|
147
|
-
}> & {
|
|
148
|
-
_id: mongoose.Types.ObjectId;
|
|
149
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"role-permission.schema.js","sourceRoot":"","sources":["../../../../../src/database/models/users/rolePermissions/role-permission.schema.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,4DAAkD;AAClD,4DAAkD;AAClD,8FAA0F;AAC1F,kFAA8E;AAC9E,4EAAwE;AACxE,kFAA8E;AAE9E,MAAM,gBAAgB,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;IACnD,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;IAClD,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;IACnD,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;CAC5D,CAAC,CAAA;AAEW,QAAA,2BAA2B,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC;IAC7D,KAAK,EAAE;QACL,IAAI,EAAE,MA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,CAAA;AAEY,QAAA,oBAAoB,GAAG,mCAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/database/models/users/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,+DAA4C;AAC5C,mDAAgC;AAChC,qDAAkC;AAClC,mDAAgC"}
|
|
@@ -1,196 +0,0 @@
|
|
|
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 * as mongoose from 'mongoose';
|
|
52
|
-
import { UserStatus } from './user-status.enum';
|
|
53
|
-
import { ChatPreferences } from '../../../../enums/chat-preferences-enum';
|
|
54
|
-
import { OnboardedThru } from '../../../../types/onboarded-thru.enum';
|
|
55
|
-
import { UserLanguage } from '../../../../types/user-language.enum';
|
|
56
|
-
export declare const UserSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
57
|
-
createdAt: Date;
|
|
58
|
-
updatedAt: Date;
|
|
59
|
-
role: mongoose.Types.ObjectId;
|
|
60
|
-
email: string;
|
|
61
|
-
cognitoUserIds: string[];
|
|
62
|
-
eventInfos: mongoose.Types.DocumentArray<{
|
|
63
|
-
type?: {
|
|
64
|
-
createdAt: Date;
|
|
65
|
-
updatedAt: Date;
|
|
66
|
-
eventId: mongoose.Types.ObjectId;
|
|
67
|
-
role: mongoose.Types.ObjectId;
|
|
68
|
-
onboardedThru: OnboardedThru;
|
|
69
|
-
companyId?: mongoose.Types.ObjectId;
|
|
70
|
-
contactId?: mongoose.Types.ObjectId;
|
|
71
|
-
};
|
|
72
|
-
}>;
|
|
73
|
-
status: UserStatus;
|
|
74
|
-
language: UserLanguage;
|
|
75
|
-
chatPreferences: ChatPreferences;
|
|
76
|
-
description?: string;
|
|
77
|
-
firstname?: string;
|
|
78
|
-
lastname?: string;
|
|
79
|
-
mobile?: string;
|
|
80
|
-
company?: mongoose.Types.ObjectId;
|
|
81
|
-
avatar?: string;
|
|
82
|
-
twitter?: string;
|
|
83
|
-
linkedIn?: string;
|
|
84
|
-
jobPosition?: string;
|
|
85
|
-
wish?: string;
|
|
86
|
-
impression?: string;
|
|
87
|
-
location?: {
|
|
88
|
-
type: "Point";
|
|
89
|
-
coordinates: number[];
|
|
90
|
-
};
|
|
91
|
-
chatInfo?: {
|
|
92
|
-
password: string;
|
|
93
|
-
token?: string;
|
|
94
|
-
};
|
|
95
|
-
lastLoggedIn?: Date;
|
|
96
|
-
lastActive?: Date;
|
|
97
|
-
deletedAt?: Date;
|
|
98
|
-
deletedBy?: mongoose.Types.ObjectId;
|
|
99
|
-
lastLoggedInContactId?: mongoose.Types.ObjectId;
|
|
100
|
-
lastLoggedInCompanyId?: mongoose.Types.ObjectId;
|
|
101
|
-
lastLoggedInEventId?: mongoose.Types.ObjectId;
|
|
102
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
103
|
-
createdAt: Date;
|
|
104
|
-
updatedAt: Date;
|
|
105
|
-
role: mongoose.Types.ObjectId;
|
|
106
|
-
email: string;
|
|
107
|
-
cognitoUserIds: string[];
|
|
108
|
-
eventInfos: mongoose.Types.DocumentArray<{
|
|
109
|
-
type?: {
|
|
110
|
-
createdAt: Date;
|
|
111
|
-
updatedAt: Date;
|
|
112
|
-
eventId: mongoose.Types.ObjectId;
|
|
113
|
-
role: mongoose.Types.ObjectId;
|
|
114
|
-
onboardedThru: OnboardedThru;
|
|
115
|
-
companyId?: mongoose.Types.ObjectId;
|
|
116
|
-
contactId?: mongoose.Types.ObjectId;
|
|
117
|
-
};
|
|
118
|
-
}>;
|
|
119
|
-
status: UserStatus;
|
|
120
|
-
language: UserLanguage;
|
|
121
|
-
chatPreferences: ChatPreferences;
|
|
122
|
-
description?: string;
|
|
123
|
-
firstname?: string;
|
|
124
|
-
lastname?: string;
|
|
125
|
-
mobile?: string;
|
|
126
|
-
company?: mongoose.Types.ObjectId;
|
|
127
|
-
avatar?: string;
|
|
128
|
-
twitter?: string;
|
|
129
|
-
linkedIn?: string;
|
|
130
|
-
jobPosition?: string;
|
|
131
|
-
wish?: string;
|
|
132
|
-
impression?: string;
|
|
133
|
-
location?: {
|
|
134
|
-
type: "Point";
|
|
135
|
-
coordinates: number[];
|
|
136
|
-
};
|
|
137
|
-
chatInfo?: {
|
|
138
|
-
password: string;
|
|
139
|
-
token?: string;
|
|
140
|
-
};
|
|
141
|
-
lastLoggedIn?: Date;
|
|
142
|
-
lastActive?: Date;
|
|
143
|
-
deletedAt?: Date;
|
|
144
|
-
deletedBy?: mongoose.Types.ObjectId;
|
|
145
|
-
lastLoggedInContactId?: mongoose.Types.ObjectId;
|
|
146
|
-
lastLoggedInCompanyId?: mongoose.Types.ObjectId;
|
|
147
|
-
lastLoggedInEventId?: mongoose.Types.ObjectId;
|
|
148
|
-
}>> & mongoose.FlatRecord<{
|
|
149
|
-
createdAt: Date;
|
|
150
|
-
updatedAt: Date;
|
|
151
|
-
role: mongoose.Types.ObjectId;
|
|
152
|
-
email: string;
|
|
153
|
-
cognitoUserIds: string[];
|
|
154
|
-
eventInfos: mongoose.Types.DocumentArray<{
|
|
155
|
-
type?: {
|
|
156
|
-
createdAt: Date;
|
|
157
|
-
updatedAt: Date;
|
|
158
|
-
eventId: mongoose.Types.ObjectId;
|
|
159
|
-
role: mongoose.Types.ObjectId;
|
|
160
|
-
onboardedThru: OnboardedThru;
|
|
161
|
-
companyId?: mongoose.Types.ObjectId;
|
|
162
|
-
contactId?: mongoose.Types.ObjectId;
|
|
163
|
-
};
|
|
164
|
-
}>;
|
|
165
|
-
status: UserStatus;
|
|
166
|
-
language: UserLanguage;
|
|
167
|
-
chatPreferences: ChatPreferences;
|
|
168
|
-
description?: string;
|
|
169
|
-
firstname?: string;
|
|
170
|
-
lastname?: string;
|
|
171
|
-
mobile?: string;
|
|
172
|
-
company?: mongoose.Types.ObjectId;
|
|
173
|
-
avatar?: string;
|
|
174
|
-
twitter?: string;
|
|
175
|
-
linkedIn?: string;
|
|
176
|
-
jobPosition?: string;
|
|
177
|
-
wish?: string;
|
|
178
|
-
impression?: string;
|
|
179
|
-
location?: {
|
|
180
|
-
type: "Point";
|
|
181
|
-
coordinates: number[];
|
|
182
|
-
};
|
|
183
|
-
chatInfo?: {
|
|
184
|
-
password: string;
|
|
185
|
-
token?: string;
|
|
186
|
-
};
|
|
187
|
-
lastLoggedIn?: Date;
|
|
188
|
-
lastActive?: Date;
|
|
189
|
-
deletedAt?: Date;
|
|
190
|
-
deletedBy?: mongoose.Types.ObjectId;
|
|
191
|
-
lastLoggedInContactId?: mongoose.Types.ObjectId;
|
|
192
|
-
lastLoggedInCompanyId?: mongoose.Types.ObjectId;
|
|
193
|
-
lastLoggedInEventId?: mongoose.Types.ObjectId;
|
|
194
|
-
}> & {
|
|
195
|
-
_id: mongoose.Types.ObjectId;
|
|
196
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.schema.js","sourceRoot":"","sources":["../../../../../src/database/models/users/users/user.schema.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AACpC,yDAA+C;AAC/C,mFAAyE;AACzE,+EAAqE;AACrE,6EAAmE;AACnE,8FAA0F;AAC1F,kFAA8E;AAC9E,4EAAwE;AACxE,kFAA8E;AAE9E,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAA;AAE/C,MAAM,cAAc,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE;IACzE,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;CAChD,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;CACxB,CAAC,CAAA;AAEF,MAAM,eAAe,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,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,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,YAAY;IACZ,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;CACZ,CAAA;AAED,iBAAiB,CAAC,OAAO,CAAC,wBAAwB,GAAG,sBAAsB,CAAC,EAAE,CAC5E,IAAA,mDAAwB,EAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAA;AAE3E,iBAAiB,CAAC,OAAO,CAAC,kBAAkB,GAAG,wBAAwB,CAAC,EAAE,CACxE,IAAA,uCAAkB,EAAC,uBAAuB,EAAE,wBAAwB,CAAC,CAAA;AAEvE,iBAAiB,CAAC,OAAO,CAAC,eAAe,GAAG,UAAU,CAAC,EAAE,CACvD,IAAA,iCAAe,EAAC,4BAA4B,EAAE,UAAU,CAAC,CAAA;AAE3D,iBAAiB,CAAC,OAAO,CAAC,kBAAkB,GAAG,aAAa,CAAC,EAAE,CAC7D,IAAA,uCAAkB,EAAC,+BAA+B,EAAE,aAAa,CAAC,CAAA;AAEpE,iBAAiB,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,WAAiB,IAAI;IAGlE,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAA;IACnC,IAAI,EAAE,CAAA;AACR,CAAC,CAAC,CAAA;AAEF,iBAAiB,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,CAAC,CAAA;AAEvC,QAAA,UAAU,GAAG,iBAAiB,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|