cloud-ide-lms-model 1.1.15 → 1.1.16

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.
@@ -10,6 +10,7 @@ declare class MForgotPassword {
10
10
  user_username: string;
11
11
  user_emailid: string;
12
12
  user_mobileno: number;
13
+ syen_id?: string;
13
14
  constructor(init: MForgotPassword);
14
15
  Validate?(): Partial<IForgotPasswordErrorLogger>;
15
16
  }
@@ -10,6 +10,7 @@ declare class MLogin {
10
10
  user_username?: string;
11
11
  user_password?: string;
12
12
  mpin_pin?: string;
13
+ syen_id?: string;
13
14
  constructor(init: MLogin);
14
15
  Validate(): Partial<ILoginErrorLogger>;
15
16
  }
@@ -8,6 +8,7 @@ declare class MResetPassword {
8
8
  user_password: string;
9
9
  user_username: string;
10
10
  sylog_config_data: resetPasswordSylog;
11
+ syen_id?: string;
11
12
  constructor(init: MResetPassword);
12
13
  Validate?(): Partial<IResetPasswordErrorLogger>;
13
14
  }
@@ -4,6 +4,9 @@ import { controllerResponse } from "../../utilities";
4
4
  type IEntityErrorLogger = {
5
5
  [key in keyof MEntity]: string;
6
6
  };
7
+ type IEntityByDomainErrorLogger = {
8
+ [key in keyof MEntityByDomain]: string;
9
+ };
7
10
  type CoreSystemEntityErrorLogger = {
8
11
  [key in keyof CoreSystemEntity]: string;
9
12
  };
@@ -18,6 +21,11 @@ declare class MEntity extends MTableQueries {
18
21
  constructor(init: MEntity);
19
22
  Validate?(): Partial<IEntityErrorLogger>;
20
23
  }
24
+ declare class MEntityByDomain {
25
+ domain?: string;
26
+ constructor(init: MEntityByDomain);
27
+ Validate?(): Partial<IEntityByDomainErrorLogger>;
28
+ }
21
29
  interface entityControllerResponse extends controllerResponse {
22
30
  data?: CoreSystemEntityListResponse[];
23
31
  }
@@ -27,9 +35,17 @@ interface entityInsertUpdateControllerResponse extends controllerResponse {
27
35
  interface entityByIdControllerResponse extends controllerResponse {
28
36
  data?: CoreSystemEntity;
29
37
  }
38
+ interface entityByDomainControllerResponse extends controllerResponse {
39
+ data?: {
40
+ _id?: string;
41
+ syen_id?: string;
42
+ };
43
+ }
30
44
  interface CoreSystemEntityListResponse extends CoreSystemEntity {
31
45
  children: CoreSystemEntityListResponse[];
32
46
  }
33
47
  export { IEntityErrorLogger, //interface
48
+ IEntityByDomainErrorLogger, //interface
34
49
  MEntity, // model
35
- entityControllerResponse, CoreSystemEntityListResponse, entityInsertUpdateControllerResponse, entityByIdControllerResponse, CoreSystemEntitySaveUpdatePayload };
50
+ MEntityByDomain, // model
51
+ entityControllerResponse, CoreSystemEntityListResponse, entityInsertUpdateControllerResponse, entityByIdControllerResponse, entityByDomainControllerResponse, CoreSystemEntitySaveUpdatePayload };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CoreSystemEntitySaveUpdatePayload = exports.MEntity = void 0;
3
+ exports.CoreSystemEntitySaveUpdatePayload = exports.MEntityByDomain = exports.MEntity = void 0;
4
4
  const common_1 = require("../../common-types/common");
5
5
  /* INTERFACE END */
6
6
  /* MODEL START */
@@ -25,3 +25,16 @@ class MEntity extends common_1.MTableQueries {
25
25
  }
26
26
  }
27
27
  exports.MEntity = MEntity;
28
+ class MEntityByDomain {
29
+ constructor(init) {
30
+ Object.assign(this, init);
31
+ }
32
+ Validate() {
33
+ let errorLogger = {};
34
+ if (!this.domain) {
35
+ errorLogger.domain = "Domain is Required";
36
+ }
37
+ return errorLogger;
38
+ }
39
+ }
40
+ exports.MEntityByDomain = MEntityByDomain;
@@ -29,6 +29,10 @@ declare const coreRoutesUrl: {
29
29
  * @description Endpoint to get the entity by id (entity-by-id)
30
30
  */
31
31
  entityById: string;
32
+ /**
33
+ * @description Endpoint to get the entity by domain (entity-by-domain)
34
+ */
35
+ entityByDomain: string;
32
36
  /**
33
37
  * @description Endpoint to get the general master (general-master)
34
38
  */
@@ -32,6 +32,10 @@ const coreRoutesUrl = {
32
32
  * @description Endpoint to get the entity by id (entity-by-id)
33
33
  */
34
34
  entityById: "entity-by-id",
35
+ /**
36
+ * @description Endpoint to get the entity by domain (entity-by-domain)
37
+ */
38
+ entityByDomain: "entity-by-domain",
35
39
  /**
36
40
  * @description Endpoint to get the general master (general-master)
37
41
  */
@@ -11,6 +11,7 @@ declare class AccFinancialConfig {
11
11
  accfincfg_financial_year_start_month?: number;
12
12
  accfincfg_financial_year_start_day?: number;
13
13
  accfincfg_financial_year_naming?: "calendar_year" | "fiscal_year" | "academic_year";
14
+ accfincfg_is_self_financial_year?: boolean;
14
15
  accfincfg_default_tax_percentage?: number;
15
16
  accfincfg_tax_inclusive_pricing?: boolean;
16
17
  accfincfg_show_tax_breakdown?: boolean;
@@ -11,6 +11,7 @@ declare class CoreFinancialConfig {
11
11
  fincfg_financial_year_start_month?: number;
12
12
  fincfg_financial_year_start_day?: number;
13
13
  fincfg_financial_year_naming?: "calendar_year" | "fiscal_year" | "academic_year";
14
+ fincfg_is_self_financial_year?: boolean;
14
15
  fincfg_default_tax_percentage?: number;
15
16
  fincfg_tax_inclusive_pricing?: boolean;
16
17
  fincfg_show_tax_breakdown?: boolean;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.1.15",
8
+ "version": "1.1.16",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",