storemw-core-api 1.0.146 → 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/features/auth_token/authTokenRegistry.js +1 -1
- package/dist/features/auth_token/authTokenRegistry.js.map +1 -1
- package/dist/features/auth_token/authTokenType.d.ts +2 -1
- package/dist/features/auth_token/authTokenType.js.map +1 -1
- package/dist/features/core_config/coreConfigType.js.map +1 -1
- package/dist/features/file_storage/fileStorageType.d.ts +4 -3
- package/dist/features/file_storage/fileStorageType.js.map +1 -1
- package/dist/features/reset_password/resetPasswordType.d.ts +7 -6
- package/dist/features/reset_password/resetPasswordType.js.map +1 -1
- package/dist/features/smtp_email/smtpEmailType.d.ts +7 -6
- package/dist/features/smtp_email/smtpEmailType.js.map +1 -1
- package/dist/features/user_me/userMeRegistry.js +0 -18
- package/dist/features/user_me/userMeRegistry.js.map +1 -1
- package/dist/features/user_me/userMeType.d.ts +4 -3
- package/dist/features/user_me/userMeType.js.map +1 -1
- 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/access_control/AccessControlService.js +2 -2
- package/dist/services/access_control/AccessControlService.js.map +1 -1
- package/dist/services/auth/AuthService.js +14 -2
- package/dist/services/auth/AuthService.js.map +1 -1
- package/dist/services/file/FileService.js +56 -50
- package/dist/services/file/FileService.js.map +1 -1
- package/dist/services/gateway/SmtpEmailService.js +12 -6
- package/dist/services/gateway/SmtpEmailService.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/reset_password/ResetPasswordService.js +18 -12
- package/dist/services/reset_password/ResetPasswordService.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/dist/services/user/UserMeService.js +12 -3
- package/dist/services/user/UserMeService.js.map +1 -1
- package/dist/utils/featureUtils.d.ts +5 -0
- package/dist/utils/featureUtils.js +3 -0
- package/dist/utils/featureUtils.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/serviceUtils.d.ts +2 -18
- package/dist/utils/serviceUtils.js +0 -1
- package/dist/utils/serviceUtils.js.map +1 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +30 -0
|
@@ -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":"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","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":"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","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\nexport { SchedulerLogModel, ModelSchedulerLogFields } from \"./scheduler/SchedulerLogModel\"\nexport type { ModelSchedulerLog, ModelSchedulerLogCreateProps, ModelSchedulerLogGetProps, ModelSchedulerLogRemoveProps, ModelSchedulerLogListProps } from \"./scheduler/SchedulerLogModel\";\n"]}
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { scheduler_logs, Prisma } from "@prisma/client";
|
|
2
|
+
import { DefaultOmitFields } from "../../lib";
|
|
3
|
+
import { DefaultServiceProps } from "../../utils";
|
|
4
|
+
declare const primaryKey = "scheduler_log_id";
|
|
5
|
+
export declare const ModelSchedulerLogFields: {
|
|
6
|
+
createdatetime: "createdatetime";
|
|
7
|
+
createuserid: "createuserid";
|
|
8
|
+
updatedatetime: "updatedatetime";
|
|
9
|
+
updateuserid: "updateuserid";
|
|
10
|
+
isdelete: "isdelete";
|
|
11
|
+
istrash: "istrash";
|
|
12
|
+
accountid: "accountid";
|
|
13
|
+
field_ref: "field_ref";
|
|
14
|
+
field_module: "field_module";
|
|
15
|
+
scheduler_log_id: "scheduler_log_id";
|
|
16
|
+
scheduler_task_id: "scheduler_task_id";
|
|
17
|
+
flow_type: "flow_type";
|
|
18
|
+
log_action: "log_action";
|
|
19
|
+
log_label: "log_label";
|
|
20
|
+
log_status: "log_status";
|
|
21
|
+
log_message: "log_message";
|
|
22
|
+
source_type: "source_type";
|
|
23
|
+
source_entity_id: "source_entity_id";
|
|
24
|
+
source_entity_label: "source_entity_label";
|
|
25
|
+
source_entity_data: "source_entity_data";
|
|
26
|
+
destination_type: "destination_type";
|
|
27
|
+
destination_entity_id: "destination_entity_id";
|
|
28
|
+
destination_entity_label: "destination_entity_label";
|
|
29
|
+
destination_submit_payload: "destination_submit_payload";
|
|
30
|
+
destination_submit_response: "destination_submit_response";
|
|
31
|
+
};
|
|
32
|
+
export type ModelSchedulerLog = scheduler_logs;
|
|
33
|
+
export type ModelSchedulerLogOmitFields = typeof primaryKey | DefaultOmitFields;
|
|
34
|
+
export type ModelSchedulerLogCreateProps = {
|
|
35
|
+
createUserId: number;
|
|
36
|
+
data: Omit<Prisma.scheduler_logsUncheckedCreateInput, ModelSchedulerLogOmitFields>;
|
|
37
|
+
};
|
|
38
|
+
export type ModelSchedulerLogUpdateProps = {
|
|
39
|
+
id: number;
|
|
40
|
+
updateUserId: number;
|
|
41
|
+
data: Omit<Prisma.scheduler_logsUncheckedUpdateInput, ModelSchedulerLogOmitFields>;
|
|
42
|
+
};
|
|
43
|
+
export type ModelSchedulerLogTrashProps = {
|
|
44
|
+
id: number;
|
|
45
|
+
updateUserId: number;
|
|
46
|
+
};
|
|
47
|
+
export type ModelSchedulerLogRemoveProps = {
|
|
48
|
+
id: number;
|
|
49
|
+
updateUserId: number;
|
|
50
|
+
};
|
|
51
|
+
export type ModelSchedulerLogGetProps = {
|
|
52
|
+
id: number;
|
|
53
|
+
};
|
|
54
|
+
export type ModelSchedulerLogListProps = {
|
|
55
|
+
where?: Prisma.scheduler_logsWhereInput;
|
|
56
|
+
orderBy?: Prisma.scheduler_logsOrderByWithRelationInput | Prisma.scheduler_logsOrderByWithRelationInput[];
|
|
57
|
+
offset?: number;
|
|
58
|
+
limit?: number;
|
|
59
|
+
};
|
|
60
|
+
export declare const SchedulerLogModel: ({ ...rest }: DefaultServiceProps) => {
|
|
61
|
+
selectedPrisma: any;
|
|
62
|
+
primaryKey: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "field_ref" | "field_module" | "scheduler_log_id" | "scheduler_task_id" | "flow_type" | "log_action" | "log_label" | "log_status" | "log_message" | "source_type" | "source_entity_id" | "source_entity_label" | "source_entity_data" | "destination_type" | "destination_entity_id" | "destination_entity_label" | "destination_submit_payload" | "destination_submit_response";
|
|
63
|
+
getFields: (prefix?: string, excludeKeywords?: string[]) => Promise<{
|
|
64
|
+
name: string;
|
|
65
|
+
type: string;
|
|
66
|
+
}[]>;
|
|
67
|
+
create: ({ data }: {
|
|
68
|
+
data: Omit<any, DefaultOmitFields>;
|
|
69
|
+
}) => Promise<{
|
|
70
|
+
createdatetime: Date | null;
|
|
71
|
+
createuserid: bigint;
|
|
72
|
+
updatedatetime: Date | null;
|
|
73
|
+
updateuserid: bigint;
|
|
74
|
+
isdelete: boolean | null;
|
|
75
|
+
istrash: boolean | null;
|
|
76
|
+
accountid: bigint;
|
|
77
|
+
field_ref: string;
|
|
78
|
+
field_module: string;
|
|
79
|
+
scheduler_log_id: bigint;
|
|
80
|
+
scheduler_task_id: bigint;
|
|
81
|
+
flow_type: string;
|
|
82
|
+
log_action: string;
|
|
83
|
+
log_label: string;
|
|
84
|
+
log_status: boolean | null;
|
|
85
|
+
log_message: string | null;
|
|
86
|
+
source_type: string | null;
|
|
87
|
+
source_entity_id: string | null;
|
|
88
|
+
source_entity_label: string | null;
|
|
89
|
+
source_entity_data: string | null;
|
|
90
|
+
destination_type: string | null;
|
|
91
|
+
destination_entity_id: string | null;
|
|
92
|
+
destination_entity_label: string | null;
|
|
93
|
+
destination_submit_payload: string | null;
|
|
94
|
+
destination_submit_response: string | null;
|
|
95
|
+
}>;
|
|
96
|
+
createMany: ({ dataList, disableRollback, }: {
|
|
97
|
+
dataList: Omit<any, DefaultOmitFields>[];
|
|
98
|
+
disableRollback?: boolean;
|
|
99
|
+
}) => Promise<{
|
|
100
|
+
createdatetime: Date | null;
|
|
101
|
+
createuserid: bigint;
|
|
102
|
+
updatedatetime: Date | null;
|
|
103
|
+
updateuserid: bigint;
|
|
104
|
+
isdelete: boolean | null;
|
|
105
|
+
istrash: boolean | null;
|
|
106
|
+
accountid: bigint;
|
|
107
|
+
field_ref: string;
|
|
108
|
+
field_module: string;
|
|
109
|
+
scheduler_log_id: bigint;
|
|
110
|
+
scheduler_task_id: bigint;
|
|
111
|
+
flow_type: string;
|
|
112
|
+
log_action: string;
|
|
113
|
+
log_label: string;
|
|
114
|
+
log_status: boolean | null;
|
|
115
|
+
log_message: string | null;
|
|
116
|
+
source_type: string | null;
|
|
117
|
+
source_entity_id: string | null;
|
|
118
|
+
source_entity_label: string | null;
|
|
119
|
+
source_entity_data: string | null;
|
|
120
|
+
destination_type: string | null;
|
|
121
|
+
destination_entity_id: string | null;
|
|
122
|
+
destination_entity_label: string | null;
|
|
123
|
+
destination_submit_payload: string | null;
|
|
124
|
+
destination_submit_response: string | null;
|
|
125
|
+
}[]>;
|
|
126
|
+
get: ({ id, where, include, }: {
|
|
127
|
+
id?: number;
|
|
128
|
+
where?: Record<string, any>;
|
|
129
|
+
include?: any;
|
|
130
|
+
}) => Promise<{
|
|
131
|
+
createdatetime: Date | null;
|
|
132
|
+
createuserid: bigint;
|
|
133
|
+
updatedatetime: Date | null;
|
|
134
|
+
updateuserid: bigint;
|
|
135
|
+
isdelete: boolean | null;
|
|
136
|
+
istrash: boolean | null;
|
|
137
|
+
accountid: bigint;
|
|
138
|
+
field_ref: string;
|
|
139
|
+
field_module: string;
|
|
140
|
+
scheduler_log_id: bigint;
|
|
141
|
+
scheduler_task_id: bigint;
|
|
142
|
+
flow_type: string;
|
|
143
|
+
log_action: string;
|
|
144
|
+
log_label: string;
|
|
145
|
+
log_status: boolean | null;
|
|
146
|
+
log_message: string | null;
|
|
147
|
+
source_type: string | null;
|
|
148
|
+
source_entity_id: string | null;
|
|
149
|
+
source_entity_label: string | null;
|
|
150
|
+
source_entity_data: string | null;
|
|
151
|
+
destination_type: string | null;
|
|
152
|
+
destination_entity_id: string | null;
|
|
153
|
+
destination_entity_label: string | null;
|
|
154
|
+
destination_submit_payload: string | null;
|
|
155
|
+
destination_submit_response: string | null;
|
|
156
|
+
} | null>;
|
|
157
|
+
list: ({ where, orderBy, offset, limit, include }?: any) => Promise<{
|
|
158
|
+
createdatetime: Date | null;
|
|
159
|
+
createuserid: bigint;
|
|
160
|
+
updatedatetime: Date | null;
|
|
161
|
+
updateuserid: bigint;
|
|
162
|
+
isdelete: boolean | null;
|
|
163
|
+
istrash: boolean | null;
|
|
164
|
+
accountid: bigint;
|
|
165
|
+
field_ref: string;
|
|
166
|
+
field_module: string;
|
|
167
|
+
scheduler_log_id: bigint;
|
|
168
|
+
scheduler_task_id: bigint;
|
|
169
|
+
flow_type: string;
|
|
170
|
+
log_action: string;
|
|
171
|
+
log_label: string;
|
|
172
|
+
log_status: boolean | null;
|
|
173
|
+
log_message: string | null;
|
|
174
|
+
source_type: string | null;
|
|
175
|
+
source_entity_id: string | null;
|
|
176
|
+
source_entity_label: string | null;
|
|
177
|
+
source_entity_data: string | null;
|
|
178
|
+
destination_type: string | null;
|
|
179
|
+
destination_entity_id: string | null;
|
|
180
|
+
destination_entity_label: string | null;
|
|
181
|
+
destination_submit_payload: string | null;
|
|
182
|
+
destination_submit_response: string | null;
|
|
183
|
+
}[]>;
|
|
184
|
+
count: ({ where }?: {
|
|
185
|
+
where?: Record<string, any>;
|
|
186
|
+
}) => Promise<number>;
|
|
187
|
+
aggregate: ({ field, operation, where, }: {
|
|
188
|
+
field: "createdatetime" | "createuserid" | "updatedatetime" | "updateuserid" | "isdelete" | "istrash" | "accountid" | "field_ref" | "field_module" | "scheduler_log_id" | "scheduler_task_id" | "flow_type" | "log_action" | "log_label" | "log_status" | "log_message" | "source_type" | "source_entity_id" | "source_entity_label" | "source_entity_data" | "destination_type" | "destination_entity_id" | "destination_entity_label" | "destination_submit_payload" | "destination_submit_response";
|
|
189
|
+
operation?: "sum" | "avg" | "min" | "max" | "count";
|
|
190
|
+
where?: Record<string, any>;
|
|
191
|
+
}) => Promise<number>;
|
|
192
|
+
update: ({ id, where, data, disableRollback }: {
|
|
193
|
+
id?: number;
|
|
194
|
+
where?: Record<string, any>;
|
|
195
|
+
data: Partial<{
|
|
196
|
+
createdatetime: Date | null;
|
|
197
|
+
createuserid: bigint;
|
|
198
|
+
updatedatetime: Date | null;
|
|
199
|
+
updateuserid: bigint;
|
|
200
|
+
isdelete: boolean | null;
|
|
201
|
+
istrash: boolean | null;
|
|
202
|
+
accountid: bigint;
|
|
203
|
+
field_ref: string;
|
|
204
|
+
field_module: string;
|
|
205
|
+
scheduler_log_id: bigint;
|
|
206
|
+
scheduler_task_id: bigint;
|
|
207
|
+
flow_type: string;
|
|
208
|
+
log_action: string;
|
|
209
|
+
log_label: string;
|
|
210
|
+
log_status: boolean | null;
|
|
211
|
+
log_message: string | null;
|
|
212
|
+
source_type: string | null;
|
|
213
|
+
source_entity_id: string | null;
|
|
214
|
+
source_entity_label: string | null;
|
|
215
|
+
source_entity_data: string | null;
|
|
216
|
+
destination_type: string | null;
|
|
217
|
+
destination_entity_id: string | null;
|
|
218
|
+
destination_entity_label: string | null;
|
|
219
|
+
destination_submit_payload: string | null;
|
|
220
|
+
destination_submit_response: string | null;
|
|
221
|
+
}>;
|
|
222
|
+
disableRollback?: Boolean;
|
|
223
|
+
}) => Promise<{
|
|
224
|
+
createdatetime: Date | null;
|
|
225
|
+
createuserid: bigint;
|
|
226
|
+
updatedatetime: Date | null;
|
|
227
|
+
updateuserid: bigint;
|
|
228
|
+
isdelete: boolean | null;
|
|
229
|
+
istrash: boolean | null;
|
|
230
|
+
accountid: bigint;
|
|
231
|
+
field_ref: string;
|
|
232
|
+
field_module: string;
|
|
233
|
+
scheduler_log_id: bigint;
|
|
234
|
+
scheduler_task_id: bigint;
|
|
235
|
+
flow_type: string;
|
|
236
|
+
log_action: string;
|
|
237
|
+
log_label: string;
|
|
238
|
+
log_status: boolean | null;
|
|
239
|
+
log_message: string | null;
|
|
240
|
+
source_type: string | null;
|
|
241
|
+
source_entity_id: string | null;
|
|
242
|
+
source_entity_label: string | null;
|
|
243
|
+
source_entity_data: string | null;
|
|
244
|
+
destination_type: string | null;
|
|
245
|
+
destination_entity_id: string | null;
|
|
246
|
+
destination_entity_label: string | null;
|
|
247
|
+
destination_submit_payload: string | null;
|
|
248
|
+
destination_submit_response: string | null;
|
|
249
|
+
}>;
|
|
250
|
+
updateMany: ({ dataList, disableRollback, }: {
|
|
251
|
+
dataList: {
|
|
252
|
+
where: Record<string, any>;
|
|
253
|
+
data: Partial<{
|
|
254
|
+
createdatetime: Date | null;
|
|
255
|
+
createuserid: bigint;
|
|
256
|
+
updatedatetime: Date | null;
|
|
257
|
+
updateuserid: bigint;
|
|
258
|
+
isdelete: boolean | null;
|
|
259
|
+
istrash: boolean | null;
|
|
260
|
+
accountid: bigint;
|
|
261
|
+
field_ref: string;
|
|
262
|
+
field_module: string;
|
|
263
|
+
scheduler_log_id: bigint;
|
|
264
|
+
scheduler_task_id: bigint;
|
|
265
|
+
flow_type: string;
|
|
266
|
+
log_action: string;
|
|
267
|
+
log_label: string;
|
|
268
|
+
log_status: boolean | null;
|
|
269
|
+
log_message: string | null;
|
|
270
|
+
source_type: string | null;
|
|
271
|
+
source_entity_id: string | null;
|
|
272
|
+
source_entity_label: string | null;
|
|
273
|
+
source_entity_data: string | null;
|
|
274
|
+
destination_type: string | null;
|
|
275
|
+
destination_entity_id: string | null;
|
|
276
|
+
destination_entity_label: string | null;
|
|
277
|
+
destination_submit_payload: string | null;
|
|
278
|
+
destination_submit_response: string | null;
|
|
279
|
+
}>;
|
|
280
|
+
}[];
|
|
281
|
+
disableRollback?: boolean;
|
|
282
|
+
}) => Promise<{
|
|
283
|
+
createdatetime: Date | null;
|
|
284
|
+
createuserid: bigint;
|
|
285
|
+
updatedatetime: Date | null;
|
|
286
|
+
updateuserid: bigint;
|
|
287
|
+
isdelete: boolean | null;
|
|
288
|
+
istrash: boolean | null;
|
|
289
|
+
accountid: bigint;
|
|
290
|
+
field_ref: string;
|
|
291
|
+
field_module: string;
|
|
292
|
+
scheduler_log_id: bigint;
|
|
293
|
+
scheduler_task_id: bigint;
|
|
294
|
+
flow_type: string;
|
|
295
|
+
log_action: string;
|
|
296
|
+
log_label: string;
|
|
297
|
+
log_status: boolean | null;
|
|
298
|
+
log_message: string | null;
|
|
299
|
+
source_type: string | null;
|
|
300
|
+
source_entity_id: string | null;
|
|
301
|
+
source_entity_label: string | null;
|
|
302
|
+
source_entity_data: string | null;
|
|
303
|
+
destination_type: string | null;
|
|
304
|
+
destination_entity_id: string | null;
|
|
305
|
+
destination_entity_label: string | null;
|
|
306
|
+
destination_submit_payload: string | null;
|
|
307
|
+
destination_submit_response: string | null;
|
|
308
|
+
}[]>;
|
|
309
|
+
trash: ({ ids }: {
|
|
310
|
+
ids: number[];
|
|
311
|
+
}) => Promise<{
|
|
312
|
+
createdatetime: Date | null;
|
|
313
|
+
createuserid: bigint;
|
|
314
|
+
updatedatetime: Date | null;
|
|
315
|
+
updateuserid: bigint;
|
|
316
|
+
isdelete: boolean | null;
|
|
317
|
+
istrash: boolean | null;
|
|
318
|
+
accountid: bigint;
|
|
319
|
+
field_ref: string;
|
|
320
|
+
field_module: string;
|
|
321
|
+
scheduler_log_id: bigint;
|
|
322
|
+
scheduler_task_id: bigint;
|
|
323
|
+
flow_type: string;
|
|
324
|
+
log_action: string;
|
|
325
|
+
log_label: string;
|
|
326
|
+
log_status: boolean | null;
|
|
327
|
+
log_message: string | null;
|
|
328
|
+
source_type: string | null;
|
|
329
|
+
source_entity_id: string | null;
|
|
330
|
+
source_entity_label: string | null;
|
|
331
|
+
source_entity_data: string | null;
|
|
332
|
+
destination_type: string | null;
|
|
333
|
+
destination_entity_id: string | null;
|
|
334
|
+
destination_entity_label: string | null;
|
|
335
|
+
destination_submit_payload: string | null;
|
|
336
|
+
destination_submit_response: string | null;
|
|
337
|
+
}[]>;
|
|
338
|
+
remove: ({ ids, where }: {
|
|
339
|
+
ids?: number[];
|
|
340
|
+
where?: Record<string, any>;
|
|
341
|
+
}) => Promise<{
|
|
342
|
+
createdatetime: Date | null;
|
|
343
|
+
createuserid: bigint;
|
|
344
|
+
updatedatetime: Date | null;
|
|
345
|
+
updateuserid: bigint;
|
|
346
|
+
isdelete: boolean | null;
|
|
347
|
+
istrash: boolean | null;
|
|
348
|
+
accountid: bigint;
|
|
349
|
+
field_ref: string;
|
|
350
|
+
field_module: string;
|
|
351
|
+
scheduler_log_id: bigint;
|
|
352
|
+
scheduler_task_id: bigint;
|
|
353
|
+
flow_type: string;
|
|
354
|
+
log_action: string;
|
|
355
|
+
log_label: string;
|
|
356
|
+
log_status: boolean | null;
|
|
357
|
+
log_message: string | null;
|
|
358
|
+
source_type: string | null;
|
|
359
|
+
source_entity_id: string | null;
|
|
360
|
+
source_entity_label: string | null;
|
|
361
|
+
source_entity_data: string | null;
|
|
362
|
+
destination_type: string | null;
|
|
363
|
+
destination_entity_id: string | null;
|
|
364
|
+
destination_entity_label: string | null;
|
|
365
|
+
destination_submit_payload: string | null;
|
|
366
|
+
destination_submit_response: string | null;
|
|
367
|
+
}[]>;
|
|
368
|
+
raw: <T = any>(query: string, params?: any[]) => Promise<T[]>;
|
|
369
|
+
rawExec: (query: string, params?: any[]) => Promise<number>;
|
|
370
|
+
};
|
|
371
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SchedulerLogModel = exports.ModelSchedulerLogFields = void 0;
|
|
4
|
+
const lib_1 = require("../../lib");
|
|
5
|
+
const primaryKey = "scheduler_log_id";
|
|
6
|
+
exports.ModelSchedulerLogFields = (0, lib_1.getFieldsByType)();
|
|
7
|
+
const SchedulerLogModel = ({ ...rest }) => (0, lib_1.ModelFactory)({
|
|
8
|
+
...rest,
|
|
9
|
+
modelName: "scheduler_logs",
|
|
10
|
+
primaryKey
|
|
11
|
+
});
|
|
12
|
+
exports.SchedulerLogModel = SchedulerLogModel;
|
|
13
|
+
//# sourceMappingURL=SchedulerLogModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchedulerLogModel.js","sourceRoot":"","sources":["../../../src/models/scheduler/SchedulerLogModel.ts"],"names":[],"mappings":";;;AACA,+BAAyE;AAGzE,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAEzB,QAAA,uBAAuB,GAAG,IAAA,qBAAe,GAAkB,CAAC;AAuClE,MAAM,iBAAiB,GAAG,CAAC,EAAE,GAAG,IAAI,EAAuB,EAAE,EAAE,CAClE,IAAA,kBAAY,EAAiF;IACzF,GAAG,IAAI;IACP,SAAS,EAAE,gBAAgB;IAC3B,UAAU;CACb,CAAC,CAAC;AALM,QAAA,iBAAiB,qBAKvB","sourcesContent":["import { PrismaClient, scheduler_logs, Prisma } from \"@prisma/client\";\nimport { ModelFactory, DefaultOmitFields, getFieldsByType } from \"@/lib\";\nimport { DefaultServiceProps } from \"@/utils\";\n\nconst primaryKey = \"scheduler_log_id\";\n\nexport const ModelSchedulerLogFields = getFieldsByType<scheduler_logs>();\n\nexport type ModelSchedulerLog = scheduler_logs\n\nexport type ModelSchedulerLogOmitFields = typeof primaryKey | DefaultOmitFields\n\nexport type ModelSchedulerLogCreateProps = {\n createUserId: number,\n data: Omit<Prisma.scheduler_logsUncheckedCreateInput, ModelSchedulerLogOmitFields>\n}\n\nexport type ModelSchedulerLogUpdateProps = {\n id: number,\n updateUserId: number,\n data: Omit<Prisma.scheduler_logsUncheckedUpdateInput, ModelSchedulerLogOmitFields>\n}\n\nexport type ModelSchedulerLogTrashProps = {\n id: number,\n updateUserId: number\n}\n\nexport type ModelSchedulerLogRemoveProps = {\n id: number,\n updateUserId: number\n}\n\nexport type ModelSchedulerLogGetProps = {\n id: number\n}\n\nexport type ModelSchedulerLogListProps = {\n where?: Prisma.scheduler_logsWhereInput;\n orderBy?: Prisma.scheduler_logsOrderByWithRelationInput | Prisma.scheduler_logsOrderByWithRelationInput[];\n offset?: number;\n limit?: number;\n};\n\n\nexport const SchedulerLogModel = ({ ...rest }: DefaultServiceProps) =>\n ModelFactory<PrismaClient, \"scheduler_logs\", PrismaClient[\"scheduler_logs\"], scheduler_logs>({\n ...rest,\n modelName: \"scheduler_logs\",\n primaryKey\n });"]}
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { usersRoutes } from "../routes/user/usersRoutes";
|
|
|
11
11
|
export { accountRoutes } from "../routes/account/accountRoutes";
|
|
12
12
|
export { accountsRoutes } from "../routes/account/accountsRoutes";
|
|
13
13
|
export { subscriptionsRoutes } from "../routes/subscription/subscriptionsRoutes";
|
|
14
|
+
export { schedulersRoutes } from "../routes/scheduler/schedulersRoutes";
|
|
14
15
|
export { businessRoutes } from "../routes/business/businessRoutes";
|
|
15
16
|
export { businessesRoutes } from "../routes/business/businessesRoutes";
|
|
16
17
|
export { userBranchRoutes } from "../routes/branch/userBranchRoutes";
|
package/dist/routes/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.accessKeyUtilRoutes = exports.injectionFieldsRoutes = exports.injectionFieldRoutes = exports.locationsRoutes = exports.locationRoutes = exports.regionsRoutes = exports.regionRoutes = exports.filesRoutes = exports.fileRoutes = exports.itemsRoutes = exports.itemRoutes = exports.documentsRoutes = exports.documentRoutes = exports.userBranchesRoutes = exports.userBranchRoutes = exports.businessesRoutes = exports.businessRoutes = exports.subscriptionsRoutes = exports.accountsRoutes = exports.accountRoutes = exports.usersRoutes = exports.userRoutes = exports.userMeRoutes = exports.oneTimeCodesRoutes = exports.oneTimeCodeRoutes = exports.resetPasswordRoutes = exports.accessKeysRoutes = exports.accessKeyRoutes = exports.accessControlRoutes = exports.authRoutes = void 0;
|
|
3
|
+
exports.accessKeyUtilRoutes = exports.injectionFieldsRoutes = exports.injectionFieldRoutes = exports.locationsRoutes = exports.locationRoutes = exports.regionsRoutes = exports.regionRoutes = exports.filesRoutes = exports.fileRoutes = exports.itemsRoutes = exports.itemRoutes = exports.documentsRoutes = exports.documentRoutes = exports.userBranchesRoutes = exports.userBranchRoutes = exports.businessesRoutes = exports.businessRoutes = exports.schedulersRoutes = exports.subscriptionsRoutes = exports.accountsRoutes = exports.accountRoutes = exports.usersRoutes = exports.userRoutes = exports.userMeRoutes = exports.oneTimeCodesRoutes = exports.oneTimeCodeRoutes = exports.resetPasswordRoutes = exports.accessKeysRoutes = exports.accessKeyRoutes = exports.accessControlRoutes = exports.authRoutes = void 0;
|
|
4
4
|
var authRoutes_1 = require("../routes/auth/authRoutes");
|
|
5
5
|
Object.defineProperty(exports, "authRoutes", { enumerable: true, get: function () { return authRoutes_1.authRoutes; } });
|
|
6
6
|
var accessControlRoutes_1 = require("../routes/access_control/accessControlRoutes");
|
|
@@ -27,6 +27,8 @@ var accountsRoutes_1 = require("../routes/account/accountsRoutes");
|
|
|
27
27
|
Object.defineProperty(exports, "accountsRoutes", { enumerable: true, get: function () { return accountsRoutes_1.accountsRoutes; } });
|
|
28
28
|
var subscriptionsRoutes_1 = require("../routes/subscription/subscriptionsRoutes");
|
|
29
29
|
Object.defineProperty(exports, "subscriptionsRoutes", { enumerable: true, get: function () { return subscriptionsRoutes_1.subscriptionsRoutes; } });
|
|
30
|
+
var schedulersRoutes_1 = require("../routes/scheduler/schedulersRoutes");
|
|
31
|
+
Object.defineProperty(exports, "schedulersRoutes", { enumerable: true, get: function () { return schedulersRoutes_1.schedulersRoutes; } });
|
|
30
32
|
var businessRoutes_1 = require("../routes/business/businessRoutes");
|
|
31
33
|
Object.defineProperty(exports, "businessRoutes", { enumerable: true, get: function () { return businessRoutes_1.businessRoutes; } });
|
|
32
34
|
var businessesRoutes_1 = require("../routes/business/businessesRoutes");
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AAEnB,mFAAiF;AAAxE,0HAAA,mBAAmB,OAAA;AAE5B,uEAAqE;AAA5D,kHAAA,eAAe,OAAA;AACxB,yEAAuE;AAA9D,oHAAA,gBAAgB,OAAA;AAEzB,mFAAiF;AAAxE,0HAAA,mBAAmB,OAAA;AAE5B,8EAA4E;AAAnE,sHAAA,iBAAiB,OAAA;AAC1B,gFAA8E;AAArE,wHAAA,kBAAkB,OAAA;AAE3B,2DAAyD;AAAhD,4GAAA,YAAY,OAAA;AAErB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,gEAA8D;AAArD,8GAAA,aAAa,OAAA;AACtB,kEAAgE;AAAvD,gHAAA,cAAc,OAAA;AAEvB,iFAA+E;AAAtE,0HAAA,mBAAmB,OAAA;AAE5B,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,uEAAqE;AAA5D,oHAAA,gBAAgB,OAAA;AAEzB,qEAAmE;AAA1D,oHAAA,gBAAgB,OAAA;AACzB,yEAAuE;AAA9D,wHAAA,kBAAkB,OAAA;AAE3B,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,qEAAmE;AAA1D,kHAAA,eAAe,OAAA;AAExB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,6DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,+DAA6D;AAApD,8GAAA,aAAa,OAAA;AAEtB,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,qEAAmE;AAA1D,kHAAA,eAAe,OAAA;AAExB,sFAAoF;AAA3E,4HAAA,oBAAoB,OAAA;AAC7B,wFAAsF;AAA7E,8HAAA,qBAAqB,OAAA;AAE9B,0EAAwE;AAA/D,0HAAA,mBAAmB,OAAA;AAC5B,2FAA2F","sourcesContent":["export { authRoutes } from \"@/routes/auth/authRoutes\"\n\nexport { accessControlRoutes } from \"@/routes/access_control/accessControlRoutes\"\n\nexport { accessKeyRoutes } from \"@/routes/access_key/accessKeyRoutes\"\nexport { accessKeysRoutes } from \"@/routes/access_key/accessKeysRoutes\"\n\nexport { resetPasswordRoutes } from \"@/routes/reset_password/resetPasswordRoutes\"\n\nexport { oneTimeCodeRoutes } from \"@/routes/one_time_code/oneTimeCodeRoutes\"\nexport { oneTimeCodesRoutes } from \"@/routes/one_time_code/oneTimeCodesRoutes\"\n\nexport { userMeRoutes } from \"@/routes/user/userMeRoutes\"\n\nexport { userRoutes } from \"@/routes/user/userRoutes\"\nexport { usersRoutes } from \"@/routes/user/usersRoutes\"\n\nexport { accountRoutes } from \"@/routes/account/accountRoutes\"\nexport { accountsRoutes } from \"@/routes/account/accountsRoutes\"\n\nexport { subscriptionsRoutes } from \"@/routes/subscription/subscriptionsRoutes\"\n\nexport { businessRoutes } from \"@/routes/business/businessRoutes\"\nexport { businessesRoutes } from \"@/routes/business/businessesRoutes\"\n\nexport { userBranchRoutes } from \"@/routes/branch/userBranchRoutes\"\nexport { userBranchesRoutes } from \"@/routes/branch/userBranchesRoutes\"\n\nexport { documentRoutes } from \"@/routes/document/documentRoutes\"\nexport { documentsRoutes } from \"@/routes/document/documentsRoutes\"\n\nexport { itemRoutes } from \"@/routes/item/itemRoutes\"\nexport { itemsRoutes } from \"@/routes/item/itemsRoutes\"\n\nexport { fileRoutes } from \"@/routes/file/fileRoutes\"\nexport { filesRoutes } from \"@/routes/file/filesRoutes\"\n\nexport { regionRoutes } from \"@/routes/region/regionRoutes\"\nexport { regionsRoutes } from \"@/routes/region/regionsRoutes\"\n\nexport { locationRoutes } from \"@/routes/location/locationRoutes\"\nexport { locationsRoutes } from \"@/routes/location/locationsRoutes\"\n\nexport { injectionFieldRoutes } from \"@/routes/injection_field/injectionFieldRoutes\"\nexport { injectionFieldsRoutes } from \"@/routes/injection_field/injectionFieldsRoutes\"\n\nexport { accessKeyUtilRoutes } from \"@/routes/utils/accessKeyUtilRoutes\"\n// export { changePasswordUtilRoutes } from \"@/routes/utils/unuse/changePasswordUtilRoutes\"\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AAEnB,mFAAiF;AAAxE,0HAAA,mBAAmB,OAAA;AAE5B,uEAAqE;AAA5D,kHAAA,eAAe,OAAA;AACxB,yEAAuE;AAA9D,oHAAA,gBAAgB,OAAA;AAEzB,mFAAiF;AAAxE,0HAAA,mBAAmB,OAAA;AAE5B,8EAA4E;AAAnE,sHAAA,iBAAiB,OAAA;AAC1B,gFAA8E;AAArE,wHAAA,kBAAkB,OAAA;AAE3B,2DAAyD;AAAhD,4GAAA,YAAY,OAAA;AAErB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,gEAA8D;AAArD,8GAAA,aAAa,OAAA;AACtB,kEAAgE;AAAvD,gHAAA,cAAc,OAAA;AAEvB,iFAA+E;AAAtE,0HAAA,mBAAmB,OAAA;AAE5B,wEAAsE;AAA7D,oHAAA,gBAAgB,OAAA;AAEzB,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,uEAAqE;AAA5D,oHAAA,gBAAgB,OAAA;AAEzB,qEAAmE;AAA1D,oHAAA,gBAAgB,OAAA;AACzB,yEAAuE;AAA9D,wHAAA,kBAAkB,OAAA;AAE3B,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,qEAAmE;AAA1D,kHAAA,eAAe,OAAA;AAExB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,uDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,yDAAuD;AAA9C,0GAAA,WAAW,OAAA;AAEpB,6DAA2D;AAAlD,4GAAA,YAAY,OAAA;AACrB,+DAA6D;AAApD,8GAAA,aAAa,OAAA;AAEtB,mEAAiE;AAAxD,gHAAA,cAAc,OAAA;AACvB,qEAAmE;AAA1D,kHAAA,eAAe,OAAA;AAExB,sFAAoF;AAA3E,4HAAA,oBAAoB,OAAA;AAC7B,wFAAsF;AAA7E,8HAAA,qBAAqB,OAAA;AAE9B,0EAAwE;AAA/D,0HAAA,mBAAmB,OAAA;AAC5B,2FAA2F","sourcesContent":["export { authRoutes } from \"@/routes/auth/authRoutes\"\n\nexport { accessControlRoutes } from \"@/routes/access_control/accessControlRoutes\"\n\nexport { accessKeyRoutes } from \"@/routes/access_key/accessKeyRoutes\"\nexport { accessKeysRoutes } from \"@/routes/access_key/accessKeysRoutes\"\n\nexport { resetPasswordRoutes } from \"@/routes/reset_password/resetPasswordRoutes\"\n\nexport { oneTimeCodeRoutes } from \"@/routes/one_time_code/oneTimeCodeRoutes\"\nexport { oneTimeCodesRoutes } from \"@/routes/one_time_code/oneTimeCodesRoutes\"\n\nexport { userMeRoutes } from \"@/routes/user/userMeRoutes\"\n\nexport { userRoutes } from \"@/routes/user/userRoutes\"\nexport { usersRoutes } from \"@/routes/user/usersRoutes\"\n\nexport { accountRoutes } from \"@/routes/account/accountRoutes\"\nexport { accountsRoutes } from \"@/routes/account/accountsRoutes\"\n\nexport { subscriptionsRoutes } from \"@/routes/subscription/subscriptionsRoutes\"\n\nexport { schedulersRoutes } from \"@/routes/scheduler/schedulersRoutes\"\n\nexport { businessRoutes } from \"@/routes/business/businessRoutes\"\nexport { businessesRoutes } from \"@/routes/business/businessesRoutes\"\n\nexport { userBranchRoutes } from \"@/routes/branch/userBranchRoutes\"\nexport { userBranchesRoutes } from \"@/routes/branch/userBranchesRoutes\"\n\nexport { documentRoutes } from \"@/routes/document/documentRoutes\"\nexport { documentsRoutes } from \"@/routes/document/documentsRoutes\"\n\nexport { itemRoutes } from \"@/routes/item/itemRoutes\"\nexport { itemsRoutes } from \"@/routes/item/itemsRoutes\"\n\nexport { fileRoutes } from \"@/routes/file/fileRoutes\"\nexport { filesRoutes } from \"@/routes/file/filesRoutes\"\n\nexport { regionRoutes } from \"@/routes/region/regionRoutes\"\nexport { regionsRoutes } from \"@/routes/region/regionsRoutes\"\n\nexport { locationRoutes } from \"@/routes/location/locationRoutes\"\nexport { locationsRoutes } from \"@/routes/location/locationsRoutes\"\n\nexport { injectionFieldRoutes } from \"@/routes/injection_field/injectionFieldRoutes\"\nexport { injectionFieldsRoutes } from \"@/routes/injection_field/injectionFieldsRoutes\"\n\nexport { accessKeyUtilRoutes } from \"@/routes/utils/accessKeyUtilRoutes\"\n// export { changePasswordUtilRoutes } from \"@/routes/utils/unuse/changePasswordUtilRoutes\"\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.schedulerLogRoutes = void 0;
|
|
4
|
+
const express_1 = require("express");
|
|
5
|
+
const router = (0, express_1.Router)();
|
|
6
|
+
const route_1 = require("../../middlewares/route");
|
|
7
|
+
const controllers_1 = require("../../controllers");
|
|
8
|
+
/** scheduler/log/ - Create Scheduler Log */
|
|
9
|
+
router.post("/", route_1.validateRouteSchedulerLogCreate, controllers_1.createSchedulerLog);
|
|
10
|
+
/** scheduler/log/:id - Get Scheduler Log */
|
|
11
|
+
router.get("/:schedulerLogId", route_1.validateRouteSchedulerLogGet, controllers_1.getSchedulerLog);
|
|
12
|
+
exports.schedulerLogRoutes = router;
|
|
13
|
+
//# sourceMappingURL=schedulerLogRoutes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulerLogRoutes.js","sourceRoot":"","sources":["../../../src/routes/scheduler/schedulerLogRoutes.ts"],"names":[],"mappings":";;;AAAA,qCAAiC;AAEjC,MAAM,MAAM,GAAG,IAAA,gBAAM,GAAE,CAAC;AAExB,+CAAoG;AAEpG,+CAAoE;AAEpE,4CAA4C;AAC5C,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,uCAA+B,EAAE,gCAAkB,CAAC,CAAC;AAEtE,4CAA4C;AAC5C,MAAM,CAAC,GAAG,CAAC,kBAAkB,EAAE,oCAA4B,EAAE,6BAAe,CAAC,CAAC;AAEjE,QAAA,kBAAkB,GAAW,MAAM,CAAA","sourcesContent":["import { Router } from \"express\";\n\nconst router = Router();\n\nimport { validateRouteSchedulerLogGet, validateRouteSchedulerLogCreate } from \"@/middlewares/route\";\n\nimport { getSchedulerLog, createSchedulerLog } from \"@/controllers\";\n\n/** scheduler/log/ - Create Scheduler Log */\nrouter.post(\"/\", validateRouteSchedulerLogCreate, createSchedulerLog);\n\n/** scheduler/log/:id - Get Scheduler Log */\nrouter.get(\"/:schedulerLogId\", validateRouteSchedulerLogGet, getSchedulerLog);\n\nexport const schedulerLogRoutes: Router = router\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.schedulerLogsRoutes = void 0;
|
|
4
|
+
const express_1 = require("express");
|
|
5
|
+
const router = (0, express_1.Router)();
|
|
6
|
+
const route_1 = require("../../middlewares/route");
|
|
7
|
+
const controllers_1 = require("../../controllers");
|
|
8
|
+
/** scheduler/logs - List Scheduler Logs */
|
|
9
|
+
router.get("/", route_1.validateRouteSchedulerLogList, controllers_1.listSchedulerLogs);
|
|
10
|
+
/** scheduler/logs/delete - Delete Scheduler Logs */
|
|
11
|
+
router.post("/delete", route_1.validateRouteSchedulerLogDelete, controllers_1.deleteSchedulerLogs);
|
|
12
|
+
exports.schedulerLogsRoutes = router;
|
|
13
|
+
//# sourceMappingURL=schedulerLogsRoutes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedulerLogsRoutes.js","sourceRoot":"","sources":["../../../src/routes/scheduler/schedulerLogsRoutes.ts"],"names":[],"mappings":";;;AAAA,qCAAiC;AAEjC,MAAM,MAAM,GAAG,IAAA,gBAAM,GAAE,CAAC;AAExB,+CAAqG;AAErG,+CAAuE;AAEvE,2CAA2C;AAC3C,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,qCAA6B,EAAE,+BAAiB,CAAC,CAAC;AAElE,oDAAoD;AACpD,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,uCAA+B,EAAE,iCAAmB,CAAC,CAAC;AAEhE,QAAA,mBAAmB,GAAW,MAAM,CAAA","sourcesContent":["import { Router } from \"express\";\n\nconst router = Router();\n\nimport { validateRouteSchedulerLogList, validateRouteSchedulerLogDelete } from \"@/middlewares/route\";\n\nimport { listSchedulerLogs, deleteSchedulerLogs } from \"@/controllers\";\n\n/** scheduler/logs - List Scheduler Logs */\nrouter.get(\"/\", validateRouteSchedulerLogList, listSchedulerLogs);\n\n/** scheduler/logs/delete - Delete Scheduler Logs */\nrouter.post(\"/delete\", validateRouteSchedulerLogDelete, deleteSchedulerLogs);\n\nexport const schedulerLogsRoutes: Router = router\n"]}
|