cloud-ide-model-schema 1.0.6 → 1.0.8
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/lib/config/database.d.ts +3 -0
- package/lib/config/database.js +66 -0
- package/{config/index.ts → lib/config/index.d.ts} +2 -5
- package/lib/config/index.js +5 -0
- package/{index.ts → lib/index.d.ts} +4 -5
- package/lib/index.js +23 -0
- package/lib/schema/auth/auth_logses.d.ts +42 -0
- package/{schema/auth/auth_logses.ts → lib/schema/auth/auth_logses.js} +50 -68
- package/lib/schema/auth/auth_user_mst.d.ts +58 -0
- package/{schema/auth/auth_user_mst.ts → lib/schema/auth/auth_user_mst.js} +107 -143
- package/lib/schema/auth/index.d.ts +4 -0
- package/lib/schema/auth/index.js +10 -0
- package/lib/schema/auth/mpin.d.ts +37 -0
- package/{schema/auth/mpin.ts → lib/schema/auth/mpin.js} +54 -60
- package/lib/schema/core/core_entity_mapping.d.ts +39 -0
- package/lib/schema/core/core_entity_mapping.js +34 -0
- package/lib/schema/core/core_general_master.d.ts +39 -0
- package/lib/schema/core/core_general_master.js +37 -0
- package/lib/schema/core/core_general_master_type.d.ts +37 -0
- package/{schema/core/core_general_master_type.ts → lib/schema/core/core_general_master_type.js} +33 -46
- package/lib/schema/core/core_page_controls.d.ts +47 -0
- package/{schema/core/core_page_controls.ts → lib/schema/core/core_page_controls.js} +75 -100
- package/lib/schema/core/core_page_grid.d.ts +36 -0
- package/{schema/core/core_page_grid.ts → lib/schema/core/core_page_grid.js} +36 -48
- package/lib/schema/core/core_page_tab.d.ts +43 -0
- package/lib/schema/core/core_page_tab.js +33 -0
- package/lib/schema/core/core_pin_code.d.ts +44 -0
- package/{schema/core/core_pin_code.ts → lib/schema/core/core_pin_code.js} +51 -73
- package/lib/schema/core/core_system_config.d.ts +37 -0
- package/{schema/core/core_system_config.ts → lib/schema/core/core_system_config.js} +48 -54
- package/lib/schema/core/core_system_entity.d.ts +63 -0
- package/{schema/core/core_system_entity.ts → lib/schema/core/core_system_entity.js} +177 -216
- package/lib/schema/core/core_system_logs.d.ts +53 -0
- package/{schema/core/core_system_logs.ts → lib/schema/core/core_system_logs.js} +117 -141
- package/lib/schema/core/core_system_menu.d.ts +42 -0
- package/{schema/core/core_system_menu.ts → lib/schema/core/core_system_menu.js} +63 -74
- package/lib/schema/core/core_system_pages.d.ts +39 -0
- package/{schema/core/core_system_pages.ts → lib/schema/core/core_system_pages.js} +51 -59
- package/lib/schema/core/core_system_pages_theme.d.ts +40 -0
- package/{schema/core/core_system_pages_theme.ts → lib/schema/core/core_system_pages_theme.js} +51 -60
- package/{schema/core/index.ts → lib/schema/core/index.d.ts} +14 -42
- package/lib/schema/core/index.js +34 -0
- package/lib/schema/email/elist.d.ts +36 -0
- package/lib/schema/email/elist.js +42 -0
- package/lib/schema/email/elog.d.ts +41 -0
- package/lib/schema/email/elog.js +58 -0
- package/lib/schema/email/eref.d.ts +37 -0
- package/lib/schema/email/eref.js +43 -0
- package/lib/schema/email/esub.d.ts +43 -0
- package/{schema/email/esub.ts → lib/schema/email/esub.js} +69 -81
- package/lib/schema/email/etmp.d.ts +36 -0
- package/lib/schema/email/etmp.js +41 -0
- package/lib/schema/email/evdr.d.ts +36 -0
- package/lib/schema/email/evdr.js +41 -0
- package/lib/schema/email/index.d.ts +7 -0
- package/lib/schema/email/index.js +21 -0
- package/package.json +12 -8
- package/config/database.ts +0 -18
- package/schema/auth/index.ts +0 -13
- package/schema/core/core_entity_mapping.ts +0 -49
- package/schema/core/core_general_master.ts +0 -52
- package/schema/core/core_page_tab.ts +0 -54
- package/schema/email/elist.ts +0 -47
- package/schema/email/elog.ts +0 -68
- package/schema/email/eref.ts +0 -49
- package/schema/email/etmp.ts +0 -46
- package/schema/email/evdr.ts +0 -46
- package/schema/email/index.ts +0 -21
- package/tsconfig.json +0 -9
|
@@ -1,216 +1,177 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
minlength: 0,
|
|
64
|
-
maxlength:
|
|
65
|
-
trim: true
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
type:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
type:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
minlength: 0,
|
|
139
|
-
maxlength:
|
|
140
|
-
trim: true
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
type:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
minlength: 0,
|
|
179
|
-
maxlength: 50,
|
|
180
|
-
trim: true
|
|
181
|
-
},
|
|
182
|
-
syen_registered_email: {
|
|
183
|
-
type: String,
|
|
184
|
-
minlength: 0,
|
|
185
|
-
maxlength: 320,
|
|
186
|
-
trim: true
|
|
187
|
-
},
|
|
188
|
-
syen_udise_no: {
|
|
189
|
-
type: String,
|
|
190
|
-
minlength: 0,
|
|
191
|
-
maxlength: 50,
|
|
192
|
-
trim: true
|
|
193
|
-
},
|
|
194
|
-
syen_affiliation_no: {
|
|
195
|
-
type: String,
|
|
196
|
-
minlength: 0,
|
|
197
|
-
maxlength: 50,
|
|
198
|
-
trim: true
|
|
199
|
-
},
|
|
200
|
-
syen_photo_id_fm: {
|
|
201
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
202
|
-
ref: "auth_user_mst"
|
|
203
|
-
},
|
|
204
|
-
syen_isactive: {
|
|
205
|
-
type: Boolean,
|
|
206
|
-
default: true
|
|
207
|
-
},
|
|
208
|
-
}, { collection: 'core_system_entity' });
|
|
209
|
-
|
|
210
|
-
const CCoreSyen = mongoose.model<ICoreSyen>("core_system_entity", core_system_entity);
|
|
211
|
-
/* SCHIMA END */
|
|
212
|
-
|
|
213
|
-
export {
|
|
214
|
-
ICoreSyen, // interface
|
|
215
|
-
CCoreSyen // collection
|
|
216
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreSyen = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* INTERFACE END */
|
|
6
|
+
/* SCHEMA START */
|
|
7
|
+
var core_system_entity = new mongoose_1.Schema({
|
|
8
|
+
syen_id_syen: {
|
|
9
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
10
|
+
ref: "core_system_entity"
|
|
11
|
+
},
|
|
12
|
+
syen_name: {
|
|
13
|
+
type: String,
|
|
14
|
+
minlength: 0,
|
|
15
|
+
maxlength: 150,
|
|
16
|
+
trim: true
|
|
17
|
+
},
|
|
18
|
+
syen_entity_type_gmst: {
|
|
19
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
20
|
+
ref: "core_general_master"
|
|
21
|
+
},
|
|
22
|
+
syen_entity_code: {
|
|
23
|
+
type: String,
|
|
24
|
+
minlength: 0,
|
|
25
|
+
maxlength: 40,
|
|
26
|
+
trim: true
|
|
27
|
+
},
|
|
28
|
+
syen_corporate_address: {
|
|
29
|
+
type: String,
|
|
30
|
+
minlength: 0,
|
|
31
|
+
maxlength: 255,
|
|
32
|
+
trim: true
|
|
33
|
+
},
|
|
34
|
+
syen_corporate_pin_sypc: {
|
|
35
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
36
|
+
ref: "core_postal_code"
|
|
37
|
+
},
|
|
38
|
+
syen_corporate_city_sypc: {
|
|
39
|
+
type: String,
|
|
40
|
+
minlength: 0,
|
|
41
|
+
maxlength: 40,
|
|
42
|
+
trim: true
|
|
43
|
+
},
|
|
44
|
+
syen_corporate_state_sypc: {
|
|
45
|
+
type: String,
|
|
46
|
+
minlength: 0,
|
|
47
|
+
maxlength: 40,
|
|
48
|
+
trim: true
|
|
49
|
+
},
|
|
50
|
+
syen_corporate_country_sypc: {
|
|
51
|
+
type: String,
|
|
52
|
+
minlength: 0,
|
|
53
|
+
maxlength: 50,
|
|
54
|
+
trim: true
|
|
55
|
+
},
|
|
56
|
+
syen_corporate_contact_person_user: {
|
|
57
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
58
|
+
ref: "auth_user_mst"
|
|
59
|
+
},
|
|
60
|
+
syen_corporate_phone: {
|
|
61
|
+
type: Number,
|
|
62
|
+
default: null,
|
|
63
|
+
minlength: 0,
|
|
64
|
+
maxlength: 15,
|
|
65
|
+
trim: true
|
|
66
|
+
},
|
|
67
|
+
syen_corporate_phone_alt: {
|
|
68
|
+
type: Number,
|
|
69
|
+
default: null,
|
|
70
|
+
minlength: 0,
|
|
71
|
+
maxlength: 15,
|
|
72
|
+
trim: true
|
|
73
|
+
},
|
|
74
|
+
syen_corporate_fax: {
|
|
75
|
+
type: Number,
|
|
76
|
+
default: null,
|
|
77
|
+
minlength: 0,
|
|
78
|
+
maxlength: 50,
|
|
79
|
+
trim: true
|
|
80
|
+
},
|
|
81
|
+
syen_corporate_email: {
|
|
82
|
+
type: String,
|
|
83
|
+
minlength: 0,
|
|
84
|
+
maxlength: 320,
|
|
85
|
+
trim: true
|
|
86
|
+
},
|
|
87
|
+
syen_corporate_email_alt: {
|
|
88
|
+
type: String,
|
|
89
|
+
minlength: 0,
|
|
90
|
+
maxlength: 320,
|
|
91
|
+
trim: true
|
|
92
|
+
},
|
|
93
|
+
syen_website: {
|
|
94
|
+
type: String,
|
|
95
|
+
minlength: 0,
|
|
96
|
+
maxlength: 255,
|
|
97
|
+
trim: true
|
|
98
|
+
},
|
|
99
|
+
syen_currency_sycr: {
|
|
100
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
101
|
+
ref: "core_iso_currency"
|
|
102
|
+
},
|
|
103
|
+
syen_registered_address: {
|
|
104
|
+
type: String,
|
|
105
|
+
minlength: 0,
|
|
106
|
+
maxlength: 255,
|
|
107
|
+
trim: true
|
|
108
|
+
},
|
|
109
|
+
syen_registered_pin_sypc: {
|
|
110
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
111
|
+
ref: "core_postal_code"
|
|
112
|
+
},
|
|
113
|
+
syen_registered_city_sypc: {
|
|
114
|
+
type: String,
|
|
115
|
+
minlength: 0,
|
|
116
|
+
maxlength: 40,
|
|
117
|
+
trim: true
|
|
118
|
+
},
|
|
119
|
+
syen_registered_state_sypc: {
|
|
120
|
+
type: String,
|
|
121
|
+
minlength: 0,
|
|
122
|
+
maxlength: 40,
|
|
123
|
+
trim: true
|
|
124
|
+
},
|
|
125
|
+
syen_registered_country_sypc: {
|
|
126
|
+
type: String,
|
|
127
|
+
minlength: 0,
|
|
128
|
+
maxlength: 50,
|
|
129
|
+
trim: true
|
|
130
|
+
},
|
|
131
|
+
syen_registered_contact_person_user: {
|
|
132
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
133
|
+
ref: "auth_user_mst"
|
|
134
|
+
},
|
|
135
|
+
syen_registered_phone: {
|
|
136
|
+
type: Number,
|
|
137
|
+
default: null,
|
|
138
|
+
minlength: 0,
|
|
139
|
+
maxlength: 15,
|
|
140
|
+
trim: true
|
|
141
|
+
},
|
|
142
|
+
syen_registered_fax: {
|
|
143
|
+
type: Number,
|
|
144
|
+
default: null,
|
|
145
|
+
minlength: 0,
|
|
146
|
+
maxlength: 50,
|
|
147
|
+
trim: true
|
|
148
|
+
},
|
|
149
|
+
syen_registered_email: {
|
|
150
|
+
type: String,
|
|
151
|
+
minlength: 0,
|
|
152
|
+
maxlength: 320,
|
|
153
|
+
trim: true
|
|
154
|
+
},
|
|
155
|
+
syen_udise_no: {
|
|
156
|
+
type: String,
|
|
157
|
+
minlength: 0,
|
|
158
|
+
maxlength: 50,
|
|
159
|
+
trim: true
|
|
160
|
+
},
|
|
161
|
+
syen_affiliation_no: {
|
|
162
|
+
type: String,
|
|
163
|
+
minlength: 0,
|
|
164
|
+
maxlength: 50,
|
|
165
|
+
trim: true
|
|
166
|
+
},
|
|
167
|
+
syen_photo_id_fm: {
|
|
168
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
169
|
+
ref: "auth_user_mst"
|
|
170
|
+
},
|
|
171
|
+
syen_isactive: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: true
|
|
174
|
+
},
|
|
175
|
+
}, { collection: 'core_system_entity' });
|
|
176
|
+
var CCoreSyen = mongoose_1.default.model("core_system_entity", core_system_entity);
|
|
177
|
+
exports.CCoreSyen = CCoreSyen;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import mongoose from "mongoose";
|
|
26
|
+
export type log_type = 'TRACE' | 'SECURITY';
|
|
27
|
+
declare class ICoreSylog {
|
|
28
|
+
_id?: string;
|
|
29
|
+
sylog_id_user?: string;
|
|
30
|
+
sylog_id_logses?: string;
|
|
31
|
+
sylog_log_type?: log_type;
|
|
32
|
+
sylog_action?: string;
|
|
33
|
+
sylog_id_sypg?: string;
|
|
34
|
+
sylog_security_event?: string;
|
|
35
|
+
sylog_previous_data?: object;
|
|
36
|
+
sylog_updated_data?: object;
|
|
37
|
+
sylog_diagnostic_code?: string;
|
|
38
|
+
sylog_ip_address?: string;
|
|
39
|
+
sylog_message?: string;
|
|
40
|
+
sylog_timestamp?: Date;
|
|
41
|
+
sylog_method?: string;
|
|
42
|
+
sylog_route?: string;
|
|
43
|
+
sylog_request?: object;
|
|
44
|
+
sylog_monitor_type?: string;
|
|
45
|
+
sylog_monitor_value?: number;
|
|
46
|
+
sylog_config_data?: object;
|
|
47
|
+
sylog_isactive?: boolean;
|
|
48
|
+
}
|
|
49
|
+
declare const CCoreSylog: mongoose.Model<ICoreSylog, {}, {}, {}, mongoose.Document<unknown, {}, ICoreSylog> & ICoreSylog & Required<{
|
|
50
|
+
_id: string;
|
|
51
|
+
}>, any>;
|
|
52
|
+
export { ICoreSylog, // interface
|
|
53
|
+
CCoreSylog };
|