@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
  }
@@ -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;
@@ -7,4 +7,5 @@ var OtpType;
7
7
  OtpType["AI_TASK_SHARE"] = "aiTaskShare";
8
8
  OtpType["SMS_LOGIN"] = "smsLogin";
9
9
  OtpType["WHATSAPP_LOGIN"] = "whatsappLogin";
10
+ OtpType["PROJECT_SHARE"] = "projectShare";
10
11
  })(OtpType || (exports.OtpType = OtpType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.52",
3
+ "version": "1.4.54",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"