@campxdev/server-shared 1.3.25 → 1.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/decorators/batch-validation.decorator.d.ts +3 -0
- package/dist/common/decorators/batch-validation.decorator.d.ts.map +1 -0
- package/dist/common/decorators/batch-validation.decorator.js +27 -0
- package/dist/common/decorators/batch-validation.decorator.js.map +1 -0
- package/dist/common/filters/unhandled-exception.filter.js +2 -3
- package/dist/common/filters/unhandled-exception.filter.js.map +1 -1
- package/dist/common/guards/guard.d.ts +2 -0
- package/dist/common/guards/guard.d.ts.map +1 -1
- package/dist/common/guards/guard.js +6 -1
- package/dist/common/guards/guard.js.map +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/interceptors/request.interceptor.d.ts +6 -1
- package/dist/common/interceptors/request.interceptor.d.ts.map +1 -1
- package/dist/common/interceptors/request.interceptor.js +53 -13
- package/dist/common/interceptors/request.interceptor.js.map +1 -1
- package/dist/common/interfaces/context.interface.d.ts +62 -32
- package/dist/common/interfaces/context.interface.d.ts.map +1 -1
- package/dist/common/store/request-store.d.ts +27 -7
- package/dist/common/store/request-store.d.ts.map +1 -1
- package/dist/common/store/request-store.js +96 -23
- package/dist/common/store/request-store.js.map +1 -1
- package/dist/common/store/store.interceptor.js +2 -3
- package/dist/common/store/store.interceptor.js.map +1 -1
- package/dist/domain/db-connection.module.js +2 -3
- package/dist/domain/db-connection.module.js.map +1 -1
- package/dist/domain/entities/evaluator.entity.js +2 -16
- package/dist/domain/entities/evaluator.entity.js.map +1 -1
- package/dist/domain/entities/leads.entity.js +2 -26
- package/dist/domain/entities/leads.entity.js.map +1 -1
- package/dist/domain/entities/profile-permission.entity.d.ts +2 -0
- package/dist/domain/entities/profile-permission.entity.d.ts.map +1 -1
- package/dist/domain/entities/profile-permission.entity.js +7 -12
- package/dist/domain/entities/profile-permission.entity.js.map +1 -1
- package/dist/domain/entities/profile.entity.d.ts +17 -1
- package/dist/domain/entities/profile.entity.d.ts.map +1 -1
- package/dist/domain/entities/profile.entity.js +45 -14
- package/dist/domain/entities/profile.entity.js.map +1 -1
- package/dist/domain/entities/student.entity.d.ts +11 -31
- package/dist/domain/entities/student.entity.d.ts.map +1 -1
- package/dist/domain/entities/student.entity.js +38 -170
- package/dist/domain/entities/student.entity.js.map +1 -1
- package/dist/domain/entities/user.entity.d.ts +0 -3
- package/dist/domain/entities/user.entity.d.ts.map +1 -1
- package/dist/domain/entities/user.entity.js +2 -29
- package/dist/domain/entities/user.entity.js.map +1 -1
- package/dist/domain/index.d.ts +8 -2
- package/dist/domain/index.d.ts.map +1 -1
- package/dist/domain/index.js +8 -2
- package/dist/domain/index.js.map +1 -1
- package/dist/domain/schemas/admission.schema.d.ts +257 -0
- package/dist/domain/schemas/admission.schema.d.ts.map +1 -0
- package/dist/domain/schemas/admission.schema.js +707 -0
- package/dist/domain/schemas/admission.schema.js.map +1 -0
- package/dist/domain/schemas/course.schema.d.ts +54 -0
- package/dist/domain/schemas/course.schema.d.ts.map +1 -0
- package/dist/domain/schemas/course.schema.js +89 -0
- package/dist/domain/schemas/course.schema.js.map +1 -0
- package/dist/domain/schemas/global-users.schema.d.ts +12 -3
- package/dist/domain/schemas/global-users.schema.d.ts.map +1 -1
- package/dist/domain/schemas/global-users.schema.js +46 -23
- package/dist/domain/schemas/global-users.schema.js.map +1 -1
- package/dist/domain/schemas/institution.schema.d.ts +53 -0
- package/dist/domain/schemas/institution.schema.d.ts.map +1 -0
- package/dist/domain/schemas/institution.schema.js +94 -0
- package/dist/domain/schemas/institution.schema.js.map +1 -0
- package/dist/domain/schemas/media-record.schema.d.ts +53 -0
- package/dist/domain/schemas/media-record.schema.d.ts.map +1 -0
- package/dist/domain/schemas/media-record.schema.js +86 -0
- package/dist/domain/schemas/media-record.schema.js.map +1 -0
- package/dist/domain/schemas/program.schema.d.ts +49 -0
- package/dist/domain/schemas/program.schema.d.ts.map +1 -0
- package/dist/domain/schemas/program.schema.js +81 -0
- package/dist/domain/schemas/program.schema.js.map +1 -0
- package/dist/domain/schemas/quota.schema.d.ts +47 -0
- package/dist/domain/schemas/quota.schema.d.ts.map +1 -0
- package/dist/domain/schemas/quota.schema.js +64 -0
- package/dist/domain/schemas/quota.schema.js.map +1 -0
- package/dist/domain/schemas/semester.schema.d.ts +50 -0
- package/dist/domain/schemas/semester.schema.d.ts.map +1 -0
- package/dist/domain/schemas/semester.schema.js +84 -0
- package/dist/domain/schemas/semester.schema.js.map +1 -0
- package/dist/domain/schemas/sub-schemas.schema.d.ts +276 -0
- package/dist/domain/schemas/sub-schemas.schema.d.ts.map +1 -0
- package/dist/domain/schemas/sub-schemas.schema.js +931 -0
- package/dist/domain/schemas/sub-schemas.schema.js.map +1 -0
- package/dist/domain/schemas/tenant.schema.d.ts +89 -35
- package/dist/domain/schemas/tenant.schema.d.ts.map +1 -1
- package/dist/domain/schemas/tenant.schema.js +274 -85
- package/dist/domain/schemas/tenant.schema.js.map +1 -1
- package/dist/domain/shared-domain.module.js +2 -3
- package/dist/domain/shared-domain.module.js.map +1 -1
- package/dist/permissions/app-permissions/commute-x-permissions.d.ts +119 -0
- package/dist/permissions/app-permissions/commute-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/commute-x-permissions.js +129 -0
- package/dist/permissions/app-permissions/commute-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.d.ts +538 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.js +876 -0
- package/dist/permissions/app-permissions/enroll-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/exams-permissions.d.ts +912 -0
- package/dist/permissions/app-permissions/exams-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/exams-permissions.js +1702 -0
- package/dist/permissions/app-permissions/exams-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/hostels-permissions.d.ts +452 -0
- package/dist/permissions/app-permissions/hostels-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/hostels-permissions.js +580 -0
- package/dist/permissions/app-permissions/hostels-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/payments-permissions.d.ts +473 -0
- package/dist/permissions/app-permissions/payments-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/payments-permissions.js +794 -0
- package/dist/permissions/app-permissions/payments-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/people-x-permissions.d.ts +434 -0
- package/dist/permissions/app-permissions/people-x-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/people-x-permissions.js +530 -0
- package/dist/permissions/app-permissions/people-x-permissions.js.map +1 -0
- package/dist/permissions/app-permissions/square-permissions.d.ts +1673 -0
- package/dist/permissions/app-permissions/square-permissions.d.ts.map +1 -0
- package/dist/permissions/app-permissions/square-permissions.js +3024 -0
- package/dist/permissions/app-permissions/square-permissions.js.map +1 -0
- package/dist/permissions/check-permission.guard.d.ts +5 -46
- package/dist/permissions/check-permission.guard.d.ts.map +1 -1
- package/dist/permissions/check-permission.guard.js +14 -8
- package/dist/permissions/check-permission.guard.js.map +1 -1
- package/dist/permissions/index.d.ts +7 -0
- package/dist/permissions/index.d.ts.map +1 -1
- package/dist/permissions/index.js +15 -0
- package/dist/permissions/index.js.map +1 -1
- package/dist/permissions/permissions.d.ts +8021 -762
- package/dist/permissions/permissions.d.ts.map +1 -1
- package/dist/permissions/permissions.js +94 -1916
- package/dist/permissions/permissions.js.map +1 -1
- package/dist/shared-module/shared.module.d.ts +1 -0
- package/dist/shared-module/shared.module.d.ts.map +1 -1
- package/dist/shared-module/shared.module.js +2 -3
- package/dist/shared-module/shared.module.js.map +1 -1
- package/dist/shared-module/shared.service.d.ts +11 -2
- package/dist/shared-module/shared.service.d.ts.map +1 -1
- package/dist/shared-module/shared.service.js +73 -20
- package/dist/shared-module/shared.service.js.map +1 -1
- package/dist/utils/constants.d.ts +19 -4
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/constants.js +15 -5
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/utils.d.ts +29 -3
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +132 -12
- package/dist/utils/utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/databases/mongoose.repository.d.ts +0 -41
- package/dist/common/databases/mongoose.repository.d.ts.map +0 -1
- package/dist/common/databases/mongoose.repository.js +0 -95
- package/dist/common/databases/mongoose.repository.js.map +0 -1
- package/dist/domain/entities/department.entity.d.ts +0 -10
- package/dist/domain/entities/department.entity.d.ts.map +0 -1
- package/dist/domain/entities/department.entity.js +0 -51
- package/dist/domain/entities/department.entity.js.map +0 -1
- package/dist/domain/entities/program.entity.d.ts +0 -14
- package/dist/domain/entities/program.entity.d.ts.map +0 -1
- package/dist/domain/entities/program.entity.js +0 -71
- package/dist/domain/entities/program.entity.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sub-schemas.schema.js","sourceRoot":"","sources":["../../../src/domain/schemas/sub-schemas.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA+D;AAC/D,yDAA8C;AAC9C,qDAA6F;AAC7F,uCAAoD;AACpD,uCAAyC;AAEzC;;;;;;;;;;;;;EAaE;AAEF,uCAAgE;AAGzD,IAAM,YAAY,0BAAlB,MAAM,YAAY;CA0CxB,CAAA;AAxCC;IADC,IAAA,eAAI,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACZ;AAG1B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,UAAU,EAAE,GAAG,EAAE,oBAAY,EAAE,CAAC;;+CAChD;AAGnB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,iBAAc,CAAC,KAAK,CAAC,UAAU,EAAE,GA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DACzB;AAGrB;IADC,IAAA,eAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;qDACf;AAGtB;IADC,IAAA,eAAI,GAAE;8BACO,IAAI;oDAAC;yBARR,cAAc;IAD1B,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;GAC7B,cAAc,CAS1B;AACY,QAAA,oBAAoB,GAAG,wBAAa,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -22,65 +22,119 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Document } from 'mongoose';
|
|
26
|
-
export declare class
|
|
25
|
+
import { Document, Schema as MongooseSchema } from 'mongoose';
|
|
26
|
+
export declare class EasyWDMSConfig extends Document {
|
|
27
27
|
host: string;
|
|
28
28
|
port: number;
|
|
29
29
|
username: string;
|
|
30
30
|
password: string;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
database: string;
|
|
32
|
+
baseApiUrl: string;
|
|
33
33
|
}
|
|
34
|
-
export declare
|
|
35
|
-
_id: import("mongoose").Types.ObjectId;
|
|
36
|
-
}, never>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SMTPConfig, Document<unknown, {}, import("mongoose").FlatRecord<SMTPConfig>> & Omit<import("mongoose").FlatRecord<SMTPConfig> & {
|
|
37
|
-
_id: import("mongoose").Types.ObjectId;
|
|
38
|
-
}, never>>;
|
|
39
|
-
export declare class EasyWDMSConfig extends Document {
|
|
34
|
+
export declare class SMTPConfig extends Document {
|
|
40
35
|
host: string;
|
|
41
36
|
port: number;
|
|
42
37
|
username: string;
|
|
43
38
|
password: string;
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
from: string;
|
|
40
|
+
secure: boolean;
|
|
41
|
+
}
|
|
42
|
+
export declare class TextLocalConfig extends Document {
|
|
43
|
+
isEnabled: boolean;
|
|
44
|
+
apiKey: string;
|
|
45
|
+
sender: string;
|
|
46
|
+
}
|
|
47
|
+
export declare class RazorpayConfig extends Document {
|
|
48
|
+
key: string;
|
|
49
|
+
secret: string;
|
|
50
|
+
}
|
|
51
|
+
export declare class PaytmConfig extends Document {
|
|
52
|
+
merchantId: string;
|
|
53
|
+
merchantKey: string;
|
|
54
|
+
industryType: string;
|
|
55
|
+
website: string;
|
|
56
|
+
isProd: boolean;
|
|
57
|
+
channelId: string;
|
|
58
|
+
callbackUrl: string;
|
|
59
|
+
transactionUrl: string;
|
|
60
|
+
accountNumber: string;
|
|
61
|
+
accountName: string;
|
|
62
|
+
}
|
|
63
|
+
export declare class AirPayConfig extends Document {
|
|
64
|
+
merchantId: string;
|
|
65
|
+
username: string;
|
|
66
|
+
password: string;
|
|
67
|
+
secretKey: string;
|
|
68
|
+
}
|
|
69
|
+
export declare class BillDeskConfig extends Document {
|
|
70
|
+
merchantId: string;
|
|
71
|
+
securityId: string;
|
|
72
|
+
checksumKey: string;
|
|
73
|
+
}
|
|
74
|
+
export declare class BillDeskV2Config extends Document {
|
|
75
|
+
merchantId: string;
|
|
76
|
+
securityId: string;
|
|
77
|
+
checksumKey: string;
|
|
78
|
+
}
|
|
79
|
+
export declare class GrayQuestConfig extends Document {
|
|
80
|
+
clientId: string;
|
|
81
|
+
clientSecret: string;
|
|
82
|
+
apiKey: string;
|
|
83
|
+
configSlug: string;
|
|
84
|
+
}
|
|
85
|
+
export declare const PaymentCredentialsTypes: {
|
|
86
|
+
RAZORPAY: string;
|
|
87
|
+
PAYTM: string;
|
|
88
|
+
AIRPAY: string;
|
|
89
|
+
BILL_DESK: string;
|
|
90
|
+
BILL_DESK_V2: string;
|
|
91
|
+
GRAY_QUEST: string;
|
|
92
|
+
};
|
|
93
|
+
export declare class PaymentCredentials extends Document {
|
|
94
|
+
type: string;
|
|
95
|
+
paymentFeeChargesId?: string;
|
|
96
|
+
razorpayConfig?: RazorpayConfig;
|
|
97
|
+
paytmConfig?: PaytmConfig;
|
|
98
|
+
airPayConfig?: AirPayConfig;
|
|
99
|
+
billDeskConfig?: BillDeskConfig;
|
|
100
|
+
billDeskV2Config?: BillDeskV2Config;
|
|
101
|
+
grayQuestConfig?: GrayQuestConfig;
|
|
46
102
|
}
|
|
47
|
-
export declare const EasyWDMSConfigSchema: import("mongoose").Schema<EasyWDMSConfig, import("mongoose").Model<EasyWDMSConfig, any, any, any, Document<unknown, any, EasyWDMSConfig> & Omit<EasyWDMSConfig & {
|
|
48
|
-
_id: import("mongoose").Types.ObjectId;
|
|
49
|
-
}, never>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, EasyWDMSConfig, Document<unknown, {}, import("mongoose").FlatRecord<EasyWDMSConfig>> & Omit<import("mongoose").FlatRecord<EasyWDMSConfig> & {
|
|
50
|
-
_id: import("mongoose").Types.ObjectId;
|
|
51
|
-
}, never>>;
|
|
52
103
|
export declare class TenantEnvironment extends Document {
|
|
53
|
-
s3AccessKeyId: string;
|
|
54
|
-
s3SecretAccessKey: string;
|
|
55
104
|
s3BucketName: string;
|
|
56
|
-
s3Region: string;
|
|
57
|
-
s3Endpoint: string;
|
|
58
105
|
sentryDsn?: string;
|
|
106
|
+
clientName?: string;
|
|
107
|
+
studentAndroidApp: string;
|
|
108
|
+
studentIOSApp: string;
|
|
109
|
+
facultyAndroidApp: string;
|
|
110
|
+
facultyIOSApp: string;
|
|
59
111
|
razorpayKey?: string;
|
|
60
112
|
razorpaySecret?: string;
|
|
61
|
-
clientName?: string;
|
|
62
113
|
}
|
|
63
|
-
export declare const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
export declare const TenantCollectionName = "tenants";
|
|
114
|
+
export declare const TenantCName = "tenants";
|
|
115
|
+
export declare const InstitutionTypes: {
|
|
116
|
+
INDIVIDUAL: string;
|
|
117
|
+
MASTER_CHILD: string;
|
|
118
|
+
};
|
|
69
119
|
export declare class Tenant extends Document {
|
|
70
120
|
name: string;
|
|
71
121
|
subDomain: string;
|
|
72
|
-
host: string;
|
|
73
|
-
port: number;
|
|
74
|
-
username: string;
|
|
75
|
-
password: string;
|
|
76
122
|
database: string;
|
|
123
|
+
institutionType: string;
|
|
77
124
|
env: TenantEnvironment;
|
|
78
125
|
easyWDMSConfig: EasyWDMSConfig;
|
|
79
126
|
smtpConfig: SMTPConfig;
|
|
127
|
+
textLocalConfig: TextLocalConfig;
|
|
128
|
+
paymentCredentials: PaymentCredentials[];
|
|
129
|
+
defaultPaymentCredentials: string;
|
|
130
|
+
hasInActivityCheck: boolean;
|
|
131
|
+
inActivityCheckTime: number;
|
|
132
|
+
masterInstitutionId: string;
|
|
133
|
+
masterInstitutionUniqueId: number;
|
|
80
134
|
}
|
|
81
|
-
export declare const TenantSchema:
|
|
135
|
+
export declare const TenantSchema: MongooseSchema<Tenant, import("mongoose").Model<Tenant, any, any, any, Document<unknown, any, Tenant> & Tenant & {
|
|
82
136
|
_id: import("mongoose").Types.ObjectId;
|
|
83
|
-
},
|
|
137
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Tenant, Document<unknown, {}, Tenant> & Tenant & {
|
|
84
138
|
_id: import("mongoose").Types.ObjectId;
|
|
85
|
-
}
|
|
139
|
+
}>;
|
|
86
140
|
//# sourceMappingURL=tenant.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.schema.d.ts","sourceRoot":"","sources":["../../../src/domain/schemas/tenant.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"tenant.schema.d.ts","sourceRoot":"","sources":["../../../src/domain/schemas/tenant.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,Q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AErC,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC;AAEF,qBACa,MAAO,SAAQ,QAAQ;IAElC,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,eAAe,EAAE,MAAM,CAAC;IAGxB,GAAG,EAAE,iBAAiB,CAAC;IAGvB,cAAc,EAAE,cAAc,CAAC;IAG/B,UAAU,EAAE,UAAU,CAAC;IAGvB,eAAe,EAAE,eAAe,CAAC;IAGjC,kBAAkB,EAAE,kBAAkB,EAAE,CAAC;IAGzC,yBAAyB,EAAE,MAAM,CAAC;IAGlC,kBAAkB,EAAE,OAAO,CAAC;IAG5B,mBAAmB,EAAE,MAAM,CAAC;IAG5B,mBAAmB,EAAE,MAAM,CAAC;IAG5B,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED,eAAO,MAAM,YAAY;;;;EAAuC,CAAC"}
|
|
@@ -9,16 +9,40 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.TenantSchema = exports.Tenant = exports.
|
|
12
|
+
exports.TenantSchema = exports.Tenant = exports.InstitutionTypes = exports.TenantCName = exports.TenantEnvironment = exports.PaymentCredentials = exports.PaymentCredentialsTypes = exports.GrayQuestConfig = exports.BillDeskV2Config = exports.BillDeskConfig = exports.AirPayConfig = exports.PaytmConfig = exports.RazorpayConfig = exports.TextLocalConfig = exports.SMTPConfig = exports.EasyWDMSConfig = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
let EasyWDMSConfig = exports.EasyWDMSConfig = class EasyWDMSConfig extends mongoose_2.Document {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EasyWDMSConfig.prototype, "host", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], EasyWDMSConfig.prototype, "port", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], EasyWDMSConfig.prototype, "username", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EasyWDMSConfig.prototype, "password", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EasyWDMSConfig.prototype, "database", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EasyWDMSConfig.prototype, "baseApiUrl", void 0);
|
|
41
|
+
exports.EasyWDMSConfig = EasyWDMSConfig = __decorate([
|
|
42
|
+
(0, mongoose_1.Schema)()
|
|
43
|
+
], EasyWDMSConfig);
|
|
44
|
+
const EasyWDMSConfigSchema = mongoose_1.SchemaFactory.createForClass(EasyWDMSConfig);
|
|
45
|
+
let SMTPConfig = exports.SMTPConfig = class SMTPConfig extends mongoose_2.Document {
|
|
22
46
|
};
|
|
23
47
|
__decorate([
|
|
24
48
|
(0, mongoose_1.Prop)({ required: true }),
|
|
@@ -37,163 +61,328 @@ __decorate([
|
|
|
37
61
|
__metadata("design:type", String)
|
|
38
62
|
], SMTPConfig.prototype, "password", void 0);
|
|
39
63
|
__decorate([
|
|
40
|
-
(0, mongoose_1.Prop)(
|
|
64
|
+
(0, mongoose_1.Prop)(),
|
|
41
65
|
__metadata("design:type", String)
|
|
42
66
|
], SMTPConfig.prototype, "from", void 0);
|
|
43
67
|
__decorate([
|
|
44
|
-
(0, mongoose_1.Prop)({
|
|
68
|
+
(0, mongoose_1.Prop)({ default: true }),
|
|
45
69
|
__metadata("design:type", Boolean)
|
|
46
70
|
], SMTPConfig.prototype, "secure", void 0);
|
|
47
|
-
SMTPConfig = __decorate([
|
|
71
|
+
exports.SMTPConfig = SMTPConfig = __decorate([
|
|
48
72
|
(0, mongoose_1.Schema)()
|
|
49
73
|
], SMTPConfig);
|
|
50
|
-
|
|
51
|
-
exports.
|
|
52
|
-
let EasyWDMSConfig = class EasyWDMSConfig extends mongoose_2.Document {
|
|
53
|
-
host;
|
|
54
|
-
port;
|
|
55
|
-
username;
|
|
56
|
-
password;
|
|
57
|
-
database;
|
|
58
|
-
baseApiUrl;
|
|
74
|
+
const SMTPConfigSchema = mongoose_1.SchemaFactory.createForClass(SMTPConfig);
|
|
75
|
+
let TextLocalConfig = exports.TextLocalConfig = class TextLocalConfig extends mongoose_2.Document {
|
|
59
76
|
};
|
|
60
77
|
__decorate([
|
|
61
78
|
(0, mongoose_1.Prop)({ required: true }),
|
|
62
|
-
__metadata("design:type",
|
|
63
|
-
],
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, mongoose_1.Prop)({ required: true }),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], EasyWDMSConfig.prototype, "port", void 0);
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], TextLocalConfig.prototype, "isEnabled", void 0);
|
|
68
81
|
__decorate([
|
|
69
82
|
(0, mongoose_1.Prop)({ required: true }),
|
|
70
83
|
__metadata("design:type", String)
|
|
71
|
-
],
|
|
84
|
+
], TextLocalConfig.prototype, "apiKey", void 0);
|
|
72
85
|
__decorate([
|
|
73
86
|
(0, mongoose_1.Prop)({ required: true }),
|
|
74
87
|
__metadata("design:type", String)
|
|
75
|
-
],
|
|
88
|
+
], TextLocalConfig.prototype, "sender", void 0);
|
|
89
|
+
exports.TextLocalConfig = TextLocalConfig = __decorate([
|
|
90
|
+
(0, mongoose_1.Schema)()
|
|
91
|
+
], TextLocalConfig);
|
|
92
|
+
const TextLocalConfigSchema = mongoose_1.SchemaFactory.createForClass(TextLocalConfig);
|
|
93
|
+
let RazorpayConfig = exports.RazorpayConfig = class RazorpayConfig extends mongoose_2.Document {
|
|
94
|
+
};
|
|
76
95
|
__decorate([
|
|
77
96
|
(0, mongoose_1.Prop)({ required: true }),
|
|
78
97
|
__metadata("design:type", String)
|
|
79
|
-
],
|
|
98
|
+
], RazorpayConfig.prototype, "key", void 0);
|
|
80
99
|
__decorate([
|
|
81
100
|
(0, mongoose_1.Prop)({ required: true }),
|
|
82
101
|
__metadata("design:type", String)
|
|
83
|
-
],
|
|
84
|
-
|
|
102
|
+
], RazorpayConfig.prototype, "secret", void 0);
|
|
103
|
+
exports.RazorpayConfig = RazorpayConfig = __decorate([
|
|
85
104
|
(0, mongoose_1.Schema)()
|
|
86
|
-
],
|
|
87
|
-
|
|
88
|
-
exports.
|
|
89
|
-
let TenantEnvironment = class TenantEnvironment extends mongoose_2.Document {
|
|
90
|
-
s3AccessKeyId;
|
|
91
|
-
s3SecretAccessKey;
|
|
92
|
-
s3BucketName;
|
|
93
|
-
s3Region;
|
|
94
|
-
s3Endpoint;
|
|
95
|
-
sentryDsn;
|
|
96
|
-
razorpayKey;
|
|
97
|
-
razorpaySecret;
|
|
98
|
-
clientName;
|
|
105
|
+
], RazorpayConfig);
|
|
106
|
+
const RazorpayConfigSchema = mongoose_1.SchemaFactory.createForClass(RazorpayConfig);
|
|
107
|
+
let PaytmConfig = exports.PaytmConfig = class PaytmConfig extends mongoose_2.Document {
|
|
99
108
|
};
|
|
100
109
|
__decorate([
|
|
101
110
|
(0, mongoose_1.Prop)({ required: true }),
|
|
102
111
|
__metadata("design:type", String)
|
|
103
|
-
],
|
|
112
|
+
], PaytmConfig.prototype, "merchantId", void 0);
|
|
104
113
|
__decorate([
|
|
105
114
|
(0, mongoose_1.Prop)({ required: true }),
|
|
106
115
|
__metadata("design:type", String)
|
|
107
|
-
],
|
|
116
|
+
], PaytmConfig.prototype, "merchantKey", void 0);
|
|
108
117
|
__decorate([
|
|
109
118
|
(0, mongoose_1.Prop)({ required: true }),
|
|
110
119
|
__metadata("design:type", String)
|
|
111
|
-
],
|
|
120
|
+
], PaytmConfig.prototype, "industryType", void 0);
|
|
112
121
|
__decorate([
|
|
113
122
|
(0, mongoose_1.Prop)({ required: true }),
|
|
114
123
|
__metadata("design:type", String)
|
|
115
|
-
],
|
|
124
|
+
], PaytmConfig.prototype, "website", void 0);
|
|
116
125
|
__decorate([
|
|
117
|
-
(0, mongoose_1.Prop)({
|
|
126
|
+
(0, mongoose_1.Prop)({ default: true }),
|
|
127
|
+
__metadata("design:type", Boolean)
|
|
128
|
+
], PaytmConfig.prototype, "isProd", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, mongoose_1.Prop)(),
|
|
118
131
|
__metadata("design:type", String)
|
|
119
|
-
],
|
|
132
|
+
], PaytmConfig.prototype, "channelId", void 0);
|
|
120
133
|
__decorate([
|
|
121
134
|
(0, mongoose_1.Prop)(),
|
|
122
135
|
__metadata("design:type", String)
|
|
123
|
-
],
|
|
136
|
+
], PaytmConfig.prototype, "callbackUrl", void 0);
|
|
124
137
|
__decorate([
|
|
125
138
|
(0, mongoose_1.Prop)(),
|
|
126
139
|
__metadata("design:type", String)
|
|
127
|
-
],
|
|
140
|
+
], PaytmConfig.prototype, "transactionUrl", void 0);
|
|
128
141
|
__decorate([
|
|
129
142
|
(0, mongoose_1.Prop)(),
|
|
130
143
|
__metadata("design:type", String)
|
|
131
|
-
],
|
|
144
|
+
], PaytmConfig.prototype, "accountNumber", void 0);
|
|
132
145
|
__decorate([
|
|
133
146
|
(0, mongoose_1.Prop)(),
|
|
134
147
|
__metadata("design:type", String)
|
|
135
|
-
],
|
|
136
|
-
|
|
148
|
+
], PaytmConfig.prototype, "accountName", void 0);
|
|
149
|
+
exports.PaytmConfig = PaytmConfig = __decorate([
|
|
137
150
|
(0, mongoose_1.Schema)()
|
|
138
|
-
],
|
|
139
|
-
|
|
140
|
-
exports.
|
|
141
|
-
exports.TenantCollectionName = 'tenants';
|
|
142
|
-
let Tenant = class Tenant extends mongoose_2.Document {
|
|
143
|
-
name;
|
|
144
|
-
subDomain;
|
|
145
|
-
host;
|
|
146
|
-
port;
|
|
147
|
-
username;
|
|
148
|
-
password;
|
|
149
|
-
database;
|
|
150
|
-
env;
|
|
151
|
-
easyWDMSConfig;
|
|
152
|
-
smtpConfig;
|
|
151
|
+
], PaytmConfig);
|
|
152
|
+
const PaytmConfigSchema = mongoose_1.SchemaFactory.createForClass(PaytmConfig);
|
|
153
|
+
let AirPayConfig = exports.AirPayConfig = class AirPayConfig extends mongoose_2.Document {
|
|
153
154
|
};
|
|
154
155
|
__decorate([
|
|
155
|
-
(0, mongoose_1.Prop)({ required: true
|
|
156
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
156
157
|
__metadata("design:type", String)
|
|
157
|
-
],
|
|
158
|
+
], AirPayConfig.prototype, "merchantId", void 0);
|
|
158
159
|
__decorate([
|
|
159
|
-
(0, mongoose_1.Prop)({ required: true
|
|
160
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
160
161
|
__metadata("design:type", String)
|
|
161
|
-
],
|
|
162
|
+
], AirPayConfig.prototype, "username", void 0);
|
|
162
163
|
__decorate([
|
|
163
164
|
(0, mongoose_1.Prop)({ required: true }),
|
|
164
165
|
__metadata("design:type", String)
|
|
165
|
-
],
|
|
166
|
+
], AirPayConfig.prototype, "password", void 0);
|
|
166
167
|
__decorate([
|
|
167
168
|
(0, mongoose_1.Prop)({ required: true }),
|
|
168
|
-
__metadata("design:type",
|
|
169
|
-
],
|
|
169
|
+
__metadata("design:type", String)
|
|
170
|
+
], AirPayConfig.prototype, "secretKey", void 0);
|
|
171
|
+
exports.AirPayConfig = AirPayConfig = __decorate([
|
|
172
|
+
(0, mongoose_1.Schema)()
|
|
173
|
+
], AirPayConfig);
|
|
174
|
+
const AirPayConfigSchema = mongoose_1.SchemaFactory.createForClass(AirPayConfig);
|
|
175
|
+
let BillDeskConfig = exports.BillDeskConfig = class BillDeskConfig extends mongoose_2.Document {
|
|
176
|
+
};
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], BillDeskConfig.prototype, "merchantId", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
183
|
+
__metadata("design:type", String)
|
|
184
|
+
], BillDeskConfig.prototype, "securityId", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
187
|
+
__metadata("design:type", String)
|
|
188
|
+
], BillDeskConfig.prototype, "checksumKey", void 0);
|
|
189
|
+
exports.BillDeskConfig = BillDeskConfig = __decorate([
|
|
190
|
+
(0, mongoose_1.Schema)()
|
|
191
|
+
], BillDeskConfig);
|
|
192
|
+
const BillDeskConfigSchema = mongoose_1.SchemaFactory.createForClass(BillDeskConfig);
|
|
193
|
+
let BillDeskV2Config = exports.BillDeskV2Config = class BillDeskV2Config extends mongoose_2.Document {
|
|
194
|
+
};
|
|
195
|
+
__decorate([
|
|
196
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
197
|
+
__metadata("design:type", String)
|
|
198
|
+
], BillDeskV2Config.prototype, "merchantId", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
201
|
+
__metadata("design:type", String)
|
|
202
|
+
], BillDeskV2Config.prototype, "securityId", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
205
|
+
__metadata("design:type", String)
|
|
206
|
+
], BillDeskV2Config.prototype, "checksumKey", void 0);
|
|
207
|
+
exports.BillDeskV2Config = BillDeskV2Config = __decorate([
|
|
208
|
+
(0, mongoose_1.Schema)()
|
|
209
|
+
], BillDeskV2Config);
|
|
210
|
+
const BillDeskV2ConfigSchema = mongoose_1.SchemaFactory.createForClass(BillDeskConfig);
|
|
211
|
+
let GrayQuestConfig = exports.GrayQuestConfig = class GrayQuestConfig extends mongoose_2.Document {
|
|
212
|
+
};
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
215
|
+
__metadata("design:type", String)
|
|
216
|
+
], GrayQuestConfig.prototype, "clientId", void 0);
|
|
170
217
|
__decorate([
|
|
171
218
|
(0, mongoose_1.Prop)({ required: true }),
|
|
172
219
|
__metadata("design:type", String)
|
|
173
|
-
],
|
|
220
|
+
], GrayQuestConfig.prototype, "clientSecret", void 0);
|
|
174
221
|
__decorate([
|
|
175
222
|
(0, mongoose_1.Prop)({ required: true }),
|
|
176
223
|
__metadata("design:type", String)
|
|
177
|
-
],
|
|
224
|
+
], GrayQuestConfig.prototype, "apiKey", void 0);
|
|
225
|
+
__decorate([
|
|
226
|
+
(0, mongoose_1.Prop)({ required: true }),
|
|
227
|
+
__metadata("design:type", String)
|
|
228
|
+
], GrayQuestConfig.prototype, "configSlug", void 0);
|
|
229
|
+
exports.GrayQuestConfig = GrayQuestConfig = __decorate([
|
|
230
|
+
(0, mongoose_1.Schema)()
|
|
231
|
+
], GrayQuestConfig);
|
|
232
|
+
const GrayQuestConfigSchema = mongoose_1.SchemaFactory.createForClass(GrayQuestConfig);
|
|
233
|
+
exports.PaymentCredentialsTypes = {
|
|
234
|
+
RAZORPAY: 'RAZORPAY',
|
|
235
|
+
PAYTM: 'PAYTM',
|
|
236
|
+
AIRPAY: 'AIRPAY',
|
|
237
|
+
BILL_DESK: 'BILL_DESK',
|
|
238
|
+
BILL_DESK_V2: 'BILL_DESK_V2',
|
|
239
|
+
GRAY_QUEST: 'GRAY_QUEST',
|
|
240
|
+
};
|
|
241
|
+
let PaymentCredentials = exports.PaymentCredentials = class PaymentCredentials extends mongoose_2.Document {
|
|
242
|
+
};
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, mongoose_1.Prop)({ required: true, key: true }),
|
|
245
|
+
__metadata("design:type", String)
|
|
246
|
+
], PaymentCredentials.prototype, "type", void 0);
|
|
247
|
+
__decorate([
|
|
248
|
+
(0, mongoose_1.Prop)(),
|
|
249
|
+
__metadata("design:type", String)
|
|
250
|
+
], PaymentCredentials.prototype, "paymentFeeChargesId", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, mongoose_1.Prop)({ type: RazorpayConfigSchema }),
|
|
253
|
+
__metadata("design:type", RazorpayConfig)
|
|
254
|
+
], PaymentCredentials.prototype, "razorpayConfig", void 0);
|
|
255
|
+
__decorate([
|
|
256
|
+
(0, mongoose_1.Prop)({ type: PaytmConfigSchema }),
|
|
257
|
+
__metadata("design:type", PaytmConfig)
|
|
258
|
+
], PaymentCredentials.prototype, "paytmConfig", void 0);
|
|
259
|
+
__decorate([
|
|
260
|
+
(0, mongoose_1.Prop)({ type: AirPayConfigSchema }),
|
|
261
|
+
__metadata("design:type", AirPayConfig)
|
|
262
|
+
], PaymentCredentials.prototype, "airPayConfig", void 0);
|
|
263
|
+
__decorate([
|
|
264
|
+
(0, mongoose_1.Prop)({ type: BillDeskConfigSchema }),
|
|
265
|
+
__metadata("design:type", BillDeskConfig)
|
|
266
|
+
], PaymentCredentials.prototype, "billDeskConfig", void 0);
|
|
267
|
+
__decorate([
|
|
268
|
+
(0, mongoose_1.Prop)({ type: BillDeskV2ConfigSchema }),
|
|
269
|
+
__metadata("design:type", BillDeskV2Config)
|
|
270
|
+
], PaymentCredentials.prototype, "billDeskV2Config", void 0);
|
|
271
|
+
__decorate([
|
|
272
|
+
(0, mongoose_1.Prop)({ type: GrayQuestConfigSchema }),
|
|
273
|
+
__metadata("design:type", GrayQuestConfig)
|
|
274
|
+
], PaymentCredentials.prototype, "grayQuestConfig", void 0);
|
|
275
|
+
exports.PaymentCredentials = PaymentCredentials = __decorate([
|
|
276
|
+
(0, mongoose_1.Schema)()
|
|
277
|
+
], PaymentCredentials);
|
|
278
|
+
const PaymentCredentialsSchema = mongoose_1.SchemaFactory.createForClass(PaymentCredentials);
|
|
279
|
+
let TenantEnvironment = exports.TenantEnvironment = class TenantEnvironment extends mongoose_2.Document {
|
|
280
|
+
};
|
|
281
|
+
__decorate([
|
|
282
|
+
(0, mongoose_1.Prop)(),
|
|
283
|
+
__metadata("design:type", String)
|
|
284
|
+
], TenantEnvironment.prototype, "s3BucketName", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
(0, mongoose_1.Prop)(),
|
|
287
|
+
__metadata("design:type", String)
|
|
288
|
+
], TenantEnvironment.prototype, "sentryDsn", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, mongoose_1.Prop)(),
|
|
291
|
+
__metadata("design:type", String)
|
|
292
|
+
], TenantEnvironment.prototype, "clientName", void 0);
|
|
293
|
+
__decorate([
|
|
294
|
+
(0, mongoose_1.Prop)(),
|
|
295
|
+
__metadata("design:type", String)
|
|
296
|
+
], TenantEnvironment.prototype, "studentAndroidApp", void 0);
|
|
297
|
+
__decorate([
|
|
298
|
+
(0, mongoose_1.Prop)(),
|
|
299
|
+
__metadata("design:type", String)
|
|
300
|
+
], TenantEnvironment.prototype, "studentIOSApp", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
(0, mongoose_1.Prop)(),
|
|
303
|
+
__metadata("design:type", String)
|
|
304
|
+
], TenantEnvironment.prototype, "facultyAndroidApp", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, mongoose_1.Prop)(),
|
|
307
|
+
__metadata("design:type", String)
|
|
308
|
+
], TenantEnvironment.prototype, "facultyIOSApp", void 0);
|
|
309
|
+
__decorate([
|
|
310
|
+
(0, mongoose_1.Prop)(),
|
|
311
|
+
__metadata("design:type", String)
|
|
312
|
+
], TenantEnvironment.prototype, "razorpayKey", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
(0, mongoose_1.Prop)(),
|
|
315
|
+
__metadata("design:type", String)
|
|
316
|
+
], TenantEnvironment.prototype, "razorpaySecret", void 0);
|
|
317
|
+
exports.TenantEnvironment = TenantEnvironment = __decorate([
|
|
318
|
+
(0, mongoose_1.Schema)()
|
|
319
|
+
], TenantEnvironment);
|
|
320
|
+
const TenantEnvironmentSchema = mongoose_1.SchemaFactory.createForClass(TenantEnvironment);
|
|
321
|
+
exports.TenantCName = 'tenants';
|
|
322
|
+
exports.InstitutionTypes = {
|
|
323
|
+
INDIVIDUAL: 'INDIVIDUAL',
|
|
324
|
+
MASTER_CHILD: 'MASTER_CHILD',
|
|
325
|
+
};
|
|
326
|
+
let Tenant = exports.Tenant = class Tenant extends mongoose_2.Document {
|
|
327
|
+
};
|
|
328
|
+
__decorate([
|
|
329
|
+
(0, mongoose_1.Prop)({ required: true, unique: true }),
|
|
330
|
+
__metadata("design:type", String)
|
|
331
|
+
], Tenant.prototype, "name", void 0);
|
|
332
|
+
__decorate([
|
|
333
|
+
(0, mongoose_1.Prop)({ required: true, unique: true }),
|
|
334
|
+
__metadata("design:type", String)
|
|
335
|
+
], Tenant.prototype, "subDomain", void 0);
|
|
178
336
|
__decorate([
|
|
179
337
|
(0, mongoose_1.Prop)({ required: true }),
|
|
180
338
|
__metadata("design:type", String)
|
|
181
339
|
], Tenant.prototype, "database", void 0);
|
|
182
340
|
__decorate([
|
|
183
|
-
(0, mongoose_1.Prop)({
|
|
341
|
+
(0, mongoose_1.Prop)({ default: exports.InstitutionTypes.INDIVIDUAL }),
|
|
342
|
+
__metadata("design:type", String)
|
|
343
|
+
], Tenant.prototype, "institutionType", void 0);
|
|
344
|
+
__decorate([
|
|
345
|
+
(0, mongoose_1.Prop)({ required: true, type: TenantEnvironmentSchema }),
|
|
184
346
|
__metadata("design:type", TenantEnvironment)
|
|
185
347
|
], Tenant.prototype, "env", void 0);
|
|
186
348
|
__decorate([
|
|
187
|
-
(0, mongoose_1.Prop)({ type:
|
|
349
|
+
(0, mongoose_1.Prop)({ type: EasyWDMSConfigSchema }),
|
|
188
350
|
__metadata("design:type", EasyWDMSConfig)
|
|
189
351
|
], Tenant.prototype, "easyWDMSConfig", void 0);
|
|
190
352
|
__decorate([
|
|
191
|
-
(0, mongoose_1.Prop)({ type:
|
|
353
|
+
(0, mongoose_1.Prop)({ type: SMTPConfigSchema }),
|
|
192
354
|
__metadata("design:type", SMTPConfig)
|
|
193
355
|
], Tenant.prototype, "smtpConfig", void 0);
|
|
194
|
-
|
|
195
|
-
(0, mongoose_1.
|
|
356
|
+
__decorate([
|
|
357
|
+
(0, mongoose_1.Prop)({ type: TextLocalConfigSchema, required: false }),
|
|
358
|
+
__metadata("design:type", TextLocalConfig)
|
|
359
|
+
], Tenant.prototype, "textLocalConfig", void 0);
|
|
360
|
+
__decorate([
|
|
361
|
+
(0, mongoose_1.Prop)({ type: [PaymentCredentialsSchema], default: [] }),
|
|
362
|
+
__metadata("design:type", Array)
|
|
363
|
+
], Tenant.prototype, "paymentCredentials", void 0);
|
|
364
|
+
__decorate([
|
|
365
|
+
(0, mongoose_1.Prop)({ type: mongoose_2.Schema.Types.ObjectId }),
|
|
366
|
+
__metadata("design:type", String)
|
|
367
|
+
], Tenant.prototype, "defaultPaymentCredentials", void 0);
|
|
368
|
+
__decorate([
|
|
369
|
+
(0, mongoose_1.Prop)({ default: false }),
|
|
370
|
+
__metadata("design:type", Boolean)
|
|
371
|
+
], Tenant.prototype, "hasInActivityCheck", void 0);
|
|
372
|
+
__decorate([
|
|
373
|
+
(0, mongoose_1.Prop)(),
|
|
374
|
+
__metadata("design:type", Number)
|
|
375
|
+
], Tenant.prototype, "inActivityCheckTime", void 0);
|
|
376
|
+
__decorate([
|
|
377
|
+
(0, mongoose_1.Prop)(),
|
|
378
|
+
__metadata("design:type", String)
|
|
379
|
+
], Tenant.prototype, "masterInstitutionId", void 0);
|
|
380
|
+
__decorate([
|
|
381
|
+
(0, mongoose_1.Prop)(),
|
|
382
|
+
__metadata("design:type", Number)
|
|
383
|
+
], Tenant.prototype, "masterInstitutionUniqueId", void 0);
|
|
384
|
+
exports.Tenant = Tenant = __decorate([
|
|
385
|
+
(0, mongoose_1.Schema)({ collection: exports.TenantCName, timestamps: true, id: true })
|
|
196
386
|
], Tenant);
|
|
197
|
-
exports.Tenant = Tenant;
|
|
198
387
|
exports.TenantSchema = mongoose_1.SchemaFactory.createForClass(Tenant);
|
|
199
388
|
//# sourceMappingURL=tenant.schema.js.map
|