@cool-digital-solutions/interferir-models 1.4.52 → 1.4.54
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.
|
@@ -237,6 +237,8 @@ const companySchema = new mongoose_1.Schema({
|
|
|
237
237
|
newsFeedAnalysis: { type: String, default: '' },
|
|
238
238
|
questionPreference: { type: String, default: '' },
|
|
239
239
|
useAzureLogin: { type: Boolean, default: false },
|
|
240
|
+
baseDomains: [{ type: String, default: '' }],
|
|
241
|
+
isDomainBasedAccess: { type: Boolean, default: false },
|
|
240
242
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
241
243
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
242
244
|
updatedDate: { type: Number },
|
|
@@ -285,6 +285,8 @@ export interface ICompany extends BaseSchema {
|
|
|
285
285
|
questionPreference: string;
|
|
286
286
|
newsFeedAnalysis: string;
|
|
287
287
|
useAzureLogin: boolean;
|
|
288
|
+
baseDomains: string[];
|
|
289
|
+
isDomainBasedAccess: boolean;
|
|
288
290
|
}
|
|
289
291
|
export interface ICompanyModel extends BaseModel<ICompany> {
|
|
290
292
|
}
|
package/dist/types/otp.type.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export declare enum OtpType {
|
|
|
3
3
|
LOGIN = "login",
|
|
4
4
|
AI_TASK_SHARE = "aiTaskShare",
|
|
5
5
|
SMS_LOGIN = "smsLogin",
|
|
6
|
-
WHATSAPP_LOGIN = "whatsappLogin"
|
|
6
|
+
WHATSAPP_LOGIN = "whatsappLogin",
|
|
7
|
+
PROJECT_SHARE = "projectShare"
|
|
7
8
|
}
|
|
8
9
|
export interface IOtp extends BaseSchema {
|
|
9
10
|
code: string;
|
package/dist/types/otp.type.js
CHANGED