cloud-ide-lms-model 1.1.46 → 1.1.48

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.
@@ -19,7 +19,6 @@ type IBonafideRequestRejectErrorLogger = {
19
19
  declare class MBonafideRequest extends MTableQueries {
20
20
  abnr_id?: string;
21
21
  abnr_request_number?: string;
22
- abnr_student_id?: string;
23
22
  abnr_student_id_auth?: string;
24
23
  abnr_purpose?: string;
25
24
  abnr_status_id_sygms?: string;
@@ -37,7 +36,6 @@ declare class MBonafideRequestGetByIdPayload implements MRequestMiddelware {
37
36
  declare class MBonafideRequestInsertUpdatePayload implements IAcademicsBonafideRequest, MRequestMiddelware {
38
37
  _id?: string;
39
38
  abnr_request_number?: string;
40
- abnr_student_id?: string;
41
39
  abnr_student_id_auth?: string;
42
40
  abnr_purpose?: string;
43
41
  abnr_request_date?: Date;
@@ -49,6 +47,10 @@ declare class MBonafideRequestInsertUpdatePayload implements IAcademicsBonafideR
49
47
  abnr_stamped_copy_id_cyfm?: string;
50
48
  abnr_completed_date?: Date;
51
49
  abnr_entity_id_syen?: string;
50
+ abnr_academic_year_id_acayr?: string;
51
+ abnr_class_program_id_acacpm?: string;
52
+ abnr_term_id_acatrm?: string;
53
+ abnr_section_id_acapts?: string;
52
54
  abnr_isactive?: boolean;
53
55
  constructor(init: Partial<IAcademicsBonafideRequest> & {
54
56
  _id?: string;
@@ -39,24 +39,17 @@ declare class MWorkflowConfigGetByIdPayload implements MRequestMiddelware {
39
39
  declare class MWorkflowConfigInsertUpdatePayload implements ICoreWorkflowConfig, MRequestMiddelware {
40
40
  _id?: string;
41
41
  wfcfg_workflow_id_wfrg?: string;
42
- wfcfg_step_number?: number;
43
- wfcfg_step_name?: string;
44
42
  wfcfg_approval_type_id_sygms?: string;
45
- wfcfg_approval_logic?: any;
46
- wfcfg_allow_edit?: boolean;
47
- wfcfg_allow_reject?: boolean;
48
- wfcfg_allow_request_changes?: boolean;
49
- wfcfg_timeout_hours?: number;
50
- wfcfg_escalation_step?: number;
43
+ wfcfg_approval_logic?: 'sequential' | 'parallel' | 'mixed';
51
44
  wfcfg_use_fallback?: boolean;
52
- wfcfg_valid_from_date?: Date;
53
- wfcfg_valid_to_date?: Date;
54
- wfcfg_isactive?: boolean;
55
45
  wfcfg_fallback_user_id_auth?: string;
56
46
  wfcfg_fallback_designation_id?: string;
57
47
  wfcfg_fallback_department_id?: string;
58
48
  wfcfg_fallback_role_id?: string;
59
49
  wfcfg_notify_all_approvers?: boolean;
50
+ wfcfg_valid_from_date?: Date;
51
+ wfcfg_valid_to_date?: Date;
52
+ wfcfg_isactive?: boolean;
60
53
  constructor(init: Partial<ICoreWorkflowConfig> & {
61
54
  _id?: string;
62
55
  });
@@ -88,15 +81,15 @@ declare class MWorkflowStepDeletePayload implements MRequestMiddelware {
88
81
  }
89
82
  declare class MWorkflowApproverRuleInsertUpdatePayload implements ICoreWorkflowApproverRules, MRequestMiddelware {
90
83
  _id?: string;
91
- wfar_workflow_config_id_wfcfg?: string;
84
+ wfar_workflow_step_id_wfstp?: string;
92
85
  wfar_approval_group_id?: string;
93
86
  wfar_group_approval_type_id_sygms?: string;
94
87
  wfar_rule_type_id_sygms?: string;
95
88
  wfar_rule_value?: string;
96
89
  wfar_rule_operator_id_sygms?: string;
97
- wfar_combined_filters?: any;
90
+ wfar_combined_filters?: Record<string, any>[];
98
91
  wfar_priority?: number;
99
- wfar_condition?: any;
92
+ wfar_condition?: string;
100
93
  wfar_is_optional?: boolean;
101
94
  wfar_min_approvals?: number;
102
95
  wfar_valid_from_date?: Date;
@@ -6,7 +6,7 @@ declare class MWorkflowInitializePayload implements MRequestMiddelware {
6
6
  requestTable?: string;
7
7
  requestId?: string;
8
8
  entityId?: string;
9
- requestData?: any;
9
+ requestData?: Record<string, any>;
10
10
  initiatedBy?: string;
11
11
  requestedByUser?: string;
12
12
  constructor(init: MWorkflowInitializePayload);
@@ -26,8 +26,8 @@ declare class MWorkflowActionPayload implements MRequestMiddelware {
26
26
  comments?: string;
27
27
  actionBy?: string;
28
28
  actionByUser?: string;
29
- editedData?: any;
30
- editedValues?: any;
29
+ editedData?: Record<string, any>;
30
+ editedValues?: Record<string, any>;
31
31
  attachments?: string[];
32
32
  constructor(init: MWorkflowActionPayload);
33
33
  Validate?(): any;
@@ -60,13 +60,13 @@ declare class MWorkflowRegistryInsertUpdatePayload implements ICoreWorkflowRegis
60
60
  wfrg_category_id_sygms?: string;
61
61
  wfrg_entity_id_syen?: string;
62
62
  wfrg_page_id_sypg?: string;
63
- wfrg_menu_id_syme?: string;
63
+ wfrg_menu_id_symu?: string;
64
64
  wfrg_component_selector?: string;
65
65
  wfrg_component_path?: string;
66
- wfrg_query_params?: any;
66
+ wfrg_query_params?: Record<string, any>;
67
67
  wfrg_view_mode_id_sygms?: string;
68
68
  wfrg_trigger_type_id_sygms?: string;
69
- wfrg_trigger_condition?: any;
69
+ wfrg_trigger_condition?: string;
70
70
  wfrg_auto_initialize?: boolean;
71
71
  wfrg_isactive?: boolean;
72
72
  wfrg_valid_from_date?: Date;
@@ -75,7 +75,7 @@ declare class MWorkflowRegistryInsertUpdatePayload implements ICoreWorkflowRegis
75
75
  wfrg_notify_approvers_on_final_status?: boolean;
76
76
  wfrg_show_approver_names?: boolean;
77
77
  wfrg_mask_approver_info?: boolean;
78
- wfrg_configuration?: any;
78
+ wfrg_configuration?: Record<string, any>;
79
79
  constructor(init: Partial<ICoreWorkflowRegistry> & {
80
80
  _id?: string;
81
81
  });
@@ -88,7 +88,7 @@ declare class MWorkflowRegistryByPagePayload implements MRequestMiddelware {
88
88
  Validate?(): any;
89
89
  }
90
90
  declare class MWorkflowRegistryByMenuPayload implements MRequestMiddelware {
91
- wfrg_menu_id_syme?: string;
91
+ wfrg_menu_id_symu?: string;
92
92
  wfrg_entity_id_syen?: string;
93
93
  constructor(init: MWorkflowRegistryByMenuPayload);
94
94
  Validate?(): any;
@@ -0,0 +1,14 @@
1
+ import { ICoreWorkflowTransactionHistory } from "../../schema";
2
+ import { controllerResponse } from "../../utilities";
3
+ import { MRequestMiddelware } from "../../common-types/common";
4
+ declare class MWorkflowTransactionHistoryGetPayload implements MRequestMiddelware {
5
+ wfth_workflow_id_wfrg?: string;
6
+ wfth_request_id?: string;
7
+ wfth_step_id_wfstp?: string;
8
+ constructor(init: MWorkflowTransactionHistoryGetPayload);
9
+ Validate?(): any;
10
+ }
11
+ interface workflowTransactionHistoryControllerResponse extends controllerResponse {
12
+ data?: ICoreWorkflowTransactionHistory[] | null;
13
+ }
14
+ export { MWorkflowTransactionHistoryGetPayload, workflowTransactionHistoryControllerResponse };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MWorkflowTransactionHistoryGetPayload = void 0;
4
+ /* MODEL START */
5
+ class MWorkflowTransactionHistoryGetPayload {
6
+ constructor(init) {
7
+ Object.assign(this, init);
8
+ }
9
+ Validate() {
10
+ return {};
11
+ }
12
+ }
13
+ exports.MWorkflowTransactionHistoryGetPayload = MWorkflowTransactionHistoryGetPayload;
@@ -25,3 +25,4 @@ export * from './dashboard-cards';
25
25
  export * from './core_workflow_registry';
26
26
  export * from './core_workflow_config';
27
27
  export * from './core_workflow_engine';
28
+ export * from './core_workflow_transaction_history';
@@ -41,3 +41,4 @@ __exportStar(require("./dashboard-cards"), exports);
41
41
  __exportStar(require("./core_workflow_registry"), exports);
42
42
  __exportStar(require("./core_workflow_config"), exports);
43
43
  __exportStar(require("./core_workflow_engine"), exports);
44
+ __exportStar(require("./core_workflow_transaction_history"), exports);
@@ -13,6 +13,10 @@ declare class IAcademicsBonafideRequest {
13
13
  abnr_stamped_copy_id_cyfm?: string;
14
14
  abnr_completed_date?: Date;
15
15
  abnr_entity_id_syen?: string;
16
+ abnr_academic_year_id_acayr?: string;
17
+ abnr_class_program_id_acacpm?: string;
18
+ abnr_term_id_acatrm?: string;
19
+ abnr_section_id_acapts?: string;
16
20
  abnr_isactive?: boolean;
17
21
  }
18
22
  export { IAcademicsBonafideRequest };
@@ -1,14 +1,14 @@
1
1
  declare class ICoreWorkflowApproverRules {
2
2
  _id?: string;
3
- wfar_workflow_config_id_wfcfg?: string;
3
+ wfar_workflow_step_id_wfstp?: string;
4
4
  wfar_approval_group_id?: string;
5
5
  wfar_group_approval_type_id_sygms?: string;
6
6
  wfar_rule_type_id_sygms?: string;
7
7
  wfar_rule_value?: string;
8
8
  wfar_rule_operator_id_sygms?: string;
9
- wfar_combined_filters?: any;
9
+ wfar_combined_filters?: Record<string, any>[];
10
10
  wfar_priority?: number;
11
- wfar_condition?: any;
11
+ wfar_condition?: string;
12
12
  wfar_is_optional?: boolean;
13
13
  wfar_min_approvals?: number;
14
14
  wfar_valid_from_date?: Date;
@@ -4,20 +4,20 @@ declare class ICoreWorkflowConfig {
4
4
  wfcfg_step_number?: number;
5
5
  wfcfg_step_name?: string;
6
6
  wfcfg_approval_type_id_sygms?: string;
7
- wfcfg_approval_logic?: any;
7
+ wfcfg_approval_logic?: 'sequential' | 'parallel' | 'mixed' | any;
8
8
  wfcfg_allow_edit?: boolean;
9
9
  wfcfg_allow_reject?: boolean;
10
10
  wfcfg_allow_request_changes?: boolean;
11
11
  wfcfg_timeout_hours?: number;
12
12
  wfcfg_escalation_step?: number;
13
13
  wfcfg_use_fallback?: boolean;
14
- wfcfg_valid_from_date?: Date;
15
- wfcfg_valid_to_date?: Date;
16
- wfcfg_isactive?: boolean;
17
14
  wfcfg_fallback_user_id_auth?: string;
18
15
  wfcfg_fallback_designation_id?: string;
19
16
  wfcfg_fallback_department_id?: string;
20
17
  wfcfg_fallback_role_id?: string;
21
18
  wfcfg_notify_all_approvers?: boolean;
19
+ wfcfg_valid_from_date?: Date;
20
+ wfcfg_valid_to_date?: Date;
21
+ wfcfg_isactive?: boolean;
22
22
  }
23
23
  export { ICoreWorkflowConfig };
@@ -9,10 +9,10 @@ declare class ICoreWorkflowRegistry {
9
9
  wfrg_menu_id_syme?: string;
10
10
  wfrg_component_selector?: string;
11
11
  wfrg_component_path?: string;
12
- wfrg_query_params?: any;
12
+ wfrg_query_params?: Record<string, any>;
13
13
  wfrg_view_mode_id_sygms?: string;
14
14
  wfrg_trigger_type_id_sygms?: string;
15
- wfrg_trigger_condition?: any;
15
+ wfrg_trigger_condition?: string;
16
16
  wfrg_auto_initialize?: boolean;
17
17
  wfrg_isactive?: boolean;
18
18
  wfrg_valid_from_date?: Date;
@@ -21,6 +21,6 @@ declare class ICoreWorkflowRegistry {
21
21
  wfrg_notify_approvers_on_final_status?: boolean;
22
22
  wfrg_show_approver_names?: boolean;
23
23
  wfrg_mask_approver_info?: boolean;
24
- wfrg_configuration?: any;
24
+ wfrg_configuration?: Record<string, any>;
25
25
  }
26
26
  export { ICoreWorkflowRegistry };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-lms-model",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "Package for Model management of Cloud IDEsys LMS",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",