@taiger-common/model 1.0.57 → 1.0.59
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/LICENSE +21 -21
- package/README.md +23 -23
- package/dist/cjs/model/User.js +1 -0
- package/dist/esm/index.js +0 -2
- package/dist/esm/model/Documentthread.js +4 -2
- package/dist/esm/model/Program.js +78 -326
- package/dist/esm/model/User.js +124 -62
- package/dist/esm/model/index.js +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/model/Allcourse.d.ts +27 -6
- package/dist/types/model/Audit.d.ts +43 -18
- package/dist/types/model/Basedocumentationslink.d.ts +16 -11
- package/dist/types/model/Communication.d.ts +71 -22
- package/dist/types/model/Complaint.d.ts +170 -25
- package/dist/types/model/Course.d.ts +49 -23
- package/dist/types/model/Docspage.d.ts +37 -14
- package/dist/types/model/Documentation.d.ts +28 -15
- package/dist/types/model/Documentthread.d.ts +178 -35
- package/dist/types/model/Event.d.ts +54 -15
- package/dist/types/model/Internaldoc.d.ts +28 -15
- package/dist/types/model/Interval.d.ts +26 -13
- package/dist/types/model/Interview.d.ts +50 -23
- package/dist/types/model/InterviewSurveyResponse.d.ts +62 -20
- package/dist/types/model/Keywordset.d.ts +44 -14
- package/dist/types/model/Note.d.ts +13 -11
- package/dist/types/model/Permission.d.ts +56 -21
- package/dist/types/model/Program.d.ts +232 -387
- package/dist/types/model/Programrequirement.d.ts +140 -37
- package/dist/types/model/ResponseTime.d.ts +17 -12
- package/dist/types/model/SurveyInput.d.ts +90 -23
- package/dist/types/model/Template.d.ts +13 -8
- package/dist/types/model/Tenant.d.ts +13 -10
- package/dist/types/model/Ticket.d.ts +38 -16
- package/dist/types/model/Token.d.ts +12 -10
- package/dist/types/model/User.d.ts +1 -2148
- package/dist/types/model/index.d.ts +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/dist/esm/api/account.js +0 -32
- package/dist/esm/api/applications.js +0 -43
- package/dist/esm/api/audit.js +0 -5
- package/dist/esm/api/auth.js +0 -16
- package/dist/esm/api/common.js +0 -27
- package/dist/esm/api/communications.js +0 -12
- package/dist/esm/api/courses.js +0 -20
- package/dist/esm/api/crm.js +0 -84
- package/dist/esm/api/documentThreads.js +0 -41
- package/dist/esm/api/documentations.js +0 -30
- package/dist/esm/api/events.js +0 -19
- package/dist/esm/api/index.js +0 -25
- package/dist/esm/api/interviews.js +0 -32
- package/dist/esm/api/meetings.js +0 -17
- package/dist/esm/api/notes.js +0 -5
- package/dist/esm/api/permissions.js +0 -6
- package/dist/esm/api/portals.js +0 -21
- package/dist/esm/api/programRequirements.js +0 -23
- package/dist/esm/api/programs.js +0 -90
- package/dist/esm/api/search.js +0 -21
- package/dist/esm/api/serialized.js +0 -13
- package/dist/esm/api/students.js +0 -26
- package/dist/esm/api/teams.js +0 -45
- package/dist/esm/api/tickets.js +0 -18
- package/dist/esm/api/users.js +0 -39
- package/dist/esm/api/widgets.js +0 -18
- package/dist/esm/constants/users.js +0 -9
- package/dist/esm/model/Application.js +0 -75
- package/dist/esm/schema/index.js +0 -6
- package/dist/esm/schema/models.js +0 -520
- package/dist/esm/schema/serialized.js +0 -199
- package/dist/types/api/account.d.ts +0 -503
- package/dist/types/api/applications.d.ts +0 -3417
- package/dist/types/api/audit.d.ts +0 -89
- package/dist/types/api/auth.d.ts +0 -3411
- package/dist/types/api/common.d.ts +0 -90
- package/dist/types/api/communications.d.ts +0 -617
- package/dist/types/api/courses.d.ts +0 -849
- package/dist/types/api/crm.d.ts +0 -1113
- package/dist/types/api/documentThreads.d.ts +0 -38257
- package/dist/types/api/documentations.d.ts +0 -933
- package/dist/types/api/events.d.ts +0 -7209
- package/dist/types/api/index.d.ts +0 -25
- package/dist/types/api/interviews.d.ts +0 -802
- package/dist/types/api/meetings.d.ts +0 -49
- package/dist/types/api/notes.d.ts +0 -85
- package/dist/types/api/permissions.d.ts +0 -195
- package/dist/types/api/portals.d.ts +0 -770
- package/dist/types/api/programRequirements.d.ts +0 -2685
- package/dist/types/api/programs.d.ts +0 -3046
- package/dist/types/api/search.d.ts +0 -292
- package/dist/types/api/serialized.d.ts +0 -7
- package/dist/types/api/students.d.ts +0 -307
- package/dist/types/api/teams.d.ts +0 -3671
- package/dist/types/api/tickets.d.ts +0 -960
- package/dist/types/api/users.d.ts +0 -6960
- package/dist/types/api/widgets.d.ts +0 -234
- package/dist/types/constants/users.d.ts +0 -9
- package/dist/types/model/Application.d.ts +0 -85
- package/dist/types/schema/index.d.ts +0 -6
- package/dist/types/schema/models.d.ts +0 -2038
- package/dist/types/schema/serialized.d.ts +0 -8823
|
@@ -24,44 +24,147 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
maxScore?: number;
|
|
33
|
-
}
|
|
34
|
-
export interface IProgramrequirement {
|
|
35
|
-
programId?: Schema.Types.ObjectId[];
|
|
36
|
-
program_categories?: IProgramrequirementProgramCategory[];
|
|
37
|
-
attributes?: string[];
|
|
38
|
-
fpso?: string;
|
|
39
|
-
admissionDescription?: string;
|
|
40
|
-
gpaScoreBoundaryGPA?: number;
|
|
41
|
-
gpaScore?: number;
|
|
42
|
-
gpaMinScore?: number;
|
|
43
|
-
coursesScore?: number;
|
|
44
|
-
cvScore?: number;
|
|
45
|
-
mlScore?: number;
|
|
46
|
-
rlScore?: number;
|
|
47
|
-
essayScore?: number;
|
|
48
|
-
gmatScore?: number;
|
|
49
|
-
greScore?: number;
|
|
50
|
-
interviewScore?: number;
|
|
51
|
-
workExperienceScore?: number;
|
|
52
|
-
testScore?: number;
|
|
53
|
-
firstRoundConsidered?: string[];
|
|
54
|
-
secondRoundConsidered?: string[];
|
|
55
|
-
directRejectionScore?: number;
|
|
56
|
-
directAdmissionScore?: number;
|
|
57
|
-
directRejectionSecondScore?: number;
|
|
58
|
-
directAdmissionSecondScore?: number;
|
|
59
|
-
}
|
|
60
|
-
export declare const programRequirementSchema: Schema<IProgramrequirement, import("mongoose").Model<IProgramrequirement, any, any, any, import("mongoose").Document<unknown, any, IProgramrequirement> & IProgramrequirement & {
|
|
61
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const programRequirementSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
62
32
|
} & {
|
|
63
|
-
|
|
64
|
-
|
|
33
|
+
programId: import("mongoose").Types.ObjectId[];
|
|
34
|
+
program_categories: import("mongoose").Types.DocumentArray<{
|
|
35
|
+
program_category: string;
|
|
36
|
+
category_description: string;
|
|
37
|
+
requiredECTS: number;
|
|
38
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
39
|
+
maxScore: number;
|
|
40
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
41
|
+
program_category: string;
|
|
42
|
+
category_description: string;
|
|
43
|
+
requiredECTS: number;
|
|
44
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
45
|
+
maxScore: number;
|
|
46
|
+
}> & {
|
|
47
|
+
program_category: string;
|
|
48
|
+
category_description: string;
|
|
49
|
+
requiredECTS: number;
|
|
50
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
51
|
+
maxScore: number;
|
|
52
|
+
}>;
|
|
53
|
+
attributes: string[];
|
|
54
|
+
admissionDescription: string;
|
|
55
|
+
gpaScoreBoundaryGPA: number;
|
|
56
|
+
gpaScore: number;
|
|
57
|
+
gpaMinScore: number;
|
|
58
|
+
coursesScore: number;
|
|
59
|
+
cvScore: number;
|
|
60
|
+
mlScore: number;
|
|
61
|
+
rlScore: number;
|
|
62
|
+
essayScore: number;
|
|
63
|
+
gmatScore: number;
|
|
64
|
+
greScore: number;
|
|
65
|
+
interviewScore: number;
|
|
66
|
+
workExperienceScore: number;
|
|
67
|
+
testScore: number;
|
|
68
|
+
firstRoundConsidered: string[];
|
|
69
|
+
secondRoundConsidered: string[];
|
|
70
|
+
directRejectionScore: number;
|
|
71
|
+
directAdmissionScore: number;
|
|
72
|
+
directRejectionSecondScore: number;
|
|
73
|
+
directAdmissionSecondScore: number;
|
|
74
|
+
fpso?: string | null | undefined;
|
|
75
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
76
|
+
createdAt: NativeDate;
|
|
77
|
+
updatedAt: NativeDate;
|
|
78
|
+
} & {
|
|
79
|
+
programId: import("mongoose").Types.ObjectId[];
|
|
80
|
+
program_categories: import("mongoose").Types.DocumentArray<{
|
|
81
|
+
program_category: string;
|
|
82
|
+
category_description: string;
|
|
83
|
+
requiredECTS: number;
|
|
84
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
85
|
+
maxScore: number;
|
|
86
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
87
|
+
program_category: string;
|
|
88
|
+
category_description: string;
|
|
89
|
+
requiredECTS: number;
|
|
90
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
91
|
+
maxScore: number;
|
|
92
|
+
}> & {
|
|
93
|
+
program_category: string;
|
|
94
|
+
category_description: string;
|
|
95
|
+
requiredECTS: number;
|
|
96
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
97
|
+
maxScore: number;
|
|
98
|
+
}>;
|
|
99
|
+
attributes: string[];
|
|
100
|
+
admissionDescription: string;
|
|
101
|
+
gpaScoreBoundaryGPA: number;
|
|
102
|
+
gpaScore: number;
|
|
103
|
+
gpaMinScore: number;
|
|
104
|
+
coursesScore: number;
|
|
105
|
+
cvScore: number;
|
|
106
|
+
mlScore: number;
|
|
107
|
+
rlScore: number;
|
|
108
|
+
essayScore: number;
|
|
109
|
+
gmatScore: number;
|
|
110
|
+
greScore: number;
|
|
111
|
+
interviewScore: number;
|
|
112
|
+
workExperienceScore: number;
|
|
113
|
+
testScore: number;
|
|
114
|
+
firstRoundConsidered: string[];
|
|
115
|
+
secondRoundConsidered: string[];
|
|
116
|
+
directRejectionScore: number;
|
|
117
|
+
directAdmissionScore: number;
|
|
118
|
+
directRejectionSecondScore: number;
|
|
119
|
+
directAdmissionSecondScore: number;
|
|
120
|
+
fpso?: string | null | undefined;
|
|
121
|
+
}>> & import("mongoose").FlatRecord<{
|
|
122
|
+
createdAt: NativeDate;
|
|
123
|
+
updatedAt: NativeDate;
|
|
124
|
+
} & {
|
|
125
|
+
programId: import("mongoose").Types.ObjectId[];
|
|
126
|
+
program_categories: import("mongoose").Types.DocumentArray<{
|
|
127
|
+
program_category: string;
|
|
128
|
+
category_description: string;
|
|
129
|
+
requiredECTS: number;
|
|
130
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
131
|
+
maxScore: number;
|
|
132
|
+
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
133
|
+
program_category: string;
|
|
134
|
+
category_description: string;
|
|
135
|
+
requiredECTS: number;
|
|
136
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
137
|
+
maxScore: number;
|
|
138
|
+
}> & {
|
|
139
|
+
program_category: string;
|
|
140
|
+
category_description: string;
|
|
141
|
+
requiredECTS: number;
|
|
142
|
+
keywordSets: import("mongoose").Types.ObjectId[];
|
|
143
|
+
maxScore: number;
|
|
144
|
+
}>;
|
|
145
|
+
attributes: string[];
|
|
146
|
+
admissionDescription: string;
|
|
147
|
+
gpaScoreBoundaryGPA: number;
|
|
148
|
+
gpaScore: number;
|
|
149
|
+
gpaMinScore: number;
|
|
150
|
+
coursesScore: number;
|
|
151
|
+
cvScore: number;
|
|
152
|
+
mlScore: number;
|
|
153
|
+
rlScore: number;
|
|
154
|
+
essayScore: number;
|
|
155
|
+
gmatScore: number;
|
|
156
|
+
greScore: number;
|
|
157
|
+
interviewScore: number;
|
|
158
|
+
workExperienceScore: number;
|
|
159
|
+
testScore: number;
|
|
160
|
+
firstRoundConsidered: string[];
|
|
161
|
+
secondRoundConsidered: string[];
|
|
162
|
+
directRejectionScore: number;
|
|
163
|
+
directAdmissionScore: number;
|
|
164
|
+
directRejectionSecondScore: number;
|
|
165
|
+
directAdmissionSecondScore: number;
|
|
166
|
+
fpso?: string | null | undefined;
|
|
167
|
+
}> & {
|
|
65
168
|
_id: import("mongoose").Types.ObjectId;
|
|
66
169
|
} & {
|
|
67
170
|
__v: number;
|
|
@@ -24,20 +24,25 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
export interface IResponseTime {
|
|
30
|
-
thread_id?: IDocumentthread | Schema.Types.ObjectId | string;
|
|
31
|
-
student_id?: IStudent | Schema.Types.ObjectId | string;
|
|
27
|
+
export declare const ResponseTimeSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
updatedAt: NativeDate;
|
|
32
29
|
interval_type: string;
|
|
33
30
|
intervalAvg: number;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
31
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
32
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
33
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
34
|
+
updatedAt: NativeDate;
|
|
35
|
+
interval_type: string;
|
|
36
|
+
intervalAvg: number;
|
|
37
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
38
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
39
|
+
}>> & import("mongoose").FlatRecord<{
|
|
40
|
+
updatedAt: NativeDate;
|
|
41
|
+
interval_type: string;
|
|
42
|
+
intervalAvg: number;
|
|
43
|
+
student_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
44
|
+
thread_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
45
|
+
}> & {
|
|
41
46
|
_id: import("mongoose").Types.ObjectId;
|
|
42
47
|
} & {
|
|
43
48
|
__v: number;
|
|
@@ -24,30 +24,97 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
answer?: string;
|
|
33
|
-
type?: 'word' | 'sentence' | 'paragraph' | 'essay';
|
|
34
|
-
contentType?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface ISurveyInput {
|
|
37
|
-
studentId: IStudent | Schema.Types.ObjectId | string;
|
|
38
|
-
programId?: IProgram | Schema.Types.ObjectId | string;
|
|
27
|
+
export declare const surveyInputSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
createdAt: NativeDate;
|
|
29
|
+
updatedAt: NativeDate;
|
|
30
|
+
isFinalVersion: boolean;
|
|
31
|
+
studentId: import("mongoose").Types.ObjectId;
|
|
39
32
|
fileType: string;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
33
|
+
surveyContent: import("mongoose").Types.DocumentArray<{
|
|
34
|
+
_id?: unknown;
|
|
35
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
36
|
+
questionId?: string | null | undefined;
|
|
37
|
+
answer?: string | null | undefined;
|
|
38
|
+
question?: string | null | undefined;
|
|
39
|
+
contentType?: string | null | undefined;
|
|
40
|
+
}, import("mongoose").Types.Subdocument<unknown, any, {
|
|
41
|
+
_id?: unknown;
|
|
42
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
43
|
+
questionId?: string | null | undefined;
|
|
44
|
+
answer?: string | null | undefined;
|
|
45
|
+
question?: string | null | undefined;
|
|
46
|
+
contentType?: string | null | undefined;
|
|
47
|
+
}> & {
|
|
48
|
+
_id?: unknown;
|
|
49
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
50
|
+
questionId?: string | null | undefined;
|
|
51
|
+
answer?: string | null | undefined;
|
|
52
|
+
question?: string | null | undefined;
|
|
53
|
+
contentType?: string | null | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
surveyStatus: string;
|
|
56
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
57
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
58
|
+
createdAt: NativeDate;
|
|
59
|
+
updatedAt: NativeDate;
|
|
60
|
+
isFinalVersion: boolean;
|
|
61
|
+
studentId: import("mongoose").Types.ObjectId;
|
|
62
|
+
fileType: string;
|
|
63
|
+
surveyContent: import("mongoose").Types.DocumentArray<{
|
|
64
|
+
_id?: unknown;
|
|
65
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
66
|
+
questionId?: string | null | undefined;
|
|
67
|
+
answer?: string | null | undefined;
|
|
68
|
+
question?: string | null | undefined;
|
|
69
|
+
contentType?: string | null | undefined;
|
|
70
|
+
}, import("mongoose").Types.Subdocument<unknown, any, {
|
|
71
|
+
_id?: unknown;
|
|
72
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
73
|
+
questionId?: string | null | undefined;
|
|
74
|
+
answer?: string | null | undefined;
|
|
75
|
+
question?: string | null | undefined;
|
|
76
|
+
contentType?: string | null | undefined;
|
|
77
|
+
}> & {
|
|
78
|
+
_id?: unknown;
|
|
79
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
80
|
+
questionId?: string | null | undefined;
|
|
81
|
+
answer?: string | null | undefined;
|
|
82
|
+
question?: string | null | undefined;
|
|
83
|
+
contentType?: string | null | undefined;
|
|
84
|
+
}>;
|
|
85
|
+
surveyStatus: string;
|
|
86
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
87
|
+
}>> & import("mongoose").FlatRecord<{
|
|
88
|
+
createdAt: NativeDate;
|
|
89
|
+
updatedAt: NativeDate;
|
|
90
|
+
isFinalVersion: boolean;
|
|
91
|
+
studentId: import("mongoose").Types.ObjectId;
|
|
92
|
+
fileType: string;
|
|
93
|
+
surveyContent: import("mongoose").Types.DocumentArray<{
|
|
94
|
+
_id?: unknown;
|
|
95
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
96
|
+
questionId?: string | null | undefined;
|
|
97
|
+
answer?: string | null | undefined;
|
|
98
|
+
question?: string | null | undefined;
|
|
99
|
+
contentType?: string | null | undefined;
|
|
100
|
+
}, import("mongoose").Types.Subdocument<unknown, any, {
|
|
101
|
+
_id?: unknown;
|
|
102
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
103
|
+
questionId?: string | null | undefined;
|
|
104
|
+
answer?: string | null | undefined;
|
|
105
|
+
question?: string | null | undefined;
|
|
106
|
+
contentType?: string | null | undefined;
|
|
107
|
+
}> & {
|
|
108
|
+
_id?: unknown;
|
|
109
|
+
type?: "sentence" | "paragraph" | "essay" | "word" | null | undefined;
|
|
110
|
+
questionId?: string | null | undefined;
|
|
111
|
+
answer?: string | null | undefined;
|
|
112
|
+
question?: string | null | undefined;
|
|
113
|
+
contentType?: string | null | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
surveyStatus: string;
|
|
116
|
+
programId?: import("mongoose").Types.ObjectId | null | undefined;
|
|
117
|
+
}> & {
|
|
51
118
|
_id: import("mongoose").Types.ObjectId;
|
|
52
119
|
} & {
|
|
53
120
|
__v: number;
|
|
@@ -24,17 +24,22 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
27
|
+
export declare const templatesSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
28
|
name: string;
|
|
29
|
+
path: string;
|
|
29
30
|
category_name: string;
|
|
31
|
+
updatedAt?: NativeDate | null | undefined;
|
|
32
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
33
|
+
name: string;
|
|
30
34
|
path: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
category_name: string;
|
|
36
|
+
updatedAt?: NativeDate | null | undefined;
|
|
37
|
+
}>> & import("mongoose").FlatRecord<{
|
|
38
|
+
name: string;
|
|
39
|
+
path: string;
|
|
40
|
+
category_name: string;
|
|
41
|
+
updatedAt?: NativeDate | null | undefined;
|
|
42
|
+
}> & {
|
|
38
43
|
_id: import("mongoose").Types.ObjectId;
|
|
39
44
|
} & {
|
|
40
45
|
__v: number;
|
|
@@ -24,16 +24,19 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
export declare const tenantsSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
updatedAt?: NativeDate | null | undefined;
|
|
29
|
+
tenantId?: string | null | undefined;
|
|
30
|
+
domainName?: string | null | undefined;
|
|
31
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
32
|
+
updatedAt?: NativeDate | null | undefined;
|
|
33
|
+
tenantId?: string | null | undefined;
|
|
34
|
+
domainName?: string | null | undefined;
|
|
35
|
+
}>> & import("mongoose").FlatRecord<{
|
|
36
|
+
updatedAt?: NativeDate | null | undefined;
|
|
37
|
+
tenantId?: string | null | undefined;
|
|
38
|
+
domainName?: string | null | undefined;
|
|
39
|
+
}> & {
|
|
37
40
|
_id: import("mongoose").Types.ObjectId;
|
|
38
41
|
} & {
|
|
39
42
|
__v: number;
|
|
@@ -24,23 +24,45 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
program_id?: IProgram | Schema.Types.ObjectId | string;
|
|
33
|
-
status?: string;
|
|
34
|
-
type?: string;
|
|
35
|
-
description?: string;
|
|
36
|
-
feedback?: string;
|
|
37
|
-
createdAt?: Date;
|
|
38
|
-
}
|
|
39
|
-
export declare const ticketSchema: Schema<ITicket, import("mongoose").Model<ITicket, any, any, any, import("mongoose").Document<unknown, any, ITicket> & ITicket & {
|
|
40
|
-
_id: import("mongoose").Types.ObjectId;
|
|
27
|
+
export declare const ticketSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
28
|
+
timestamps: true;
|
|
29
|
+
}, {
|
|
30
|
+
createdAt: NativeDate;
|
|
31
|
+
updatedAt: NativeDate;
|
|
41
32
|
} & {
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
type: string;
|
|
34
|
+
description: string;
|
|
35
|
+
createdAt: NativeDate;
|
|
36
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
37
|
+
status: string;
|
|
38
|
+
feedback: string;
|
|
39
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
40
|
+
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
41
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
42
|
+
createdAt: NativeDate;
|
|
43
|
+
updatedAt: NativeDate;
|
|
44
|
+
} & {
|
|
45
|
+
type: string;
|
|
46
|
+
description: string;
|
|
47
|
+
createdAt: NativeDate;
|
|
48
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
49
|
+
status: string;
|
|
50
|
+
feedback: string;
|
|
51
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
52
|
+
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
53
|
+
}>> & import("mongoose").FlatRecord<{
|
|
54
|
+
createdAt: NativeDate;
|
|
55
|
+
updatedAt: NativeDate;
|
|
56
|
+
} & {
|
|
57
|
+
type: string;
|
|
58
|
+
description: string;
|
|
59
|
+
createdAt: NativeDate;
|
|
60
|
+
requester_id: import("mongoose").Types.ObjectId;
|
|
61
|
+
status: string;
|
|
62
|
+
feedback: string;
|
|
63
|
+
program_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
64
|
+
resolver_id?: import("mongoose").Types.ObjectId | null | undefined;
|
|
65
|
+
}> & {
|
|
44
66
|
_id: import("mongoose").Types.ObjectId;
|
|
45
67
|
} & {
|
|
46
68
|
__v: number;
|
|
@@ -24,17 +24,19 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { Schema } from 'mongoose';
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
userId:
|
|
27
|
+
export declare const tokenSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
28
|
+
createdAt: NativeDate;
|
|
29
|
+
userId: import("mongoose").Types.ObjectId;
|
|
30
30
|
value: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} & {
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
32
|
+
createdAt: NativeDate;
|
|
33
|
+
userId: import("mongoose").Types.ObjectId;
|
|
34
|
+
value: string;
|
|
35
|
+
}>> & import("mongoose").FlatRecord<{
|
|
36
|
+
createdAt: NativeDate;
|
|
37
|
+
userId: import("mongoose").Types.ObjectId;
|
|
38
|
+
value: string;
|
|
39
|
+
}> & {
|
|
38
40
|
_id: import("mongoose").Types.ObjectId;
|
|
39
41
|
} & {
|
|
40
42
|
__v: number;
|