storemw-core-api 1.0.147 → 1.0.148
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/dist/app.js +1 -0
- package/dist/app.js.map +1 -1
- package/dist/controllers/index.d.ts +1 -0
- package/dist/controllers/index.js +6 -1
- package/dist/controllers/index.js.map +1 -1
- package/dist/controllers/scheduler/schedulerLogController.d.ts +9 -0
- package/dist/controllers/scheduler/schedulerLogController.js +133 -0
- package/dist/controllers/scheduler/schedulerLogController.js.map +1 -0
- package/dist/middlewares/route/index.d.ts +1 -0
- package/dist/middlewares/route/index.js +7 -2
- package/dist/middlewares/route/index.js.map +1 -1
- package/dist/middlewares/route/validateSchedulerLog.d.ts +5 -0
- package/dist/middlewares/route/validateSchedulerLog.js +20 -0
- package/dist/middlewares/route/validateSchedulerLog.js.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +4 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/scheduler/SchedulerLogModel.d.ts +371 -0
- package/dist/models/scheduler/SchedulerLogModel.js +13 -0
- package/dist/models/scheduler/SchedulerLogModel.js.map +1 -0
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.js +3 -1
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/scheduler/schedulerLogRoutes.d.ts +2 -0
- package/dist/routes/scheduler/schedulerLogRoutes.js +13 -0
- package/dist/routes/scheduler/schedulerLogRoutes.js.map +1 -0
- package/dist/routes/scheduler/schedulerLogsRoutes.d.ts +2 -0
- package/dist/routes/scheduler/schedulerLogsRoutes.js +13 -0
- package/dist/routes/scheduler/schedulerLogsRoutes.js.map +1 -0
- package/dist/routes/scheduler/schedulersRoutes.d.ts +2 -0
- package/dist/routes/scheduler/schedulersRoutes.js +12 -0
- package/dist/routes/scheduler/schedulersRoutes.js.map +1 -0
- package/dist/schema/middleware/route/index.d.ts +2 -0
- package/dist/schema/middleware/route/index.js +3 -1
- package/dist/schema/middleware/route/index.js.map +1 -1
- package/dist/schema/middleware/route/schemaSchedulerLog.d.ts +4 -0
- package/dist/schema/middleware/route/schemaSchedulerLog.js +10 -0
- package/dist/schema/middleware/route/schemaSchedulerLog.js.map +1 -0
- package/dist/schema/payload/index.d.ts +2 -0
- package/dist/schema/payload/index.js +4 -1
- package/dist/schema/payload/index.js.map +1 -1
- package/dist/schema/payload/scheduler/schemaSchedulerLog.d.ts +267 -0
- package/dist/schema/payload/scheduler/schemaSchedulerLog.js +48 -0
- package/dist/schema/payload/scheduler/schemaSchedulerLog.js.map +1 -0
- package/dist/services/file/FileService.js.map +1 -1
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.js +4 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/scheduler/SchedulerLogService.d.ts +101 -0
- package/dist/services/scheduler/SchedulerLogService.js +146 -0
- package/dist/services/scheduler/SchedulerLogService.js.map +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +30 -0
package/dist/app.js
CHANGED
|
@@ -55,6 +55,7 @@ app.use(["/accounts"], routes_1.accountsRoutes);
|
|
|
55
55
|
app.use(["/subscriptions"], routes_1.subscriptionsRoutes);
|
|
56
56
|
app.use(["/business"], routes_1.businessRoutes);
|
|
57
57
|
app.use(["/businesses"], routes_1.businessesRoutes);
|
|
58
|
+
app.use(["/scheduler"], routes_1.schedulersRoutes);
|
|
58
59
|
// app.use(["/utils"], changePasswordUtilRoutes)
|
|
59
60
|
app.use(["/utils"], routes_1.accessKeyUtilRoutes);
|
|
60
61
|
// Global error handler
|
package/dist/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":";;;;;AAAA,sDAA6B;AAC7B,gDAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":";;;;;AAAA,sDAA6B;AAC7B,gDAAwB;AAExB,qCAoCiB;AAEjB,mDAA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AAE,uBAAc,CAAC,CAAA;AACtC,GAAG,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,wBAAe,CAAC,CAAA;AACxC,GAAG,CAAC,GAAG,CAAC,CAAC,kBAAkB,CAAC,EAAE,6BAAoB,CAAC,CAAA;AACnD,GAAG,CAAC,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE,8BAAqB,CAAC,CAAA;AACrD,GAAG,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,EAAE,sBAAa,CAAC,CAAA;AACpC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,EAAE,uBAAc,CAAC,CAAA;AACtC,GAAG,CAAC,GAAG,CAAC,CAAC,gBAAgB,CAAC,EAAE,4BAAmB,CAAC,CAAA;AAChD,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,EAAE,uBAAc,CAAC,CAAA;AACtC,GAAG,CAAC,GAAG,CAAC,CAAC,aAAa,CAAC,EAAE,yBAAgB,CAAC,CAAA;AAC1C,GAAG,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,yBAAgB,CAAC,CAAA;AAEzC,gDAAgD;AAChD,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,4BAAmB,CAAC,CAAA;AAExC,uBAAuB;AACvB,GAAG,CAAC,GAAG,CAAC,qBAAY,CAAC,CAAA;AAErB,kBAAe,GAAG,CAAC","sourcesContent":["import express from \"express\"\nimport path from \"path\";\n\nimport {\n // fileRoutes,\n // filesRoutes,\n // ocrRoutes,\n authRoutes,\n accessControlRoutes,\n accessKeyRoutes,\n accessKeysRoutes,\n resetPasswordRoutes,\n oneTimeCodeRoutes,\n oneTimeCodesRoutes,\n userRoutes,\n userMeRoutes,\n usersRoutes,\n businessRoutes,\n businessesRoutes,\n accountRoutes,\n accountsRoutes,\n subscriptionsRoutes,\n schedulersRoutes,\n fileRoutes,\n filesRoutes,\n userBranchRoutes,\n userBranchesRoutes,\n documentRoutes,\n documentsRoutes,\n itemRoutes,\n itemsRoutes,\n regionRoutes,\n regionsRoutes,\n locationRoutes,\n locationsRoutes,\n injectionFieldRoutes,\n injectionFieldsRoutes,\n // changePasswordUtilRoutes,\n accessKeyUtilRoutes\n} from \"@/routes\"\n\nimport { validateHeader, validateAuthorization, validateCors } from \"@/middlewares/request\"\nimport { errorHandler } from \"./middlewares/common\";\n\nconst app = express();\n\n// Static Routes\napp.use('/public', express.static(path.join(__dirname, '..', 'public')));\n\n// Enable CORS for all origins\napp.use(validateCors);\n\n// Register global check headers handler\napp.use(validateHeader);\n\n// Middleware\napp.use(express.json({ limit: '15mb' }));\napp.use(express.urlencoded({ limit: '15mb', extended: true }));\n\n// Initial Prisma\n// app.use(initialPrisma)\n\n// Protected Routes\napp.use(validateAuthorization({\n excludedRoutes: []\n})); // Validate the Authorization\n\napp.use([\"/auth\"], authRoutes)\napp.use([\"/access_control\"], accessControlRoutes)\napp.use([\"/access_key\"], accessKeyRoutes)\napp.use([\"/access_keys\"], accessKeysRoutes)\napp.use([\"/reset_password\"], resetPasswordRoutes)\napp.use([\"/one_time_code\"], oneTimeCodeRoutes)\napp.use([\"/one_time_codes\"], oneTimeCodesRoutes)\napp.use([\"/account\"], accountRoutes)\napp.use([\"/accounts\"], accountsRoutes)\napp.use([\"/user/me\"], userMeRoutes)\napp.use([\"/user\"], userRoutes)\napp.use([\"/users\"], usersRoutes)\napp.use([\"/user_branch\"], userBranchRoutes)\napp.use([\"/user_branches\"], userBranchesRoutes)\napp.use([\"/document\"], documentRoutes)\napp.use([\"/documents\"], documentsRoutes)\napp.use([\"/item\"], itemRoutes)\napp.use([\"/items\"], itemsRoutes)\napp.use([\"/file\"], fileRoutes)\napp.use([\"/files\"], filesRoutes)\napp.use([\"/region\"], regionRoutes)\napp.use([\"/regions\"], regionsRoutes)\napp.use([\"/location\"], locationRoutes)\napp.use([\"/locations\"], locationsRoutes)\napp.use([\"/injection_field\"], injectionFieldRoutes)\napp.use([\"/injection_fields\"], injectionFieldsRoutes)\napp.use([\"/account\"], accountRoutes)\napp.use([\"/accounts\"], accountsRoutes)\napp.use([\"/subscriptions\"], subscriptionsRoutes)\napp.use([\"/business\"], businessRoutes)\napp.use([\"/businesses\"], businessesRoutes)\napp.use([\"/scheduler\"], schedulersRoutes)\n\n// app.use([\"/utils\"], changePasswordUtilRoutes)\napp.use([\"/utils\"], accessKeyUtilRoutes)\n\n// Global error handler\napp.use(errorHandler)\n\nexport default app;"]}
|
|
@@ -16,4 +16,5 @@ export { createLocation, updateLocation, getLocation, listLocations, deleteLocat
|
|
|
16
16
|
export { uploadFiles, getFile, listFiles, deleteFiles } from '../controllers/file/fileController';
|
|
17
17
|
export { createItem, updateItem, getItem, listItems, deleteItems, getItemDataTypes } from '../controllers/item/itemController';
|
|
18
18
|
export { listInjectionFields, getInjectionField, replaceInjectionFields, createInjectionField, deleteInjectionFields } from '../controllers/injection_field/injectionFieldController';
|
|
19
|
+
export { createSchedulerLog, getSchedulerLog, listSchedulerLogs, deleteSchedulerLogs } from '../controllers/scheduler/schedulerLogController';
|
|
19
20
|
export { validateAccessKeyUtil, getAccountOwnerAccessKeyUtil } from '../controllers/utils/accessKeyUtilController';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.listDocuments = exports.getDocument = exports.updateDocument = exports.createDocument = exports.getUserBranchDataTypes = exports.deleteUserBranches = exports.listUserBranches = exports.getUserBranch = exports.updateUserBranch = exports.createUserBranch = exports.deleteUserMe = exports.changePasswordUserMe = exports.updateUserMe = exports.getUserMe = exports.getUserDataTypes = exports.deleteUsers = exports.listUsers = exports.getUser = exports.updateUser = exports.createUser = exports.updateBusiness = exports.deleteBusinesses = exports.createBusiness = exports.listBusinesses = exports.getBusiness = exports.cancelAccountSubscribe = exports.createAccountSubscribe = exports.listAccountSubscribes = exports.getAccountSubscribe = exports.deleteSubscribePlans = exports.updateSubscribePlan = exports.createSubcribePlan = exports.listSubscribePlans = exports.getSubscribePlan = exports.updateAccount = exports.deleteAccounts = exports.createAccount = exports.listAccounts = exports.getAccount = exports.performResetPassword = exports.validateResetPasswordCode = exports.requestResetPassword = exports.getOneTimeCode = exports.listOneTimeCodes = exports.listAccessControlPolicyOptions = exports.revokeAccessKeys = exports.getAccessKey = exports.listAccessKeys = exports.createAccessKey = exports.getAuthToken = void 0;
|
|
4
|
-
exports.getAccountOwnerAccessKeyUtil = exports.validateAccessKeyUtil = exports.deleteInjectionFields = exports.createInjectionField = exports.replaceInjectionFields = exports.getInjectionField = exports.listInjectionFields = exports.getItemDataTypes = exports.deleteItems = exports.listItems = exports.getItem = exports.updateItem = exports.createItem = exports.deleteFiles = exports.listFiles = exports.getFile = exports.uploadFiles = exports.getLocationDataTypes = exports.deleteLocations = exports.listLocations = exports.getLocation = exports.updateLocation = exports.createLocation = exports.getRegionDataTypes = exports.deleteRegions = exports.listRegions = exports.getRegion = exports.updateRegion = exports.createRegion = exports.getDocumentDataTypes = exports.deleteDocuments = void 0;
|
|
4
|
+
exports.getAccountOwnerAccessKeyUtil = exports.validateAccessKeyUtil = exports.deleteSchedulerLogs = exports.listSchedulerLogs = exports.getSchedulerLog = exports.createSchedulerLog = exports.deleteInjectionFields = exports.createInjectionField = exports.replaceInjectionFields = exports.getInjectionField = exports.listInjectionFields = exports.getItemDataTypes = exports.deleteItems = exports.listItems = exports.getItem = exports.updateItem = exports.createItem = exports.deleteFiles = exports.listFiles = exports.getFile = exports.uploadFiles = exports.getLocationDataTypes = exports.deleteLocations = exports.listLocations = exports.getLocation = exports.updateLocation = exports.createLocation = exports.getRegionDataTypes = exports.deleteRegions = exports.listRegions = exports.getRegion = exports.updateRegion = exports.createRegion = exports.getDocumentDataTypes = exports.deleteDocuments = void 0;
|
|
5
5
|
var authController_1 = require("../controllers/auth/authController");
|
|
6
6
|
Object.defineProperty(exports, "getAuthToken", { enumerable: true, get: function () { return authController_1.getAuthToken; } });
|
|
7
7
|
var accessKeyController_1 = require("../controllers/access_key/accessKeyController");
|
|
@@ -99,6 +99,11 @@ Object.defineProperty(exports, "getInjectionField", { enumerable: true, get: fun
|
|
|
99
99
|
Object.defineProperty(exports, "replaceInjectionFields", { enumerable: true, get: function () { return injectionFieldController_1.replaceInjectionFields; } });
|
|
100
100
|
Object.defineProperty(exports, "createInjectionField", { enumerable: true, get: function () { return injectionFieldController_1.createInjectionField; } });
|
|
101
101
|
Object.defineProperty(exports, "deleteInjectionFields", { enumerable: true, get: function () { return injectionFieldController_1.deleteInjectionFields; } });
|
|
102
|
+
var schedulerLogController_1 = require("../controllers/scheduler/schedulerLogController");
|
|
103
|
+
Object.defineProperty(exports, "createSchedulerLog", { enumerable: true, get: function () { return schedulerLogController_1.createSchedulerLog; } });
|
|
104
|
+
Object.defineProperty(exports, "getSchedulerLog", { enumerable: true, get: function () { return schedulerLogController_1.getSchedulerLog; } });
|
|
105
|
+
Object.defineProperty(exports, "listSchedulerLogs", { enumerable: true, get: function () { return schedulerLogController_1.listSchedulerLogs; } });
|
|
106
|
+
Object.defineProperty(exports, "deleteSchedulerLogs", { enumerable: true, get: function () { return schedulerLogController_1.deleteSchedulerLogs; } });
|
|
102
107
|
// export { changePasswordUtil } from '../controllers/utils/changePasswordUtilController';
|
|
103
108
|
var accessKeyUtilController_1 = require("../controllers/utils/accessKeyUtilController");
|
|
104
109
|
Object.defineProperty(exports, "validateAccessKeyUtil", { enumerable: true, get: function () { return accessKeyUtilController_1.validateAccessKeyUtil; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":";;;;AAAA,oEAAiE;AAAxD,8GAAA,YAAY,OAAA;AACrB,oFAA+H;AAAtH,sHAAA,eAAe,OAAA;AAAE,qHAAA,cAAc,OAAA;AAAE,mHAAA,YAAY,OAAA;AAAE,uHAAA,gBAAgB,OAAA;AACxE,gGAAsG;AAA7F,yIAAA,8BAA8B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A,cAAc,OAAA;AAAE,iHAAA,WAAW,OAAA;AAAE,mHAAA,aAAa,OAAA;AAAE,qHAAA,eAAe,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC1G,0EAA8I;AAArI,gHAAA,YAAY,OAAA;AAAE,gHAAA,YAAY,OAAA;AAAE,6GAAA,SAAS,OAAA;AAAE,+GAAA,WAAW,OAAA;AAAE,iHAAA,aAAa,OAAA;AAAE,sHAAA,kBAAkB,OAAA;AAC9F,gFAA8J;AAArJ,oHAAA,cAAc,OAAA;AAAE,oHAAA,cAAc,OAAA;AAAE,iHAAA,WAAW,OAAA;AAAE,mHAAA,aAAa,OAAA;AAAE,qHAAA,eAAe,OAAA;AAAE,0HAAA,oBAAoB,OAAA;AAC1G,oEAAiG;AAAxF,6GAAA,WAAW,OAAA;AAAE,yGAAA,OAAO,OAAA;AAAE,2GAAA,SAAS,OAAA;AAAE,6GAAA,WAAW,OAAA;AACrD,oEAA8H;AAArH,4GAAA,UAAU,OAAA;AAAE,4GAAA,UAAU,OAAA;AAAE,yGAAA,OAAO,OAAA;AAAE,2GAAA,SAAS,OAAA;AAAE,6GAAA,WAAW,OAAA;AAAE,kHAAA,gBAAgB,OAAA;AAClF,mGAAqL;AAA5K,+HAAA,mBAAmB,OAAA;AAAE,6HAAA,iBAAiB,OAAA;AAAE,kIAAA,sBAAsB,OAAA;AAAE,gIAAA,oBAAoB,OAAA;AAAE,iIAAA,qBAAqB,OAAA;AACpH,yFAA6I;AAApI,4HAAA,kBAAkB,OAAA;AAAE,yHAAA,eAAe,OAAA;AAAE,2HAAA,iBAAiB,OAAA;AAAE,6HAAA,mBAAmB,OAAA;AAEpF,yFAAyF;AACzF,uFAAkH;AAAzG,gIAAA,qBAAqB,OAAA;AAAE,uIAAA,4BAA4B,OAAA","sourcesContent":["export { getAuthToken } from '@/controllers/auth/authController';\nexport { createAccessKey, listAccessKeys, getAccessKey, revokeAccessKeys } from '@/controllers/access_key/accessKeyController';\nexport { listAccessControlPolicyOptions } from '@/controllers/access_control/accessControlController';\nexport { listOneTimeCodes, getOneTimeCode } from '@/controllers/one_time_code/oneTimeCodeController';\nexport { requestResetPassword, validateResetPasswordCode, performResetPassword } from '@/controllers/reset_password/resetPasswordController';\nexport { getAccount, listAccounts, createAccount, deleteAccounts, updateAccount } from '@/controllers/account/accountController';\nexport { getSubscribePlan, listSubscribePlans, createSubcribePlan, updateSubscribePlan, deleteSubscribePlans } from '@/controllers/subscription/plan/subscribePlanController';\nexport { getAccountSubscribe, listAccountSubscribes, createAccountSubscribe, cancelAccountSubscribe } from '@/controllers/subscription/account/accountSubscribeController';\nexport { getBusiness, listBusinesses, createBusiness, deleteBusinesses, updateBusiness } from '@/controllers/business/businessController';\nexport { createUser, updateUser, getUser, listUsers, deleteUsers, getUserDataTypes } from '@/controllers/user/userController';\nexport { getUserMe, updateUserMe, changePasswordUserMe, deleteUserMe } from '@/controllers/user/userMeController';\nexport { createUserBranch, updateUserBranch, getUserBranch, listUserBranches, deleteUserBranches, getUserBranchDataTypes } from '@/controllers/branch/userBranchController';\nexport { createDocument, updateDocument, getDocument, listDocuments, deleteDocuments, getDocumentDataTypes } from '@/controllers/document/documentController';\nexport { createRegion, updateRegion, getRegion, listRegions, deleteRegions, getRegionDataTypes } from '@/controllers/region/regionController';\nexport { createLocation, updateLocation, getLocation, listLocations, deleteLocations, getLocationDataTypes } from '@/controllers/location/locationController';\nexport { uploadFiles, getFile, listFiles, deleteFiles } from '@/controllers/file/fileController';\nexport { createItem, updateItem, getItem, listItems, deleteItems, getItemDataTypes } from '@/controllers/item/itemController';\nexport { listInjectionFields, getInjectionField, replaceInjectionFields, createInjectionField, deleteInjectionFields } from '@/controllers/injection_field/injectionFieldController';\nexport { createSchedulerLog, getSchedulerLog, listSchedulerLogs, deleteSchedulerLogs } from '@/controllers/scheduler/schedulerLogController';\n\n// export { changePasswordUtil } from '@/controllers/utils/changePasswordUtilController';\nexport { validateAccessKeyUtil, getAccountOwnerAccessKeyUtil } from '@/controllers/utils/accessKeyUtilController';"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Request, Response, NextFunction } from "express";
|
|
2
|
+
/** scheduler/log/:schedulerLogId : get scheduler log */
|
|
3
|
+
export declare const getSchedulerLog: (req: Request, res: Response, next: NextFunction) => Promise<any>;
|
|
4
|
+
/** scheduler/log : create scheduler log */
|
|
5
|
+
export declare const createSchedulerLog: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
6
|
+
/** scheduler/logs : list scheduler logs */
|
|
7
|
+
export declare const listSchedulerLogs: (req: Request, res: Response, next: NextFunction) => Promise<any>;
|
|
8
|
+
/** scheduler/logs/delete : delete scheduler logs */
|
|
9
|
+
export declare const deleteSchedulerLogs: (req: Request, res: Response, next: NextFunction) => Promise<any>;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteSchedulerLogs = exports.listSchedulerLogs = exports.createSchedulerLog = exports.getSchedulerLog = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
const services_1 = require("../../services");
|
|
6
|
+
const payload_1 = require("../../schema/payload");
|
|
7
|
+
const getRootName = (toSingular) => {
|
|
8
|
+
let rootName = toSingular ? "scheduler_log" : "scheduler_logs";
|
|
9
|
+
return rootName;
|
|
10
|
+
};
|
|
11
|
+
/** scheduler/log/:schedulerLogId : get scheduler log */
|
|
12
|
+
const getSchedulerLog = async (req, res, next) => {
|
|
13
|
+
try {
|
|
14
|
+
const { schedulerLogId } = req.params;
|
|
15
|
+
// const requestQuery = req.query as unknown as QueryList;
|
|
16
|
+
const schedulerLogService = (0, services_1.SchedulerLogService)({
|
|
17
|
+
...(0, utils_1.getDefaultServiceProps)(req),
|
|
18
|
+
});
|
|
19
|
+
const data = await schedulerLogService.getSchedulerLog({ id: Number(schedulerLogId) });
|
|
20
|
+
return (0, utils_1.sendSuccess)(res, data, "Retrieved successfully", getRootName(true));
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
next(error);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.getSchedulerLog = getSchedulerLog;
|
|
27
|
+
/** scheduler/log : create scheduler log */
|
|
28
|
+
const createSchedulerLog = async (req, res, next) => {
|
|
29
|
+
try {
|
|
30
|
+
const schedulerLogService = (0, services_1.SchedulerLogService)({
|
|
31
|
+
...(0, utils_1.getDefaultServiceProps)(req),
|
|
32
|
+
});
|
|
33
|
+
let response = {};
|
|
34
|
+
let reqScope = req.body.scope;
|
|
35
|
+
let reqPayload = req.body.payload;
|
|
36
|
+
let request = payload_1.schemaSchedulerLogCreatePayload.parse({
|
|
37
|
+
scope: {
|
|
38
|
+
target: reqScope.target,
|
|
39
|
+
action: reqScope.action
|
|
40
|
+
},
|
|
41
|
+
payload: {
|
|
42
|
+
schedulerLog: {
|
|
43
|
+
schedulerTaskId: reqPayload?.scheduler_log?.scheduler_task_id ?? "",
|
|
44
|
+
flowType: reqPayload?.scheduler_log?.flow_type ?? "",
|
|
45
|
+
fieldModule: reqPayload?.scheduler_log?.field_module ?? "",
|
|
46
|
+
fieldRef: reqPayload?.scheduler_log?.field_ref ?? "",
|
|
47
|
+
logAction: reqPayload?.scheduler_log?.log_action ?? "",
|
|
48
|
+
logLabel: reqPayload?.scheduler_log?.log_label ?? "",
|
|
49
|
+
logStatus: reqPayload?.scheduler_log?.log_status ?? "",
|
|
50
|
+
logMessage: reqPayload?.scheduler_log?.log_message ?? "",
|
|
51
|
+
sourceType: reqPayload?.scheduler_log?.source_type ?? "",
|
|
52
|
+
sourceEntityId: reqPayload?.scheduler_log?.source_entity_id ?? "",
|
|
53
|
+
sourceEntityLabel: reqPayload?.scheduler_log?.source_entity_label ?? "",
|
|
54
|
+
sourceEntityData: reqPayload?.scheduler_log?.source_entity_data ?? "",
|
|
55
|
+
destinationType: reqPayload?.scheduler_log?.destination_type ?? "",
|
|
56
|
+
destinationEntityId: reqPayload?.scheduler_log?.destination_entity_id ?? "",
|
|
57
|
+
destinationEntityLabel: reqPayload?.scheduler_log?.destination_entity_label ?? "",
|
|
58
|
+
destinationSubmitPayload: reqPayload?.scheduler_log?.destination_submit_payload ?? "",
|
|
59
|
+
destinationSubmitResponse: reqPayload?.scheduler_log?.destination_submit_response ?? "",
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
let payload = {
|
|
64
|
+
data: {
|
|
65
|
+
schedulerTaskId: request.payload.schedulerLog.schedulerTaskId,
|
|
66
|
+
flowType: request.payload.schedulerLog.flowType,
|
|
67
|
+
fieldModule: request.payload.schedulerLog.fieldModule,
|
|
68
|
+
fieldRef: request.payload.schedulerLog.fieldRef,
|
|
69
|
+
logAction: request.payload.schedulerLog.logAction,
|
|
70
|
+
logLabel: request.payload.schedulerLog.logLabel,
|
|
71
|
+
logStatus: request.payload.schedulerLog.logStatus,
|
|
72
|
+
logMesssage: request.payload.schedulerLog.logMessage,
|
|
73
|
+
sourceType: request.payload.schedulerLog.sourceType,
|
|
74
|
+
sourceEntityId: request.payload.schedulerLog.sourceEntityId,
|
|
75
|
+
sourceEntityData: request.payload.schedulerLog.sourceEntityData,
|
|
76
|
+
sourceEntityLabel: request.payload.schedulerLog.sourceEntityLabel,
|
|
77
|
+
destinationType: request.payload.schedulerLog.destinationType,
|
|
78
|
+
destinationEntityId: request.payload.schedulerLog.destinationEntityId,
|
|
79
|
+
destinationEntityLabel: request.payload.schedulerLog.destinationEntityLabel,
|
|
80
|
+
destinationSubmitPayload: request.payload.schedulerLog.destinationSubmitPayload,
|
|
81
|
+
destinationSubmitResponse: request.payload.schedulerLog.destinationSubmitResponse,
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
response = {
|
|
85
|
+
[`${getRootName(true)}`]: await schedulerLogService.createSchedulerLog(payload)
|
|
86
|
+
};
|
|
87
|
+
(0, utils_1.sendSuccess)(res, response, `Schedule log created successfully`);
|
|
88
|
+
}
|
|
89
|
+
catch (error) {
|
|
90
|
+
next(error);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
exports.createSchedulerLog = createSchedulerLog;
|
|
94
|
+
/** scheduler/logs : list scheduler logs */
|
|
95
|
+
const listSchedulerLogs = async (req, res, next) => {
|
|
96
|
+
try {
|
|
97
|
+
const requestQuery = req.query;
|
|
98
|
+
const schedulerLogService = (0, services_1.SchedulerLogService)({
|
|
99
|
+
...(0, utils_1.getDefaultServiceProps)(req),
|
|
100
|
+
});
|
|
101
|
+
const { data, total } = await schedulerLogService.listSchedulerLoges({
|
|
102
|
+
...requestQuery
|
|
103
|
+
});
|
|
104
|
+
let response = {
|
|
105
|
+
[`${getRootName(false)}`]: data,
|
|
106
|
+
total,
|
|
107
|
+
};
|
|
108
|
+
return (0, utils_1.sendSuccess)(res, response, "Retrieved successfully");
|
|
109
|
+
}
|
|
110
|
+
catch (error) {
|
|
111
|
+
next(error);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
exports.listSchedulerLogs = listSchedulerLogs;
|
|
115
|
+
/** scheduler/logs/delete : delete scheduler logs */
|
|
116
|
+
const deleteSchedulerLogs = async (req, res, next) => {
|
|
117
|
+
try {
|
|
118
|
+
const request = payload_1.schemaSchedulerLogDeletePayload.parse(req.body);
|
|
119
|
+
const schedulerLogService = (0, services_1.SchedulerLogService)({
|
|
120
|
+
...(0, utils_1.getDefaultServiceProps)(req),
|
|
121
|
+
});
|
|
122
|
+
const payload = {
|
|
123
|
+
schedulerLogIds: request.payload.ids.map(i => BigInt(i))
|
|
124
|
+
};
|
|
125
|
+
const data = await schedulerLogService.removeSchedulerLoges(payload);
|
|
126
|
+
return (0, utils_1.sendSuccess)(res, data, "Deleted", getRootName(false));
|
|
127
|
+
}
|
|
128
|
+
catch (error) {
|
|
129
|
+
next(error);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
exports.deleteSchedulerLogs = deleteSchedulerLogs;
|
|
133
|
+
//# sourceMappingURL=schedulerLogController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulerLogController.js","sourceRoot":"","sources":["../../../src/controllers/scheduler/schedulerLogController.ts"],"names":[],"mappings":";;;AAEA,mCAAqF;AAIrF,yCAAyE;AACzE,8CAG0B;AAE1B,MAAM,WAAW,GAAG,CAAC,UAAmB,EAAE,EAAE;IAExC,IAAI,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC;IAE/D,OAAO,QAAQ,CAAA;AACnB,CAAC,CAAA;AAED,wDAAwD;AACjD,MAAM,eAAe,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAgB,EAAE;IACnG,IAAI,CAAC;QAED,MAAM,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;QACtC,0DAA0D;QAE1D,MAAM,mBAAmB,GAAG,IAAA,8BAAmB,EAAC;YAC5C,GAAG,IAAA,8BAAsB,EAAC,GAAG,CAAC;SACjC,CAAC,CAAA;QAEF,MAAM,IAAI,GAAG,MAAM,mBAAmB,CAAC,eAAe,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC,CAAA;QAEtF,OAAO,IAAA,mBAAW,EAAC,GAAG,EAAE,IAAI,EAAE,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC;IAE/E,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QAClB,IAAI,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;AACL,CAAC,CAAA;AAjBY,QAAA,eAAe,mBAiB3B;AAED,2CAA2C;AACpC,MAAM,kBAAkB,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;IACvG,IAAI,CAAC;QAED,MAAM,mBAAmB,GAAG,IAAA,8BAAmB,EAAC;YAC5C,GAAG,IAAA,8BAAsB,EAAC,GAAG,CAAC;SACjC,CA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B;AAEF,oDAAoD;AAC7C,MAAM,mBAAmB,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAgB,EAAE;IAEvG,IAAI,CAAC;QAED,MAAM,OAAO,GAAG,yCAA+B,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAE/D,MAAM,mBAAmB,GAAG,IAAA,8BAAmB,EAAC;YAC5C,GAAG,IAAA,8BAAsB,EAAC,GAAG,CAAC;SACjC,CAAC,CAAA;QAEF,MAAM,OAAO,GAAG;YACZ,eAAe,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;SAC3D,CAAA;QAED,MAAM,IAAI,GAAG,MAAM,mBAAmB,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAErE,OAAO,IAAA,mBAAW,EAAC,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IAEjE,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QAClB,IAAI,CAAC,KAAK,CAAC,CAAA;IACf,CAAC;AACL,CAAC,CAAC;AArBW,QAAA,mBAAmB,uBAqB9B","sourcesContent":["import { Request, Response, NextFunction } from \"express\";\n\nimport { getDefaultServiceProps, sendSuccess, sendError, HTTP_STATUS } from \"@/utils\"\n\nimport { QueryList } from \"@/schema/middleware/route\";\n\nimport { SchedulerLogService, SchedulerLogCreateProps } from \"@/services\"\nimport {\n schemaSchedulerLogCreatePayload,\n schemaSchedulerLogDeletePayload,\n} from \"@/schema/payload\";\n\nconst getRootName = (toSingular: boolean) => {\n\n let rootName = toSingular ? \"scheduler_log\" : \"scheduler_logs\";\n\n return rootName\n}\n\n/** scheduler/log/:schedulerLogId : get scheduler log */\nexport const getSchedulerLog = async (req: Request, res: Response, next: NextFunction): Promise<any> => {\n try {\n\n const { schedulerLogId } = req.params;\n // const requestQuery = req.query as unknown as QueryList;\n\n const schedulerLogService = SchedulerLogService({\n ...getDefaultServiceProps(req),\n })\n\n const data = await schedulerLogService.getSchedulerLog({ id: Number(schedulerLogId) })\n\n return sendSuccess(res, data, \"Retrieved successfully\", getRootName(true));\n\n } catch (error: any) {\n next(error)\n }\n}\n\n/** scheduler/log : create scheduler log */\nexport const createSchedulerLog = async (req: Request, res: Response, next: NextFunction): Promise<void> => {\n try {\n\n const schedulerLogService = SchedulerLogService({\n ...getDefaultServiceProps(req),\n })\n\n let response: any = {}\n\n let reqScope = req.body.scope\n let reqPayload = req.body.payload\n\n let request = schemaSchedulerLogCreatePayload.parse({\n scope: {\n target: reqScope.target,\n action: reqScope.action\n },\n payload: {\n schedulerLog: {\n schedulerTaskId: reqPayload?.scheduler_log?.scheduler_task_id ?? \"\",\n flowType: reqPayload?.scheduler_log?.flow_type ?? \"\",\n fieldModule: reqPayload?.scheduler_log?.field_module ?? \"\",\n fieldRef: reqPayload?.scheduler_log?.field_ref ?? \"\",\n\n logAction: reqPayload?.scheduler_log?.log_action ?? \"\",\n logLabel: reqPayload?.scheduler_log?.log_label ?? \"\",\n logStatus: reqPayload?.scheduler_log?.log_status ?? \"\",\n logMessage: reqPayload?.scheduler_log?.log_message ?? \"\",\n\n sourceType: reqPayload?.scheduler_log?.source_type ?? \"\",\n sourceEntityId: reqPayload?.scheduler_log?.source_entity_id ?? \"\",\n sourceEntityLabel: reqPayload?.scheduler_log?.source_entity_label ?? \"\",\n sourceEntityData: reqPayload?.scheduler_log?.source_entity_data ?? \"\",\n\n destinationType: reqPayload?.scheduler_log?.destination_type ?? \"\",\n destinationEntityId: reqPayload?.scheduler_log?.destination_entity_id ?? \"\",\n destinationEntityLabel: reqPayload?.scheduler_log?.destination_entity_label ?? \"\",\n destinationSubmitPayload: reqPayload?.scheduler_log?.destination_submit_payload ?? \"\",\n destinationSubmitResponse: reqPayload?.scheduler_log?.destination_submit_response ?? \"\",\n }\n }\n })\n\n let payload: SchedulerLogCreateProps = {\n data: {\n schedulerTaskId: request.payload.schedulerLog.schedulerTaskId,\n flowType: request.payload.schedulerLog.flowType,\n fieldModule: request.payload.schedulerLog.fieldModule as any,\n fieldRef: request.payload.schedulerLog.fieldRef as any,\n\n logAction: request.payload.schedulerLog.logAction,\n logLabel: request.payload.schedulerLog.logLabel,\n logStatus: request.payload.schedulerLog.logStatus,\n logMesssage: request.payload.schedulerLog.logMessage,\n\n sourceType: request.payload.schedulerLog.sourceType,\n sourceEntityId: request.payload.schedulerLog.sourceEntityId,\n sourceEntityData: request.payload.schedulerLog.sourceEntityData,\n sourceEntityLabel: request.payload.schedulerLog.sourceEntityLabel,\n\n destinationType: request.payload.schedulerLog.destinationType,\n destinationEntityId: request.payload.schedulerLog.destinationEntityId,\n destinationEntityLabel: request.payload.schedulerLog.destinationEntityLabel,\n destinationSubmitPayload: request.payload.schedulerLog.destinationSubmitPayload,\n destinationSubmitResponse: request.payload.schedulerLog.destinationSubmitResponse,\n }\n }\n\n response = {\n [`${getRootName(true)}`]: await schedulerLogService.createSchedulerLog(payload)\n }\n\n sendSuccess(res, response, `Schedule log created successfully`)\n\n } catch (error: any) {\n next(error)\n }\n};\n\n/** scheduler/logs : list scheduler logs */\nexport const listSchedulerLogs = async (req: Request, res: Response, next: NextFunction): Promise<any> => {\n\n try {\n\n const requestQuery = req.query as unknown as QueryList;\n\n const schedulerLogService = SchedulerLogService({\n ...getDefaultServiceProps(req),\n })\n\n const { data, total } = await schedulerLogService.listSchedulerLoges({\n ...requestQuery\n });\n\n let response = {\n [`${getRootName(false)}`]: data,\n total,\n }\n\n return sendSuccess(res, response, \"Retrieved successfully\");\n\n } catch (error: any) {\n next(error)\n }\n};\n\n/** scheduler/logs/delete : delete scheduler logs */\nexport const deleteSchedulerLogs = async (req: Request, res: Response, next: NextFunction): Promise<any> => {\n\n try {\n\n const request = schemaSchedulerLogDeletePayload.parse(req.body)\n\n const schedulerLogService = SchedulerLogService({\n ...getDefaultServiceProps(req),\n })\n\n const payload = {\n schedulerLogIds: request.payload.ids.map(i => BigInt(i))\n }\n\n const data = await schedulerLogService.removeSchedulerLoges(payload);\n\n return sendSuccess(res, data, \"Deleted\", getRootName(false));\n\n } catch (error: any) {\n next(error)\n }\n};\n"]}
|
|
@@ -7,6 +7,7 @@ export { validateRouteAccountGet, validateRouteAccountList, validateRouteAccount
|
|
|
7
7
|
export { validateRouteSubscriptionPlanGet, validateRouteSubscriptionPlanList, validateRouteSubscriptionPlanCreate, validateRouteSubscriptionPlanUpdate, validateRouteSubscriptionPlanDelete } from "./validateSubscriptionPlan";
|
|
8
8
|
export { validateRouteSubscriptionAccountGet, validateRouteSubscriptionAccountList, validateRouteSubscriptionAccountCreate, validateRouteSubscriptionAccountCancel } from "./validateSubscriptionAccount";
|
|
9
9
|
export { validateRouteBusinessGet, validateRouteBusinessList, validateRouteBusinessCreate, validateRouteBusinessUpdate, validateRouteBusinessDelete } from "./validateBusiness";
|
|
10
|
+
export { validateRouteSchedulerLogGet, validateRouteSchedulerLogList, validateRouteSchedulerLogCreate, validateRouteSchedulerLogDelete } from "./validateSchedulerLog";
|
|
10
11
|
export { validateRouteUserBranchGet, validateRouteUserBranchList, validateRouteUserBranchCreate, validateRouteUserBranchUpdate, validateRouteUserBranchDelete } from "./validateUserBranch";
|
|
11
12
|
export { validateRouteDocumentGet, validateRouteDocumentList, validateRouteDocumentCreate, validateRouteDocumentUpdate, validateRouteDocumentDelete } from "./validateDocument";
|
|
12
13
|
export { validateRouteItemGet, validateRouteItemList, validateRouteItemCreate, validateRouteItemUpdate, validateRouteItemDelete } from "./validateItem";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.validateRouteAccessKeyUtilAccountOwner = exports.validateRouteAccessKeyUtilValidate = exports.validateRouteChangePasswordUtilValidate = exports.validateRouteAuthTokenGet = exports.validateRouteInjectionFieldDelete = exports.validateRouteInjectionFieldList = exports.validateRouteRegionDelete = exports.validateRouteRegionCreate = exports.validateRouteRegionList = exports.validateRouteRegionGet = exports.validateRouteLocationDelete = exports.validateRouteLocationUpdate = exports.validateRouteLocationCreate = exports.validateRouteLocationList = exports.validateRouteLocationGet = exports.validateRouteFileDelete = exports.validateRouteFilesUpload = exports.validateRouteFileList = exports.validateRouteFileGet = exports.validateRouteItemDelete = exports.validateRouteItemUpdate = void 0;
|
|
3
|
+
exports.validateRouteDocumentUpdate = exports.validateRouteDocumentCreate = exports.validateRouteDocumentList = exports.validateRouteDocumentGet = exports.validateRouteUserBranchDelete = exports.validateRouteUserBranchUpdate = exports.validateRouteUserBranchCreate = exports.validateRouteUserBranchList = exports.validateRouteUserBranchGet = exports.validateRouteSchedulerLogDelete = exports.validateRouteSchedulerLogCreate = exports.validateRouteSchedulerLogList = exports.validateRouteSchedulerLogGet = exports.validateRouteBusinessDelete = exports.validateRouteBusinessUpdate = exports.validateRouteBusinessCreate = exports.validateRouteBusinessList = exports.validateRouteBusinessGet = exports.validateRouteSubscriptionAccountCancel = exports.validateRouteSubscriptionAccountCreate = exports.validateRouteSubscriptionAccountList = exports.validateRouteSubscriptionAccountGet = exports.validateRouteSubscriptionPlanDelete = exports.validateRouteSubscriptionPlanUpdate = exports.validateRouteSubscriptionPlanCreate = exports.validateRouteSubscriptionPlanList = exports.validateRouteSubscriptionPlanGet = exports.validateRouteAccountDelete = exports.validateRouteAccountUpdate = exports.validateRouteAccountCreate = exports.validateRouteAccountList = exports.validateRouteAccountGet = exports.validateRouteResetPasswordPerform = exports.validateRouteResetPasswordValidateCode = exports.validateRouteResetPasswordRequest = exports.validateRouteOneTimeCodeList = exports.validateRouteOneTimeCodeGet = exports.validateRouteAccessKeyRevoke = exports.validateRouteAccessKeyList = exports.validateRouteAccessKeyCreate = exports.validateRouteAccessKeyGet = exports.validateRouteUserMeDelete = exports.validateRouteUserMeChangePassword = exports.validateRouteUserMeUpdate = exports.validateRouteUserMeGet = exports.validateRouteUserDelete = exports.validateRouteUserUpdate = exports.validateRouteUserCreate = exports.validateRouteUserList = exports.validateRouteUserGet = void 0;
|
|
4
|
+
exports.validateRouteAccessKeyUtilAccountOwner = exports.validateRouteAccessKeyUtilValidate = exports.validateRouteChangePasswordUtilValidate = exports.validateRouteAuthTokenGet = exports.validateRouteInjectionFieldDelete = exports.validateRouteInjectionFieldList = exports.validateRouteRegionDelete = exports.validateRouteRegionCreate = exports.validateRouteRegionList = exports.validateRouteRegionGet = exports.validateRouteLocationDelete = exports.validateRouteLocationUpdate = exports.validateRouteLocationCreate = exports.validateRouteLocationList = exports.validateRouteLocationGet = exports.validateRouteFileDelete = exports.validateRouteFilesUpload = exports.validateRouteFileList = exports.validateRouteFileGet = exports.validateRouteItemDelete = exports.validateRouteItemUpdate = exports.validateRouteItemCreate = exports.validateRouteItemList = exports.validateRouteItemGet = exports.validateRouteDocumentDelete = void 0;
|
|
5
5
|
var validateUser_1 = require("./validateUser");
|
|
6
6
|
Object.defineProperty(exports, "validateRouteUserGet", { enumerable: true, get: function () { return validateUser_1.validateRouteUserGet; } });
|
|
7
7
|
Object.defineProperty(exports, "validateRouteUserList", { enumerable: true, get: function () { return validateUser_1.validateRouteUserList; } });
|
|
@@ -48,6 +48,11 @@ Object.defineProperty(exports, "validateRouteBusinessList", { enumerable: true,
|
|
|
48
48
|
Object.defineProperty(exports, "validateRouteBusinessCreate", { enumerable: true, get: function () { return validateBusiness_1.validateRouteBusinessCreate; } });
|
|
49
49
|
Object.defineProperty(exports, "validateRouteBusinessUpdate", { enumerable: true, get: function () { return validateBusiness_1.validateRouteBusinessUpdate; } });
|
|
50
50
|
Object.defineProperty(exports, "validateRouteBusinessDelete", { enumerable: true, get: function () { return validateBusiness_1.validateRouteBusinessDelete; } });
|
|
51
|
+
var validateSchedulerLog_1 = require("./validateSchedulerLog");
|
|
52
|
+
Object.defineProperty(exports, "validateRouteSchedulerLogGet", { enumerable: true, get: function () { return validateSchedulerLog_1.validateRouteSchedulerLogGet; } });
|
|
53
|
+
Object.defineProperty(exports, "validateRouteSchedulerLogList", { enumerable: true, get: function () { return validateSchedulerLog_1.validateRouteSchedulerLogList; } });
|
|
54
|
+
Object.defineProperty(exports, "validateRouteSchedulerLogCreate", { enumerable: true, get: function () { return validateSchedulerLog_1.validateRouteSchedulerLogCreate; } });
|
|
55
|
+
Object.defineProperty(exports, "validateRouteSchedulerLogDelete", { enumerable: true, get: function () { return validateSchedulerLog_1.validateRouteSchedulerLogDelete; } });
|
|
51
56
|
var validateUserBranch_1 = require("./validateUserBranch");
|
|
52
57
|
Object.defineProperty(exports, "validateRouteUserBranchGet", { enumerable: true, get: function () { return validateUserBranch_1.validateRouteUserBranchGet; } });
|
|
53
58
|
Object.defineProperty(exports, "validateRouteUserBranchList", { enumerable: true, get: function () { return validateUserBranch_1.validateRouteUserBranchList; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/middlewares/route/index.ts"],"names":[],"mappings":";;;;AAAA,+CAAuJ;AAA9I,oHAAA,oBAAoB,OAAA;AAAE,qHAAA,qBAAqB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAC/H,mDAAkJ;AAAzI,wHAAA,sBAAsB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAAE,mIAAA,iCAAiC,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AACxH,yDAAuJ;AAA9I,8HAAA,yBAAyB,OAAA;AAAE,iIAAA,4BAA4B,OAAA;AAAE,+HAAA,0BAA0B,OAAA;AAAE,iIAAA,4BAA4B,OAAA;AAC1H,6DAAiG;AAAxF,kIAAA,2BAA2B,OAAA;AAAE,mIAAA,4BAA4B,OAAA;AAClE,iEAAsJ;AAA7I,0IAAA,iCAAiC,OAAA;AAAE,+IAAA,sCAAsC,OAAA;AAAE,0IAAA,iCAAiC,OAAA;AACrH,qDAA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BAAyB,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AACnJ,mDAAwI;AAA/H,wHAAA,sBAAsB,OAAA;AAAE,yHAAA,uBAAuB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAC9G,mEAA6G;AAApG,yIAAA,+BAA+B,OAAA;AAAE,2IAAA,iCAAiC,OAAA;AAC3E,+CAA0D;AAAjD,yHAAA,yBAAyB,OAAA;AAElC,2EAAsF;AAA7E,qJAAA,uCAAuC,OAAA;AAChD,iEAAoH;AAA3G,2IAAA,kCAAkC,OAAA;AAAE,+IAAA,sCAAsC,OAAA","sourcesContent":["export { validateRouteUserGet, validateRouteUserList, validateRouteUserCreate, validateRouteUserUpdate, validateRouteUserDelete } from \"./validateUser\"\nexport { validateRouteUserMeGet, validateRouteUserMeUpdate, validateRouteUserMeChangePassword, validateRouteUserMeDelete } from \"./validateUserMe\"\nexport { validateRouteAccessKeyGet, validateRouteAccessKeyCreate, validateRouteAccessKeyList, validateRouteAccessKeyRevoke } from \"./validateAccessKey\"\nexport { validateRouteOneTimeCodeGet, validateRouteOneTimeCodeList } from \"./validateOneTimeCode\"\nexport { validateRouteResetPasswordRequest, validateRouteResetPasswordValidateCode, validateRouteResetPasswordPerform } from \"./validateResetPassword\"\nexport { validateRouteAccountGet, validateRouteAccountList, validateRouteAccountCreate, validateRouteAccountUpdate, validateRouteAccountDelete } from \"./validateAccount\"\nexport { validateRouteSubscriptionPlanGet, validateRouteSubscriptionPlanList, validateRouteSubscriptionPlanCreate, validateRouteSubscriptionPlanUpdate, validateRouteSubscriptionPlanDelete } from \"./validateSubscriptionPlan\"\nexport { validateRouteSubscriptionAccountGet, validateRouteSubscriptionAccountList, validateRouteSubscriptionAccountCreate, validateRouteSubscriptionAccountCancel } from \"./validateSubscriptionAccount\"\nexport { validateRouteBusinessGet, validateRouteBusinessList, validateRouteBusinessCreate, validateRouteBusinessUpdate, validateRouteBusinessDelete } from \"./validateBusiness\"\nexport { validateRouteUserBranchGet, validateRouteUserBranchList, validateRouteUserBranchCreate, validateRouteUserBranchUpdate, validateRouteUserBranchDelete } from \"./validateUserBranch\"\nexport { validateRouteDocumentGet, validateRouteDocumentList, validateRouteDocumentCreate, validateRouteDocumentUpdate, validateRouteDocumentDelete } from \"./validateDocument\"\nexport { validateRouteItemGet, validateRouteItemList, validateRouteItemCreate, validateRouteItemUpdate, validateRouteItemDelete } from \"./validateItem\"\nexport { validateRouteFileGet, validateRouteFileList, validateRouteFilesUpload, validateRouteFileDelete } from \"./validateFile\"\nexport { validateRouteLocationGet, validateRouteLocationList, validateRouteLocationCreate, validateRouteLocationUpdate, validateRouteLocationDelete } from \"./validateLocation\"\nexport { validateRouteRegionGet, validateRouteRegionList, validateRouteRegionCreate, validateRouteRegionDelete } from \"./validateRegion\"\nexport { validateRouteInjectionFieldList, validateRouteInjectionFieldDelete } from \"./validateInjectionField\"\nexport { validateRouteAuthTokenGet } from \"./validateAuth\"\n\nexport { validateRouteChangePasswordUtilValidate } from \"./validateChangePasswordUtil\"\nexport { validateRouteAccessKeyUtilValidate, validateRouteAccessKeyUtilAccountOwner } from \"./validateAccessKeyUtil\""]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/middlewares/route/index.ts"],"names":[],"mappings":";;;;AAAA,+CAAuJ;AAA9I,oHAAA,oBAAoB,OAAA;AAAE,qHAAA,qBAAqB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAC/H,mDAAkJ;AAAzI,wHAAA,sBAAsB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAAE,mIAAA,iCAAiC,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AACxH,yDAAuJ;AAA9I,8HAAA,yBAAyB,OAAA;AAAE,iIAAA,4BAA4B,OAAA;AAAE,+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,2BAA2B,OAAA;AACnJ,+CAAuJ;AAA9I,oHAAA,oBAAoB,OAAA;AAAE,qHAAA,qBAAqB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AAC/H,+CAA+H;AAAtH,oHAAA,oBAAoB,OAAA;AAAE,qHAAA,qBAAqB,OAAA;AAAE,wHAAA,wBAAwB,OAAA;AAAE,uHAAA,uBAAuB,OAAA;AACvG,uDAA+K;AAAtK,4HAAA,wBAAwB,OAAA;AAAE,6HAAA,yBAAyB,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AAAE,+HAAA,2BAA2B,OAAA;AACnJ,mDAAwI;AAA/H,wHAAA,sBAAsB,OAAA;AAAE,yHAAA,uBAAuB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAAE,2HAAA,yBAAyB,OAAA;AAC9G,mEAA6G;AAApG,yIAAA,+BAA+B,OAAA;AAAE,2IAAA,iCAAiC,OAAA;AAC3E,+CAA0D;AAAjD,yHAAA,yBAAyB,OAAA;AAElC,2EAAsF;AAA7E,qJAAA,uCAAuC,OAAA;AAChD,iEAAoH;AAA3G,2IAAA,kCAAkC,OAAA;AAAE,+IAAA,sCAAsC,OAAA","sourcesContent":["export { validateRouteUserGet, validateRouteUserList, validateRouteUserCreate, validateRouteUserUpdate, validateRouteUserDelete } from \"./validateUser\"\nexport { validateRouteUserMeGet, validateRouteUserMeUpdate, validateRouteUserMeChangePassword, validateRouteUserMeDelete } from \"./validateUserMe\"\nexport { validateRouteAccessKeyGet, validateRouteAccessKeyCreate, validateRouteAccessKeyList, validateRouteAccessKeyRevoke } from \"./validateAccessKey\"\nexport { validateRouteOneTimeCodeGet, validateRouteOneTimeCodeList } from \"./validateOneTimeCode\"\nexport { validateRouteResetPasswordRequest, validateRouteResetPasswordValidateCode, validateRouteResetPasswordPerform } from \"./validateResetPassword\"\nexport { validateRouteAccountGet, validateRouteAccountList, validateRouteAccountCreate, validateRouteAccountUpdate, validateRouteAccountDelete } from \"./validateAccount\"\nexport { validateRouteSubscriptionPlanGet, validateRouteSubscriptionPlanList, validateRouteSubscriptionPlanCreate, validateRouteSubscriptionPlanUpdate, validateRouteSubscriptionPlanDelete } from \"./validateSubscriptionPlan\"\nexport { validateRouteSubscriptionAccountGet, validateRouteSubscriptionAccountList, validateRouteSubscriptionAccountCreate, validateRouteSubscriptionAccountCancel } from \"./validateSubscriptionAccount\"\nexport { validateRouteBusinessGet, validateRouteBusinessList, validateRouteBusinessCreate, validateRouteBusinessUpdate, validateRouteBusinessDelete } from \"./validateBusiness\"\nexport { validateRouteSchedulerLogGet, validateRouteSchedulerLogList, validateRouteSchedulerLogCreate, validateRouteSchedulerLogDelete } from \"./validateSchedulerLog\"\nexport { validateRouteUserBranchGet, validateRouteUserBranchList, validateRouteUserBranchCreate, validateRouteUserBranchUpdate, validateRouteUserBranchDelete } from \"./validateUserBranch\"\nexport { validateRouteDocumentGet, validateRouteDocumentList, validateRouteDocumentCreate, validateRouteDocumentUpdate, validateRouteDocumentDelete } from \"./validateDocument\"\nexport { validateRouteItemGet, validateRouteItemList, validateRouteItemCreate, validateRouteItemUpdate, validateRouteItemDelete } from \"./validateItem\"\nexport { validateRouteFileGet, validateRouteFileList, validateRouteFilesUpload, validateRouteFileDelete } from \"./validateFile\"\nexport { validateRouteLocationGet, validateRouteLocationList, validateRouteLocationCreate, validateRouteLocationUpdate, validateRouteLocationDelete } from \"./validateLocation\"\nexport { validateRouteRegionGet, validateRouteRegionList, validateRouteRegionCreate, validateRouteRegionDelete } from \"./validateRegion\"\nexport { validateRouteInjectionFieldList, validateRouteInjectionFieldDelete } from \"./validateInjectionField\"\nexport { validateRouteAuthTokenGet } from \"./validateAuth\"\n\nexport { validateRouteChangePasswordUtilValidate } from \"./validateChangePasswordUtil\"\nexport { validateRouteAccessKeyUtilValidate, validateRouteAccessKeyUtilAccountOwner } from \"./validateAccessKeyUtil\""]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Request, Response, NextFunction } from "express";
|
|
2
|
+
export declare const validateRouteSchedulerLogGet: (req: Request, res: Response, next: NextFunction) => void;
|
|
3
|
+
export declare const validateRouteSchedulerLogList: (req: Request, res: Response, next: NextFunction) => void;
|
|
4
|
+
export declare const validateRouteSchedulerLogCreate: (req: Request, res: Response, next: NextFunction) => void;
|
|
5
|
+
export declare const validateRouteSchedulerLogDelete: (req: Request, res: Response, next: NextFunction) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateRouteSchedulerLogDelete = exports.validateRouteSchedulerLogCreate = exports.validateRouteSchedulerLogList = exports.validateRouteSchedulerLogGet = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
const route_1 = require("../../schema/middleware/route");
|
|
6
|
+
const common_1 = require("../../schema/common");
|
|
7
|
+
exports.validateRouteSchedulerLogGet = (0, utils_1.validateMultipleSchemas)([
|
|
8
|
+
[common_1.schemaQueryGet, "query"]
|
|
9
|
+
]);
|
|
10
|
+
exports.validateRouteSchedulerLogList = (0, utils_1.validateMultipleSchemas)([
|
|
11
|
+
[route_1.schemaRouteSchedulerLogList, "params"],
|
|
12
|
+
[common_1.schemaQueryList, "query"]
|
|
13
|
+
]);
|
|
14
|
+
const validateRouteSchedulerLogCreate = (req, res, next) => {
|
|
15
|
+
next();
|
|
16
|
+
};
|
|
17
|
+
exports.validateRouteSchedulerLogCreate = validateRouteSchedulerLogCreate;
|
|
18
|
+
const validateRouteSchedulerLogDelete = (req, res, next) => next();
|
|
19
|
+
exports.validateRouteSchedulerLogDelete = validateRouteSchedulerLogDelete;
|
|
20
|
+
//# sourceMappingURL=validateSchedulerLog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateSchedulerLog.js","sourceRoot":"","sources":["../../../src/middlewares/route/validateSchedulerLog.ts"],"names":[],"mappings":";;;AAOA,mCAA0E;AAC1E,qDAAwE;AAExE,4CAAkE;AAErD,QAAA,4BAA4B,GAAG,IAAA,+BAAuB,EAAC;IAChE,CAAC,uBAAc,EAAE,OAAO,CAAC;CAC5B,CAAC,CAAA;AAEW,QAAA,6BAA6B,GAAG,IAAA,+BAAuB,EAAC;IACjE,CAAC,mCAA2B,EAAE,QAAQ,CAAC;IACvC,CAAC,wBAAe,EAAE,OAAO,CAAC;CAC7B,CAAC,CAAA;AAEK,MAAM,+BAA+B,GAAG,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;IAC/F,IAAI,EAAE,CAAC;AACX,CAAC,CAAC;AAFW,QAAA,+BAA+B,mCAE1C;AAEK,MAAM,+BAA+B,GAAG,CAAC,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;AAA7F,QAAA,+BAA+B,mCAA8D","sourcesContent":["\nimport {\n Request,\n Response,\n NextFunction\n} from \"express\";\n\nimport { validateMultipleSchemas, HTTP_STATUS, sendError } from \"@/utils\";\nimport { schemaRouteSchedulerLogList } from \"@/schema/middleware/route\";\n\nimport { schemaQueryList, schemaQueryGet } from \"@/schema/common\";\n\nexport const validateRouteSchedulerLogGet = validateMultipleSchemas([\n [schemaQueryGet, \"query\"]\n])\n\nexport const validateRouteSchedulerLogList = validateMultipleSchemas([\n [schemaRouteSchedulerLogList, \"params\"],\n [schemaQueryList, \"query\"]\n])\n\nexport const validateRouteSchedulerLogCreate = (req: Request, res: Response, next: NextFunction) => {\n next();\n};\n\nexport const validateRouteSchedulerLogDelete = (req: Request, res: Response, next: NextFunction) => next()"]}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -92,3 +92,5 @@ export { NumberDateSequenceModel, ModelNumberDateSequenceFields } from "./others
|
|
|
92
92
|
export type { ModelNumberDateSequence, ModelNumberDateSequenceCreateProps, ModelNumberDateSequenceGetProps, ModelNumberDateSequenceListProps } from "./others/NumberDateSequenceModel";
|
|
93
93
|
export { OneTimeCodeModel, ModelOneTimeCodeFields } from "./others/OneTimeCodeModel";
|
|
94
94
|
export type { ModelOneTimeCode, ModelOneTimeCodeCreateProps, ModelOneTimeCodeGetProps, ModelOneTimeCodeListProps } from "./others/OneTimeCodeModel";
|
|
95
|
+
export { SchedulerLogModel, ModelSchedulerLogFields } from "./scheduler/SchedulerLogModel";
|
|
96
|
+
export type { ModelSchedulerLog, ModelSchedulerLogCreateProps, ModelSchedulerLogGetProps, ModelSchedulerLogRemoveProps, ModelSchedulerLogListProps } from "./scheduler/SchedulerLogModel";
|
package/dist/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ModelUserInjectionFieldFields = exports.UserInjectionFieldModel = exports.ModelInjectionFieldFields = exports.InjectionFieldModel = exports.ModelLocationSlotFields = exports.LocationSlotModel = exports.ModelLocationRackFields = exports.LocationRackModel = exports.ModelLocationFields = exports.LocationModel = exports.ModelFileFields = exports.FileModel = exports.ModelGroupOwnerFields = exports.GroupOwnerModel = exports.ModelGroupFields = exports.GroupModel = exports.ModelBranchUserFields = exports.BranchUserModel = exports.ModelUserBranchFields = exports.UserBranchModel = exports.ModelAccountSubscribeFields = exports.AccountSubscribeModel = exports.ModelSubscribePlanFields = exports.SubscribePlanModel = exports.ModelAccountFields = exports.AccountModel = exports.ModelBusinessFields = exports.BusinessModel = exports.ModelAccessKeyFields = exports.AccessKeyModel = exports.ModelAgentFields = exports.AgentModel = exports.ModelMemberFields = exports.MemberModel = exports.ModelDriverFields = exports.DriverModel = exports.ModelWorkerFields = exports.WorkerModel = exports.ModelOperatorFields = exports.OperatorModel = exports.ModelAdministratorFields = exports.AdministratorModel = exports.ModelRetailerFields = exports.RetailerModel = exports.ModelCustomerFields = exports.CustomerModel = exports.ModelUserPropFields = exports.UserPropModel = exports.ModelUserFields = exports.UserModel = void 0;
|
|
4
|
-
exports.ModelOneTimeCodeFields = exports.OneTimeCodeModel = exports.ModelNumberDateSequenceFields = exports.NumberDateSequenceModel = exports.ModelDocumentDocumentFields = exports.DocumentDocumentModel = exports.ModelDocumentItemFields = exports.DocumentItemModel = exports.ModelDocumentPaymentFields = exports.DocumentPaymentModel = exports.ModelDocumentLocationFields = exports.DocumentLocationModel = exports.ModelDocumentAmountFields = exports.DocumentAmountModel = exports.ModelDocumentProfileFields = exports.DocumentProfileModel = exports.ModelDocumentTotalFields = exports.DocumentTotalModel = exports.ModelDocumentFields = exports.DocumentModel = exports.ModelCategoryFields = exports.CategoryModel = exports.ModelUomFields = exports.UomModel = exports.ModelBrandFields = exports.BrandModel = exports.ModelItemFields = exports.ItemModel = exports.ModelProductFields = exports.ProductModel = exports.ModelAreaFields = exports.AreaModel = exports.ModelStateFields = exports.StateModel = exports.ModelCountryFields = exports.CountryModel = exports.ModelItemInjectionFieldFields = exports.ItemInjectionFieldModel = exports.ModelLogisticInjectionFieldFields = exports.LogisticInjectionFieldModel = exports.ModelRepositoryInjectionFieldFields = exports.RepositoryInjectionFieldModel = exports.ModelDocumentInjectionFieldFields = exports.DocumentInjectionFieldModel = void 0;
|
|
4
|
+
exports.ModelSchedulerLogFields = exports.SchedulerLogModel = exports.ModelOneTimeCodeFields = exports.OneTimeCodeModel = exports.ModelNumberDateSequenceFields = exports.NumberDateSequenceModel = exports.ModelDocumentDocumentFields = exports.DocumentDocumentModel = exports.ModelDocumentItemFields = exports.DocumentItemModel = exports.ModelDocumentPaymentFields = exports.DocumentPaymentModel = exports.ModelDocumentLocationFields = exports.DocumentLocationModel = exports.ModelDocumentAmountFields = exports.DocumentAmountModel = exports.ModelDocumentProfileFields = exports.DocumentProfileModel = exports.ModelDocumentTotalFields = exports.DocumentTotalModel = exports.ModelDocumentFields = exports.DocumentModel = exports.ModelCategoryFields = exports.CategoryModel = exports.ModelUomFields = exports.UomModel = exports.ModelBrandFields = exports.BrandModel = exports.ModelItemFields = exports.ItemModel = exports.ModelProductFields = exports.ProductModel = exports.ModelAreaFields = exports.AreaModel = exports.ModelStateFields = exports.StateModel = exports.ModelCountryFields = exports.CountryModel = exports.ModelItemInjectionFieldFields = exports.ItemInjectionFieldModel = exports.ModelLogisticInjectionFieldFields = exports.LogisticInjectionFieldModel = exports.ModelRepositoryInjectionFieldFields = exports.RepositoryInjectionFieldModel = exports.ModelDocumentInjectionFieldFields = exports.DocumentInjectionFieldModel = void 0;
|
|
5
5
|
var UserModel_1 = require("./user/UserModel");
|
|
6
6
|
Object.defineProperty(exports, "UserModel", { enumerable: true, get: function () { return UserModel_1.UserModel; } });
|
|
7
7
|
Object.defineProperty(exports, "ModelUserFields", { enumerable: true, get: function () { return UserModel_1.ModelUserFields; } });
|
|
@@ -146,4 +146,7 @@ Object.defineProperty(exports, "ModelNumberDateSequenceFields", { enumerable: tr
|
|
|
146
146
|
var OneTimeCodeModel_1 = require("./others/OneTimeCodeModel");
|
|
147
147
|
Object.defineProperty(exports, "OneTimeCodeModel", { enumerable: true, get: function () { return OneTimeCodeModel_1.OneTimeCodeModel; } });
|
|
148
148
|
Object.defineProperty(exports, "ModelOneTimeCodeFields", { enumerable: true, get: function () { return OneTimeCodeModel_1.ModelOneTimeCodeFields; } });
|
|
149
|
+
var SchedulerLogModel_1 = require("./scheduler/SchedulerLogModel");
|
|
150
|
+
Object.defineProperty(exports, "SchedulerLogModel", { enumerable: true, get: function () { return SchedulerLogModel_1.SchedulerLogModel; } });
|
|
151
|
+
Object.defineProperty(exports, "ModelSchedulerLogFields", { enumerable: true, get: function () { return SchedulerLogModel_1.ModelSchedulerLogFields; } });
|
|
149
152
|
//# sourceMappingURL=index.js.map
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;AAAA,8CAA6D;AAApD,sGAAA,SAAS,OAAA;AAAE,4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A;AACjC,sDAAyE;AAAhE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAO3C,0DAA6E;AAApE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAC3C,wGAAwG;AACxG,oEAA4F;AAAnF,wHAAA,kBAAkB,OAAA;AAAE,8HAAA,wBAAwB,OAAA;AACrD,wEAAkG;AAAzF,4HAAA,oBAAoB,OAAA;AAAE,kIAAA,0BAA0B,OAAA;AACzD,sEAA+F;AAAtF,0HAAA,mBAAmB,OAAA;AAAE,gIAAA,yBAAyB,OAAA;AACvD,0EAAqG;AAA5F,8HAAA,qBAAqB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAC3D,4FAA4F;AAC5F,wEAAkG;AAAzF,4HAAA,oBAAoB,OAAA;AAAE,kIAAA,0BAA0B,OAAA;AACzD,kEAAyF;AAAhF,sHAAA,iBAAiB,OAAA;AAAE,4HAAA,uBAAuB,OAAA;AACnD,0EAAqG;AAA5F,8HAAA,qBAAqB,OAAA;AAAE,oIAAA,2BAA2B,OAAA;AAY3D,4EAAyG;AAAhG,kIAAA,uBAAuB,OAAA;AAAE,wIAAA,6BAA6B,OAAA;AAE/D,8DAAoF;AAA3E,oHAAA,gBAAgB,OAAA;AAAE,0HAAA,sBAAsB,OAAA","sourcesContent":["export { UserModel, ModelUserFields } from \"./user/UserModel\"\n// export { UserStatusModel, ModelUserStatusFields } from \"./user/UserStatusModel\"\nexport { UserPropModel, ModelUserPropFields } from \"./user/UserPropModel\"\nexport { CustomerModel, ModelCustomerFields } from \"./user/CustomerModel\"\nexport { RetailerModel, ModelRetailerFields } from \"./user/RetailerModel\"\nexport { AdministratorModel, ModelAdministratorFields } from \"./user/AdministratorModel\"\nexport { OperatorModel, ModelOperatorFields } from \"./user/OperatorModel\"\nexport { WorkerModel, ModelWorkerFields } from \"./user/WorkerModel\"\nexport { DriverModel, ModelDriverFields } from \"./user/DriverModel\"\nexport { MemberModel, ModelMemberFields } from \"./user/MemberModel\"\nexport { AgentModel, ModelAgentFields } from \"./user/AgentModel\"\nexport type { ModelUser, ModelUserCreateProps, ModelUserGetProps, ModelUserListProps } from \"./user/UserModel\";\n// export type { ModelUserStatus, ModelUserStatusCreateProps, ModelUserStatusGetProps, ModelUserStatusListProps } from \"./user/UserStatusModel\";\nexport type { ModelUserProp, ModelUserPropCreateProps, ModelUserPropGetProps, ModelUserPropListProps } from \"./user/UserPropModel\";\nexport type { ModelCustomer, ModelCustomerCreateProps, ModelCustomerGetProps, ModelCustomerListProps } from \"./user/CustomerModel\";\nexport type { ModelRetailer, ModelRetailerCreateProps, ModelRetailerGetProps, ModelRetailerListProps } from \"./user/RetailerModel\";\nexport type { ModelAdministrator, ModelAdministratorCreateProps, ModelAdministratorGetProps, ModelAdministratorListProps } from \"./user/AdministratorModel\";\nexport type { ModelOperator, ModelOperatorCreateProps, ModelOperatorGetProps, ModelOperatorListProps } from \"./user/OperatorModel\";\nexport type { ModelWorker, ModelWorkerCreateProps, ModelWorkerGetProps, ModelWorkerListProps } from \"./user/WorkerModel\";\nexport type { ModelDriver, ModelDriverCreateProps, ModelDriverGetProps, ModelDriverListProps } from \"./user/DriverModel\";\nexport type { ModelMember, ModelMemberCreateProps, ModelMemberGetProps, ModelMemberListProps } from \"./user/MemberModel\";\nexport type { ModelAgent, ModelAgentCreateProps, ModelAgentGetProps, ModelAgentListProps } from \"./user/AgentModel\";\n\nexport { AccessKeyModel, ModelAccessKeyFields } from \"./auth/AccessKeyModel\"\nexport type { ModelAccessKey, ModelAccessKeyCreateProps, ModelAccessKeyGetProps, ModelAccessKeyListProps } from \"./auth/AccessKeyModel\";\n\nexport { BusinessModel, ModelBusinessFields } from \"./business/BusinessModel\"\nexport type { ModelBusiness, ModelBusinessCreateProps, ModelBusinessGetProps, ModelBusinessListProps } from \"./business/BusinessModel\";\nexport { AccountModel, ModelAccountFields } from \"./account/AccountModel\"\nexport type { ModelAccount, ModelAccountCreateProps, ModelAccountGetProps, ModelAccountListProps } from \"./account/AccountModel\";\n\nexport { SubscribePlanModel, ModelSubscribePlanFields } from \"./subscription/plan/SubscribePlanModel\"\nexport type { ModelSubscribePlan, ModelSubscribePlanCreateProps, ModelSubscribePlanGetProps, ModelSubscribePlanListProps } from \"./subscription/plan/SubscribePlanModel\";\nexport { AccountSubscribeModel, ModelAccountSubscribeFields } from \"./subscription/account/AccountSubscribeModel\"\nexport type { ModelAccountSubscribe, ModelAccountSubscribeCreateProps, ModelAccountSubscribeGetProps, ModelAccountSubscribeListProps } from \"./subscription/account/AccountSubscribeModel\";\n\nexport { UserBranchModel, ModelUserBranchFields } from \"./branch/UserBranchModel\"\nexport { BranchUserModel, ModelBranchUserFields } from \"./branch_user/BranchUserModel\"\nexport type { ModelUserBranch, ModelUserBranchCreateProps, ModelUserBranchGetProps, ModelUserBranchListProps } from \"./branch/UserBranchModel\";\nexport type { ModelBranchUser, ModelBranchUserCreateProps, ModelBranchUserGetProps, ModelBranchUserListProps } from \"./branch_user/BranchUserModel\";\n\nexport { GroupModel, ModelGroupFields } from \"./group/GroupModel\"\nexport { GroupOwnerModel, ModelGroupOwnerFields } from \"./group/GroupOwnerModel\"\nexport type { ModelGroup, ModelGroupCreateProps, ModelGroupGetProps, ModelGroupListProps } from \"./group/GroupModel\";\nexport type { ModelGroupOwner, ModelGroupOwnerCreateProps, ModelGroupOwnerGetProps, ModelGroupOwnerListProps } from \"./group/GroupOwnerModel\";\n\nexport { FileModel, ModelFileFields } from \"./file/FileModel\"\nexport type { ModelFile, ModelFileCreateProps, ModelFileGetProps, ModelFileListProps } from \"./file/FileModel\";\n\nexport { LocationModel, ModelLocationFields } from \"./location/LocationModel\"\nexport { LocationRackModel, ModelLocationRackFields } from \"./location/LocationRackModel\"\nexport { LocationSlotModel, ModelLocationSlotFields } from \"./location/LocationSlotModel\"\nexport type { ModelLocation, ModelLocationCreateProps, ModelLocationGetProps, ModelLocationListProps } from \"./location/LocationModel\";\nexport type { ModelLocationRack, ModelLocationRackCreateProps, ModelLocationRackGetProps, ModelLocationRackListProps } from \"./location/LocationRackModel\";\nexport type { ModelLocationSlot, ModelLocationSlotCreateProps, ModelLocationSlotGetProps, ModelLocationSlotListProps } from \"./location/LocationSlotModel\";\n\nexport { InjectionFieldModel, ModelInjectionFieldFields } from \"./injection_field/InjectionFieldModel\"\nexport { UserInjectionFieldModel, ModelUserInjectionFieldFields } from \"./injection_field/UserInjectionFieldModel\"\nexport { DocumentInjectionFieldModel, ModelDocumentInjectionFieldFields } from \"./injection_field/DocumentInjectionFieldModel\"\nexport { RepositoryInjectionFieldModel, ModelRepositoryInjectionFieldFields } from \"./injection_field/RepositoryInjectionFieldModel\"\nexport { LogisticInjectionFieldModel, ModelLogisticInjectionFieldFields } from \"./injection_field/LogisticInjectionFieldModel\"\nexport { ItemInjectionFieldModel, ModelItemInjectionFieldFields } from \"./injection_field/ItemInjectionFieldModel\"\nexport type { InjectionFieldTargetTableName } from \"./injection_field/InjectionFieldModel\"\nexport type { ModelUserInjectionField, ModelUserInjectionFieldCreateProps, ModelUserInjectionFieldGetProps, ModelUserInjectionFieldListProps } from \"./injection_field/UserInjectionFieldModel\";\nexport type { ModelDocumentInjectionField, ModelDocumentInjectionFieldCreateProps, ModelDocumentInjectionFieldGetProps, ModelDocumentInjectionFieldListProps } from \"./injection_field/DocumentInjectionFieldModel\";\nexport type { ModelRepositoryInjectionField, ModelRepositoryInjectionFieldCreateProps, ModelRepositoryInjectionFieldGetProps, ModelRepositoryInjectionFieldListProps } from \"./injection_field/RepositoryInjectionFieldModel\";\nexport type { ModelLogisticInjectionField, ModelLogisticInjectionFieldCreateProps, ModelLogisticInjectionFieldGetProps, ModelLogisticInjectionFieldListProps } from \"./injection_field/LogisticInjectionFieldModel\";\nexport type { ModelItemInjectionField, ModelItemInjectionFieldCreateProps, ModelItemInjectionFieldGetProps, ModelItemInjectionFieldListProps } from \"./injection_field/ItemInjectionFieldModel\";\n\nexport { CountryModel, ModelCountryFields } from \"./region/CountryModel\"\nexport { StateModel, ModelStateFields } from \"./region/StateModel\"\nexport { AreaModel, ModelAreaFields } from \"./region/AreaModel\"\nexport type { ModelCountry, ModelCountryCreateProps, ModelCountryGetProps, ModelCountryListProps } from \"./region/CountryModel\";\nexport type { ModelState, ModelStateCreateProps, ModelStateGetProps, ModelStateListProps } from \"./region/StateModel\";\nexport type { ModelArea, ModelAreaCreateProps, ModelAreaGetProps, ModelAreaListProps } from \"./region/AreaModel\";\n\nexport { ProductModel, ModelProductFields } from \"./item/ProductModel\"\nexport { ItemModel, ModelItemFields } from \"./item/ItemModel\"\nexport { BrandModel, ModelBrandFields } from \"./item/BrandModel\"\nexport { UomModel, ModelUomFields } from \"./item/UomModel\"\nexport { CategoryModel, ModelCategoryFields } from \"./item/CategoryModel\"\nexport type { ModelProduct, ModelProductCreateProps, ModelProductGetProps, ModelProductListProps } from \"./item/ProductModel\";\nexport type { ModelItem, ModelItemCreateProps, ModelItemGetProps, ModelItemListProps } from \"./item/ItemModel\";\nexport type { ModelBrand, ModelBrandCreateProps, ModelBrandGetProps, ModelBrandListProps } from \"./item/BrandModel\";\nexport type { ModelUom, ModelUomCreateProps, ModelUomGetProps, ModelUomListProps } from \"./item/UomModel\";\nexport type { ModelCategory, ModelCategoryCreateProps, ModelCategoryGetProps, ModelCategoryListProps } from \"./item/CategoryModel\";\n\nexport { DocumentModel, ModelDocumentFields } from \"./document/DocumentModel\"\n// export { DocumentNumberModel, ModelDocumentNumberFields } from \"./document/DocumentNumberModel_unuse\"\nexport { DocumentTotalModel, ModelDocumentTotalFields } from \"./document/DocumentTotalModel\"\nexport { DocumentProfileModel, ModelDocumentProfileFields } from \"./document/DocumentProfileModel\"\nexport { DocumentAmountModel, ModelDocumentAmountFields } from \"./document/DocumentAmountModel\"\nexport { DocumentLocationModel, ModelDocumentLocationFields } from \"./document/DocumentLocationModel\"\n// export { DocumentPropModel, ModelDocumentPropFields } from \"./document/DocumentPropModel\"\nexport { DocumentPaymentModel, ModelDocumentPaymentFields } from \"./document/DocumentPaymentModel\"\nexport { DocumentItemModel, ModelDocumentItemFields } from \"./document/DocumentItemModel\"\nexport { DocumentDocumentModel, ModelDocumentDocumentFields } from \"./document/DocumentDocumentModel\"\nexport type { ModelDocument, ModelDocumentCreateProps, ModelDocumentGetProps, ModelDocumentListProps } from \"./document/DocumentModel\";\nexport type { ModelDocumentProfile, ModelDocumentProfileCreateProps, ModelDocumentProfileGetProps, ModelDocumentProfileListProps } from \"./document/DocumentProfileModel\";\nexport type { ModelDocumentAmount, ModelDocumentAmountCreateProps, ModelDocumentAmountGetProps, ModelDocumentAmountListProps } from \"./document/DocumentAmountModel\";\n// export type { ModelDocumentNumber, ModelDocumentNumberCreateProps, ModelDocumentNumberGetProps, ModelDocumentNumberListProps } from \"./document/DocumentNumberModel_unuse\";\nexport type { ModelDocumentLocation, ModelDocumentLocationCreateProps, ModelDocumentLocationGetProps, ModelDocumentLocationListProps } from \"./document/DocumentLocationModel\";\n// export type { ModelDocumentProp, ModelDocumentPropCreateProps, ModelDocumentPropGetProps, ModelDocumentPropListProps } from \"./document/DocumentPropModel\";\nexport type { ModelDocumentPayment, ModelDocumentPaymentCreateProps, ModelDocumentPaymentGetProps, ModelDocumentPaymentListProps } from \"./document/DocumentPaymentModel\";\nexport type { ModelDocumentTotal, ModelDocumentTotalCreateProps, ModelDocumentTotalGetProps, ModelDocumentTotalListProps } from \"./document/DocumentTotalModel\";\nexport type { ModelDocumentItem, ModelDocumentItemCreateProps, ModelDocumentItemGetProps, ModelDocumentItemListProps } from \"./document/DocumentItemModel\";\nexport type { ModelDocumentDocument, ModelDocumentDocumentCreateProps, ModelDocumentDocumentGetProps, ModelDocumentDocumentListProps } from \"./document/DocumentDocumentModel\";\n\nexport { NumberDateSequenceModel, ModelNumberDateSequenceFields } from \"./others/NumberDateSequenceModel\"\nexport type { ModelNumberDateSequence, ModelNumberDateSequenceCreateProps, ModelNumberDateSequenceGetProps, ModelNumberDateSequenceListProps } from \"./others/NumberDateSequenceModel\";\nexport { OneTimeCodeModel, ModelOneTimeCodeFields } from \"./others/OneTimeCodeModel\"\nexport type { ModelOneTimeCode, ModelOneTimeCodeCreateProps, ModelOneTimeCodeGetProps, ModelOneTimeCodeListProps } from \"./others/OneTimeCodeModel\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;AAAA,8CAA6D;AAApD,sGAAA,SAAS,OAAA;AAAE,4GAAA,eAAe,OAAA;AACnC,kFAAkF;AAClF,sDAAyE;AAAhE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAC3C,sDAAyE;AAAhE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAC3C,sDAAyE;AAAhE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAC3C,gEAAwF;AAA/E,wHAAA,kBAAkB,OAAA;AAAE,8HAAA,wBAAwB,OAAA;AACrD,sDAAyE;AAAhE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAC3C,kDAAmE;AAA1D,0GAAA,WAAW,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AACvC,kDAAmE;AAA1D,0GAAA,WAAW,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AACvC,kDAAmE;AAA1D,0GAAA,WAAW,OAAA;AAAE,gHAAA,iBAAiB,OAAA;AACvC,gDAAgE;AAAvD,wGAAA,UAAU,OAAA;AAAE,8GAAA,gBAAgB,OAAA;AAarC,wDAA4E;AAAnE,gHAAA,cAAc,OAAA;AAAE,sHAAA,oBAAoB,OAAA;AAG7C,0DAA6E;AAApE,8GAAA,aAAa,OAAA;AAAE,oHAAA,mBAAmB,OAAA;AAE3C,uDAAyE;AAAhE,4GAAA,YAAY,OAAA;AAAE,kHAAA,kBAAkB,OAAA;AAGzC,6EAAqG;AAA5F,wHAAA,kBAAkB,OAAA;AAAE,8HAAA,wBAAwB,OAAA;AAErD,sFA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elUserStatusFields } from \"./user/UserStatusModel\"\nexport { UserPropModel, ModelUserPropFields } from \"./user/UserPropModel\"\nexport { CustomerModel, ModelCustomerFields } from \"./user/CustomerModel\"\nexport { RetailerModel, ModelRetailerFields } from \"./user/RetailerModel\"\nexport { AdministratorModel, ModelAdministratorFields } from \"./user/AdministratorModel\"\nexport { OperatorModel, ModelOperatorFields } from \"./user/OperatorModel\"\nexport { WorkerModel, ModelWorkerFields } from \"./user/WorkerModel\"\nexport { DriverModel, ModelDriverFields } from \"./user/DriverModel\"\nexport { MemberModel, ModelMemberFields } from \"./user/MemberModel\"\nexport { AgentModel, ModelAgentFields } from \"./user/AgentModel\"\nexport type { ModelUser, ModelUserCreateProps, ModelUserGetProps, ModelUserListProps } from \"./user/UserModel\";\n// export type { ModelUserStatus, ModelUserStatusCreateProps, ModelUserStatusGetProps, ModelUserStatusListProps } from \"./user/UserStatusModel\";\nexport type { ModelUserProp, ModelUserPropCreateProps, ModelUserPropGetProps, ModelUserPropListProps } from \"./user/UserPropModel\";\nexport type { ModelCustomer, ModelCustomerCreateProps, ModelCustomerGetProps, ModelCustomerListProps } from \"./user/CustomerModel\";\nexport type { ModelRetailer, ModelRetailerCreateProps, ModelRetailerGetProps, ModelRetailerListProps } from \"./user/RetailerModel\";\nexport type { ModelAdministrator, ModelAdministratorCreateProps, ModelAdministratorGetProps, ModelAdministratorListProps } from \"./user/AdministratorModel\";\nexport type { ModelOperator, ModelOperatorCreateProps, ModelOperatorGetProps, ModelOperatorListProps } from \"./user/OperatorModel\";\nexport type { ModelWorker, ModelWorkerCreateProps, ModelWorkerGetProps, ModelWorkerListProps } from \"./user/WorkerModel\";\nexport type { ModelDriver, ModelDriverCreateProps, ModelDriverGetProps, ModelDriverListProps } from \"./user/DriverModel\";\nexport type { ModelMember, ModelMemberCreateProps, ModelMemberGetProps, ModelMemberListProps } from \"./user/MemberModel\";\nexport type { ModelAgent, ModelAgentCreateProps, ModelAgentGetProps, ModelAgentListProps } from \"./user/AgentModel\";\n\nexport { AccessKeyModel, ModelAccessKeyFields } from \"./auth/AccessKeyModel\"\nexport type { ModelAccessKey, ModelAccessKeyCreateProps, ModelAccessKeyGetProps, ModelAccessKeyListProps } from \"./auth/AccessKeyModel\";\n\nexport { BusinessModel, ModelBusinessFields } from \"./business/BusinessModel\"\nexport type { ModelBusiness, ModelBusinessCreateProps, ModelBusinessGetProps, ModelBusinessListProps } from \"./business/BusinessModel\";\nexport { AccountModel, ModelAccountFields } from \"./account/AccountModel\"\nexport type { ModelAccount, ModelAccountCreateProps, ModelAccountGetProps, ModelAccountListProps } from \"./account/AccountModel\";\n\nexport { SubscribePlanModel, ModelSubscribePlanFields } from \"./subscription/plan/SubscribePlanModel\"\nexport type { ModelSubscribePlan, ModelSubscribePlanCreateProps, ModelSubscribePlanGetProps, ModelSubscribePlanListProps } from \"./subscription/plan/SubscribePlanModel\";\nexport { AccountSubscribeModel, ModelAccountSubscribeFields } from \"./subscription/account/AccountSubscribeModel\"\nexport type { ModelAccountSubscribe, ModelAccountSubscribeCreateProps, ModelAccountSubscribeGetProps, ModelAccountSubscribeListProps } from \"./subscription/account/AccountSubscribeModel\";\n\nexport { UserBranchModel, ModelUserBranchFields } from \"./branch/UserBranchModel\"\nexport { BranchUserModel, ModelBranchUserFields } from \"./branch_user/BranchUserModel\"\nexport type { ModelUserBranch, ModelUserBranchCreateProps, ModelUserBranchGetProps, ModelUserBranchListProps } from \"./branch/UserBranchModel\";\nexport type { ModelBranchUser, ModelBranchUserCreateProps, ModelBranchUserGetProps, ModelBranchUserListProps } from \"./branch_user/BranchUserModel\";\n\nexport { GroupModel, ModelGroupFields } from \"./group/GroupModel\"\nexport { GroupOwnerModel, ModelGroupOwnerFields } from \"./group/GroupOwnerModel\"\nexport type { ModelGroup, ModelGroupCreateProps, ModelGroupGetProps, ModelGroupListProps } from \"./group/GroupModel\";\nexport type { ModelGroupOwner, ModelGroupOwnerCreateProps, ModelGroupOwnerGetProps, ModelGroupOwnerListProps } from \"./group/GroupOwnerModel\";\n\nexport { FileModel, ModelFileFields } from \"./file/FileModel\"\nexport type { ModelFile, ModelFileCreateProps, ModelFileGetProps, ModelFileListProps } from \"./file/FileModel\";\n\nexport { LocationModel, ModelLocationFields } from \"./location/LocationModel\"\nexport { LocationRackModel, ModelLocationRackFields } from \"./location/LocationRackModel\"\nexport { LocationSlotModel, ModelLocationSlotFields } from \"./location/LocationSlotModel\"\nexport type { ModelLocation, ModelLocationCreateProps, ModelLocationGetProps, ModelLocationListProps } from \"./location/LocationModel\";\nexport type { ModelLocationRack, ModelLocationRackCreateProps, ModelLocationRackGetProps, ModelLocationRackListProps } from \"./location/LocationRackModel\";\nexport type { ModelLocationSlot, ModelLocationSlotCreateProps, ModelLocationSlotGetProps, ModelLocationSlotListProps } from \"./location/LocationSlotModel\";\n\nexport { InjectionFieldModel, ModelInjectionFieldFields } from \"./injection_field/InjectionFieldModel\"\nexport { UserInjectionFieldModel, ModelUserInjectionFieldFields } from \"./injection_field/UserInjectionFieldModel\"\nexport { DocumentInjectionFieldModel, ModelDocumentInjectionFieldFields } from \"./injection_field/DocumentInjectionFieldModel\"\nexport { RepositoryInjectionFieldModel, ModelRepositoryInjectionFieldFields } from \"./injection_field/RepositoryInjectionFieldModel\"\nexport { LogisticInjectionFieldModel, ModelLogisticInjectionFieldFields } from \"./injection_field/LogisticInjectionFieldModel\"\nexport { ItemInjectionFieldModel, ModelItemInjectionFieldFields } from \"./injection_field/ItemInjectionFieldModel\"\nexport type { InjectionFieldTargetTableName } from \"./injection_field/InjectionFieldModel\"\nexport type { ModelUserInjectionField, ModelUserInjectionFieldCreateProps, ModelUserInjectionFieldGetProps, ModelUserInjectionFieldListProps } from \"./injection_field/UserInjectionFieldModel\";\nexport type { ModelDocumentInjectionField, ModelDocumentInjectionFieldCreateProps, ModelDocumentInjectionFieldGetProps, ModelDocumentInjectionFieldListProps } from \"./injection_field/DocumentInjectionFieldModel\";\nexport type { ModelRepositoryInjectionField, ModelRepositoryInjectionFieldCreateProps, ModelRepositoryInjectionFieldGetProps, ModelRepositoryInjectionFieldListProps } from \"./injection_field/RepositoryInjectionFieldModel\";\nexport type { ModelLogisticInjectionField, ModelLogisticInjectionFieldCreateProps, ModelLogisticInjectionFieldGetProps, ModelLogisticInjectionFieldListProps } from \"./injection_field/LogisticInjectionFieldModel\";\nexport type { ModelItemInjectionField, ModelItemInjectionFieldCreateProps, ModelItemInjectionFieldGetProps, ModelItemInjectionFieldListProps } from \"./injection_field/ItemInjectionFieldModel\";\n\nexport { CountryModel, ModelCountryFields } from \"./region/CountryModel\"\nexport { StateModel, ModelStateFields } from \"./region/StateModel\"\nexport { AreaModel, ModelAreaFields } from \"./region/AreaModel\"\nexport type { ModelCountry, ModelCountryCreateProps, ModelCountryGetProps, ModelCountryListProps } from \"./region/CountryModel\";\nexport type { ModelState, ModelStateCreateProps, ModelStateGetProps, ModelStateListProps } from \"./region/StateModel\";\nexport type { ModelArea, ModelAreaCreateProps, ModelAreaGetProps, ModelAreaListProps } from \"./region/AreaModel\";\n\nexport { ProductModel, ModelProductFields } from \"./item/ProductModel\"\nexport { ItemModel, ModelItemFields } from \"./item/ItemModel\"\nexport { BrandModel, ModelBrandFields } from \"./item/BrandModel\"\nexport { UomModel, ModelUomFields } from \"./item/UomModel\"\nexport { CategoryModel, ModelCategoryFields } from \"./item/CategoryModel\"\nexport type { ModelProduct, ModelProductCreateProps, ModelProductGetProps, ModelProductListProps } from \"./item/ProductModel\";\nexport type { ModelItem, ModelItemCreateProps, ModelItemGetProps, ModelItemListProps } from \"./item/ItemModel\";\nexport type { ModelBrand, ModelBrandCreateProps, ModelBrandGetProps, ModelBrandListProps } from \"./item/BrandModel\";\nexport type { ModelUom, ModelUomCreateProps, ModelUomGetProps, ModelUomListProps } from \"./item/UomModel\";\nexport type { ModelCategory, ModelCategoryCreateProps, ModelCategoryGetProps, ModelCategoryListProps } from \"./item/CategoryModel\";\n\nexport { DocumentModel, ModelDocumentFields } from \"./document/DocumentModel\"\n// export { DocumentNumberModel, ModelDocumentNumberFields } from \"./document/DocumentNumberModel_unuse\"\nexport { DocumentTotalModel, ModelDocumentTotalFields } from \"./document/DocumentTotalModel\"\nexport { DocumentProfileModel, ModelDocumentProfileFields } from \"./document/DocumentProfileModel\"\nexport { DocumentAmountModel, ModelDocumentAmountFields } from \"./document/DocumentAmountModel\"\nexport { DocumentLocationModel, ModelDocumentLocationFields } from \"./document/DocumentLocationModel\"\n// export { DocumentPropModel, ModelDocumentPropFields } from \"./document/DocumentPropModel\"\nexport { DocumentPaymentModel, ModelDocumentPaymentFields } from \"./document/DocumentPaymentModel\"\nexport { DocumentItemModel, ModelDocumentItemFields } from \"./document/DocumentItemModel\"\nexport { DocumentDocumentModel, ModelDocumentDocumentFields } from \"./document/DocumentDocumentModel\"\nexport type { ModelDocument, ModelDocumentCreateProps, ModelDocumentGetProps, ModelDocumentListProps } from \"./document/DocumentModel\";\nexport type { ModelDocumentProfile, ModelDocumentProfileCreateProps, ModelDocumentProfileGetProps, ModelDocumentProfileListProps } from \"./document/DocumentProfileModel\";\nexport type { ModelDocumentAmount, ModelDocumentAmountCreateProps, ModelDocumentAmountGetProps, ModelDocumentAmountListProps } from \"./document/DocumentAmountModel\";\n// export type { ModelDocumentNumber, ModelDocumentNumberCreateProps, ModelDocumentNumberGetProps, ModelDocumentNumberListProps } from \"./document/DocumentNumberModel_unuse\";\nexport type { ModelDocumentLocation, ModelDocumentLocationCreateProps, ModelDocumentLocationGetProps, ModelDocumentLocationListProps } from \"./document/DocumentLocationModel\";\n// export type { ModelDocumentProp, ModelDocumentPropCreateProps, ModelDocumentPropGetProps, ModelDocumentPropListProps } from \"./document/DocumentPropModel\";\nexport type { ModelDocumentPayment, ModelDocumentPaymentCreateProps, ModelDocumentPaymentGetProps, ModelDocumentPaymentListProps } from \"./document/DocumentPaymentModel\";\nexport type { ModelDocumentTotal, ModelDocumentTotalCreateProps, ModelDocumentTotalGetProps, ModelDocumentTotalListProps } from \"./document/DocumentTotalModel\";\nexport type { ModelDocumentItem, ModelDocumentItemCreateProps, ModelDocumentItemGetProps, ModelDocumentItemListProps } from \"./document/DocumentItemModel\";\nexport type { ModelDocumentDocument, ModelDocumentDocumentCreateProps, ModelDocumentDocumentGetProps, ModelDocumentDocumentListProps } from \"./document/DocumentDocumentModel\";\n\nexport { NumberDateSequenceModel, ModelNumberDateSequenceFields } from \"./others/NumberDateSequenceModel\"\nexport type { ModelNumberDateSequence, ModelNumberDateSequenceCreateProps, ModelNumberDateSequenceGetProps, ModelNumberDateSequenceListProps } from \"./others/NumberDateSequenceModel\";\nexport { OneTimeCodeModel, ModelOneTimeCodeFields } from \"./others/OneTimeCodeModel\"\nexport type { ModelOneTimeCode, ModelOneTimeCodeCreateProps, ModelOneTimeCodeGetProps, ModelOneTimeCodeListProps } from \"./others/OneTimeCodeModel\";\n\nexport { SchedulerLogModel, ModelSchedulerLogFields } from \"./scheduler/SchedulerLogModel\"\nexport type { ModelSchedulerLog, ModelSchedulerLogCreateProps, ModelSchedulerLogGetProps, ModelSchedulerLogRemoveProps, ModelSchedulerLogListProps } from \"./scheduler/SchedulerLogModel\";\n"]}
|